Skip to main content

Error Codes

Response Errors (HTTP 200)

Some errors are returned with a 200 OK HTTP status but with "success": false in the body. The code field reflects the real HTTP status code. Always check success — do not rely on message for conditional logic.

Common message values for these errors:

MessageCause
apikey is not correctThe API key in the x-api-key header is invalid or does not exist
number of calls per day has been exceededYou have exhausted your 500 daily ?refresh=true requests
this route does not existThe endpoint path is incorrect
wrong param givenA query parameter has an invalid value

Example:

{
"success": false,
"message": "apikey is not correct",
"code": 200
}

HTTP Status Codes

CodeMeaningCommon Cause
200OK (may still be a logical error)Check the success field
304Not ModifiedETag match — your cached copy is current
400Bad RequestInvalid query parameters
401UnauthorizedMissing or invalid x-api-key header
403ForbiddenAccount blocked or insufficient permissions
404Not FoundEndpoint path wrong, or requested resource does not exist
405Method Not AllowedWrong HTTP method for this route
429Too Many RequestsDaily quota exceeded, or global scrape rate limit hit
500Internal Server ErrorAn unexpected error on the server
503Service UnavailableAPI in maintenance mode, or database temporarily unavailable

For guidance on handling these errors in your code, see Troubleshooting.
For how the quota works and what triggers a 429, see Rate Limits & Quota.