# Threads Profiles in bulk API (threads.profiles_batch)

- Canonical page: [https://everyinfra.com/en/threads-api/profiles_batch](https://everyinfra.com/en/threads-api/profiles_batch?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "threads", "action": "profiles_batch", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls and empty results are not charged
- Billing unit: each element in `usernames` counts as one call; the number of elements you send sets the charge
- Returns: list
- Mode: sync only; everything it returns (every target of a batch, or every SKU of a product) is read in one call, and "mode": "async" returns 422 before any charge

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=threads&action=profiles_batch

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| usernames | not declared | yes | not declared | Threads accounts for `profiles_batch`, as an array of up to 20 entries; a comma-separated string is not accepted. Each entry is a username (a leading @ is dropped) or a profile link such as `https://www.threads.com/@mosseri`. List each account once; a different capitalization is still the same account. A request with an unrecognized entry, a duplicate or more than 20 entries is rejected with a 422 before any charge. Billed per account; accounts not found are not charged and are listed in `missed`. |
| limit | integer (1–) | no | not declared | The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| user_id | User's unique ID on the platform. |
| username | Username (@handle). |
| display_name | Display name; can differ from username. |
| bio | Profile bio written by the account; may contain line breaks and emoji. |
| follower_count | Followers. null means not disclosed, not 0. |
| is_verified | Whether the platform verified the account. null means it cannot be determined. |
| is_private | Whether the account is private. |
| url | Link to the record on the platform. |
| avatar_url | Avatar image link. Some platforms return sized CDN links that can expire. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
| external_url | First link in the bio; absent when there is none. |
| avatar_hd_url | High-resolution avatar URL. |
| public_view_count | Public views over the last 30 days, the number Threads shows publicly on the profile; the start and end dates of the period are in public_view_count_start and public_view_count_end. |
| public_view_count_start | Start date of the period public_view_count covers, YYYY-MM-DD. |
| public_view_count_end | End date of the period public_view_count covers, YYYY-MM-DD. |
| is_fediverse_enabled | Whether fediverse sync is turned on. |
| is_meta_ai_bot | The account is a Meta AI bot. Present only when true. |
| is_hosting_live_chat | The account is hosting a live chat. Present only when true. |
| cover_photo_url | Profile cover photo URL. |
| transparency_label | Explanatory label the platform adds to the account, e.g. official media. |
| bio_links | All links attached in the bio section. |
| bio_mentions | Usernames @-mentioned in the bio. |
| topics | Topics attached to the account's profile page. |
| bio_links_detail | All links attached in the bio section, each with url, title (link title; only some have it) and is_verified (whether ownership has been verified). |
| topics_detail | Topics attached to the profile, each with id, name, display_name and is_community. |
| podcast | On posts, the podcast episode card attached to the post: episode_name, episode_url, podcast_name, platform (podcast platform, e.g. SPOTIFY, APPLE) and image_url. In profile (account data), the podcast attached to the profile page: name, url, platform and image_url, and for some also links (listening links per platform, each with platform and url). |
| input | profiles_batch and posts_batch: the entry from the request that this row answers, returned exactly as you passed it. |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "threads",
  "action": "profiles_batch",
  "params": {
    "usernames": [
      "zuck",
      "mosseri",
      "instagram"
    ]
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "threads",
        "action": "profiles_batch",
        "params": {
            "usernames": [
                "zuck",
                "mosseri",
                "instagram",
            ],
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "threads",
  "action": "profiles_batch",
  "results": [
    {
      "user_id": …,
      "username": …,
      "display_name": …,
      "bio": …,
      "follower_count": …,
      "is_verified": …,
      "is_private": …,
      "url": …,
      "avatar_url": …,
      "platform": …,
      "external_url": …,
      "avatar_hd_url": …,
      "public_view_count": …,
      "public_view_count_start": …,
      "public_view_count_end": …,
      "is_fediverse_enabled": …,
      "is_meta_ai_bot": …,
      "is_hosting_live_chat": …,
      "cover_photo_url": …,
      "transparency_label": …,
      "bio_links": …,
      "bio_mentions": …,
      "topics": …,
      "bio_links_detail": …,
      "topics_detail": …,
      "podcast": …,
      "input": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=threads
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
