Threads Scraper API
Get public Threads profiles, profile threads, self-thread chains, replies with parent posts, single posts and search results as structured JSON from a handle or link. No headless browser and no Meta app review.
IGramAPI is an independent product of AR Digital Services (Prayagraj, Uttar Pradesh, India). It is not the official API and is not affiliated with or endorsed by Threads or Meta. About us
What running your own Threads scraper involves
Scraping Threads yourself works for a demo. Keeping it working is the expensive part.
App review & OAuth scopes
Meta's official Threads API only grants access to authenticated users who connect their own account to your reviewed app.
Fragmented payload trees
Public Threads pages embed deeply nested JSON blocks for posts, self-threads, quotes, voice notes and reply branches.
Inconsistent link shapes
Links arrive as threads.com, threads.net, @user/post/... or /t/... short links and return different HTML depending on the route.
Mixed recommendations
Opening a post page mixes direct conversation replies together with unrelated suggested threads unless separated cleanly.
Or call an endpoint
Send a username or a link, get JSON. The same key also covers the other platforms.
Example: Threads Post API
GET /v1/threads/posts/{shortcode} · 1 credit. Replace YOUR_API_KEY with your key.
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); {
"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
} Your scraper's jobs, as endpoints
Each common Threads scraping task maps to one documented endpoint with a fixed price.
| Task | Endpoint | Credits |
|---|---|---|
| Profile details, bio links and followers | GET /v1/threads/profiles/{username} | 1 credit |
| Published threads and self-threads of a profile | GET /v1/threads/profiles/{username}/threads | 1 credit |
| Replies published by a profile with parent context | GET /v1/threads/profiles/{username}/replies | 1 credit |
| Single post, parent chain and direct replies | GET /v1/threads/posts/{shortcode} | 1 credit |
| Top posts, recent posts and profiles by keyword | GET /v1/threads/search | 2 credits |
Your own scraper or IGramAPI
| Your own scraper | IGramAPI | |
|---|---|---|
| What you run | A headless browser or HTTP client, parsers, a scheduler and retries | Nothing: HTTPS calls to one API |
| Login prompts, CAPTCHAs and blocks | Yours to detect and work around | Handled on our side; you get JSON or a documented error code |
| When the site changes | Your parsers break until you fix them | We adapt; your code keeps the same fields |
| Output | Whatever your parser extracts | Documented JSON with an OpenAPI schema |
| Your accounts | Logged-in scraping can get them restricted | None of yours is used |
| Cost | Servers, IP addresses, accounts and engineering time | 100 free credits a month, then down to about ₹18 per 1,000 credits |
| Control | Any field you can see on the page | The endpoints listed on this page, public data only |
Every Threads endpoint and its price
| Endpoint | Credits | Available on |
|---|---|---|
| Profile details by username or URL | 1 | All plans |
| Posts and self-threads of a profile (per page) | 1 | All plans |
| Replies of a profile with parent context (per page) | 1 | All plans |
| Single post with parent chain and replies | 1 | All plans |
| Search top posts, recent posts or profiles | 2 | All plans |
Errors on our side (HTTP 5xx) and invalid requests are refunded automatically; a lookup that completes with "not found" or "private" costs its credits. Threads API pricing.
Limitations
- Public data only: private Threads accounts and follower lists behind a login are never returned.
- Reply results reflect the conversation threads Threads surfaces publicly on the post page.
- Media and avatar CDN links are temporary URLs served by Meta's CDN.
Get started in three steps
- Create a free account and confirm your email.
- Create an API key in the dashboard and keep it on your server.
- Run the cURL above with your key. The quickstart and the Threads API overview cover the rest.
Questions
Is this a scraper or an API?
It is a hosted REST API. You call HTTPS endpoints with your API key and receive typed JSON back with parent chains, self-threads and replies already structured.
Do I need a Threads account or OAuth token?
No. You only need an IGramAPI key, and all 5 Threads endpoints work on every plan including Free.
Does it support both threads.com and threads.net links?
Yes. Both domains work across /v1/threads/profiles?url= and /v1/threads/posts?url=.
Can it read private Threads accounts?
No. Only public profile headers and public posts are returned.
What happens when Threads changes its web structure?
Calls can fail until we adapt. Errors on our side (HTTP 5xx) are refunded automatically with a request_id header.
Is it legal to collect public Threads data?
It depends on your country, the data and what you do with it. IGramAPI returns only information that is publicly visible on Threads and never logs in to anyone's account. You are responsible for lawful use, including privacy law (such as the GDPR or India's DPDP Act) and Threads's terms. Read our Acceptable Use Policy, and get legal advice for your use case.
Independent service, not affiliated with Threads or its owner. Use the data lawfully: Acceptable Use Policy.
Replace your Threads scraper with one API call
100 credits every month, no credit card.