> For the complete documentation index, see [llms.txt](https://guide.traderevolution.com/traderevolution-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.traderevolution.com/traderevolution-api/traderevolution-apis/backoffice-api/entities-and-rate-limits.md).

# Entities and rate limits

Important part of the API is the entities and rate limits!

### Entities limits

Each BO REST API response has a limit of 1000 entities.

If there is a need to receive more than 1000 entities in response, you should make another request and specify the parameter `&offset=1000`. You can specify the `&offset=2000`, and so on until you will not receive less than 1000 entities in your request (this one will be the last).

### Rate limits

<mark style="color:blue;">`GET`</mark>`/ratelimit/settings`

This method is used to retrieve the current rate limit configuration. The response contains all configured rate limits as well as the blocking policy settings applied to authenticated access tokens. No additional parameters except the token are used in the request, see CURL example.

**CURL**

{% code overflow="wrap" %}

```json
curl -X GET "https://sandbox.traderevolution.com:8443/proftrading/rest/ratelimit/settings" -H "accept: application/json" -H "Authorization: Bearer eyJraWQiOiI3NDhlZjYwZS1mZjZjZmEiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJpcnluYW0iLC...25Sfq5MqcUSbhS0U47YmrBq_OlfcTWaez
```

{% endcode %}

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "rateLimits": [
    {
      "rateLimitType": "GET_ACCOUNT_OPERATIONS",
      "measure": "SECOND",
      "intervalNum": 2,
      "limit": 1
    },
    {
      "rateLimitType": "POST_ORDERS",
      "measure": "SECOND",
      "intervalNum": 5,
      "limit": 1
    },
    {
      "rateLimitType": "DELETE_USERS",
      "measure": "SECOND",
      "intervalNum": 10,
      "limit": 1
    }
  ],
  "blockingPolicy": {
    "blockingDuration": 60,
    "blockingThreshold": 3
  }
}
```

{% endtab %}
{% endtabs %}

As a result, you will get all currently configured rate limits for the Back Office REST API and the blocking policy settings. The response contains the request interval configured for each API method as well as the token blocking duration and violation threshold. Standard errors can be received as well.

{% hint style="warning" %}
Note that rate limit settings can also be configured in the Back Office via Configuration -> Settings -> BO REST API rate limits.
{% endhint %}
