FMP endpoint reference / Stable
Technical indicators / sma
GET
/stable/technical-indicators/smaFMP 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.
| Name | Location | Type | Required | Default |
|---|---|---|---|---|
symbol | query | string | Yes | — |
periodLength | query | integer | Yes | — |
timeframe | query | 1min, 5min, 15min, 30min, 1hour, 4hour, 1day | Yes | — |
from | query | string (date) | No | — |
to | query | string (date) | No | — |
format | query | json, csv | No | "json" |
snapshot_id | query | string | No | — |
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"
}