# Status and Error Codes

The CryptoQuant API uses standard HTTP status codes to indicate success or failure. 200 represents success, 4xx represents a user error (such as a problem with your key), and 5xx represents a problem with our API.

The following table describes status and error codes returned by API. In the status object, the `code` field contains the status code and the `message` field contains the type of response.

| Code  | Type                    | Description                                                                                                                       |
| ----- | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `200` | `success`               | Request was successful.                                                                                                           |
| `200` | `deprecated`            | A resource is deprecated and will be removed in the future.                                                                       |
| `400` | `bad_request`           | Some required parameter is missing or has the wrong value.                                                                        |
| `401` | `unauthorized`          | Internal authorization failed. It might mean missing or wrong credentials.                                                        |
| `403` | `forbidden`             | It means you don't have an access to the requested endpoint.                                                                      |
| `404` | `not_found`             | URI is not valid or the resource ID does not correspond to an existing resource.                                                  |
| `405` | `not_allowed`           | HTTP method not allowed, such as attempting to use a POST request with an endpoint that only accepts GET requests, or vice versa. |
| `429` | `too_many_requests`     | It indicates the user has sent too many requests in a given amount of time.                                                       |
| `500` | `internal_server_error` | Unexpected error occurred. Please report this when you see it.                                                                    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://userguide.cryptoquant.com/ko/api/introduction/status-and-error-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
