{
  "x402Version": 2,
  "id": 72554,
  "slug": "saylorinnovations-api-ta-indicators",
  "resource": "https://saylorinnovations.com/api/ta/indicators",
  "description": "RSI, MACD, Bollinger Bands, SMA and EMA computed from any list of closing prices you supply, with plain-language overbought and trend signals.",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "count": {
        "type": "number",
        "description": "Number of prices supplied"
      },
      "last_price": {
        "type": "number",
        "description": "Most recent price"
      },
      "sma": {
        "type": [
          "object",
          "null"
        ],
        "description": "Simple moving average, or null if too few prices",
        "properties": {
          "period": {
            "description": "Averaging window",
            "type": [
              "number",
              "null"
            ]
          },
          "value": {
            "description": "Current value",
            "type": [
              "number",
              "null"
            ]
          }
        }
      },
      "ema": {
        "type": [
          "object",
          "null"
        ],
        "description": "Exponential moving average, or null",
        "properties": {
          "period": {
            "description": "Averaging window",
            "type": [
              "number",
              "null"
            ]
          },
          "value": {
            "description": "Current value",
            "type": [
              "number",
              "null"
            ]
          }
        }
      },
      "rsi": {
        "type": [
          "object",
          "null"
        ],
        "description": "Relative strength index with Wilder smoothing, or null",
        "properties": {
          "period": {
            "description": "Look-back window",
            "type": [
              "number",
              "null"
            ]
          },
          "value": {
            "description": "Current value from 0 to 100",
            "type": [
              "number",
              "null"
            ]
          }
        }
      },
      "macd": {
        "type": [
          "object",
          "null"
        ],
        "description": "MACD 12/26/9, or null if fewer than 26 prices",
        "properties": {
          "line": {
            "description": "12-period EMA minus 26-period EMA",
            "type": [
              "number",
              "null"
            ]
          },
          "signal": {
            "description": "9-period EMA of the MACD line, null if too few values"
          },
          "histogram": {
            "description": "MACD line minus signal line"
          }
        }
      },
      "bollinger": {
        "type": [
          "object",
          "null"
        ],
        "description": "Bollinger Bands, or null",
        "properties": {
          "period": {
            "description": "Window",
            "type": [
              "number",
              "null"
            ]
          },
          "stdev": {
            "description": "Band width in standard deviations",
            "type": [
              "number",
              "null"
            ]
          },
          "middle": {
            "description": "Middle band (moving average)",
            "type": [
              "number",
              "null"
            ]
          },
          "upper": {
            "description": "Upper band",
            "type": [
              "number",
              "null"
            ]
          },
          "lower": {
            "description": "Lower band",
            "type": [
              "number",
              "null"
            ]
          },
          "bandwidth_percent": {
            "description": "Band width as a percent of the middle band",
            "type": [
              "number",
              "null"
            ]
          },
          "percent_b": {
            "description": "Position of price within the bands (0 lower, 1 upper)",
            "type": [
              "number",
              "null"
            ]
          }
        }
      },
      "signals": {
        "type": "array",
        "description": "Plain-language readings of each indicator"
      },
      "note": {
        "type": "string",
        "description": "Plain-language caveat about how to read and use the result"
      },
      "source": {
        "type": "string",
        "description": "Where the data or formula comes from"
      },
      "symbol": {
        "type": [
          "string",
          "null"
        ],
        "description": "Ticker or asset symbol"
      },
      "found": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "True when the lookup matched a record"
      },
      "name": {
        "type": [
          "string",
          "null"
        ],
        "description": "Name"
      },
      "currency": {
        "type": [
          "string",
          "null"
        ],
        "description": "Currency code"
      },
      "range": {
        "type": [
          "string",
          "null"
        ],
        "description": "Range covered by the data"
      },
      "interval": {
        "type": [
          "string",
          "null"
        ],
        "description": "Interval between data points"
      },
      "bars": {
        "type": [
          "number",
          "null"
        ]
      },
      "as_of": {
        "type": [
          "string",
          "null"
        ],
        "description": "Date the figures are valid for"
      },
      "price": {
        "type": [
          "number",
          "null"
        ],
        "description": "Price"
      },
      "indicators": {
        "description": "Indicator values"
      },
      "bias": {
        "type": [
          "string",
          "null"
        ]
      },
      "disclaimer": {
        "type": [
          "string",
          "null"
        ],
        "description": "Limits and caveats on using this data"
      }
    },
    "required": [
      "last_price",
      "signals"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "prices": "100,101,103,102,104,106,105,107,109,108,110,112,111,113,115,114,116,118,117,119,121,120,122,124,123,125,127,126,128,130"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "count": 30,
            "last_price": 130,
            "sma": {
              "period": 20,
              "value": 119.55
            },
            "ema": {
              "period": 20,
              "value": 119.578241
            },
            "rsi": {
              "period": 14,
              "value": 82.013
            },
            "macd": {
              "line": 7.040124,
              "signal": null,
              "histogram": null
            },
            "bollinger": {
              "period": 20,
              "stdev": 2,
              "middle": 119.55,
              "upper": 131.254273,
              "lower": 107.845727,
              "bandwidth_percent": 19.581,
              "percent_b": 0.9464
            },
            "signals": [
              "RSI overbought",
              "price inside Bollinger bands",
              "price above SMA"
            ],
            "note": "Indicators use standard definitions (Wilder smoothing for RSI, 12/26/9 MACD, population deviation for Bollinger). An indicator is null when the list is too short. They describe past prices and are not advice.",
            "source": "Standard technical analysis formulas on the supplied prices"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "prices": {
                    "type": "string",
                    "description": "comma-separated closing prices, oldest first (2-1000)"
                  }
                },
                "required": [
                  "prices"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "count": {
                    "type": "number",
                    "description": "Number of prices supplied"
                  },
                  "last_price": {
                    "type": "number",
                    "description": "Most recent price"
                  },
                  "sma": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Simple moving average, or null if too few prices",
                    "properties": {
                      "period": {
                        "description": "Averaging window",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "value": {
                        "description": "Current value",
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    }
                  },
                  "ema": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Exponential moving average, or null",
                    "properties": {
                      "period": {
                        "description": "Averaging window",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "value": {
                        "description": "Current value",
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    }
                  },
                  "rsi": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Relative strength index with Wilder smoothing, or null",
                    "properties": {
                      "period": {
                        "description": "Look-back window",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "value": {
                        "description": "Current value from 0 to 100",
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    }
                  },
                  "macd": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "MACD 12/26/9, or null if fewer than 26 prices",
                    "properties": {
                      "line": {
                        "description": "12-period EMA minus 26-period EMA",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "signal": {
                        "description": "9-period EMA of the MACD line, null if too few values"
                      },
                      "histogram": {
                        "description": "MACD line minus signal line"
                      }
                    }
                  },
                  "bollinger": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Bollinger Bands, or null",
                    "properties": {
                      "period": {
                        "description": "Window",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "stdev": {
                        "description": "Band width in standard deviations",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "middle": {
                        "description": "Middle band (moving average)",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "upper": {
                        "description": "Upper band",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "lower": {
                        "description": "Lower band",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "bandwidth_percent": {
                        "description": "Band width as a percent of the middle band",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "percent_b": {
                        "description": "Position of price within the bands (0 lower, 1 upper)",
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    }
                  },
                  "signals": {
                    "type": "array",
                    "description": "Plain-language readings of each indicator"
                  },
                  "note": {
                    "type": "string",
                    "description": "Plain-language caveat about how to read and use the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Where the data or formula comes from"
                  },
                  "symbol": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Ticker or asset symbol"
                  },
                  "found": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "True when the lookup matched a record"
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Name"
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Currency code"
                  },
                  "range": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Range covered by the data"
                  },
                  "interval": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Interval between data points"
                  },
                  "bars": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "as_of": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Date the figures are valid for"
                  },
                  "price": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Price"
                  },
                  "indicators": {
                    "description": "Indicator values"
                  },
                  "bias": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "disclaimer": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Limits and caveats on using this data"
                  }
                },
                "required": [
                  "last_price",
                  "signals"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "rsi calculator from prices",
    "macd of a price series",
    "bollinger bands calculator",
    "is it overbought or oversold",
    "moving average of this list"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.960Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "prices": {
          "type": "string",
          "description": "comma-separated closing prices, oldest first (2-1000)"
        }
      },
      "required": [
        "prices"
      ]
    },
    "exampleResponse": {
      "count": 30,
      "last_price": 130,
      "sma": {
        "period": 20,
        "value": 119.55
      },
      "ema": {
        "period": 20,
        "value": 119.578241
      },
      "rsi": {
        "period": 14,
        "value": 82.013
      },
      "macd": {
        "line": 7.040124,
        "signal": null,
        "histogram": null
      },
      "bollinger": {
        "period": 20,
        "stdev": 2,
        "middle": 119.55,
        "upper": 131.254273,
        "lower": 107.845727,
        "bandwidth_percent": 19.581,
        "percent_b": 0.9464
      },
      "signals": [
        "RSI overbought",
        "price inside Bollinger bands",
        "price above SMA"
      ],
      "note": "Indicators use standard definitions (Wilder smoothing for RSI, 12/26/9 MACD, population deviation for Bollinger). An indicator is null when the list is too short. They describe past prices and are not advice.",
      "source": "Standard technical analysis formulas on the supplied prices"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "prices": "100,101,103,102,104,106,105,107,109,108,110,112,111,113,115,114,116,118,117,119,121,120,122,124,123,125,127,126,128,130"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "count": 30,
              "last_price": 130,
              "sma": {
                "period": 20,
                "value": 119.55
              },
              "ema": {
                "period": 20,
                "value": 119.578241
              },
              "rsi": {
                "period": 14,
                "value": 82.013
              },
              "macd": {
                "line": 7.040124,
                "signal": null,
                "histogram": null
              },
              "bollinger": {
                "period": 20,
                "stdev": 2,
                "middle": 119.55,
                "upper": 131.254273,
                "lower": 107.845727,
                "bandwidth_percent": 19.581,
                "percent_b": 0.9464
              },
              "signals": [
                "RSI overbought",
                "price inside Bollinger bands",
                "price above SMA"
              ],
              "note": "Indicators use standard definitions (Wilder smoothing for RSI, 12/26/9 MACD, population deviation for Bollinger). An indicator is null when the list is too short. They describe past prices and are not advice.",
              "source": "Standard technical analysis formulas on the supplied prices"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "prices": {
                      "type": "string",
                      "description": "comma-separated closing prices, oldest first (2-1000)"
                    }
                  },
                  "required": [
                    "prices"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "number",
                      "description": "Number of prices supplied"
                    },
                    "last_price": {
                      "type": "number",
                      "description": "Most recent price"
                    },
                    "sma": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Simple moving average, or null if too few prices",
                      "properties": {
                        "period": {
                          "description": "Averaging window",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "value": {
                          "description": "Current value",
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    },
                    "ema": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Exponential moving average, or null",
                      "properties": {
                        "period": {
                          "description": "Averaging window",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "value": {
                          "description": "Current value",
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    },
                    "rsi": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Relative strength index with Wilder smoothing, or null",
                      "properties": {
                        "period": {
                          "description": "Look-back window",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "value": {
                          "description": "Current value from 0 to 100",
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    },
                    "macd": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "MACD 12/26/9, or null if fewer than 26 prices",
                      "properties": {
                        "line": {
                          "description": "12-period EMA minus 26-period EMA",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "signal": {
                          "description": "9-period EMA of the MACD line, null if too few values"
                        },
                        "histogram": {
                          "description": "MACD line minus signal line"
                        }
                      }
                    },
                    "bollinger": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Bollinger Bands, or null",
                      "properties": {
                        "period": {
                          "description": "Window",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "stdev": {
                          "description": "Band width in standard deviations",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "middle": {
                          "description": "Middle band (moving average)",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "upper": {
                          "description": "Upper band",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lower": {
                          "description": "Lower band",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "bandwidth_percent": {
                          "description": "Band width as a percent of the middle band",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "percent_b": {
                          "description": "Position of price within the bands (0 lower, 1 upper)",
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    },
                    "signals": {
                      "type": "array",
                      "description": "Plain-language readings of each indicator"
                    },
                    "note": {
                      "type": "string",
                      "description": "Plain-language caveat about how to read and use the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Where the data or formula comes from"
                    },
                    "symbol": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Ticker or asset symbol"
                    },
                    "found": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "True when the lookup matched a record"
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name"
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Currency code"
                    },
                    "range": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Range covered by the data"
                    },
                    "interval": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Interval between data points"
                    },
                    "bars": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "as_of": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Date the figures are valid for"
                    },
                    "price": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Price"
                    },
                    "indicators": {
                      "description": "Indicator values"
                    },
                    "bias": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disclaimer": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Limits and caveats on using this data"
                    }
                  },
                  "required": [
                    "last_price",
                    "signals"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/ta/indicators?prices=100,101,103,102,104,106,105,107,109,108,110,112,111,113,115,114,116,118,117,119,121,120,122,124,123,125,127,126,128,130",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "count": 0,
    "last_price": 0,
    "sma": {
      "period": 0,
      "value": 0
    },
    "ema": {
      "period": 0,
      "value": 0
    },
    "rsi": {
      "period": 0,
      "value": 0
    },
    "macd": {
      "line": 0,
      "signal": null,
      "histogram": null
    },
    "bollinger": {
      "period": 0,
      "stdev": 0,
      "middle": 0,
      "upper": 0,
      "lower": 0,
      "bandwidth_percent": 0,
      "percent_b": 0
    },
    "signals": [
      "value"
    ],
    "note": "string",
    "source": "string",
    "symbol": "string",
    "found": true,
    "name": "string",
    "currency": "string",
    "range": "string",
    "interval": "string",
    "bars": 0,
    "as_of": "string",
    "price": 0,
    "indicators": null,
    "bias": "string",
    "disclaimer": "string"
  }
}