Quickstart
Your first authenticated request, in three steps.
1. Get a key
Create a key in Account → Settings → API keys (included on the Professional and Business plans). Copy it when it is shown; it appears once. See Authentication for details.
2. Search the library
Every request carries the key in the Authorization header. Search returns statistics with a stable id:
curl "https://api.kitegraph.com/v1/statistics?search=gdp" \
-H "Authorization: Bearer kg_live_…"
{ "results": [ { "id": 4821, "title": "GDP (current US$) · World", "source": "worldbank" } ] }
3. Fetch the data
Take an id from the results and fetch the full series:
curl "https://api.kitegraph.com/v1/statistic/4821" \
-H "Authorization: Bearer kg_live_…"
That is the loop: search, then fetch. Next, turn a statistic into a chart in Chart from a statistic.