QuantSet Docs Developer console

FMP endpoint reference / Stable

Technical indicators / sma

GET/stable/technical-indicators/sma

FMP OpenAPI schema · View as Markdown

Example request

curl 'https://api.quantset.dev/stable/technical-indicators/sma?symbol=NVDA&periodLength=10&timeframe=1day' -H 'apikey: YOUR_QUANTSET_API_KEY'

Parameters

Authenticate with a QuantSet API key in the apikey header or query parameter.

NameLocationTypeRequiredDefault
symbolquerystringYes—
periodLengthqueryintegerYes—
timeframequery1min, 5min, 15min, 30min, 1hour, 4hour, 1dayYes—
fromquerystring (date)No—
toquerystring (date)No—
formatqueryjson, csvNo"json"
snapshot_idquerystringNo—

Data coverage

Indicator availability depends on the support and basis of the source bar series. Unsupported intervals return HTTP 501.

JSON shape

Angle brackets indicate types. Arrays show one item. See the schema for all constraints.

[
  {
    "date": "<string>",
    "open": "<number | null>",
    "high": "<number | null>",
    "low": "<number | null>",
    "close": "<number | null>",
    "volume": "<number | null>",
    "sma": "<number>"
  }
]
Response schema
{
  "type": "array",
  "items": {
    "properties": {
      "date": {
        "type": "string",
        "title": "Date"
      },
      "open": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Open"
      },
      "high": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "High"
      },
      "low": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Low"
      },
      "close": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Close"
      },
      "volume": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Volume"
      },
      "sma": {
        "type": "number",
        "title": "Sma"
      }
    },
    "type": "object",
    "required": [
      "date",
      "open",
      "high",
      "low",
      "close",
      "volume",
      "sma"
    ],
    "title": "FmpTechnicalSma"
  },
  "title": "Response Fmp Stable Technical Sma Stable Technical Indicators Sma Get"
}