New: the Scrapier MCP server. Every scraper in Claude Code with one command. See how →
GET/api/v2/threads-search/

Threads Search Scraper

Threads posts matching a keyword, hashtag or phrase as typed JSON: caption, author, like, reply and repost counts and post time, sorted top or recent. 1 credit per call. No Threads login needed.

Free API key · 1 credit per page of search results · failed calls free

Last updated
// GET /api/v2/threads-search/?queries=AI · sample from the catalog
{
  "success": true,
  "data": {
    "query": "AI",
    "page": 1,
    "page_size": 18,
    "posts": [
      {
        "postId": "3921506418558274796",
        "postUrl": "https://www.threads.com/@theeconomist/post/DLabcXYZ",
        "username": "theeconomist",
        "isVerified": true,
        "captionText": "Today the cost of providing AI services is subsidised by the labs...",
        "likeCount": 1240,
        "directReplyCount": 87,
        "repostCount": 34,
        "takenAt": 1718628028,
        "takenAtISO": "2026-06-17T12:40:28.000Z",
        "nextCursor": "GDA6...opaque-end-cursor",
        "keyword": "AI",
        "scraped_at": "2026-06-18T12:00:00.000Z"
      }
    ],
    "next_cursor": "eyJxIjoiQUkiLCJyIjowLCJhIjoiR0RBNi4uLiIsImxrIjp7fSwicCI6MX0"
  }
}
Copy for your AI agent
Quick answer

Scrapier's Threads Search Scraper returns posts matching a keyword as JSON: captionText, username, likeCount, directReplyCount, repostCount, postUrl and takenAtISO, 18 posts per page in the catalog sample. It costs 1 credit per successful call. No Threads login.

Every request is fetched live at call time · failed calls are free

Threads Search Scraper searches Threads posts for a keyword, hashtag or phrase and returns the matches as structured JSON. Each post carries its caption, author, verified flag, like, reply and repost counts, post time and URL, ready to pass directly to an LLM, index into a vector store or feed a social-listening pipeline. You can sort by top or recent and filter by author or date range. It is one of 6 Threads endpoints on the same API key used by 12,000+ developers. Next, look up the authors with the profile endpoint.

What data can I extract with Threads Search Scraper?

Using this Threads Search Scraper, you can extract the following data from public Threads pages of search results:

Author handle (username)
Verified flag (isVerified)
Post text (captionText)
Like count (likeCount)
Reply and repost counts
Post time (takenAt, takenAtISO)
Post URL (postUrl)
Post ID (postId)
Matched keyword (keyword)
Scrape timestamp (scraped_at)
Page size and page number
Next cursor for more results

Want the exact field names? See the example output.

Playground

Try Threads Search Scraper Live

Press Run to see the catalog sample. Add your API key and it runs a real call to the Scrapier API from your browser. The key is sent only to proxy.scrapier.io and never stored.

ThreadsThreads SearchLive

Parameters
+ Run live with your API key
Response
Sample dataCatalog sample, run to see live data

How to use Threads Search Scraper

Hand it to your AI assistant, or run it yourself in five steps.

Copy to your AI assistant

Paste this into ChatGPT, Claude or Cursor and it knows how to call the scraper.

Use the Scrapier Threads Search Scraper to get public Threads pages of search results. Endpoint: GET https://proxy.scrapier.io/api/v2/threads-search/?queries={queries} with header "X-API-Key: YOUR_API_KEY" and a 210-second timeout. Send one value per call in queries; for a list, make one call per value, at most 3 in parallel. It returns JSON under data.posts: postId, postUrl, username, isVerified, captionText, likeCount, directReplyCount, repostCount, takenAt, takenAtISO, nextCursor, keyword. Each successful call costs 1 credit; failed calls are free. If you support MCP, run: claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY" and call run_scrape with endpoint "threads-search" (find it with search_endpoints).
Threads Search Scraper MCP Server

Use this scraper from ChatGPT, Claude or Cursor. Point your assistant at Scrapier and it reads Threads pages of search results on its own: no glue code, no scraping logic in your prompts.

MCP setup →

Run it yourself

  1. Get your free Scrapier API keySign up at app.scrapier.io; the free tier lets you try it first.
  2. Open Threads Search Scraper in the catalogIt lives under Scrapers / Threads.
  3. Enter a search termPut a keyword, hashtag or phrase such as AI in queries. Optionally set sort to top or recent, from to one username, and before or after as YYYY-MM-DD dates.
  4. Send your API requestOne GET with your key in the X-API-Key header, or one run_scrape call from your agent. Set a 210-second client timeout.
  5. Save your resultsEach call returns a page of posts in data.posts: store it as is, or flatten it to CSV. Pass data.next_cursor back as cursor for the next page until it is null.

