Skip to main content
The PolyOrderbooks API uses conventional HTTP status codes. Error bodies fall into two shapes depending on the layer that rejected the request.

Response shapes

Gateway auth (401)

Authentication and rate-limit responses use a single detail field:

Application errors (400, 403, 404)

Business logic and validation use error + message:

Rate limits (429)

Includes Retry-After header (seconds). See Rate limits.

Status code reference

Common validation errors

Integration pattern

Log HTTP status, request path, and the parsed error string. Include your client request id when contacting contact@polyorderbooks.com.

Idempotency

GET requests are safe to retry on transient network failures and 5xx responses. Do not retry 400, 403, or 404 without changing the request.