Get a small set of historical price points suitable for sparkline charts (tiny charts in token lists, watchlists, portfolio rows). Returns a fixed number of points based on the selected range.
Documentation Index
Fetch the complete documentation index at: https://docs.moralis.com/llms.txt
Use this file to discover all available pages before exploring further.
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.The alias of the chain.
0x1, ethereum, 0x171, pulse, 0x2105, base, 0x38, binance, 0x89, polygon, 0xa, optimism, 0xa86a, avalanche, bitcoin-mainnet, bitcoin, solana-mainnet, sol The token address or alias
The time range for the sparkline. Determines the interval and window size.
24h, 7d, 30d, 90d, 1y "7d"
The resolved blockchain chain ID
"0x1"
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