How to scale to bulk Threads pages of search results

queries takes one value per call, so for a list of keywords you loop: one request per keyword, and pass back data.next_cursor to read more results for the same keyword. Run up to 3 requests in parallel per API key; above that the API answers 429 with a Retry-After header, and throttled calls cost nothing. Each call is 1 credit and failed calls are free, so 1,000 calls cost 1,000 credits, inside the Hobby plan's 15,000.

Features

Threads Search Scraper turns Threads search into clean rows. It suits social listening, trend research, brand monitoring and any workflow that needs the posts, authors and engagement behind a keyword without managing Threads sessions or developer credentials.

It extracts, per page of search results
  • Keywordqueries takes a term, hashtag or phrase
  • Sortingsort set to top or recent
  • Filtersfrom, before and after
  • EngagementlikeCount, directReplyCount, repostCount
  • Authorusername and isVerified
  • Pagingnext_cursor reads more results

Proxies, retries and parsing run on Scrapier's side, so you send one request and get JSON back, at 1 credit per page of search results and 0 credits for a failed call.

Use cases

  • Social listener searches a brand name each day with sort set to recent, reads captionText and likeCount, and flags posts that gain reach.
  • Trend analyst searches a hashtag set to top and saves captionText, repostCount and takenAtISO to chart a topic over time.
  • PR team searches a campaign phrase with after set to the launch date and collects every postUrl in a report.
  • Researcher uses from with a keyword to pull one author's posts on a topic for a discourse study.
  • AI engineer gives an agent a tool that searches Threads for a topic, then has an LLM summarise what people say.

Running these from an agent? Use the MCP integration and let Claude or Cursor call the scraper directly.

Why choose this Scraper API?

Sort and date filters built in.

sort, from, before and after narrow results without post-processing your side.

Reply and repost counts per post.

directReplyCount and repostCount sit next to likeCount, so you can rank by reach.

One envelope, 6 Threads endpoints.

The same key and response envelope cover search, user posts and profiles, so one call feeds the next without new code.

Input

The scraper takes one value per call in queries: a Threads search term, hashtag or phrase. It is required on the first call. Optional sort (top or recent), from (one username) and before / after (YYYY-MM-DD) are locked into the cursor. Send parameters in the query string (GET) or as a JSON body (POST).

NameTypeRequiredDefaultDescription
queriesstringYes—A Threads search term, hashtag or phrase. One per call. Required on the first call. Aliases: search_query, searchQuery, keyword, q
cursorstringNo—Pass back data.next_cursor from the previous response to get the next page; null means the last page
sortstringNotoptop or recent (default top). Locked in the cursor
fromstringNo—Only keep posts from this username (client-side filter). Locked in the cursor. Alias: from_user
beforestringNo—Only keep posts before this date, as YYYY-MM-DD. Locked in the cursor
afterstringNo—Only keep posts after this date, as YYYY-MM-DD. Locked in the cursor
session_idstringNo—Optional Threads sessionid cookie, read fresh on every call. Anonymous calls still work but are capped at one page
use_proxybooleanNotrueUse Scrapier's residential proxy pool when true (default true). Leave as is
raw_databooleanNofalseReturn the raw upstream payload under raw_responses instead of the formatted posts

One value per call: to search ten keywords, make ten calls and page each with cursor. Booleans are the strings true or false.

Example input

POST body · input.json
{
  "queries": "AI",
  "sort": "top",
  "from": "",
  "before": "",
  "after": "",
  "session_id": "YOUR_SESSIONID",
  "use_proxy": "true",
  "raw_data": "false"
}

Error codes

StatusMeaningBilledFix
200Page of search results data returned in data.postsYes—
400Bad or missing inputNoCheck queries: one value per call
401X-API-Key header missingNoAdd the header
402Out of credits (body has balance)NoTop up; retrying will not help
403Invalid or revoked API keyNoCheck the key in your dashboard
429ThrottledNoWait Retry-After seconds, then retry
5xxUpstream failure or timeoutNoRetry with backoff; set a 210 s client timeout

From the error reference. Any non-2xx response costs 0 credits.

Output

Typed JSON with the same schema on every call. One call returns a page of posts under posts, each with 13 fields, inside the standard data envelope. data also carries the query, page, page_size and next_cursor. Field names stay the same on every call. Set raw_data to true if you want the raw payload instead.

Example output

