Get started
Errors and limits
Errors are JSON with a stable error code and a plain-language detail. A refusal over spend also carries the quote, so you can see what the call would have cost.
response · 402
{
"error": "spend_cap",
"detail": "the organisation's monthly spend cap ($100.00) would be passed: $99.80 spent",
"quote": { "count": 14, "full": 14, "cached": 0, "amount": 0.21 }
}Codes
| Status | Code | Meaning |
|---|---|---|
| 401 | unauthorized | No token or key, or one that is invalid or expired. |
| 402 | insufficient_balance | The call costs more than your balance. Nothing is charged; quotes still work. |
| 402 | spend_cap | The call would pass a spend cap (organisation, key or MCP client). The error names which. |
| 402 | over_max_reads | The call returns more reads than the request ceiling. Narrow it or raise max_reads. |
| 403 | forbidden | Your role can't make this call, or the account isn't in an organisation. |
| 404 | not_found | The thing doesn't exist in your organisation. |
| 409 | conflict | The change clashes with what exists, such as an email already in an organisation. |
| 410 | gone | The route was retired. The detail names its replacement. |
| 422 | bad_request | A parameter is missing or out of range. The detail says which. |
| 422 | unknown_metric | A metric name isn't in the catalogue (GET /v1/metrics lists them). |
| 422 | release_mismatch | Values from different releases were asked for together. Pin one release. |
| 429 | rate_limited | Too many requests. Wait the seconds in the Retry-After header. |
| 429 | drilldown_limit | The daily limit on single-property detail is reached. |
| 503 | pending | A value or area isn't ready yet. Try again later. |
Rate limits
| Bucket | Sustained | Burst |
|---|---|---|
| Your organisation, every request | 300 a minute | 60 |
| Each API key | 120 a minute | 30 |
| Creating catchments and running analyses | 30 a minute | 10 |
A request takes one token from each bucket it belongs to. Over a limit, the API answers 429 with Retry-After in seconds; a refused request uses nothing.