Skip to main content

HTTP status codes

Figure Markets APIs use standard HTTP status codes. The following are the ones you will commonly see and how we use them:

CodeMeaningHow we use it
400Bad RequestValidation error: missing or invalid parameters, malformed body, or request that fails business rules. Check the response body for details (e.g. field-level errors).
401UnauthorizedAuthentication failed or token missing/expired. For bearer-token APIs: obtain a new token and retry.
403ForbiddenAuthenticated but not allowed to perform this action (e.g. wrong credentials for this API, insufficient permissions, or resource not accessible to this account).
429Too Many RequestsRate limit exceeded. Implement backoff (e.g. exponential) and retry after the indicated period or header (e.g. Retry-After).
5xxServer ErrorServer or gateway error. Retry with backoff; if persistent, contact apisupport@figuremarkets.com.

For the exact error response shape (e.g. JSON body with code, message, or details), see the OpenAPI spec for the API you are calling. Success responses use 2xx (typically 200 OK or 201 Created).