200 OK · 1 credit · catalog sample
{
  "success": true,
  "data": {
    "query": "AI",
    "page": 1,
    "page_size": 18,
    "posts": [
      {
        "postId": "3921506418558274796",
        "postUrl": "https://www.threads.com/@theeconomist/post/DLabcXYZ",
        "username": "theeconomist",
        "isVerified": true,
        "captionText": "Today the cost of providing AI services is subsidised by the labs...",
        "likeCount": 1240,
        "directReplyCount": 87,
        "repostCount": 34,
        "takenAt": 1718628028,
        "takenAtISO": "2026-06-17T12:40:28.000Z",
        "nextCursor": "GDA6...opaque-end-cursor",
        "keyword": "AI",
        "scraped_at": "2026-06-18T12:00:00.000Z"
      }
    ],
    "next_cursor": "eyJxIjoiQUkiLCJyIjowLCJhIjoiR0RBNi4uLiIsImxrIjp7fSwicCI6MX0"
  }
}

The catalog's sample response for queries=AI, labelled as a sample: live calls return the account's current values.

Post

FieldTypeExampleDescription
posts.postIdstring"3921506418558274796"Post ID
posts.postUrlstring"https://www.threads.com/@theeconomist/post/…"URL of the post
posts.captionTextstring"Today the cost of providing AI services is …"Text of the post
posts.takenAtinteger1718628028Post time as a Unix timestamp
posts.takenAtISOstring"2026-06-17T12:40:28.000Z"Post time (ISO 8601)

Engagement

FieldTypeExampleDescription
posts.likeCountinteger1240Number of likes
posts.directReplyCountinteger87Number of direct replies
posts.repostCountinteger34Number of reposts

Author

FieldTypeExampleDescription
posts.usernamestring"theeconomist"Handle of the author
posts.isVerifiedbooleantrueWhether the author is verified

Search context

FieldTypeExampleDescription
posts.keywordstring"AI"The search term that matched this post
posts.nextCursorstring"GDA6...opaque-end-cursor"Cursor recorded on the post row
posts.scraped_atstring"2026-06-18T12:00:00.000Z"When Scrapier read the post (ISO 8601)

Response envelope and paging

FieldTypeExampleDescription
successbooleantruetrue on every 200 response
data.querystring"AI"The search term you sent
data.pageinteger1Page number of this response
data.page_sizeinteger18Number of posts on this page
data.next_cursorstring"eyJxIjoiQUkiLCJyIjowLCJhIjoiR0RBNi4uLiIsImx…"Pass back as cursor for the next page; null on the last page

How does it work?

01

Scrapier sends each request through its residential proxy pool (use_proxy, on by default), so you never manage IPs or proxy accounts.

02

Retries and parsing of Threads responses happen on Scrapier's side. You send one HTTP request and get typed JSON back.

03

Only publicly visible data is returned: what any visitor sees without signing in. No Threads account is needed unless this page says otherwise.

04

The schema is stable. When Threads changes, Scrapier updates the scraper and the field names stay the same.

How do you integrate Threads Search Scraper into your stack?

It works with what you already use: any HTTP client, AI agents over MCP, and no-code automation tools. Code samples for cURL, Python and Node.js are on the API tab.

MCP integration for AI agents

claude mcp add -t http scrapier …

This registers the Scrapier MCP server, whose tools reach every Scrapier scraper, including threads-search: the agent finds it with search_endpoints and calls it with run_scrape. Works with Claude Code, Cursor and Windsurf. MCP calls are billed like REST: 1 credit per successful call. Full MCP setup →

No-code tools (n8n, Make, LangChain)

n8n

Use the HTTP Request node with your Scrapier API key in an X-API-Key header and point it at /api/v2/threads-search/ with the input as a query parameter. Map data into the next node.

Make

Add an HTTP "Make a request" module with the same header and URL, and parse the response as JSON. Map the fields you need straight into Sheets, Airtable or your CRM.

LangChain

Wrap the endpoint in a requests-based tool, or load the Scrapier MCP server through LangChain's MCP adapters so the agent finds threads-search with search_endpoints itself.

Pricing and Rate Limits

One Threads page of search results costs 1 credit, so 1,000 pages of search results cost 1,000 credits: $1.58 on the Pro plan. Failed and empty calls are not billed. Run up to 3 requests in parallel per key; above that the API answers 429 with a Retry-After header.

PlanMonthly priceCreditsPages of search results includedPer 1,000 pages of search results
Hobby$2915,00015,000$1.93
Pro$7950,00050,000$1.58
Scale$299250,000250,000$1.20
EnterpriseCustom volume and terms

Prices from the live billing page. See all plans and limits.

Call cost and timing

1credit per successful call
0credits for a failed call
3parallel requests per key
210srecommended client timeout

How we measure this

