Skip to main content
All API errors return a JSON body with an error message and a machine-readable code.

HTTP status codes

Common error codes

Rate limits

The API allows up to 100 requests per second per API key. If you exceed this limit, you will receive a 429 response with a Retry-After header indicating how many seconds to wait before retrying.

Protocol error codes

The following error codes apply to on-chain protocol operations. These are returned when an Instruction execution fails at the contract level.