> ## 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.

# Twitter / X Followers API

> A Twitter (X) account's followers or following as full profiles: bio, counts, location, links, account age and latest tweet. From a handle or URL.

`POST /v1/data/twitter/followers/run`

**Pricing:** $0.00025 per profile ($0.25 per 1,000).

## Request

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

**handle** `string` *required*

The X (Twitter) account whose network you want. Enter a handle or profile URL (e.g. 'NASA' or '[https://x.com/NASA](https://x.com/NASA)').

Format e.g. `https://x.com/jeffersoncares`.

**listType** `string` (default: followers)

Which list to pull: 'followers' (accounts that follow this profile) or 'following' (accounts this profile follows).

Allowed values: `followers`, `following`.

**maxResults** `integer`

Number of profiles to return. Use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/twitter/followers/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "handle": "NASA",
    "listType": "followers",
    "maxResults": 10
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/twitter/followers/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "handle": "NASA",
    "listType": "followers",
    "maxResults": 10
}},
)
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/twitter/followers/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "handle": "NASA",
  "listType": "followers",
  "maxResults": 10
} }),
});
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 |
| - | - | - |
| `username` | Username | text |
| `profileUrl` | Profile URL | url |
| `displayName` | Display Name | text |
| `accountId` | Account ID | text |
| `bio` | Bio | text |
| `website` | Website | url |
| `bioLinks` | Bio Links | array |
| `location` | Location | text |
| `followers` | Followers | number |
| `followingCount` | Following Count | number |
| `tweets` | Tweets | number |
| `mediaPosts` | Media Posts | number |
| `likesGiven` | Likes Given | number |
| `listedCount` | Listed Count | number |
| `protected` | Protected | boolean |
| `accountCreated` | Account Created | text |
| `pinnedTweetUrl` | Pinned Tweet URL | url |
| `profilePicture` | Profile Picture | url |
| `coverImage` | Cover Image | url |
| `followedHandle` | Followed Handle | text |
| `latestTweet` | Latest Tweet | object |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "twitter/followers",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "protected": false,
      "mediaPosts": 0,
      "pinnedTweetUrl": null,
      "bioLinks": null,
      "accountId": "2089204481850478593",
      "followers": 0,
      "followingCount": 51,
      "likesGiven": 0,
      "followedHandle": "NASA",
      "accountCreated": "2026-08-17T04:17:54Z",
      "bio": null,
      "profileUrl": "https://x.com/Tranopt2026",
      "profilePicture": "https://pbs.twimg.com/profile_images/2089205641084858369/uPONTIGa_400x400.jpg",
      "username": "Tranopt2026",
      "latestTweet": null,
      "listedCount": 0,
      "coverImage": null,
      "location": null,
      "website": null,
      "tweets": 0,
      "displayName": "Trần"
    }
  ]
}
```

## Related APIs

For one account's own profile use [`twitter/profiles`](https://docs.mindcase.co/apis/twitter/profiles).


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