How to run a Threads search
GET request to /v1/threads/search with your input. You get clean JSON back in seconds for ~18 credits (0.7/result) per call — no OAuth, scraping or platform SDKs. Search Threads programmatically and get structured, ranked results.How to run a Threads search (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Threads Search API
Send an authenticated GET request to /v1/threads/search with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/threads/search?q=artificial%20intelligence" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"query": "artificial intelligence",
"totalReturned": 5,
"results": [
{
"platform": "threads",
"id": "3792024121254209604",
"code": "DSf-djnEehE",
"url": "https://www.threads.net/@freecodecamp/post/DSf-djnEehE",
"text": "Machine Learning and Artificial Intelligence are hot topics right now. And this course will give you a solid foundation in ML & AI skills. You'll learn key concepts like overfitting & regularization, common algorithms, & you'll build some projects, too.\nhttps://www.freecodecamp.org/news/learn-the-foundations-of-machine-learning-and-artificial-intelligence/",
"publishedAt": "2025-12-20T21:02:08.000Z",
"author": {
"username": "freecodecamp",
"displayName": "freeCodeCamp.org",
"verified": false,
"followers": null,
"profileImage": null
},
"engagement": {
"likes": 217,
"replies": 2,
"reposts": 25,
"quotes": 1
},
"media": [
"https://scontent-dfw6-2.cdninstagram.com/v/t51.82787-15/603742719_17937667041108131_2100216512462729217_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=110&ig_cache_key=Mzc5MjAyNDEyMTI1NDIwOTYwNA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=iiT0ZuLOb3cQ7kNvwGmEM-L&_nc_oc=Adopk5Ej4_mGJejR7E2mPwmvLWsisser5Hi6U33pn0TYfJuFlTjEq9h5xJGz4N_jigE&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-2.cdninstagram.com&_nc_gid=06d0J5yh67OrHyBW9M_u0A&_nc_ss=7a22e&oh=00_AQCh-SKkaxz7kmJ6iQazhSmw6PiC8gQuecsfBx4-zSWjyg&oe=6A6138A5"
]
},
{
"platform": "threads",
"id": "3943927545955151732",
"code": "Da7pTUMiO90",
"url": "https://www.threads.net/@codexatechnologiez/post/Da7pTUMiO90",
"text": "Every successful technology company begins with a vision. \nCodexa Technologiez was created with the ambition to become a company that builds technology, develops talent, and creates meaningful digital solutions.\nOur journey starts today with practical technology education and will continue through software development, artificial intelligence, digital innovation, and products that make an impact. This is more than a launch.\nIt's the beginning of a long-term mission.",
"publishedAt": "2026-07-18T11:07:02.000Z",
"author": {
"username": "codexatechnologiez",
"displayName": "Codexa Technologiez",
"verified": false,
"followers": null,
"profileImage": null
},
"engagement": {
"likes": null,
"replies": 1,
"reposts": null,
"quotes": 0
},
"media": [
"https://scontent-dfw6-2.cdninstagram.com/v/t51.82787-15/748986639_18034621721655357_4326533963623913041_n.webp?_nc_cat=108&ig_cache_key=Mzk0MzkyNjgxMTc5NDIyNjM1Ng%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTA4MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=4hJU3v2DcjQQ7kNvwEH_1_5&_nc_oc=AdoPS1NiPmqnC2PzFSsknYesRlGvA-hj-RhiHvAbU9J9aZ-FSNJFfMj4P0dAcB0rATA&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-2.cdninstagram.com&_nc_gid=06d0J5yh67OrHyBW9M_u0A&_nc_ss=7a22e&oh=00_AQAzH-V-Mz4RdSU06C76of36gp2oei4wqSTT4twoDG_I6Q&oe=6A61421C",
"https://scontent-dfw6-1.cdninstagram.com/v/t51.82787-15/749491374_18034621778655357_2081134736969502819_n.webp?_nc_cat=101&ig_cache_key=Mzk0MzkyNjgxNjUwMDI3NzQ4MQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTA4MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=ggtI0iFTnE8Q7kNvwEAdZVi&_nc_oc=AdoKkGNcI610gYvMQkadwHtmL6pfbb_g23yF-unIQruSVo3KbvUaC-erCB5HXUlAjQc&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_gid=06d0J5yh67OrHyBW9M_u0A&_nc_ss=7a22e&oh=00_AQBSY5owF9_74b8XBe8TKc--rL_-uFHoqjXPqKQ7W_H5aw&oe=6A612248",
"https://scontent-dfw5-1.cdninstagram.com/v/t51.82787-15/749198702_18034621766655357_4959843574080600666_n.webp?_nc_cat=106&ig_cache_key=Mzk0MzkyNjgxNjA2NDE0MDUxMQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTA4MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=1TpuuFsV-2sQ7kNvwE_ifNP&_nc_oc=Adrcdy6XLXhY_H_DWNA6YRLbF8a4VFOJnjYixS5eg2MrNOUmw531VSCE53uml9f7ovQ&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw5-1.cdninstagram.com&_nc_gid=06d0J5yh67OrHyBW9M_u0A&_nc_ss=7a22e&oh=00_AQDCYdARmhKM2DTh-4-OsPSfjAelOu79iyZwMU6Evob21Q&oe=6A611A5B",
"https://scontent-dfw6-2.cdninstagram.com/v/t51.82787-15/749036110_18034621763655357_7027664120882207444_n.webp?_nc_cat=110&ig_cache_key=Mzk0MzkyNjgxMTQ3NTMyMTI1Ng%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTA4MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=ZTHBirFZ7oIQ7kNvwHwIJu0&_nc_oc=Adp89wZAKXhZkOPRC4iTqh__LVWtoQq3cKyG4MDkWJGhgmeEzGY6b1di0izWxkQU-N0&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-2.cdninstagram.com&_nc_gid=06d0J5yh67OrHyBW9M_u0A&_nc_ss=7a22e&oh=00_AQA2Smjj_OtRg492iJoqphnR3ekR9hr7Ym17NZkyN6NhrQ&oe=6A612349",
"https://scontent-dfw5-2.cdninstagram.com/v/t51.82787-15/749174362_18034621769655357_1494874745810643816_n.webp?_nc_cat=100&ig_cache_key=Mzk0MzkyNjgxNTUxMDM4NDI3MA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTA4MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=Emz9ezgSxaoQ7kNvwF3U21O&_nc_oc=AdrP6h_XOCmUSZlRcVWPV6G2B2iQDFjom3Sqm6uA__rEq3B2hIoqKSSotJCNr6ZfzpI&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw5-2.cdninstagram.com&_nc_gid=06d0J5yh67OrHyBW9M_u0A&_nc_ss=7a22e&oh=00_AQDd8UJcctaWPkOFF2gP5noonLtm54ygUIesGl395S3ljg&oe=6A614A33"
]
},
{
"platform": "threads",
"id": "3943315486901377933",
"code": "Da5eIryDZuN",
"url": "https://www.threads.net/@econ.omicbalance/post/Da5eIryDZuN",
"text": "Tech stocks are taking a massive hit right now. AI chips (semiconductors) are slumping as investors worry they are overpriced. 📉\nBut while Wall Street panics over chips, one hidden AI-adjacent sector is quietly thriving.\nHere is what’s actually happening to the economy: 🧵👇",
"publishedAt": "2026-07-17T14:50:59.000Z",
"author": {
"username": "econ.omicbalance",
"displayName": "economicbalance",
"verified": false,
"followers": null,
"profileImage": null
},
"engagement": {
"likes": null,
"replies": 4,
"reposts": null,
"quotes": 0
},
"media": []
},
{
"platform": "threads",
"id": "3943315517570151145",
"code": "Da5eJIWDfLp",
"url": "https://www.threads.net/@econ.omicbalance/post/Da5eJIWDfLp",
"text": "For the last two years, the AI boom was all about digital software and the chips that power it.\nBut smart money is rotating. According to Bespoke Investment Group, the new hot sector right now is Robotics & Automation. 🤖\nWhy? Because artificial intelligence is moving from your screen into the physical world.",
"publishedAt": "2026-07-17T14:51:03.000Z",
"author": {
"username": "econ.omicbalance",
"displayName": "economicbalance",
"verified": false,
"followers": null,
"profileImage": null
},
"engagement": {
"likes": null,
"replies": 1,
"reposts": null,
"quotes": 0
},
"media": [
"https://scontent-dfw6-1.cdninstagram.com/v/t51.82787-15/750975457_18151980097464079_4204741624122441632_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=102&ig_cache_key=Mzk0MzMxNTUxNzU3MDE1MTE0NQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTIwNi5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=ZonCEu_tYGkQ7kNvwEYacwi&_nc_oc=Adp7xmSD1D1MbOvITK6Q6sowIGmYSZa8Kh9rrciXsjfphMpOJqHxtJ6HD8ZMajWUR58&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_gid=06d0J5yh67OrHyBW9M_u0A&_nc_ss=7a22e&oh=00_AQATb3sTwdREZ6ksjMGHbYru3N6XPBpxJFSATv9h7zvegg&oe=6A614A22"
]
},
{
"platform": "threads",
"id": "3943345558727570627",
"code": "Da5k-SWkjTD",
"url": "https://www.threads.net/@wwr9738/post/Da5k-SWkjTD",
"text": "🚀 Crypto analysis is entering a new era. 🤖\n\nThe market is moving faster than ever.\n\nMore data.\nMore volatility.\nMore decisions to make.\n\nOmniQuant AI combines artificial intelligence with quantitative strategies to help users explore digital asset markets with smarter tools.\n\n📊 AI-powered insights\n⚡ Automated strategy support\n🌎 Real-time market monitoring\n\nThe future of crypto research is being reshaped.\n\nWant to see how it works?\n\n💬 DM “AI”",
"publishedAt": "2026-07-17T15:52:15.000Z",
"author": {
"username": "wwr9738",
"displayName": "Learning AI Trading (Luna)",
"verified": false,
"followers": null,
"profileImage": null
},
"engagement": {
"likes": null,
"replies": 1,
"reposts": null,
"quotes": 0
},
"media": [
"https://scontent-dfw6-1.cdninstagram.com/v/t51.71878-15/748115062_1546361493641212_1000488345621503954_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=101&ig_cache_key=Mzk0MzM0NTU1ODcyNzU3MDYyNw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuNjQwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLkMzIn0%3D&_nc_ohc=Zv9kD-rkiuUQ7kNvwFOqnBu&_nc_oc=AdoC0kF3ZCzNU9MR0BtBsITP1ETZo1Gh2KwyPKAxgzMOD37p1yJ72iaj_shsIfQVB9w&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_gid=06d0J5yh67OrHyBW9M_u0A&_nc_ss=7a22e&oh=00_AQCvbtwMts8S2SFcfYw0uUo4QRTslPtnrqEiAsSgAeIorQ&oe=6A611FD5"
]
}
]
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| q | string | Yes | Keyword or phrase to search Threads (min 2 characters). |
| limit | integer | No | Max items to return (default 25, max 200). Billed per result. |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Frequently asked questions
What does the Threads Search API do?
The Threads Search API lets you search and return matching results from a public Threads query using one GET request to /v1/threads/search. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the Threads Search API cost?
At the default limit this endpoint costs 18 credits (0.7 per result). Billing scales with how many results you request. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.
Do I need a Threads API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the Threads Search API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
Ready to run a Threads search?
Start free with 100 credits — no credit card required.
Get your free API key