Skip to main content

Error responses

Core API errors use a problem response, such as the validation example below. Gateway authentication failures and Circle Gateway deposit-address errors can use other envelopes; inspect the HTTP status as well as the body.

What each status means

A quote 502 does not identify one cause. POST /v1/quotes answers 502 solver-error when no solver returns a usable quote: tokens that are not in GET /v1/tokens, pairs with no available liquidity, amounts no solver can fill, and upstream solver failures or timeouts. Check the pair against GET /v1/tokens; for retryable failures, use a bounded retry budget. No requests-per-second quota is published. Do not assume a fixed allowance from the absence of 429 responses. The full code catalog is in the OpenAPI document under x-error-catalog; an individual endpoint may expose only a subset.