Response Status
The result of requests to J-Quants API is indicated by HTTP status codes.
If the request is successful, 200 is returned, and if an error occurs, error codes in the 400 or 500 range are returned.
The error response Body may contain a JSON object with error details.
Status Code List
| Status Code | Name | Description |
|---|---|---|
| 200 | OK | The request was successful. |
| 210 | No Content (Partial) | Data could not be retrieved due to reasons such as being outside the available time window or non-existent issue codes (used in some APIs such as the Morning Session Stock Prices (OHLC) API). |
| 400 | Bad Request | Request parameters are invalid or required parameters are missing. |
| 403 | Forbidden | Access permission is denied. This may occur when accessing data not included in your subscription plan. Status code 403 is also returned when an incorrect API key is configured or an incorrect resource path is specified. |
| 429 | Too Many Requests | The number of requests exceeded the limit (rate limit). Please wait for a certain period before retrying. |
| 500 | Internal Server Error | An error occurred on the server. Please retry after some time. |
Example Error Message
When an error occurs, details are returned in JSON format as shown below.
{
"message": "This API requires at least 1 parameter as follows; date, code"
}