REFERENCE / RELIABLE INTEGRATIONS
Understand usage and failures.
Each admitted operation consumes one shared account credit. Read public error codes explicitly and keep recovery decisions in your application.
One account allowance
All keys, RPC/history endpoints and enabled networks in the same environment share monthly credits and a rate limit. An admitted history status request or page costs one credit, regardless of returned row count. Source work does not multiply that credit.
| Plan | Monthly requests | Requests/second |
|---|---|---|
| Free | 100,000 | 5 |
| Starter | 2,000,000 | 50 |
| Pro | 15,000,000 | 200 |
Monthly usage resets at 00:00 UTC on the first day of the month, independently of the subscription billing date. Rate limits use shared fixed one-second windows. There are no automatic overage charges. See plans and billing for subscription details.
Rejected and admitted requests
Authentication failures, malformed requests rejected before admission, invalid/expired cursors and HTTP 429 do not consume a credit. Failures after admission—including source coverage failures—do. Configuration and busy-capacity rejections can happen before admission; source unavailability or timeouts can happen afterward.
A cancellation or lost response can follow admission. Check portal usage and avoid blindly retrying to infer whether a request counted. HTTP 429 can represent the rate or monthly limit; a Retry-After header is not guaranteed.
Common responses
| HTTP | Public code / meaning | Recovery |
|---|---|---|
| 401 | Missing, invalid or revoked authentication | Check your key and API environment. |
| 400 | invalid_request / history_invalid_cursor | Check bounds/filters; use an unmodified cursor at the same address and endpoint. |
| 409 | history_generation_changed | Reconcile progress and explicitly restart the query. |
| 410 | history_cursor_expired | Restart explicitly; cursors have a fixed 60-minute lifetime. |
| 422 | history_outside_coverage / history_unsupported_dataset / history_page_too_large | Check status/coverage, use a supported dataset or reduce page/range size. This is not an empty page. |
| 429 | quota_exceeded | Inspect usage. Back off for rate limits; upgrade or wait for the monthly reset if the allowance is exhausted. |
| 503 | history_unavailable, history_busy, history_bootstrapping, history_halted or history_source_identity_mismatch | Keep the selected network. Try later or contact support with the public code. |
| 504 | history_timeout | Admission may have consumed a credit. Review usage and reduce the work before retrying. |
Mainnet requests return 400 mainnet_unavailable while mainnet access is disabled (including staging). Network selection never falls back to Adiri. Other RPC-specific errors are described in the OpenAPI contract.
Need help?
Contact OpRail with the public error code, selected environment/network and approximate request time. Keep API keys, wallet private keys and signed pagination cursors out of support messages.