Sign inGet a key

Documentation

Errors

One error envelope shared by every product on the platform.

Envelope

Failures always answer with an error object carrying a stable machine-readable code and a human-readable message. Branch on code, never on the message text.

404 Not Found
{
  "error": {
    "code": "not_found",
    "message": "Country not found."
  }
}

Codes you should handle

StatusCodeMeaning
401invalid_api_keyMissing, unknown, disabled or revoked key.
403product_access_deniedThe key belongs to a different product.
403subscription_inactiveNo active subscription for this product.
404not_foundNo entry exists for that country or subdivision code.
405method_not_allowedOnly GET is supported.
429rate_limit_exceededPer-minute limit reached. Retry-After applies.
429monthly_limit_exceededMonthly quota reached until the period resets.
500internal_errorUnexpected failure. Safe to retry once.

Missing data is not an error

Fields absent from the source dataset are omitted rather than returned as null placeholders. Treat absence as unknown, and a 404 as a code that does not exist in the dataset at all.