# Checking API usage statistics

This page explains how to check Linked API usage statistics. You can use this information to stay within LinkedIn limits for your account.

> In addition to monitoring usage, you can configure action limits for each account on the [platform](https://app.linkedapi.io/). When a limit is reached, actions will automatically return a `limitExceeded` error instead of executing.

We provide statistics as an array of all actions executed during a specific period. To access it, make a `GET` request to the following endpoint with 2 parameters:

```text
GET https://api.linkedapi.io/stats/actions?start={}&end={}
```

- `start` – timestamp from which the statistics will be retrieved.
- `end` – timestamp up to which the statistics will be retrieved.

> The difference between `start` and `end` must not exceed 30 days.

In response, you receive an array of actions executed during the specified period:

```json
{
  "success": true,
  "result": [
    {
      "actionType": "st.openCompanyPage",
      "success": true,
      "time": "2023-01-02T12:30:00Z"
    },
    {
      "actionType": "st.sendMessage",
      "success": false,
      "time": "2023-01-03T12:30:00Z"
    },
    {
      "actionType": "nv.retrieveCompanyEmployees",
      "success": true,
      "time": "2023-01-04T12:30:00Z"
    },
    {
      "actionType": "st.sendConnectionRequest",
      "success": true,
      "time": "2023-01-07T12:30:00Z"
    }
    ...
  ]
}
```

> In case of an unsuccessful request, you'll receive one of the [common errors](/docs/making-requests).
