Resources
Understand HTTP status codes and error response shapes returned by the API.
The API uses standard HTTP status codes. Errors include a machine-readable code and a human-readable message.
{
"status": "error",
"code": "NOT_FOUND",
"message": "Province with code '99' does not exist."
}| HTTP | Code | Meaning |
|---|---|---|
| 200 | SUCCESS | Request succeeded |
| 400 | BAD_REQUEST | Invalid or missing parameters |
| 401 | UNAUTHORIZED | Invalid or missing API key |
| 404 | NOT_FOUND | Resource does not exist |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests |
| 500 | INTERNAL_ERROR | Internal server error |
Last updated June 2025