API Reference
Getting started and authentication
The Places API serves published place data over HTTPS as JSON: search, details, counts and lookups. Paid requests use a workspace API key and are charged in credits after a successful result.
Also as OpenAPI 3.1 and a Postman collection.
Base URL
https://api.gridatum.comAuthentication
Send a workspace API key as Authorization: Bearer YOUR_API_KEY. Owners and Admins create keys in the dashboard under API Keys; the full key is shown once. Every key of a workspace shares its wallet and rate limit. The public routes under /v1/public need no key.
- Keep keys on your server and out of source control and browser code.
- Revoke a key in the dashboard at any time; requests with it then answer
401. - There is no free monthly quota. A new account receives a one-time welcome credit of USD 1.
Response headers
X-Request-Id: Server-generated ID of this request; quote it to support.X-Credits-Charged: Credits actually debited for this request (0when nothing was charged).X-Billable-Groups: Enriched Search and Details: returned POIs with a substantive value per group, e.g. {"web":1,"visitor":1,"polygon":0}. No group adds cost during the Places Enriched Beta.Retry-After: 429 only: seconds until the rate window ends.
First request
The example on the right searches cafés and bakeries in Singapore. Read X-Credits-Charged for the actual charge, then open Places Search for every parameter, or try it in the Playground.