Errors
Every error, from every endpoint, uses the same envelope:
{
"error": {
"code": "rate_limited",
"message": "You've hit your daily request limit for the Community tier.",
"retry_after_seconds": 3600
}
}code is stable and meant to be matched on programmatically. message is human-readable and may change wording over time — don't parse it. Some errors add extra fields (retry_after_seconds on rate limits, details on validation failures).
Error codes
| code | HTTP status | Meaning |
|---|---|---|
| invalid_key | 401 | Missing, malformed, or unrecognized Authorization header. |
| revoked_key | 401 | The key exists but is revoked or suspended. |
| forbidden_translation | 403 | Your tier or per-key scope doesn't cover this translation. |
| not_found | 404 | The translation, book, chapter, or verse doesn't exist. |
| rate_limited | 429 | Per-minute or per-day limit exceeded. Includes retry_after_seconds. |
| bad_request | 400 | Malformed query params, body, or an unparseable reference. |
| no_license_on_file | 403 | The translation is licensed and no agreement is in place to serve its text. |
| unauthorized | 401 | Admin-only route, missing or invalid admin session. |
| forbidden | 403 | Admin route requires a role (full admin) beyond what your session has. |
| internal_error | 500 | Something broke on our end. |