Usage restrictions per user¶
API usage restrictions are set in a fixed time frame for each member linked with an access token.
If you are using multiple applications
Even if a certain linked member uses multiple applications, the usage limit cannot be exceeded.
Limit in time frame¶
|
API |
Limit |
Time frame |
Limit name |
|---|---|---|---|
|
All APIs |
5,000 |
1 hour |
|
|
2,500 |
24 hours |
|
About limits
The limit frame starts with the first request in the unrestricted state. The limit is the total number of times the API is used, not per endpoint.
Bulk Inventory Request
In the case of bulk inventory APIs, a single request is considered to be the number of times for the number of products it contains.
HTTP headers and response codes¶
If the rate limit is exceeded, a response code of HTTP 429: Too Many Requests will be returned.
The following response header will be returned including the information of the usage limit.
X-Rate-Limit-Name: Name of the rate limit.X-Rate-Limit-Limit: Upper limit of the rate limit for the specified request (ex. 5,000).X-Rate-Limit-Remaining: The number of requests remaining in the time frame window.X-Rate-Limit-Reset: Time remaining before the rate limit is removed. UTC epoch second format
HTTP response header sample.
HTTP/2 429
date: Thu, 03 Feb 2022 06:18:21 GMT
content-type: text/plain; charset=utf-8
server: openresty/1.15.8.1
x-rate-limit-name: api_daily_limit:products
x-rate-limit-limit: 2500
x-rate-limit-remaining: 0
x-rate-limit-reset: 1643888020
cache-control: no-cache
x-request-id: 7fb8428a8f23e6742319878e7d0470c7
x-runtime: 0.002671
x-envoy-upstream-service-time: 3
X-Rate-Limit-Remaining
In the case of the Bulk Inventory API, if the number of times remaining is 100 and more than 100 items are requested, an error will occur due to rate limiting.
X-Rate-Limit-Reset
The time to reset the limit can be obtained from the value of X-Rate-Limit-Reset
header.
$ date -d @1643888020 +"%Y/%m/%d %T"
2022/02/03 20:33:40