The Kitegraph API
One API for the data and the charts: pull any statistic in the library as JSON with its citation, and create, publish, and export charts from code.
The Kitegraph API has two branches over one bearer key. The data API searches the statistic library and returns any statistic as JSON with its citation. The charts API creates charts, loads data into them, publishes them as live embeds, and exports them as files. They compose: a chart references a statistic by the same id the data API returns.
The base URL is https://api.kitegraph.com. Every path in these docs is under /v1.
Quickstart
Search the library, take the id from a result, and fetch the statistic.
Keys are minted in the app. See Authentication to get one, then the Quickstart guide for a full first request.
The two branches
| Branch | What it does |
|---|---|
| Data API | Search statistics, fetch one by id, construct an exact statistic from a source's dimensions, and browse the source registry. |
| Charts API | Create, update, list, and delete charts; load data; publish live embeds; export PNG, SVG, PDF, and CSV. Includes folders and themes. |
Where to start
| Page | Covers |
|---|---|
| Authentication | Bearer keys and scopes. |
| Making requests | The request format, rate limits, and versioning. |
| Errors and status codes | The error shape and every status code. |
| Guides | Task walkthroughs, end to end. |
| Endpoints | Every path and the scope it needs. |