status field while surfacing useful context to your users or logs via the message field. Internal server details are never exposed — only safe, descriptive messages reach your client.
Error response format
Every error from the Arbitrage API follows this envelope:- Use
statusfor programmatic branching in your code — it never changes for a given error condition. - Use
messagefor logging and user-facing display — it may include dynamic context like a countdown or a field name.
Error codes
The table below covers every status code defined in the API. HTTP status codes are listed alongside each to help you triage at the transport layer before parsing the body.Example error responses
Handling errors in Python
The pattern below covers the most common error categories you’ll encounter in production:python
The
message field is always safe to log and display to end users. It never contains internal stack traces, database details, or secrets.