Skip to main content
GET
Get sparkline price data for a token
Returns a fixed number of price points for the selected range (24h to 1y) - a compact, chart-ready array you can drop directly into a sparkline widget without resampling. For native coins, pass native as tokenAliasOrTokenAddress.

Authorizations

X-Api-Key
string
header
required

Path Parameters

chainAlias
enum<string>
required

The alias of the chain.

Available options:
0x1,
ethereum,
0x15b38,
chiliz,
0x171,
pulse,
0x19,
cro,
0x2105,
base,
0x2eb,
flow,
0x38,
binance,
0x46f,
lisk,
0x504,
moon beam,
0x531,
sei,
0x64,
gnosis,
0x89,
polygon,
0x8f,
monad,
0xa,
optimism,
0xa4b1,
arbitrum,
0xa86a,
avalanche,
0xe708,
linea,
bitcoin-mainnet,
bitcoin,
solana-mainnet,
sol
tokenAliasOrTokenAddress
string
required

The token address or alias

Query Parameters

range
enum<string>
required

The time range for the sparkline. Determines the interval and window size.

Available options:
24h,
7d,
30d,
90d,
1y
Example:

"7d"

Response

200 - application/json
chain
string
required

The resolved blockchain chain ID

Example:

"0x1"

range
enum<string>
required

The sparkline range used for this result

Available options:
24h,
7d,
30d,
90d,
1y
Example:

"7d"

fromDate
string
required

ISO-8601 timestamp of the computed window start

Example:

"2025-01-01T00:00:00.000Z"

toDate
string
required

ISO-8601 timestamp of the computed window end

Example:

"2025-01-08T00:00:00.000Z"

page
number
required

Always 1. Sparkline responses are not paginated.

Example:

1

cursor
object | null
required

Always null. Sparkline responses are not paginated.

Example:

null

result
object[]
required

Array of price data points

meta
object
required