> Documentation index: https://docs.scrapier.io/llms.txt
> Auth: header `X-API-Key: <key>` · Base: https://api.scrapier.io/api/v2 · Synchronous; paginate with `cursor` ← `data.next_cursor`.

# Threads Profile Info

Structured Threads data: send `usernames`. Single lookup, 1 credit per successful call.

`GET|POST https://api.scrapier.io/api/v2/threads-profile-info/` · 1 credit per successful call · Single lookup

## Overview

Call `GET /api/v2/threads-profile-info/` with `usernames`. The results are in `data.result`. 1 optional parameter refines the call (see Parameters).

## Request

```bash
curl -G "https://api.scrapier.io/api/v2/threads-profile-info/" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "usernames=trendspider" \
  --max-time 210
```

```python
import requests

resp = requests.get(
    "https://api.scrapier.io/api/v2/threads-profile-info/",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"usernames": "trendspider"},
    timeout=210,
)
body = resp.json()
if not resp.ok:
    raise RuntimeError(body.get("error") or body.get("detail"))

print(body["data"]["result"])
```

POST with a JSON body works too (same parameters; the body is merged over the query string).

## Parameters

| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| `X-API-Key` (header) | string | yes | — | Your API key. |
| `usernames` | string | yes | e.g. `trendspider` | A Threads username, @handle, profile/post URL or id:<numeric user id> (user_id takes bare digits). Single record; next_cursor is always null. |
| `cursor` | string | no | — | Pagination cursor returned in the previous response's `next_cursor`. Pass it back unchanged to fetch the next page. When `next_cursor` is null, you have reached the last page. |
| `use_proxy` | boolean | no | `true` | Route the request through Scrapier's residential proxy pool. Default: `true`. Leave as is unless support tells you otherwise. |
| `raw_data` | boolean | no | `false` | When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under `raw_responses`, in place of the formatted items. When false (default) you get the formatted output. Pagination (`cursor` / `next_cursor`) works the same in both modes. |

## Response

HTTP 200. Results are in `data.result`. Sample from the live catalog, arrays trimmed to 3 items.

```json
{
  "success": true,
  "data": {
    "usernames": "trendspider",
    "result": {
      "input_username": "trendspider",
      "success": true,
      "profile_pic_url": "https://instagram.fdac8-1.fna.fbcdn.net/v/t51.2885-19/324065807_885673889454586_5057027684557636343_n.jpg?stp=dst-jpg_s150x150_tt6&...",
      "friendship_status": null,
      "has_onboarded_to_text_post_app": true,
      "pk": "63069450921",
      "text_post_app_is_private": false,
      "username": "trendspider",
      "text_post_app_remove_mention_entrypoint": null,
      "text_app_custom_feeds": null,
      "gating": null,
      "platform_newsletter_info": null,
      "platform_podcast_info": null,
      "platform_podcast_episode_info": null,
      "follower_count": 68011,
      "profile_context_facepile_users": null,
      "text_post_app_public_views": null,
      "hd_profile_pic_versions": [
        {
          "height": 320,
          "url": "https://instagram.fdac8-1.fna.fbcdn.net/v/t51.2885-19/324065807_885673889454586_5057027684557636343_n.jpg?stp=dst-jpg_s320x320_tt6&...",
          "width": 320
        },
        {
          "height": 640,
          "url": "https://instagram.fdac8-1.fna.fbcdn.net/v/t51.2885-19/324065807_885673889454586_5057027684557636343_n.jpg?stp=dst-jpg_s640x640_tt6&...",
          "width": 640
        }
      ],
      "is_verified": true,
      "biography": "Award-Winning 🏆 All-in-One Trading Platform.\nCharts, scans, backtests, alerts, AI tools, data & more.",
      "text_app_biography": {
        "text_fragments": {
          "fragments": [
            {
              "fragment_type": "plaintext",
              "link_fragment": null,
              "mention_fragment": null,
              "plaintext": "Award-Winning 🏆 All-in-One Trading Platform.\nCharts, scans, backtests, alerts, AI tools, data & more.",
              "inline_sticker_fragment": null,
              "linkified_web_url": null,
              "linkified_in_app_url": null,
              "styling_info": null
            }
          ]
        }
      },
      "full_name": "TrendSpider",
      "bio_links": [
        {
          "url": "http://trendspider.com/",
          "lynx_url": "https://l.threads.com/?u=http%3A%2F%2Ftrendspider.com%2F&e=...",
          "link_id": "18254716222286461",
          "title": "",
          "is_verified": false
        }
      ],
      "profile_tags": {
        "edges": []
      },
      "transparency_label": null,
      "show_text_post_app_badge": true,
      "id": "63069450921",
      "scraped_at": "2026-10-04T10:12:41.512Z"
    },
    "next_cursor": null
  }
}
```

