Currency sparkline
Currencies
Currency sparkline
Description
Price sparkline for a single currency. Returns an array of [timestamp_ms, price_usd] tuples aggregated by the selected interval over the given number of days.
Pricing
- 1 credit per request.
GET
Currency sparkline
Documentation Index
Fetch the complete documentation index at: https://docs.cryptorank.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
Numeric coin id.
Example:
1
Query Parameters
Aggregation interval.
Available options:
1h, 4h, 1d Number of days.
Available options:
7, 14, 30 Response
Available options:
1h, 4h, 1d Example:
"1h"
Available options:
7, 14, 30 Example:
7
Array of [timestamp_ms, price_usd] tuples. Timestamp is a number, price a string.
Example:
[
[1715000000000, "65000.5"],
[1715003600000, "65100.2"]
]