v1
latestOpenAPI 3.0.32026-08-04850206.9 KBIndicators
SMA (Simple Moving Average)
Daily Simple Moving Average — the arithmetic mean of the closing price over the window, the classic trend baseline traders read for support, resistance and golden/death crosses. Windows: 50, 100, 200 days (default 50). Values are decimal strings on the price scale.
get/api/v1/coins/{slug}/indicators/sma
Query parameters
periodinteger
Window length — one of 50, 100, 200 (default 50).
Example:50
Window length — one of 50, 100, 200 (default 50).
startstring
ISO date lower bound.
Example:2026-06-01
ISO date lower bound.
endstring
ISO date upper bound.
Example:2026-06-30
ISO date upper bound.
limitinteger
Max rows (1–1000, default 365).
Example:30
Max rows (1–1000, default 365).
Response
Example response
{
"data": [
{
"date": "2026-06-14",
"value": "63120.44821000"
}
],
"meta": {
"coin": "bitcoin",
"indicator": "sma",
"period": 50,
"count": 1
}
}