## Response fields

| Field | Type | Example | Description |
|---|---|---|---|
| `usernames` | string | `trendspider` |  |
| `result` | object | `{…}` | The results. |
| `next_cursor` | null | `null` | Pass back as `cursor` for the next page. `null` on the last page. |
| `result.input_username` | string | `trendspider` |  |
| `result.success` | boolean | `true` |  |
| `result.profile_pic_url` | string | `https://instagram.fdac8-1.fna.fbcdn.net/v/t51…` |  |
| `result.friendship_status` | null | `null` |  |
| `result.has_onboarded_to_text_post_app` | boolean | `true` |  |
| `result.pk` | string | `63069450921` |  |
| `result.text_post_app_is_private` | boolean | `false` |  |
| `result.username` | string | `trendspider` |  |
| `result.text_post_app_remove_mention_entrypoint` | null | `null` |  |
| `result.text_app_custom_feeds` | null | `null` |  |
| `result.gating` | null | `null` |  |
| `result.platform_newsletter_info` | null | `null` |  |
| `result.platform_podcast_info` | null | `null` |  |
| `result.platform_podcast_episode_info` | null | `null` |  |
| `result.follower_count` | integer | `68011` |  |
| `result.profile_context_facepile_users` | null | `null` |  |
| `result.text_post_app_public_views` | null | `null` |  |
| `result.hd_profile_pic_versions` | array | `[2 items]` |  |
| `result.is_verified` | boolean | `true` |  |
| `result.biography` | string | `Award-Winning 🏆 All-in-One Trading Platform.…` |  |
| `result.text_app_biography` | object | `{…}` |  |
| `result.full_name` | string | `TrendSpider` |  |
| `result.bio_links` | array | `[1 item]` |  |
| `result.profile_tags` | object | `{…}` |  |
| `result.transparency_label` | null | `null` |  |
| `result.show_text_post_app_badge` | boolean | `true` |  |
| `result.id` | string | `63069450921` |  |
| `result.scraped_at` | string | `2026-10-04T10:12:41.512Z` |  |

## Pagination

Single lookup: everything comes back in one call and `next_cursor` is always `null`.

## Errors

Failed calls are free. Branch on HTTP status; the message is in `error` (or `detail`). See https://docs.scrapier.io/errors.md

- **400** Bad input. The exact message varies by endpoint. `{"success":false,"error":"…"}`
- **402** Balance below the endpoint's price. `{"error":"Insufficient credits. Buy more to scrape more.","balance":1,"required":2}`
- **403** Invalid or unknown API key. `{"detail":"Authentication service unavailable or invalid API key."}`
- **429** Throttled — wait for Retry-After. `{"detail":"Request was throttled. Expected available in N seconds."}`
- **404** unknown slug · **503** busy (retry after `Retry-After`) · **5xx** upstream failure or timeout (retry with backoff).

## Notes

- The response data carries its own `success` field from the scraper. The outer `success` is what counts: an HTTP 200 with outer `success: true` is billed, even if the inner field says otherwise.

## Related

- [Threads Search](https://docs.scrapier.io/api-reference/threads/threads-search.md): Structured Threads data: send `queries`. Cursor-paginated, 1 credit per successful call.
- [Threads Search Users](https://docs.scrapier.io/api-reference/threads/threads-search-users.md): Structured Threads data: send `queries`. Cursor-paginated, 1 credit per successful call.
- [Threads Single Post](https://docs.scrapier.io/api-reference/threads/threads-single-post.md): Structured Threads data: send `urls`. Single lookup, 1 credit per successful call.
- [Threads User Posts](https://docs.scrapier.io/api-reference/threads/threads-user-posts.md): Structured Threads data: send `usernames`. Cursor-paginated, 1 credit per successful call.
