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.
Request
Top primary categories of one area (Primary Count), with Uncategorized and Other.
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
poi_validity- valid
curl -sS -D - "https://api.gridatum.com/v1/count/categories?country=SG&poi_validity=valid" \
-H "Authorization: Bearer YOUR_API_KEY"import requests
response = requests.get(
"https://api.gridatum.com/v1/count/categories",
params={
"country": "SG",
"poi_validity": "valid",
},
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=60,
)
print(response.status_code, "credits charged:", response.headers.get("X-Credits-Charged"))
print(response.json())const response = await fetch("https://api.gridatum.com/v1/count/categories?country=SG&poi_validity=valid", {
headers: { Authorization: "Bearer YOUR_API_KEY" },
});
console.log(response.status, "credits charged:", response.headers.get("X-Credits-Charged"));
console.log(await response.json());Replace YOUR_API_KEY with one of your keys; keep keys out of source control.
Run the request to see its status, actual credits charged and JSON here. Nothing runs on its own.