# Threads account insights

> Followers, profile views, and engagement for a Threads account.

Canonical: <https://www.tryadeli.com/docs/api/analytics/threads-account-insights>

`GET https://app.tryadeli.com/api/v1/analytics/threads/account-insights`

Authorization: `Bearer <API key>` — see [Authentication](https://www.tryadeli.com/docs/authentication)

Returns a connected Threads account's followers, and its profile views and
engagement over a window of UTC days.

Adeli reads these from Threads on every request. Threads serves account
insights from 2024-04-13 onward, and reports no reach metric: profile views are
the closest it has. The account needs `threads_manage_insights`; one connected
without it gets `403 permission_required` until it reconnects and allows
insights.

**Query parameters**

| Name        | Type   | Required | Description                                                                                                              |
| ----------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------ |
| `accountId` | `uuid` | Yes      | A connected Threads account.                                                                                             |
| `profileId` | `uuid` |          | Optional, because accountId names its profile. If you pass both, they must agree.                                        |
| `startDate` | `date` |          | First UTC day, YYYY-MM-DD, no earlier than 2024-04-13. Pass with endDate, or neither for the last 30 days through today. |
| `endDate`   | `date` |          | Last UTC day, YYYY-MM-DD, at most today. A window covers at most 90 days.                                                |

`followers` is the count now; Threads keeps no history of it. `totals` are for
the window: `views` (profile views), `likes`, `replies`, `reposts`, `quotes`,
and `clicks` on links in the account's posts, summed across links. `daily`
lists profile views per day. A metric Threads did not return is `null`, never
zero, and is listed in `warnings`.

**Errors** — `401 unauthorized`, `400 invalid_request`, `402 plan_required`,
`403 permission_required`, `404 account_not_found`, `404 profile_not_found`,
`422 connection_expired`, `422 provider_not_configured`, `429 rate_limited`,
`502 provider_error`.

## Request examples

**cURL**

```bash
curl "https://app.tryadeli.com/api/v1/analytics/threads/account-insights?accountId=00000000-0000-4000-8000-000000000003&startDate=2026-11-01&endDate=2026-11-30" \
  -H "Authorization: Bearer $ADELI_API_KEY"
```

**JavaScript**

```javascript
const response = await fetch("https://app.tryadeli.com/api/v1/analytics/threads/account-insights?accountId=00000000-0000-4000-8000-000000000003&startDate=2026-11-01&endDate=2026-11-30", {
  headers: {
    Authorization: `Bearer ${process.env.ADELI_API_KEY}`,
  },
});
console.log(await response.json());
```

**Python**

```python
import os

import requests

response = requests.get(
    "https://app.tryadeli.com/api/v1/analytics/threads/account-insights",
    headers={"Authorization": f"Bearer {os.environ['ADELI_API_KEY']}"},
    params={
        "accountId": "00000000-0000-4000-8000-000000000003",
        "startDate": "2026-11-01",
        "endDate": "2026-11-30",
    },
)
print(response.json())
```

## Responses

### 200

```json
{
  "platform": "threads",
  "accountId": "00000000-0000-4000-8000-000000000003",
  "profileId": "00000000-0000-4000-8000-000000000001",
  "followers": 1234,
  "startDate": "2026-11-01",
  "endDate": "2026-11-30",
  "totals": { "views": 4210, "likes": 380, "replies": 52, "reposts": 17, "quotes": 6, "clicks": 41 },
  "daily": [
    { "date": "2026-11-01", "views": 120 },
    { "date": "2026-11-02", "views": 141 }
  ],
  "warnings": [],
  "fetchedAt": "2026-12-01T09:00:00.000Z"
}
```

### 403

```json
{
  "error": {
    "code": "permission_required",
    "message": "threads requires threads_manage_insights for account.analytics. Restart OAuth to grant the permission.",
    "details": {
      "provider": "threads",
      "accountId": "00000000-0000-4000-8000-000000000003",
      "profileId": "00000000-0000-4000-8000-000000000001",
      "missingPermissions": [{ "code": "threads_manage_insights", "label": "Read Threads insights: followers, profile views and post metrics" }]
    }
  }
}
```
