Answers / Threads

How can I read Threads posts with an API?

Send GET /v1/threads/search?query=coffee with Authorization: Bearer YOUR_API_KEY. Each post comes back with its text, author, likes, replies, reposts and a threads.com link. Pass a post URL to /v1/threads/comments to read its replies.

Threads · search posts · $0.006 a call · one verified website trial · updated 2026-11-13

Run it live

Calls run only when you press Run. Opening this page does not spend credit.

Loading…

Your results will appear here. Choose a platform and action, then press Run.

Real API calls require verification for one trial, or a signed-in account with prepaid credit.

From code

curl
curl "https://posttodata.com/v1/threads/search?query=coffee&limit=5" -H "Authorization: Bearer YOUR_API_KEY"
Python
import requests

r = requests.get(
    "https://posttodata.com/v1/threads/search",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    params={"query": "coffee", "limit": 5},
)
for item in r.json()["data"]["items"]:
    print(item["url"], item.get("text") or item.get("title"))

From your AI

Claude and ChatGPT clients that support OAuth can sign in without pasting a key. Follow the client setup guide. The command below is the API-key option for Claude Code.

Add the MCP server once
claude mcp add --transport http posttodata https://posttodata.com/mcp --header "Authorization: Bearer YOUR_API_KEY"

Then ask

“What are people on Threads saying about coffee this week? Link the posts you use.”

The model calls search_posts with platform threads.

Good to know

  • Threads calls list at $0.006; a user's post list is $0.012 because it needs two upstream calls.
  • Search ignores sort: the upstream only offers one order.
  • Only public accounts are read.

Full reference in the docs. All Threads endpoints are on the Threads API page.

More answers