# Threads post insights

> Lifetime views, likes, replies, reposts, and quotes for Threads posts.

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

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

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

Returns lifetime metrics for up to 25 Threads posts, or for the account's 25
newest posts when `postIds` is omitted. Use a post's `providerId`, the Threads
media id that [publishing](https://www.tryadeli.com/docs/api/posts/publish-threads) and
[listing posts](https://www.tryadeli.com/docs/api/posts/list-posts) return.

Threads has no bulk insights endpoint, so Adeli reads each post's metrics from
Threads on every request. The account needs `threads_manage_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.      |
| `postIds`   | `string` |          | Comma-separated Threads media ids, at most 25. Omit for the account's 25 newest posts. |

Each post has `views`, `likes`, `replies`, `reposts`, `quotes`, and `shares`,
all lifetime totals. Meta marks `views` and `shares` as still in development, so
either may be `null`, with its name in the post's `warnings`. A repost of
someone else's post has no metrics of its own: every figure is `null`.
Requested ids that are not this account's posts are listed in `notFound`
rather than failing the request.

**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/post-insights?accountId=00000000-0000-4000-8000-000000000003&postIds=18028745123456789" \
  -H "Authorization: Bearer $ADELI_API_KEY"
```

**JavaScript**

```javascript
const response = await fetch("https://app.tryadeli.com/api/v1/analytics/threads/post-insights?accountId=00000000-0000-4000-8000-000000000003&postIds=18028745123456789", {
  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/post-insights",
    headers={"Authorization": f"Bearer {os.environ['ADELI_API_KEY']}"},
    params={
        "accountId": "00000000-0000-4000-8000-000000000003",
        "postIds": "18028745123456789",
    },
)
print(response.json())
```

## Responses

### 200

```json
{
  "platform": "threads",
  "accountId": "00000000-0000-4000-8000-000000000003",
  "profileId": "00000000-0000-4000-8000-000000000001",
  "posts": [
    {
      "postId": "18028745123456789",
      "mediaType": "IMAGE",
      "text": "Fresh out of the oven.",
      "publishedAt": "2026-11-30T10:00:00.000Z",
      "permalink": "https://www.threads.com/@adeli/post/DAbCdEfGhIj",
      "metrics": { "views": 2140, "likes": 96, "replies": 12, "reposts": 4, "quotes": 1, "shares": null },
      "warnings": ["shares unavailable"]
    }
  ],
  "notFound": [],
  "fetchedAt": "2026-12-01T09:00:00.000Z"
}
```

### 403

```json
{
  "error": {
    "code": "permission_required",
    "message": "threads requires threads_manage_insights for post.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" }]
    }
  }
}
```