Credit cost, pagination and the sample come from the live catalog (GET /api/v2/endpoints, /threads-search/, checked 9 Nov 2026). Concurrency and timeout guidance come from the rate limits page of the docs. Scrapier does not publish latency or success-rate figures for this endpoint, so none are shown here.

Threads Search Scraper vs the Official Threads API

FeatureScrapier page of search results scraperOfficial Threads API
Access neededOne Scrapier API keyA Meta developer app, access tokens and the permissions Meta grants
Which dataPosts by keyword, hashtag or phrase, sorted top or recentDepends on the endpoints and permissions available to your app
Fields returned13 fields, as in the catalog sampleDepends on the fields you request
Rate limitsUp to 3 parallel requests per key; 429 with Retry-AfterLimits set by Meta per app
SetupSign up, copy a key, send a requestCreate an app, set up OAuth, manage tokens
Cost1 credit per call, from $1.20 per 1,000 callsSet by Meta's terms

The official Threads API is the better choice when you publish posts, manage replies or act on behalf of an account you own.

Frequently asked questions

What fields does Threads Search Scraper return?

Each post has postId, postUrl, captionText, username, isVerified, likeCount, directReplyCount, repostCount, takenAt, takenAtISO, keyword and scraped_at: 13 fields in data.posts. Each successful call costs 1 credit and needs no Threads login.

What can I search for?

One keyword, hashtag or phrase per call in queries, for example AI. Aliases search_query, searchQuery, keyword and q work too. To search several terms, make one call per term.

Can I sort by top or recent posts?

Yes. Set sort to top or recent; the default is top. The sort is locked into the cursor, so keep it the same while you page through one search with data.next_cursor.

Can I filter by author or date?

Yes. from keeps only posts from one username, and before and after keep posts on one side of a YYYY-MM-DD date. The filters apply on Scrapier's side to the results and are locked into the cursor.

Does Threads Search Scraper need a Threads login?

Not required. Anonymous calls work but are capped at one page. You can add your own Threads sessionid cookie in session_id, read fresh on every call, which is meant for paging beyond that. Never share a cookie you do not own.

How many posts come back per page?

The catalog sample shows page_size 18. Pass data.next_cursor back as cursor to read more; null means the end. Each page is one call and costs 1 credit, and anonymous calls are capped at one page.

Does Threads Search Scraper work with Claude, ChatGPT and other AI agent tools?

Yes. Connect the Scrapier MCP server with claude mcp add -t http scrapier https://mcp.scrapier.io/mcp and your API key in an X-API-Key header; it works in Claude Code, Cursor and Windsurf. The agent finds threads-search with search_endpoints and calls it with run_scrape. Any agent that can call an HTTP endpoint can use the REST API directly.

How fast does Threads Search Scraper run?

Scrapier does not publish a latency figure for this endpoint. Each call reads Threads live. Set a client timeout of 210 seconds, as the docs recommend for every endpoint, and retry a failed call, which costs nothing.

What happens if the input is wrong or Threads returns nothing?

If a call fails, the API returns a non-2xx status and costs 0 credits. In code, check the status, then skip that input or retry it later. Throttled calls (429 with a Retry-After header) are free as well, so retry loops cost nothing.

How does it compare to other Threads scrapers?

Scrapier charges a flat 1 credit per successful call, and failed calls are free; platforms that bill compute units vary with run time and infrastructure. The same API key and MCP server reach all 199 Scrapier endpoints. Scrapier returns structured JSON for public Threads data.

Does it return data in a format LLMs can use directly?

Yes. Every response is typed JSON with the same field names on every call: no HTML parsing and no selectors. Pass it straight to an LLM, index it into a vector store or return it from an agent tool.

How much does it cost to run Threads Search Scraper 1,000 times?

1,000 credits, because each call is 1 credit. That is about $1.93 on Hobby, $1.58 on Pro and $1.20 on Scale, at the plans' price per credit. Failed calls are free.

How do I use Threads Search Scraper with Python?

Send a GET request with the requests library to https://proxy.scrapier.io/api/v2/threads-search/ with params={"queries": "AI", "sort": "recent"}, your key in the X-API-Key header and timeout=210. Read r.json()["data"]["posts"]: it is already JSON, so no HTML parsing is needed.

Is it legal to scrape Threads data?

It depends on your use and your country, so this is not legal advice. Scrapier returns public Threads data only. Threads' terms and privacy law such as GDPR or CCPA apply to how you store and use it. Collect only what you need, and ask a lawyer about your specific case.

Your feedback

Found a bug or missing a field? Let us know. Write to support@scrapier.io and the team replies to every report.

Get started

Start Scraping Threads Pages Of Search Results

Public Threads pages of search results as JSON, 1 credit each, from REST or MCP.