Threads API

Threads Search API

Search public Threads posts by keyword or hashtag and get normalized post records: text, author, and engagement.

$1.20/1k req, pay per request, no subscription.

What the API returnedposts[0]
{
"id": "3564012987011200772",
"code": "DZyRktjxAbc",
"text": "Trump announces new trade framework at press conference, markets react within minutes",
"username": "politicsnowdaily",
"fullName": "Politics Now",
"likeCount": 18400,
"replyCount": 2210,
"repostCount": 3890,
... 5 more fields
}
Uptime
99.98%
30d · 19,204 calls
Requests
19,205
30d · weekly, last 12 wks
Response
1.1s
median · 30d

Pricing and providers

Threads Search API pricing: one API, 2 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get Threads search in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 16 of 17 fields. See every field

{
  "found": true,
  "data": {
    "posts": [
      {
        "id": "3564012987011200772",
        "code": "DZyRktjxAbc",
        "text": "Trump announces new trade framework at press conference, markets react within minutes",
        "username": "politicsnowdaily",
        "fullName": "Politics Now",
        "likeCount": 18400,
        "replyCount": 2210,
        "repostCount": 3890,
        "createdUtc": 1758931200,
        "url": "https://www.threads.com/@politicsnowdaily/post/DZyRktjxAbc",
        "quoteCount": 145,
        "profilePicUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/politicsnow_profile.jpg",
        "isVerified": true
      },
      {
        "id": "3564013100221400893",
        "code": "DZyStwVyDef",
        "text": "so trump just walked back the tariff comment from yesterday, wild week",
        "username": "morganreyesnews",
        "fullName": "Morgan Reyes",
        "likeCount": 640,
        "replyCount": 88,
        "repostCount": 52,
        "createdUtc": 1758844800,
        "url": "https://www.threads.com/@morganreyesnews/post/DZyStwVyDef",
        "quoteCount": 6,
        "profilePicUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/morganreyes_profile.jpg",
        "isVerified": false
      },
      {
        "id": "3564013244401600154",
        "code": "DZyUxzAzGhi",
        "text": "context on the trump interview clip going around, the full transcript tells a different story",
        "username": "dailycontextlabs",
        "fullName": "Daily Context",
        "likeCount": 2980,
        "replyCount": 340,
        "repostCount": 410,
        "createdUtc": 1758758400,
        "url": "https://www.threads.com/@dailycontextlabs/post/DZyUxzAzGhi",
        "quoteCount": 29,
        "profilePicUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/dailycontext_profile.jpg",
        "isVerified": true
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • querystring

    trump

    Keyword or hashtag to search public Threads posts for; the # prefix is optional (e.g. AI agents). Threads matches text in posts, so search a brand or topic rather than a URL - a query that is only a domain is searched by its name (wander.com is searched as wander).

  • endDatestring

    2026-09-28

    Only return posts published on or before this date, format YYYY-MM-DD (e.g. 2026-08-07). Threads pages backwards in time from here, so narrowing this is how you walk older results.

  • startDatestring

    2026-09-01

    Only return posts published on or after this date, format YYYY-MM-DD (e.g. 2026-08-01).

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each postdata.posts[]

Matching public post records: text, author, engagement counts, timestamp, and URL. Populated whenever the provider has data for the entity.

  • codestring

    DZyRktjxAbc

    Threads post shortcode.

  • createdUtcnumber

    1758931200

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • fullNamestring

    Politics Now

    Display name of the author. Populated whenever the provider has data for the entity.

  • idstring

    3564012987011200772

    Post identifier. Populated whenever the provider has data for the entity.

  • isVerifiedboolean

    true

    True when the author's account carries a verified badge.

  • likeCountinteger

    18400

    Number of likes on the post.

  • profilePicUrlstring

    https://scontent.cdninstagram.com/v/t51.2885-19/politicsnow_profile.jpg

    Profile picture URL of the author.

  • quoteCountinteger

    145

    Number of quote posts.

  • replyCountinteger

    2210

    Number of replies to the post.

  • repostCountinteger

    3890

    Number of reposts of the post.

  • textstring

    Trump announces new trade framework at press conference, markets react within minutes

    Post text content. Populated whenever the provider has data for the entity.

  • urlstring

    https://www.threads.com/@politicsnowdaily/post/DZyRktjxAbc

    Canonical URL of the post. Populated whenever the provider has data for the entity.

  • usernamestring

    politicsnowdaily

    Username of the author. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

    True when the search ran. An empty "posts" array means the search completed and nothing matched, which is an answer rather than a failure; false is reserved for a search the upstream could not run.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Threads Search API

The AnyAPI Threads Search API returns Threads search data as normalized JSON from one POST call to /v1/run/threads.search. Search public Threads posts by keyword or hashtag and get normalized post records: text, author, and engagement. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Threads search calls through AnyAPI succeeded, with a median response time of 1.1 seconds across 19,204 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Search public Threads posts by keyword or hashtag and get normalized post records: text, author, and engagement. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of Threads search calls through AnyAPI succeeded, with a median response time of 1.1 seconds across 19,204 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 Threads Search calls at $0.0012 each.

AnyAPI asks the next of its 2 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/threads.search with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.