The Kitegraph API
Every statistic in the library as clean JSON with citation metadata. One normalized shape across all sources, one key. No scraping, no cleaning, no stitching upstream APIs together.
Quickstart
Grab any statistic by its id. The id is the same slug you see in the page URL.
# statistic ids match the site URLs
curl https://kitegraph.com/api/statistic/world-bank/gdp/united-states?format=json
Authentication
Public statistic reads need no key today. Keyed access with higher limits arrives with the Pro plan; keys will pass as a bearer token.
Authorization: Bearer kg_live_4f8a…
Endpoints
| Endpoint | Returns |
|---|---|
| GET/api/statistic/{id}?format=json | One statistic: full series, unit, source, updated date. |
| GET/api/statistic/{id}?format=csv | The same series as a CSV download. |
Response shape
{
"id": "world-bank/gdp/united-states",
"title": "United States GDP",
"unit": "current US$",
"source": { "publisher": "World Bank", "series": "NY.GDP.MKTP.CD" },
"periods": [1960, …, 2024],
"rows": [{ "name": "United States", "vals": […] }]
}
The same shape for every source: a period axis and value series, plus enough metadata to cite it properly.
Rate limits
Fair-use limits apply to unauthenticated reads. For volume, SLAs, and private data, talk to us.