You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+18-2Lines changed: 18 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -341,8 +341,7 @@ info:
341
341
342
342
## Rate Limiting
343
343
344
-
With the Linode API, you can make up to 1,600 general API requests every two minutes per user as
345
-
determined by IP address or by OAuth token. Additionally, there are endpoint specific limits defined below.
344
+
With the Linode API, you can make up to 1,600 general API requests every two minutes per user as determined by IP address or by OAuth token. Additionally, all endpoints have a global limit of 800 requests per minute per user along with specific endpoint limits defined below.
346
345
347
346
**Note:** There may be rate limiting applied at other levels outside of the API, for example, at the load balancer.
348
347
@@ -374,6 +373,23 @@ info:
374
373
375
374
* [Service Transfer Accept](/docs/api/account/#service-transfer-accept)
376
375
376
+
All GET requests to endpoints that return a `data` collection have a dedicated limit of 100 requests per minute and 10 requests per second per user.
377
+
378
+
## Rate Limit Response Headers
379
+
380
+
The Linode API includes the following HTTP response headers related to rate limiting:
381
+
382
+
* **X-RateLimit-Limit**: The maximum number of permitted requests during the rate limit window for this endpoint.
383
+
* **X-RateLimit-Remaining**: The remaining number of permitted requests in the current rate limit window.
384
+
* **X-RateLimit-Reset**: The time when the current rate limit window rests in UTC epoch seconds.
385
+
* **Retry-After**: The remaining time in seconds until the current rate limit window resets.
386
+
387
+
To view HTTP response headers when making requests with `curl`, use the `-i` or `--include` option. For example:
388
+
389
+
```Shell
390
+
curl -i "https://api.linode.com/v4/regions"
391
+
```
392
+
377
393
## CLI (Command Line Interface)
378
394
379
395
The <a href="https://github.com/linode/linode-cli" target="_top">Linode CLI</a> allows you to easily
0 commit comments