Conventional HTTP response codes are used to indicate success or failure of a request.
Response Code |
Description |
200 OK |
Everything worked as expected. |
400 Bad Request |
General client error, usually because of missing or malformed data. |
401 Unauthorized |
API Key was not authorized or credentials were not provided. |
403 Forbidden |
The server was reachable but access was denied; usually due to requests not being sent over HTTPS. |
404 Not Found |
The requested resource was not found. |
405 Method Not Allowed |
The requested method is not allowed. |
429 Too Many Requests |
Rate limit has been exceeded. |
500, 502, 503, 504 |
General server errors. |
An HTTP success header does not always mean rates were returned. If the request was successful but the App was in test mode or no rates were found, the response will include an error message instead of an array of rate objects. See Test Mode and Rate Failure for more info.