---
updatedAt: 2026-03-01T18:53:04.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/datastream2/llms.txt
---

# Rate limiting

The DataStream 2 API imposes a limit of up to 20 requests per minute per client. Exceeding these limits results in a 429 error response. Consider this especially when calling successive operations as part of a loop. These response headers provide rate limit information:

[block:parameters]
{
  "data": {
    "h-0": "Limit",
    "h-1": "Default value",
    "h-2": "Description",
    "0-0": "`X-RateLimit-Limit`",
    "0-1": "20",
    "0-2": "Maximum number of requests per minute.",
    "1-0": "`X-RateLimit-Remaining`",
    "1-1": "Variable",
    "1-2": "Number of remaining requests allowed during the current rate limit period.  \n  \nWhen this becomes 0, you get a 429 error the next time you make an API call.  \n  \nThis gradually increases and becomes equal to `X-RateLimit-Limit` if you make no API calls after receiving a 429 error.",
    "2-0": "`X-RateLimit-Next`",
    "2-1": "Variable",
    "2-2": "Indicates when the client may issue another request after having exhausted the number of allowed requests for the current rate limit time period. Date and time is represented in the ISO 8601 standard format."
  },
  "cols": 3,
  "rows": 3,
  "align": [
    "left",
    "left",
    "left"
  ]
}
[/block]

# Sibling pages

* [DataStream 2 API](https://techdocs.akamai.com/datastream2/reference/api.md)
* [API summary](https://techdocs.akamai.com/datastream2/reference/api-summary.md)
* [AnswerX (rDNS) logs](https://techdocs.akamai.com/datastream2/reference/answerx-rdns-logs.md)
* [Security logs (SIEM)](https://techdocs.akamai.com/datastream2/reference/security-logs.md)
* [Get started](https://techdocs.akamai.com/datastream2/reference/api-get-started.md)
* [API concepts](https://techdocs.akamai.com/datastream2/reference/concepts.md)
* [API workflow](https://techdocs.akamai.com/datastream2/reference/usage-examples.md)
* [Integration types](https://techdocs.akamai.com/datastream2/reference/integrations.md)
* [Log types](https://techdocs.akamai.com/datastream2/reference/log-types.md)
* [Log format](https://techdocs.akamai.com/datastream2/reference/log-format.md)
* [Destinations](https://techdocs.akamai.com/datastream2/reference/destinations.md)
* [Patching streams](https://techdocs.akamai.com/datastream2/reference/patching-streams.md)
* [Version management](https://techdocs.akamai.com/datastream2/reference/version-management.md)
* [Data set parameters](https://techdocs.akamai.com/datastream2/reference/data-set-parameters-api.md)
* [Custom log field](https://techdocs.akamai.com/datastream2/reference/custom-log-field.md)
* [Errors](https://techdocs.akamai.com/datastream2/reference/api-errors.md)