HTTP codes
401 unauthorized; 403 market/scope denied; 404 path/symbol; 429 quota/RPM; 5xx backoff and keep X-Request-Id.
Documentation
Reliable market pipelines must handle auth, entitlement, and quota errors without retry storms.
401 unauthorized; 403 market/scope denied; 404 path/symbol; 429 quota/RPM; 5xx backoff and keep X-Request-Id.
On 429 honor Retry-After when present; exponential backoff with jitter. Cap concurrency on historical pulls.
Log request_id, endpoint, status, and a short body. Alert on 401/403/429 separately in production.
JSON uses succ/data/msg/code. HTTP 2xx can still be succ=false—check both status and envelope.
Field tables live under /docs/api/*; pair with auth and WebSocket reconnect guides.