> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Threads Profiles API

> Look up Threads profile details such as follower count, bio and verification status for a list of usernames.

`POST /v1/data/threads/profiles/run`

**Pricing:** $0.008 per profile ($8.00 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**usernames** `string[]` *required*

Threads usernames or profile URLs to look up.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/threads/profiles/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "usernames": [
      "nasa",
      "zuck",
      "lemondefr"
    ]
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/threads/profiles/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "usernames": [
        "nasa",
        "zuck",
        "lemondefr"
    ]
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/threads/profiles/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "usernames": [
    "nasa",
    "zuck",
    "lemondefr"
  ]
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one profile, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `profileUrl` | Profile Url | url |
| `username` | Username | text |
| `name` | Name | text |
| `bio` | Bio | text |
| `followers` | Followers | number |
| `verified` | Verified | boolean |
| `private` | Private | boolean |
| `bioLinks` | Bio Links | array |
| `query` | Query | text |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "threads/profiles",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "verified": true,
      "bioLinks": [],
      "bio": "Making the seemingly impossible, possible. ✨",
      "profileUrl": "https://www.threads.com/@nasa",
      "private": false,
      "username": "nasa",
      "followers": 12791696,
      "name": "NASA",
      "query": "nasa"
    }
  ]
}
```

## Related APIs

For their posts use [`threads/posts`](https://docs.mindcase.co/apis/threads/posts).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.