Threads API - Search, Profiles, Posts & Replies as JSON avatar

Threads API - Search, Profiles, Posts & Replies as JSON

Pricing

from $1.50 / 1,000 api results

Go to Apify Store
Threads API - Search, Profiles, Posts & Replies as JSON

Threads API - Search, Profiles, Posts & Replies as JSON

Threads keyword and #hashtag search as a real-time HTTP API: one GET request returns posts as JSON in seconds, no run to start and no Meta App Review. Text, author, likes, replies, reposts, media, links and date; top or newest first, filters, and an only-new monitor per caller.

Pricing

from $1.50 / 1,000 api results

Rating

0.0

(0)

Developer

Alom Dev

Alom Dev

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Features

Limited permissionsMulti-tenantServer interface

Share

Threads API

Threads as a real-time HTTP API: keyword and #hashtag search, profiles, posts and replies as JSON. One GET request returns the data in seconds. No run to start, no Meta App Review, no Threads login.

curl -H "Authorization: Bearer $APIFY_TOKEN" \
"https://alom--threads-api.apify.actor/search?q=espresso%20machine&maxPosts=20"
EndpointReturns
GET /search?q=coffee,#espressoPosts for up to 5 keywords or #hashtags: text, author, likes, replies, reposts, media, links, date
GET /profile?username=zuck,mosseriProfiles: name, bio, followers, verified, bio links, e-mails written in the bio. Add posts=10 for their latest posts
GET /post?url=https://www.threads.com/@user/post/CODEA post by URL with its likes, replies and reposts, and the author's own continuation of the thread
GET /replies?url=https://www.threads.com/@user/post/CODEThe replies under a post, top or newest first
  • Who it is for: developers, AI agents and automations that need Threads data on demand. Meta's official API only searches Threads by keyword after App Review (threads_keyword_search).
  • What it costs: $0.005 per request plus $2.50 per 1,000 results (posts, replies or profiles), down to $1.50 on higher Apify plans. Failed requests are free. The Apify Free plan's $5 monthly credit covers about 90 searches of 20 posts, 650 profile lookups, or 1,000 monitor checks that find nothing new.
  • Prefer scheduled runs, CSV exports or add-ons? The same data comes as Threads Scraper runs.

Quick start

  1. Get your Apify API token: Console → Settings → API & Integrations.
  2. Call an endpoint with the token in the Authorization header (or ?token= in the URL, which is less safe).
  3. Read the JSON reply.

Python

import os, requests
API = "https://alom--threads-api.apify.actor"
headers = {"Authorization": f"Bearer {os.environ['APIFY_TOKEN']}"}
r = requests.get(f"{API}/search", params={"q": "#coffee", "maxPosts": 20, "sort": "recent"}, headers=headers, timeout=300)
for post in r.json()["posts"]:
print(post["date"], post["username"], post["likeCount"], post["text"][:80])
profile = requests.get(f"{API}/profile", params={"username": "zuck", "posts": 5}, headers=headers, timeout=300).json()
print(profile["profiles"][0]["followerCount"], len(profile["posts"]))

JavaScript

const API = 'https://alom--threads-api.apify.actor';
const headers = { Authorization: `Bearer ${process.env.APIFY_TOKEN}` };
const { posts } = await (await fetch(`${API}/search?q=coffee,espresso&maxPosts=10`, { headers })).json();
const url = encodeURIComponent(posts[0].url);
const { replies } = await (await fetch(`${API}/replies?url=${url}&maxReplies=50&sort=recent`, { headers })).json();

POST with a JSON body works on every endpoint, with the same parameters:

curl -X POST -H "Authorization: Bearer $APIFY_TOKEN" -H "content-type: application/json" \
-d '{"searchQueries": ["yourbrand", "#yourbrand"], "sort": "recent", "onlyNew": true, "monitorName": "brand"}' \
https://alom--threads-api.apify.actor/search

GET / returns a short description of the endpoints. The Server tab of this Actor in Apify Console has the OpenAPI description and a request builder.

Parameters

/search

