Threads Search API
Run keyword searches across public Threads conversations and accounts. Choose type=top (matching profiles plus top posts), type=recent (latest posts), or type=profiles (account results) with one clean response format.
Request
GET /v1/threads/search ·
2 credits per successful call
curl "https://api.igramapi.com/v1/threads/search?q=developer+tools&type=top" \
-H "Authorization: Bearer YOUR_API_KEY" import requests
response = requests.get(
"https://api.igramapi.com/v1/threads/search?q=developer+tools&type=top",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
response.raise_for_status()
print(response.json()) const response = await fetch("https://api.igramapi.com/v1/threads/search?q=developer+tools&type=top", {
method: "GET",
headers: {
Authorization: "Bearer YOUR_API_KEY",
},
});
if (!response.ok) throw new Error((await response.json()).error.message);
console.log(await response.json()); <?php
$ch = curl_init("https://api.igramapi.com/v1/threads/search?q=developer+tools&type=top");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_API_KEY",
],
]);
$data = json_decode(curl_exec($ch), true);
print_r($data); Response
{
"query": "developer tools",
"type": "top",
"profiles": [
{
"user_id": "63456789012",
"username": "example_creator",
"full_name": "Example Creator",
"biography": "Writing about developer tools and data pipelines. Notes at @example_team",
"bio_mentions": [
"example_team"
],
"bio_links": [
{
"url": "https://example.com",
"title": "Website",
"link_id": "17901234567",
"is_verified": true
}
],
"profile_tags": [
{
"id": "18012345678901234",
"name": "Developer Tools",
"display_name": "Developer Tools",
"tag_cluster_name": "Tech",
"is_community": false
}
],
"profile_picture_url": "https://scontent-threads.cdninstagram.com/v/example/avatar.jpg",
"is_hd_picture": true,
"followers": 284500,
"is_verified": true,
"is_private": false,
"has_onboarded": true,
"show_threads_badge": true,
"transparency_label": null,
"url": "https://www.threads.com/@example_creator"
}
],
"posts": [
{
"id": "3512345678901234567",
"post": {
"id": "3512345678901234567_63456789012",
"pk": "3512345678901234567",
"shortcode": "DCxAbCdEfGh",
"url": "https://www.threads.com/@example_creator/post/DCxAbCdEfGh",
"author": {
"user_id": "63456789012",
"username": "example_creator",
"full_name": "Example Creator",
"profile_picture_url": "https://scontent-threads.cdninstagram.com/v/example/avatar.jpg",
"is_verified": true,
"is_private": false,
"is_meta_ai_bot": false,
"transparency_label": null
},
"text": "Shipping structured Threads data without managing OAuth tokens or app review. Full launch notes with @example_team.",
"mentions": [
"example_team"
],
"links": [
"https://example.com/launch-notes"
],
"text_tags": [
"Developer Tools"
],
"topic_tag": {
"id": "18012345678901234",
"name": "Developer Tools",
"display_name": "Developer Tools",
"is_community": false,
"users_with_tag_count": 14200,
"emoji": null
},
"media_type": "image",
"media": [
{
"id": "3512345678901234568",
"type": "image",
"url": "https://scontent-threads.cdninstagram.com/v/example/post-image.jpg",
"thumbnail_url": null,
"width": 1080,
"height": 1350,
"alt_text": "Architecture diagram comparing REST endpoints",
"formats": []
}
],
"audio": null,
"link_preview": {
"url": "https://example.com/launch-notes",
"display_url": "example.com/launch-notes",
"title": "Launch Notes",
"thumbnail_url": "https://scontent-threads.cdninstagram.com/v/example/post-image.jpg"
},
"location": null,
"quoted_post": null,
"reposted_post": null,
"like_count": 418,
"reply_count": 34,
"repost_count": 29,
"quote_count": 11,
"reshare_count": 8,
"like_and_view_counts_disabled": false,
"taken_at": 1764700000,
"is_edited": false,
"detected_language": "en",
"accessibility_caption": "Architecture diagram comparing REST endpoints",
"product_type": "threads",
"width": 1080,
"height": 1350,
"has_audio": false,
"reply_control": "everyone",
"is_reply": false,
"reply_to_post_id": null,
"reply_to_author": null,
"is_pinned": false,
"is_paid_partnership": false,
"is_ghost_post": false,
"is_unavailable": false
},
"thread": []
}
],
"page": {
"has_next_page": false,
"end_cursor": null
},
"cached": false
} All values above are made-up examples. Media links are temporary Threads CDN addresses.
Parameters
| Name | In | Description |
|---|---|---|
qrequired | query | Search keyword or phrase (alias query is also accepted). |
type | query | Search mode: top (default), recent, or profiles. |
limit | query | Result count target from 1 to 25. Defaults to 10. |
cursor | query | page.end_cursor from a previous search page (when returned). |
Response fields
| Field | Type | Description |
|---|---|---|
query | string | Normalized search query string. |
type | string | Active search mode: top, recent or profiles. |
profiles | object[] | Matched public Threads profiles (ThreadsProfile). |
posts | object[] | Matched public Threads posts wrapped as { id, post, thread }. |
page / cached | object / boolean | Pagination metadata (has_next_page, end_cursor) and cache indicator. |
Three search modes
top returns both matching accounts and ranked posts; recent focuses on newest posts; profiles searches creators.
Structured profile & post objects
profiles[] uses ThreadsProfile and posts[] uses { id, post, thread } matching the profile feed.
Topic monitoring & creator discovery
Track brand mentions, product launches or niche keywords across public Threads without an OAuth app.
Fixed 2-credit cost
Works on every plan, including Free, for 2 credits per search request.
Choosing the right `type` parameter
Use type=top when you want a combined view of relevant creators in profiles alongside high-signal posts in posts. Use type=recent for live monitoring of newly published posts matching a brand name, event or keyword.
Use type=profiles when building creator discovery or handle autocomplete: posts stays empty and profiles returns matched accounts with username, full_name, followers, biography, profile_picture_url and is_verified.
Frequently asked questions
What is the difference between top, recent and profiles?
top returns both matching profiles and ranked posts. recent returns latest public posts matching the query. profiles returns matching user profiles.
Can I use query instead of q?
Yes. Both q and query query parameters are accepted.
Does search require a paid plan?
No. Threads Search costs 2 credits per call on all plans, including the Free plan.
Our errors cost nothing. Failures on our side (status 500 or above) and invalid requests (400, 422) are refunded, and every error has the same shape. See error handling and credits and rate limits.
Try the Threads Search API free
Create a key and make your first request in minutes. 100 free credits every month.