Skip to main content

Error format

All errors return a JSON body with error and message:

HTTP status codes

Error codes

unauthorized (401)

Check that:
  • The X-API-Key header is present
  • The key is correct (no copy-paste whitespace)
  • The key hasn’t been revoked
  • The key starts with gex_sk_

subscription_required (403)

Your subscription doesn’t include API access. The current_tier field shows your current plan. Upgrade to Pro to get API access.

invalid_exchange (400)

Valid values: bybit, deribit, okx, all (aggregated).

no_data (404)

The combination of coin/exchange/expiration doesn’t exist. Common causes:
  • The exchange doesn’t list options for this coin (e.g., OKX doesn’t have XRP)
  • The expiration has already expired
  • The basecoin is mistyped (must be uppercase)

rate_limit_exceeded (429)

See Rate Limits for handling strategies.

Getting help