errors[].code.
Response format
One response can hold several entries, for example one per invalid field.
On-chain order errors look different
Errors raised by the signed-order checks are sent as a400 with two entries. The first carries the message. The second has attr: "code" and puts the code in detail. Both entries have code: "invalid".
400 Bad Request
400, look for the entry with attr == "code" and take its detail. Some on-chain errors have no such entry; match those on the message entry (attr == "detail").
python
Authentication and limits
Wallet-derived API keys
Returned byPOST /api-keys/derive/.
Order validation
Returned byPOST /orders/ before any signature check. In batch endpoints the same errors appear inside each item’s errors instead of as an HTTP error.
On-chain order errors
Coming soon. On-chain trading is not yet available on
https://api.futuur.com. These errors describe how it will work.POST /orders/ with on-chain trading, in the two-entry form. All are 400.
On-chain errors without a code entry:
POST /orders/signing-context/ returns 400 with one entry (attr: "detail") and one of these messages: No Safe registered for this chain., Safe is not deployed on-chain yet., No enabled pool wallet for this chain., No ledger account for <currency>.
Session key errors
Session keys are coming soon and are not live onhttps://api.futuur.com. See Session keys and the developer guide. All codes are 400 in the two-entry form. Where session keys are off, the /me/session-delegations/ endpoints return 404.
Returned by POST /orders/ when an order is signed by a session key:
Returned by
POST /me/session-delegations/prepare/ and POST /me/session-delegations/:
Cancel
Batch cancel and cancel-all report per-order results in a
200 response instead.
Wagers
Websocket authorization
POST /realtime/auth/ answers with a plain {"detail": "..."} body, not the format above: 400 when channel is missing, 401 without valid credentials, 403 for a channel that is not your own private-user-{user_id}, and 429 when you request tokens too often (30 per minute per user). The gateway reports its own errors in error frames. See Errors in the WebSocket overview.
The deprecated POST /pusher/auth/ (Pusher delivery ends on 2027-03-18) answers the same way: 400 when channel_name or socket_id is missing, 401 without valid credentials, and 403 for a private channel that is not your own private-user-{user_id}.
Server errors
A5xx with type: "server_error" means the request did not complete. For an order create, list your orders before retrying: the order may exist.
A 503 with code site_maintenance or RealMoneyGeoUnavailable is temporary. Wait, then retry. See the table above.