Threads Post & Replies API
Send any Threads post link (threads.com, threads.net, or /t/ short link) or its shortcode and get the post, any parent/root context above it, initial direct reply branches and pagination cursor in one JSON response.
Request
GET /v1/threads/posts/{shortcode} ·
1 credit per successful call
curl "https://api.igramapi.com/v1/threads/posts?url=https%3A%2F%2Fwww.threads.com%2F%40example_creator%2Fpost%2FDCxAbCdEfGh" \
-H "Authorization: Bearer YOUR_API_KEY" import requests
response = requests.get(
"https://api.igramapi.com/v1/threads/posts?url=https%3A%2F%2Fwww.threads.com%2F%40example_creator%2Fpost%2FDCxAbCdEfGh",
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/posts?url=https%3A%2F%2Fwww.threads.com%2F%40example_creator%2Fpost%2FDCxAbCdEfGh", {
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/posts?url=https%3A%2F%2Fwww.threads.com%2F%40example_creator%2Fpost%2FDCxAbCdEfGh");
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
{
"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
},
"parent_chain": [],
"replies": [
{
"post": {
"id": "3512345999901234567_74567890123",
"pk": "3512345999901234567",
"shortcode": "DCxZyXwVuTs",
"url": "https://www.threads.com/@reader_one/post/DCxZyXwVuTs",
"author": {
"user_id": "74567890123",
"username": "reader_one",
"full_name": "Reader One",
"profile_picture_url": "https://scontent-threads.cdninstagram.com/v/example/avatar.jpg",
"is_verified": false,
"is_private": false,
"is_meta_ai_bot": false,
"transparency_label": null
},
"text": "Does the single post endpoint return parent context for self-threads too?",
"mentions": [],
"links": [],
"text_tags": [],
"topic_tag": null,
"media_type": "text",
"media": [],
"audio": null,
"link_preview": null,
"location": null,
"quoted_post": null,
"reposted_post": null,
"like_count": 19,
"reply_count": 1,
"repost_count": 0,
"quote_count": 0,
"reshare_count": 0,
"like_and_view_counts_disabled": false,
"taken_at": 1764701200,
"is_edited": false,
"detected_language": "en",
"accessibility_caption": null,
"product_type": "threads",
"width": null,
"height": null,
"has_audio": null,
"reply_control": "everyone",
"is_reply": true,
"reply_to_post_id": "3512345678901234567",
"reply_to_author": "example_creator",
"is_pinned": false,
"is_paid_partnership": false,
"is_ghost_post": false,
"is_unavailable": false
},
"thread": []
}
],
"replies_page": {
"has_next_page": true,
"end_cursor": "QVFDX3RocmVhZHNfY3Vyc29y"
},
"cached": false
} All values above are made-up examples. Media links are temporary Threads CDN addresses.
Parameters
| Name | In | Description |
|---|---|---|
shortcoderequired | path | Threads post shortcode, e.g. DCxAbCdEfGh (or call GET /v1/threads/posts?url= with a full threads.com / threads.net URL). |
Response fields
| Field | Type | Description |
|---|---|---|
post | object | The target Threads post with full author, media, embed and counter fields. |
parent_chain | object[] | Parent/root posts above the target post when fetching a reply or mid-thread post. |
replies[].post | object | A direct reply to the target post. |
replies[].thread | object[] | Immediate follow-up replies inside that branch. |
replies_page | object | Pagination metadata (has_next_page, end_cursor) for replies. |
cached | boolean | True when served from cache. |
One call for post + conversation
Returns post, parent_chain (when the target is a reply) and replies (direct reply branches) together for 1 credit.
Clean reply branches
replies[] excludes unrelated "More threads" recommendations and preserves each top-level reply with its immediate thread[].
threads.com and threads.net
Accepts @user/post/{shortcode}, /t/{shortcode}, share URLs or a bare shortcode via ?url= or /posts/{shortcode}.
Rich embeds parsed
Extracts quoted posts, reposts, voice notes (audio), topic tags, image/video formats, link preview cards and locations.
Target post, upward context and downward replies
When you fetch a reply permalink, Threads displays ancestor posts above it. parent_chain gives you those parent/root posts in chronological order, post is the exact post identified by the shortcode or URL, and replies holds direct reply branches underneath it.
If the target is already the root post, parent_chain is an empty array [].
Handling media, voice notes and quotes
Carousel posts place every slide inside post.media[]. Voice threads populate post.audio with the audio stream URL, duration_ms, waveform array and transcript when available. Quoted and reposted posts sit cleanly under quoted_post and reposted_post.
Frequently asked questions
Can I pass a full URL or just the shortcode?
Both work. Call GET /v1/threads/posts/{shortcode} with the shortcode, or GET /v1/threads/posts?url=... with any threads.com or threads.net post URL.
Are suggested or recommended posts mixed into replies?
No. Unrelated recommendation sections shown on the web are filtered out, leaving only replies belonging to the conversation.
What happens if a post was deleted or comes from a private account?
Deleted or missing posts return HTTP 404 (post_not_found). Private posts return HTTP 403 (private_account).
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 Post API free
Create a key and make your first request in minutes. 100 free credits every month.