Overview
Sparklines are a visual representation of price data over a period of time. They are available for the last 7 days and are returned as a JSON array of price points. To add them to your response, include the?sparkline=7d
query parameter.
Sparklines may be added to either the
Get Multiple Assets or
Get Single Asset endpoints.
Example Request
Example Response
Response Fields
Field | Type | Description |
---|---|---|
sparkline_7d | Number[] | Array of price points for the last 7 days |