---
title: "Coin sparkline"
method: GET
path: "/api/v1/coins/{slug}/sparkline"
tags: ["Coins"]
---

# Coin sparkline

`GET /api/v1/coins/{slug}/sparkline`

A compact price series for the coin over the chosen `period`, for drawing
sparklines.

`points` is a sample of at most 480 readings, oldest first, each a decimal-string
`price` at an ISO-8601 `time`. `low` and `high` are the true extremes of the whole
period — they bound every point, but need not appear among the sampled ones.
`change` is the move across the period in PERCENT (`1.25` means +1.25%).

## Query parameters

- `period` string, nullable — 24h, 7d, 30d, 60d, 90d, 180d or 365d (default 7d).

---

[API](https://skmtc.dev/bitculator/apis/bitculator-data-api.md) · [All operations](https://skmtc.dev/bitculator/apis/bitculator-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitculator/bitculator-data-api/revisions/a393a65962eb/schema)
