Threads API v1
Public Threads data — posts, replies, account profiles, search, topics and what is trending — as JSON, from https://api.fetchlayer.dev/threads. Everything returned is public on Threads: private accounts’ posts are not returned, and there are no analytics. FetchLayer is not affiliated with, endorsed by, or sponsored by Meta or Threads.
Threads API at a glance
This is the reference: every endpoint, its parameters and the fields it returns. The essentials first.
- Returns
- Posts with exact counts, replies, profiles, search and trending topics, as typed JSON.
- Endpoints
- 10 endpoints, grouped as Posts & replies, Accounts, Search & trending and Utilities. See them all
- Request
POST https://api.fetchlayer.dev/threads/<endpoint>with a JSON body.- Auth
- Your FetchLayer API key as a Bearer token. One key works for every platform we support. Authentication
- Cost
- 1 credit per page of results a call returns, half price while the API is in beta; the exact figure is on every response. Credits are $1.99 per 1,000 pay-as-you-go, plans start at $25 a month, and new accounts get 30 free requests.
- MCP
- Also on our MCP server for AI agents, with the same key and the same billing. Connect an agent
What teams use it for, with worked examples: Threads API
Available endpoints
/post-detail POST Read the replies to a post /post-replies POST Get an account’s profile /user-profile POST List an account’s posts /user-threads POST Search posts /search-posts POST Search accounts /search-users POST Read the posts under a topic /topic-posts POST See what is trending /trending-topics POST Parse a Threads link /resolve-url GET Download an image or video /media Exact counts
A post’s likeCount, replyCount, repostCount, quoteCount and shareCount are the exact figures, and a profile’s followerCount is exact too, not the rounded numbers on the page. For an account with a linked Instagram profile that is public, /user-profile also returns that profile’s follower and following counts. View counts are not available.
Which routes page, and which return one page
/user-threads and /post-replies page: when more exist, hasMore is true and nextCursor carries an opaque token to pass back unchanged as cursor, with the same other parameters. /search-posts, /search-users and /topic-posts return one page only and have no cursor: about 20 posts for a top search, about 6 for a recent one, about 10 accounts or topic posts. The reposts tab of /user-threads is the account’s most recent reposts only, in one list. A notes entry says whenever a result is one page.
Media: images and video
Image and video links in a result are signed and expire after a few days: an expired link is a 404, and reading the post again returns a fresh one. GET /media?url= streams a file by the link a result gave, with Range support so players can seek and downloads can resume. Each request to /media costs 1 credit, and each range request counts as one.
Billing
1 credit for /post-detail, /user-profile, /search-posts, /search-users, /topic-posts and /trending-topics. /user-threads is 1 credit per 30 entries returned and /post-replies 1 credit per 50 top-level replies returned (up to 300 entries and 500 replies in one request), minimum 1. /resolve-url is free. A failed request is not billed. When your timeoutMs runs out, a paged listing returns what it has and is billed for what it returned.
Read the notes array
Every response carries notes, and an empty result always comes with one explaining it. The ones you will see: a search that is one page, a listing that stopped early, a reposts list that is the most recent only.
Requests are strict
An unrecognised body field is a 400 naming it, not a silent no-op, so a typo fails loudly instead of being answered with the wrong data.
What this API does not return
- Follower and following lists, the accounts that liked a post, and the lists of quotes and reposts of a post. Not available. The counts are.
- More than one page of post search, account search or topic posts. Each returns one page.
- Older reposts. The reposts tab is recent only.
- Posts of private accounts, and view counts.
- Permanent media links. They expire after a few days; store the file if you need it.
- Trending outside the United States.
/trending-topicsis the United States.