Threads API

Threads Search API

Send a search term and get the public Threads posts that contain it back as JSON, each with its text, exact engagement counts, media and author.

  • 100 free credits
  • No card needed
  • No scraper to build or maintain
curl "https://pipefetch.com/v1/threads/search?q=coffee&limit=10" \
  -H "x-api-key: YOUR_API_KEY"
The response

What you get

  • Up to 20 posts per search: the ones Threads ranks first, or recent ones, newest first
  • The text, link, publish time and detected language of each post
  • Exact like, reply, repost and quote counts
  • The author of each post: username, name, verified badge, picture and profile address
  • For a reply, the post it answers, with its text, author and link
  • Image addresses, the topic the author put on the post, and flags for AI-labeled media and paid partnerships
200 OK · application/json
{
  "data": {
    "query": "coffee",
    "posts": [
      {
        "id": "0000000000",
        "code": "0000000000",
        "url": "https://example.com/item",
        "text": "Good morning 🙏 cold and drinking my coffee",
        "language": "en",
        "publishedAt": "2026-11-19T12:14:15.000Z",
        "likeCount": 0,
        "replyCount": 0,
        "repostCount": 0,
        "quoteCount": 0,
        "author": {
          "id": "0000000000",
          "username": "example_user",
          "url": "https://example.com/profile",
          "fullName": "Example Person",
          "isVerified": false,
          "profilePicUrl": "https://example.com/avatar.jpg"
        },
        "mediaType": "text",
        "imageUrls": [],
        "videoUrls": [],
        "topic": null,
        "hashtags": [],
        "mentions": [],
        "links": [],
        "linkPreview": null,
        "isReply": true,
        "replyToUsername": "example_user",
        "parentPost": {
          "id": "4033799997484860274",
          "url": "https://www.threads.com/@acoupleofwhiles/post/Df677nJDoNy",
          "username": "acoupleofwhiles",
          "text": "Good morning☀️Happy Thirsty Thursday! Fueled by coffee, powered by caffeine, and surviving the chaos one questionable decision at a time. ☕️☕️Almost F…"
        },
        "quotedPost": null,
        "isAiLabeled": false,
        "isPaidPartnership": false
      },
      {
        "id": "0000000000",
        "code": "0000000000",
        "url": "https://example.com/item",
        "text": "Coffee time ✌️✌️",
        "language": "en",
        "publishedAt": "2026-11-19T12:39:08.000Z",
        "likeCount": 1,
        "replyCount": 1,
        "repostCount": 0,
        "quoteCount": 0,
        "author": {
          "id": "0000000000",
          "username": "example_user",
          "url": "https://example.com/profile",
          "fullName": "Example Person",
          "isVerified": false,
          "profilePicUrl": "https://example.com/avatar.jpg"
        },
        "mediaType": "text",
        "imageUrls": [],
        "videoUrls": [],
        "topic": null,
        "hashtags": [],
        "mentions": [],
        "links": [],
        "linkPreview": null,
        "isReply": true,
        "replyToUsername": "example_user",
        "parentPost": {
          "id": "4033071962679503189",
          "url": "https://www.threads.com/@yasutacanta/post/Df4WZT5GWlV",
          "username": "yasutacanta",
          "text": "Hello from Tokyo 🇯🇵👋\nCoffee time 🎶☕️"
        },
        "quotedPost": null,
        "isAiLabeled": false,
        "isPaidPartnership": false
      }
    ]
  },
  "credits": {
    "used": 1,
    "remaining": 99
  }
}
Reference

One GET request

Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.

GET/v1/threads/search

Costs 1 credit per request. Only requests that return data are charged.

Parameters

NameTypeDescription
qrequired string What to search for: a word or a phrase, up to 100 characters.
limitoptional integer How many posts to return. Default: 20. From 1 to 20.
sortoptional string top: the posts Threads ranks first for the term. recent: recent posts, newest first. One of: top, recent. Default: top.

Good to know

  • One request returns up to 20 posts, and there are no further pages.
  • Threads matches terms of several words loosely, so only posts that contain the term are returned: every word of it has to be in the text, the topic, a link title or the author's name.
  • sort=recent starts with the last 24 hours and goes further back only when they do not hold enough posts. The posts come newest first.
  • Replies are included: isReply marks them, and parentPost holds the post they answer. Authors come without follower counts; the profile endpoint has those.
  • A search that finds no posts answers 404 no_results and costs nothing.

Open the reference

Use cases

What people build with it

  • Brand monitoring

    Search for your brand or product with sort=recent on a schedule and read what people post about it.

  • Topic research

    See which posts Threads ranks first for a term and how much engagement each one got.

  • Find who writes about a subject

    Every post comes with its author, so a search shows you which accounts post about a topic.

  • Posts for an AI model

    Hand a model the posts on a subject as JSON, to summarize what is being said or to sort it by sentiment.

Pricing

Buy credits once. Use them whenever.

This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.

5,000credits a month
5005,00050,000250,000
5,000search requests at 1 credit
2,500profile requests at 2 credits

Each endpoint says what a request costs. Requests that return nothing are free.

Best fit
Builder pack
12,000 credits, one-time payment
$29once
  • $2.42 per 1,000 credits
  • About $12.08 a month at this pace
  • Lasts about 2.4 months at this pace
  • Credits never expire
Start with 100 free credits

See all packs and what a credit buys

FAQ

Questions and answers

Is this the official Threads API?

No. Pipefetch is an independent service and is not affiliated with Threads or Meta. It reads the search on Threads the way a visitor who is not logged in sees it.

How many posts does a search return?

Up to 20, set with limit. There are no further pages. Posts that do not contain your term are skipped, so a search can return fewer posts than you asked for.

Why do I only get posts that contain my term?

Threads matches terms of several words loosely: a search for two words also returns posts with one of them, or with related words. The API keeps the posts in which every word of your term appears, in the text, the topic, a link title or the author's name, and leaves out the rest.

What is the difference between top and recent?

top returns the posts Threads ranks first for the term. recent starts with the last 24 hours, goes further back only when they do not hold enough posts, and returns the posts newest first.

What if a search finds nothing?

The request answers 404 no_results and costs nothing.

What does a search cost?

One search costs 1 credit, whatever the limit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 100 free credits without a card.

Do the results contain personal data?

Yes. Posts carry the public names and usernames of the people who wrote them, which is personal data when the author is a person. If you store or process it, data-protection law such as the GDPR applies to you as it would to any other source, and our terms forbid using the API to harass people or to build profiles of private individuals.

Guides

Step-by-step guides

More

More Threads APIs

Also on the same key

Other sources

Make your first request in a minute

Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.