Home/Data API

Data API

Published figures only, each with its grade, source and date. Sample figures are never served.

Keys come with the Data access plan. Send the key as Authorization: Bearer ahk_…. Limits: per day and per minute, shown in X-RateLimit-* headers; going over returns 429.

EndpointReturns
GET /api/v1/productsEvery product with published prices.
GET /api/v1/products/{slug}Regular price by country: local and USD (minor units), basis, grade, date.
GET /api/v1/placesPlaces with published figures.
GET /api/v1/places/{slug}/figuresEvery published figure for the place, with grade and source.
GET /api/v1/fxThe exchange rates used, per US dollar.
curl -H "Authorization: Bearer ahk_…" https://ask.how/api/v1/products

Credit "ask.how" as the source when you publish figures. Redistribution licence to be written.