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.
| Endpoint | Returns |
|---|---|
| GET /api/v1/products | Every product with published prices. |
| GET /api/v1/products/{slug} | Regular price by country: local and USD (minor units), basis, grade, date. |
| GET /api/v1/places | Places with published figures. |
| GET /api/v1/places/{slug}/figures | Every published figure for the place, with grade and source. |
| GET /api/v1/fx | The 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.