ParameterWhat it does
q (or searchQueries)Keywords or #hashtags, comma-separated. At most 5 per request.
maxPostsPosts per keyword, 1–100. Default 20.
sorttop (default) or recent: the posts found, newest first.
after, beforeDate window: 2026-11-01, an ISO time, or 48 hours / 7 days.
minLikes, minRepliesOnly posts with at least this many likes or replies.
languagesTwo-letter codes, e.g. en,de.
requireKeywordMatchtrue drops related posts that don't contain the keyword.
onlyNew + monitorNameOnly posts this monitor has not returned before (see below).

/profile

ParameterWhat it does
usernameUsernames, @handles or profile URLs, comma-separated. At most 5 per request.
postsLatest posts per account, 0–50. Default 0: the profile only.
after, before, minLikes, minReplies, languagesFilters for those posts.

/post and /replies

ParameterWhat it does
urlPost URLs (https://www.threads.com/@user/post/CODE), comma-separated. At most 5 per request.
maxReplies/replies: replies per post, 1–200. Default 50.
sort/replies: top (default) or recent (newest first).
nested/replies: true also returns replies to replies. Slower: one page per reply.
includePost/replies: true also returns the post itself.
after, before, minLikes/replies: filters for the replies.
onlyNew + monitorName/replies: only replies this monitor has not returned before.

Reply

{
"ok": true,
"count": 2,
"posts": [
{
"postId": "3712345678901234567",
"url": "https://www.threads.com/@someone/post/DExampleCode",
"date": "2026-11-24T18:03:11.000Z",
"username": "someone",
"text": "Finally upgraded my espresso machine...",
"likeCount": 41,
"replyCount": 6,
"repostCount": 2,
"keywordMatch": true,
"searchKeyword": "espresso machine",
"language": "en",
"mediaType": "image"
}
],
"notices": [],
"charged": { "api-request": 1, "api-post": 2 },
"durationMs": 6120
}

/profile answers with profiles (and posts), /replies with replies. Every post and reply has the same fields as a Threads Scraper row, including media URLs, links, mentions, hashtags, quoted posts and reply context.

StatusMeaningCharged
200Data found (count can be 0). notices names any account or post that failedOne request + one per result
400Bad parameters; error says what to fixNo
402Apify did not accept the charge (credit or limits)No data returned
404None of the accounts or posts exists or is publicNo
502Threads did not answer; try again in a minuteNo

A request that takes longer than 20 seconds gets its 200 status line right away, and then spaces until its JSON follows, so slow connections are not dropped on the way. In that case the real status is in the body as status, next to ok: check ok rather than the HTTP status.

Monitoring: only new posts or replies

Add onlyNew=true&monitorName=brand to /search or /replies, and each request returns only what that monitor hasn't returned before. Call it every few minutes from cron, n8n, Make or Zapier, and send the new posts wherever you need them. Each Apify user has their own monitors, so a name is never shared with anyone else. A check with nothing new costs one request fee ($0.005).

How it works and its limits

  • Logged-out Threads pages on fresh datacenter IPs. Search reads several result pages per keyword, merged and de-duplicated: about 60–85 posts per keyword at most, not every post ever written.
  • "recent" in search sorts the posts found newest first. Threads shows logged-out visitors no "Recent" tab.
  • Speed: a search usually takes 5–20 seconds for one keyword. A profile or a single post is one page. If the endpoint has been idle, the first request also waits a few seconds while it starts.
  • At most 5 keywords, accounts or posts per request. A request still working after 100 seconds returns what it found so far.
  • Not here: view counts, author details on search results, photo and video downloads, and your own session cookie. For those, use Threads Scraper runs.

Pricing

Free planBronzeSilverGold and up
Per request$0.005$0.005$0.005$0.005
Per 1,000 results (posts, replies, profiles)$2.50$2.00$1.75$1.50

Requests that fail (400, 404, 502) are not charged. Runs started from the input form instead of the API are a keyword search priced like Threads Search Scraper runs: $0.005 per run plus the same per-post price.

More Threads tools

FAQ

Do I need a Threads or Instagram account? No. Nothing is logged in, so there is nothing to ban.

Can I use it from an AI agent? Yes. Add https://mcp.apify.com/?tools=alom/threads-api as an MCP connector, or give the agent the OpenAPI description from the Server tab.

Is it legal? It reads public posts and profiles that anyone can see without logging in. You are responsible for how you use personal data in the results.

Missing something? Open an issue in the Issues tab.