API Playground

Build a request, check its price, and run it with one of your keys. Requests run on the real API: they are charged to your workspace wallet, count toward its rate limit and appear in its usage, exactly like direct API calls. There is no free Playground quota.

GEThttps://api.gridatum.com/v1/count/areas?country=SG&mode=admin

Request

Counts of the child areas of a country (Admin1, or H3 R8 cells) or of one Admin1 (Admin2).

string
string · default admin
string
string
string · default all
integer · default 100 · 1–1000

Authorization

Reading the docs and building requests is free. To run a paid request, sign in and use one of your workspace's API keys.

Price before you run

Estimated maximum 1,000 credits ($0.001)

Formula: 1,000 per successful request

Estimate, not the actual charge. 1,000 credits if the request succeeds; errors are free.

Active parameters

country
SG
mode
admin
Code
curl -sS -D - "https://api.gridatum.com/v1/count/areas?country=SG&mode=admin" \
  -H "Authorization: Bearer YOUR_API_KEY"

Replace YOUR_API_KEY with one of your keys; keep keys out of source control.