Threads Scraper API
Extract profile and post as structured JSON from public Threads targets. Queue a request, then retrieve the result with its responseId.
Decide before you build
- Endpoint
- POST /scrape/data-scraper
- Scrapers
- threadsProfile threadsPost
- Cost
- 30 credits / call
- Free plan
- 500 credits / month
- Call pattern
- async, POST then GET
- On failure
- credits refunded
- Response format
- JSON
- Concurrency
- by plan tier
Launching a Social Media scrape costs 30 credits. Retrieving a pending result costs nothing; failed scrapes are refunded.
Try the Threads scraper on your own targetRun a request against a public target and inspect the JSON before you integrate.
Open the live testWhat you get back
threadsProfileProfile
Use threadsProfile to retrieve profile data from a public Threads target.
- Required input: url
- No optional input parameters
- Structured JSON once the result is ready
- Public data only; no account login is used
threadsPostSingle post
Use threadsPost to retrieve single post data from a public Threads target.
- Required input: url
- No optional input parameters
- Structured JSON once the result is ready
- Public data only; no account login is used
Call the Threads scraper
Send the scraper name with the input required by that scraper. The POST returns a responseId to poll for the final JSON.
# POST - queue a public social media scrape
curl -X POST "https://api.scraping-bot.io/scrape/data-scraper" \
-u "yourUsername:yourApiKey" \
-H "Content-Type: application/json" \
-d '{
"scraper": "threadsProfile",
"url": "https://example.com/public-page"
}'# GET - retrieve the result after the POST returns a responseId
curl -G "https://api.scraping-bot.io/scrape/data-scraper-response" \
-u "yourUsername:yourApiKey" \
--data-urlencode "responseId=RESPONSE_ID" \
--data-urlencode "scraper=threadsProfile"Code example
Authenticate with your ScrapingBot username and API key, then poll until the queued result is ready.
const auth = "Basic " + Buffer.from(
"yourUsername:yourApiKey",
).toString("base64");
const queued = await fetch("https://api.scraping-bot.io/scrape/data-scraper", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: auth },
body: JSON.stringify({
"scraper": "threadsProfile",
"url": "https://example.com/public-page"
}),
});
const { responseId } = await queued.json();
let result;
do {
await new Promise((resolve) => setTimeout(resolve, 5000));
result = await fetch(
"https://api.scraping-bot.io/scrape/data-scraper-response?" +
new URLSearchParams({ responseId, scraper: "threadsProfile" }),
{ headers: { Authorization: auth } },
).then((response) => response.json());
} while (result.status === "pending");Run this call in two minutesCreate an account, copy your API key, then use the example above.
Get your API keyRequest parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
scraper | string | — | One of the scraper names supported by this endpoint. |
url | string | — | Public page URL, including https://. |
Response example
Example of the JSON returned by the Threads scraper once the result is ready.
[
{
"url": "https://www.threads.com/@instagram",
"profile_name": "Instagram",
"profile_id": "63404918397",
"about_formatted": "Discover what's new on Instagram 🔎✨",
"number_of_followers": 38354336,
"website": "http://help.instagram.com/",
"instagram_profile_url": "https://www.instagram.com/instagram",
"threads": [
{
"profile_id": "63404918397",
"post_date": "2026-10-14T16:07:31.000Z",
"post_content_formatted": "the coordination is actually unreal 😭\n\n@asuki_millecolle @ikkyon_millecolle",
"likes": 173,
"comments_amount": 11,
"reshare_amount": 12,
"share_amount": 7
},
{
"profile_id": "63404918397",
"post_date": "2026-10-14T13:20:43.000Z",
"post_content_formatted": "IN: haunted houses\nOUT: haunted situationships",
"likes": 181,
"comments_amount": 19,
"reshare_amount": 16,
"share_amount": 2
}
],
"profile_picture": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-19/551831784_17922536550118398_7111076689237569379_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gGvnbpDp2xPFn-…",
"verified": false,
"timestamp": "2026-10-15T08:08:50.935Z",
"input": {
"url": "https://www.threads.com/@instagram"
}
}
]Credits, failures and limits
| Case | Credits | Notes |
|---|---|---|
| Launch a scrape | 30 credits | Consumed when a result is ready. |
| Result not ready | Not consumed | The API returns a pending status; retry after a few seconds. |
| Failed, blocked or timed-out scrape | Refunded | Credits are returned for an unsuccessful request. |
Threads API or Raw HTML scraper?
| Threads API | Raw HTML scraper | |
|---|---|---|
| Endpoint | /scrape/data-scraper | /scrape/raw-html |
| Returns | Profile and post JSON | Rendered page HTML |
| Flow | Asynchronous: POST then GET | One synchronous request |
| Starting cost | 30 credits | 1 credit |
| Use it when | You need parsed Threads data | You need your own extraction logic |
Questions about the Threads API
- Which Threads scraper names can I use?
- This page supports threadsProfile and threadsPost. Send the exact name in the scraper field.
- Why does the API return a responseId?
- Social Media requests are asynchronous. The responseId lets you retrieve the result without holding the initial request open.
- What if the result is still pending?
- Wait a few seconds and repeat the GET request. A pending response does not consume credits.
- Does this scraper access private account data?
- No. It is intended for public pages and does not sign in to a social media account to access private data.
Source: ScrapingBot API documentation.
Other social media scrapers
Browse the Social Media category for the complete list of guides. Read How to scrape and collect data from Threads.
Trusted by developers and social media teams.
Customer reviews apply to ScrapingBot's service overall, not specifically to this scraper.
Start scraping Threads today
500 free credits every month. No card required, cancel anytime.
