# API Request Limit

To control access to the API key and manage costs in case of a leaked API key, you can set rate limits. Configure rate limiting in the "Requests" section of the API key's security settings.

<figure><img src="https://3851559242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdWnQXn9w0LzfZSfrH31H%2Fuploads%2FiW2jyYzihitTAUOPMnK1%2Fimage.png?alt=media&#x26;token=f0b414dc-1ae5-4714-a5af-91ff3de36a41" alt=""><figcaption></figcaption></figure>

Kindly be informed that the settings are expected to become active in around 1 minute.

* **Per Second requests rate-limiting** restricts requests per second for the API key. Set the maximum number of requests per second in decimals, e.g. 1.2. Whenever the rate of requests exceeds this value, requests are rejected. When the rate of requests drops below the limit again, requests are accepted again.

  Decimal value 0.0 means default limits are applied.
* **Per day total requests** restricts total daily requests for the API key. Set a limit on number of requests per day in integers, e.g. 20000. Integer value 0 means default limits are applied.

  When the number of requests reach this limit, all requests will be rejected until the next day (00:00 UTC).
* TIPS: For current free users, the default limit is 50 requests per second, with a default daily limit of 10,000,000 requests per month.
