> 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 Single Post

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

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

## Overview

Call `GET /api/v2/threads-single-post/` with `urls`. The results are in `data.result`. 5 optional parameters refine the call (see Parameters).

## Request

```bash
curl -G "https://api.scrapier.io/api/v2/threads-single-post/" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "urls=https://www.threads.com/@zuck/post/DdZ7sQvkTFn" \
  --max-time 210
```

```python
import requests

resp = requests.get(
    "https://api.scrapier.io/api/v2/threads-single-post/",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"urls": "https://www.threads.com/@zuck/post/DdZ7sQvkTFn"},
    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. |
| `urls` | string | yes | e.g. `https://www.threads.com/@zuck/post/DdZ7sQvkTFn` | A Threads post URL. Single record; next_cursor is always null. |
| `max_comments` | integer | no | `20` | Comments to include (0-50 on v2). |
| `include_nested_replies` | boolean | no | `true` | Also fetch replies to comments. |
| `include_related_posts` | boolean | no | `true` | Include related posts. |
| `trim` | boolean | no | `true` | Compact post object; false = full raw post node. |
| `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": {
    "urls": "https://www.threads.com/@ssskurrtt/post/Ddlc8uWmy2R",
    "result": {
      "input_url": "https://www.threads.com/@ssskurrtt/post/Ddlc8uWmy2R",
      "success": true,
      "post": {
        "id": "3991723962976120209",
        "code": "Ddlc8uWmy2R",
        "caption": {
          "text": "Anong ginagawa mo para walang tumabi sa’yo sa bus?\n\nMe:"
        },
        "like_count": 13722,
        "direct_reply_count": 847,
        "reshare_count": 2535,
        "taken_at": 1790070627,
        "user": {
          "username": "ssskurrtt",
          "full_name": "Kurt Mendoza",
          "is_verified": false
        },
        "url": "https://www.threads.com/@ssskurrtt/post/Ddlc8uWmy2R",
        "view_counts": 311928
      },
      "comments": [
        {
          "pk": "3991820855726847763",
          "code": "Ddly-swmDcT",
          "like_count": 212,
          "taken_at": 1790082149,
          "user": {
            "username": "ssskurrtt"
          },
          "caption": {
            "text": "Much better gawin niyo na lang po yan kung may manyak kayong katabi..."
          }
        }
      ],
      "related_posts": [
        {
          "pk": "3991614208123001420",
          "code": "DdlD_lLktpM",
          "like_count": 1,
          "user": {
            "username": "sesucram_"
          },
          "caption": {
            "text": "namiss ko mag commute ah😮‍💨🌤"
          }
        }
      ],
      "scraped_at": "2026-09-23T09:53:02.076Z"
    },
    "next_cursor": null
  }
}
```

## Response fields

| Field | Type | Example | Description |
|---|---|---|---|
| `urls` | string | `https://www.threads.com/@ssskurrtt/post/Ddlc8…` |  |
| `result` | object | `{…}` | The results. |
| `next_cursor` | null | `null` | Pass back as `cursor` for the next page. `null` on the last page. |
| `result.input_url` | string | `https://www.threads.com/@ssskurrtt/post/Ddlc8…` |  |
| `result.success` | boolean | `true` |  |
| `result.post` | object | `{…}` |  |
| `result.comments` | array | `[1 item]` |  |
| `result.related_posts` | array | `[1 item]` |  |
| `result.scraped_at` | string | `2026-09-23T09:53:02.076Z` |  |

## 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 Profile Info](https://docs.scrapier.io/api-reference/threads/threads-profile-info.md): Structured Threads data: send `usernames`. Single lookup, 1 credit per successful call.
- [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 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.
