# Threads Scraper — Zapi reference > Threads post detail (text, author, media, likes/replies/reposts/quotes) and first page of replies. Public, no login. **Base URL:** `https://api.zapi.ink` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zapi.ink/dashboard/keys. **Response envelope:** success `{ project, data, timestamp }` (`data` is the payload); errors `{ content, message, errors }` **Rate limit:** free tier 100 req/min and 600 req/month; paid plans at https://zapi.ink/pricing. **Related:** - Detail page: https://zapi.ink/api/social-media/threads-scraper - Category in the catalog: https://zapi.ink/?cat=social-media - Category reference: https://zapi.ink/category/social-media/llms.txt - Concise index: https://zapi.ink/llms.txt - Full reference: https://zapi.ink/llms-full.txt --- ## Threads Scraper **Category:** social-media · **Slug:** `threads-scraper` **Detail page:** https://zapi.ink/api/social-media/threads-scraper Threads post detail (text, author, media, likes/replies/reposts/quotes) and first page of replies. Public, no login. **Tags:** threads, meta, social-media ### Post Detail Threads post by URL or code: caption, author, media (image/video/carousel), like/reply/repost/quote counts, takenAt. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/social-media:threads-scraper/post` - **Cache TTL:** 300s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `url` | string | query | no | Threads post URL (threads.com / threads.net). Wajib salah satu: url atau code. | | `code` | string | query | no | Shortcode post Threads (alternatif url). | **cURL:** ```bash curl "https://api.zapi.ink/v1/social-media:threads-scraper/post?url=https%3A%2F%2Fwww.threads.com%2F%40zuck%2Fpost%2FDaKI6_uHU3T&code=DaKI6_uHU3T" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/social-media:threads-scraper/post?url=https%3A%2F%2Fwww.threads.com%2F%40zuck%2Fpost%2FDaKI6_uHU3T&code=DaKI6_uHU3T", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/social-media:threads-scraper/post?url=https%3A%2F%2Fwww.threads.com%2F%40zuck%2Fpost%2FDaKI6_uHU3T&code=DaKI6_uHU3T", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` --- ### Post Replies First page of replies (~10-12 threads) of a Threads post by URL or code, with real total reply count. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/social-media:threads-scraper/replies` - **Cache TTL:** 300s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `url` | string | query | no | Threads post URL (threads.com / threads.net). Wajib salah satu: url atau code. | | `code` | string | query | no | Shortcode post Threads (alternatif url). | | `page` | number | query | no | Halaman (publik hanya 1 halaman). | **cURL:** ```bash curl "https://api.zapi.ink/v1/social-media:threads-scraper/replies?url=https%3A%2F%2Fwww.threads.com%2F%40zuck%2Fpost%2FDaKI6_uHU3T&code=DaKI6_uHU3T&page=1" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/social-media:threads-scraper/replies?url=https%3A%2F%2Fwww.threads.com%2F%40zuck%2Fpost%2FDaKI6_uHU3T&code=DaKI6_uHU3T&page=1", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/social-media:threads-scraper/replies?url=https%3A%2F%2Fwww.threads.com%2F%40zuck%2Fpost%2FDaKI6_uHU3T&code=DaKI6_uHU3T&page=1", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` --- _Generated: 2026-10-10T21:06:26.344Z_