Response codes
When interacting with an API, the server responds with HTTP status codes to indicate the result of the request. These status codes can help you understand whether the request was successful, encountered an error, or requires further action. Below is a list of API response codes and their meanings.
API Response Codes
| Status Code | Description |
|---|---|
| 200 | OK |
| 400 | The request is malformed or contains invalid parameters. |
| 401 | Unauthorized/Invalid credentials |
| 403 | URL is not allowed |
| 429 | The client has sent too many requests in a given timeframe (rate limiting). |
| 500 | A generic error occurred on the server |
| 504 | Request Timeout |
Request Charging
- Only 200 OK requests are charged.
- Requests aborted by the client are charged only if the server has already started processing the request.
- 500 Internal Server Error responses are not charged.
Timeout
The maximum allowed time for each request is up to 120 seconds.