APIs / Social media / Threads

1 credit per call8 endpointsChecked working 6 Dec 2026

Threads API

Threads API for public profiles, posts, replies, tag pages and search as JSON. Eight endpoints, 1 credit per successful call.

Threads
GET/v1/threads/search?query=coffee
curl "https://api.perceptlayer.com/v1/threads/search?query=coffee" \
  -H "X-API-Key: $API_KEY"
cURL1 credit per successful call
Run this call below or from your dashboard to see a live response.

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/threads/search?query=coffee" \
  -H "X-API-Key: $API_KEY"

Threads · 8 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

Note
Endpoints marked “Needs terms” return personal or social data. They work once you accept the restricted-endpoint terms in your dashboard.
EndpointRequired parametersReturnsCost
GET/v1/threads/oembed
urlNeeds terms
search_parametersembed
1 credit
GET/v1/threads/post
usernamecodeNeeds terms
search_parameterspostreplies
1 credit
GET/v1/threads/profile
usernameNeeds terms
search_parametersuserposts
1 credit
GET/v1/threads/search
queryNeeds terms
codepkusernametextpermalinkmedia_type+7 more
1 credit
GET/v1/threads/search-users
queryNeeds terms
pkusernamefull_nameis_verifiedbiographyhas_onboarded_to_text_post_app
1 credit
GET/v1/threads/tag
nameNeeds terms
codepkusernametextpermalinkmedia_type+6 more
1 credit
GET/v1/threads/user-posts
username+1 optionalNeeds terms
codepkusernametextpermalinktaken_at+4 more
1 credit
GET/v1/threads/user-replies
username+1 optionalNeeds terms
codepkusernametextpermalinktaken_at+2 more
1 credit

Overview

About the Threads API

What you can get

The Threads API returns public Threads data as JSON through 8 endpoints. These are restricted endpoints: the restricted-endpoint terms apply, and they don't permit collecting personal data without a lawful basis or using it to contact people.

  • Profiles: profile takes a username; user-posts and user-replies take a username, with an optional user_id.
  • Posts: post takes a username and a post code; oembed takes a post url.
  • Search: search and search-users take a query; tag takes a tag name.

How a call works

Start from a username: GET /v1/threads/user-posts?username=... with your key in the X-API-Key header, or search with GET /v1/threads/search?query=coffee. Every successful call costs 1 credit; failed calls cost nothing.

Social mediaJSONRESTMCPSome endpoints need terms

More social media APIs

Use cases

Follow what public accounts post on Threads

Use the Threads API to follow what public accounts post on Threads

Track mentions of a brand or topic

Use the Threads API to track mentions of a brand or topic

Read the public replies to an announcement

Use the Threads API to read the public replies to an announcement

Get embed data for a public post with `oembed`

Use the Threads API to get embed data for a public post with `oembed`

FAQ

Questions

Do I need a Meta developer app?

No. You call this Threads API with your Perceptlayer key in the `X-API-Key` header, so there's no Meta app to register. You do need to accept the restricted-endpoint terms first.

How much does the Threads API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Is this the official Threads API?

No. Perceptlayer is an independent service and is not affiliated with Threads. It returns Threads data as JSON with a Perceptlayer key, so there is no Threads developer account, app review or partner approval to get first. It only reads data: if Threads has an official API and you need to act on your own Threads account, such as posting, managing orders or reading private data, use that one.

Should I build a Threads scraper instead?

You can, but a Threads scraper is code you maintain: page changes break it, requests get blocked, and Threads's terms govern how you collect data. The Threads API gives you 8 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first. Some of these endpoints return social or personal data and need the restricted-endpoint terms; collect only what you have a lawful basis for.

Try the Threads API with 100 free credits

No credit card. Failed calls are never billed.