HTTP Status Codes
| Status Code | Meaning | Description |
|---|---|---|
200 | OK | The request was successful. The response body contains the requested data. |
400 | Bad Request | The request contains invalid parameters or is malformed. |
401 | Unauthorized | Authentication failed. The API key is missing, invalid, or expired. |
404 | Not Found | The requested resource does not exist. |
429 | Too Many Requests | You have exceeded your rate limit. See Rate Limits. |
500 | Internal Server Error | An unexpected error occurred on the server. |
Error Response Format
When an error occurs, the API returns a JSON object with details about what went wrong.Detailed Status Code Reference
200 OK
The request succeeded. For list endpoints, the response is a JSON array. For single-resource endpoints, the response is a JSON object.400 Bad Request
The request was rejected because one or more parameters are invalid. Check themessage field for specifics.
Common causes:
- An invalid
sport_idvalue - A malformed date format (expected
YYYY-MM-DD) - An unrecognized query parameter value
401 Unauthorized
Authentication failed. The API could not verify your identity. Common causes:- No API key was provided
- The API key is invalid or has been revoked
- The
Authorizationheader is malformed
404 Not Found
The requested resource does not exist. This typically means the event ID, sport ID, or other identifier in the URL path does not match any record. Common causes:- An event ID that does not exist or has been archived
- A URL path that is misspelled or references a deprecated endpoint
429 Too Many Requests
You have exceeded the rate limit for your API key. The response includes headers indicating when you can retry.X-RateLimit-Reset timestamp before retrying. Implement exponential backoff in your client. Consider using delta endpoints or WebSocket to reduce request volume. See Rate Limits for details.
500 Internal Server Error
An unexpected error occurred on the server side. This is not caused by your request.The 0.0001 Sentinel Value
The value
0.0001 appearing in odds or line fields is not an error. It is a sentinel value indicating that a line is currently unavailable or has not yet been posted by the sportsbook.0.0001 rather than null or omitting the field. This ensures a consistent numeric type across all responses and makes it straightforward to filter in your code.
How to Handle 0.0001
Filter out the sentinel value when displaying or processing lines. Treat any field equal to0.0001 as “not available.”
Troubleshooting Checklist
If you are encountering errors, work through this checklist:- Check your API key. Is it present in the request? Is it valid? Try the key against a public endpoint like
/v2/sports. - Inspect the full response. Read the
messagefield in the error response for specific guidance. - Review the request URL. Ensure the path, query parameters, and date formats are correct.
- Check your rate limit headers. If you are getting
429responses, inspectX-RateLimit-RemainingandX-RateLimit-Reset. - Retry with backoff for 5xx errors. Server errors are usually transient. Retry after a short delay.
- Contact support. If the issue persists, email [email protected] with the request URL, response body, and timestamp.