Sparkline
Get a small set of recent BTC price points suitable for sparkline charts. Returns a fixed number of points based on the selected range.
bitcoin as chainAlias and native as tokenAliasOrTokenAddress. The response is a compact, chart-ready price array — drop it directly into a sparkline widget without resampling.Authorizations
Path Parameters
Bitcoin chain alias. Pass bitcoin or bitcoin-mainnet.
bitcoin, bitcoin-mainnet For BTC price, pass native.
native Query Parameters
The time range for the sparkline. Determines the interval and window size.
24h, 7d, 30d, 90d, 1y "7d"
Response
The resolved blockchain chain ID
"bitcoin"
The sparkline range used for this result
24h, 7d, 30d, 90d, 1y "7d"
ISO-8601 timestamp of the computed window start
"2025-01-01T00:00:00.000Z"
ISO-8601 timestamp of the computed window end
"2025-01-08T00:00:00.000Z"
Always 1. Sparkline responses are not paginated.
1
Always null. Sparkline responses are not paginated.
null
Array of price data points

