Error Handling

The Market Data API uses conventional HTTP response codes to indicate the success or failure of API requests. All error responses follow a consistent JSON structure to help you identify and resolve issues quickly.

Error Response Format

All error responses follow this standardized structure:

{
  "errors": [
    {
      "status": "string",   // HTTP status code (as string)
      "title": "string",    // Short error title
      "detail": "string"    // Human-readable explanation
    }
  ]
}

Key Points:


HTTP Status Codes

200 OK

Request succeeded. For POST requests, this indicates successful data retrieval.

400 Bad Request

The request was invalid. This typically indicates: