Threads 사용자 게시물 API
Threads 사용자의 최근 글을 기본 1크레딧에 보통 15개 반환합니다. limit를 15보다 크게(최대 50) 보내면 같은 피드를 더 깊게 모으고, 조회수와 표시 이름도 채워집니다.
GET /v1/threads/user/postsThreads 사용자 게시물 API는 언제 쓰나요
최근 활동을 빠르게 볼 때 사용하세요. 기본 호출은 약 15개의 한 페이지입니다. 같은 엔드포인트에서 더 예전 글까지 가려면 limit를 15보다 크게 보내고, 키워드로 찾으려면 search를 쓰세요. 인용 글은 인용된 원글이 post.ext.quoted_post에 담깁니다.
API 레퍼런스 영문 원문 보기
Returns the most recent posts from a Threads user. By default you get the window the upstream bundles, typically about 15 posts, for 1 credit. Each post includes the text content, like count, reply count, repost count, media attachments, and creation timestamp. Carousel posts return every slide as an array in content.media_urls; video posts return a playable video URL there with the cover frame in content.thumbnail_url. Posts filed under a Threads topic tag also carry that tag name at post.ext.topic_tag (e.g. bali, dokter gigi) with its stable id at post.ext.topic_tag_id; both are absent on untagged posts, which are the majority. Quote posts are fully resolved: a post that quotes another usually carries no caption or media of its own, so the text and video shown on its page are returned under post.ext.quoted_post as { id, url, author, text, media_urls, thumbnail_url }. That attachment belongs to a different account, so it is kept there rather than merged into content, and post.content always stays this post's own content. The field is absent on posts that are not quote posts. post.flags.pinned says whether the author pinned the post to their profile. post.ext.quote_count and post.ext.reshare_count complete the reshare picture that engagement.shares (plain reposts) only starts. A call with no limit, or limit at 15 or below, is that same window for 1 credit, and engagement.views is null on those rows: the default source does not publish a view count on list items. Send limit above 15, up to 50, to collect more of the same feed from a second source: measured 09/09/2026 on @zuck, the default call returned 15 and limit=50 returned 32 top-level posts going back to 25/09/2025. That deeper read is metered at 3 credits per post returned, and it is the lane that carries engagement.views and post.author.display_name (the default window has neither). To get both on the default window instead, send include=engagement: each post is looked up on /v1/threads/post by its permalink in the same call, and only the view count and the display name are copied onto the row, so nothing already on it changes and computed.engagement_rate is filled from the views it gains. It costs 1 credit per post filled, adds 4 to 12 seconds (never more than 15), and a data.hydration block reports the rows looked up, filled and served from cache and the credits held and kept. A post the lookup could not fill is refunded and named by data._warnings: ["engagement_partial"]. Send include=country (alone or as include=engagement,country) to fill post.ext.author_country with the country the account declares on its Instagram account, as an ISO code such as ZA: a Threads account is its Instagram account, and the country comes from Instagram's "About this account" panel, looked up once for the feed at 2 credits; an account that declares none is free and keeps a null. A response is still a single page with no cursor. For a keyword search of older posts, use /v1/threads/search with a date window or /v1/search/everywhere. An age-restricted profile is a free 404 RESOURCE_NOT_FOUND: Threads shows it only to signed-in viewers who meet its age limit, so retrying will not help.
95개 플랫폼을 하나의 API로 제공합니다
사용자 게시물 API로 무엇을 할 수 있을까요
사용자 게시물 엔드포인트가 통합 스키마와 계산 필드를 담은 Threads 데이터를 한 번의 요청으로 보내드려요. 스크래핑 인프라를 직접 만들거나 유지할 필요가 없어요.
요청 예시
# GET /v1/threads/user/posts: Metered: holds 1 credit per call up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 44: this endpoint's measured p99 latency x 1.5.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 44 --retry 3 -o response.json \
-H "x-api-key: YOUR_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
"https://www.socialcrawl.dev/v1/threads/user/posts?handle=zuck&since=2026-09-01&trim=true" && cat response.json# GET /v1/threads/user/posts: Metered: holds 1 credit per call up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid
import requests
API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 44 # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/threads/user/posts"
def backoff(attempt):
# Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
return 2 ** attempt * (0.5 + random.random() / 2)
def socialcrawl(params):
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
idempotency_key = str(uuid.uuid4())
for attempt in range(MAX_RETRIES + 1):
try:
res = requests.get(
URL,
params=params,
headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
timeout=TIMEOUT_S,
)
body = res.json()
except (requests.RequestException, ValueError):
# A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if attempt == MAX_RETRIES:
raise
time.sleep(backoff(attempt))
continue
if body["success"]:
return body
error = body["error"]
# Branch on error["type"], never on the message text.
if error["type"] == "RESOURCE_NOT_FOUND":
return None # refunded: nothing to read
retry_after = res.headers.get("Retry-After")
# SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
# Retry-After (seconds) wins; otherwise back off.
time.sleep(float(retry_after) if retry_after else backoff(attempt))
params = {
"handle": "zuck",
"since": "2026-09-01",
"trim": "true",
}
body = socialcrawl(params)
if body is not None:
print(body["data"])// GET /v1/threads/user/posts: Metered: holds 1 credit per call up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 44_000; // this endpoint's measured p99 latency x 1.5.
const MAX_RETRIES = 3;
type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
| { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
| { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);
async function socialcrawl(url: URL) {
// One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
const idempotencyKey = crypto.randomUUID();
for (let attempt = 0; ; attempt++) {
let res: Response;
let body: SocialCrawlResponse;
try {
res = await fetch(url, {
headers: {
"x-api-key": API_KEY,
"Idempotency-Key": idempotencyKey,
},
signal: AbortSignal.timeout(TIMEOUT_MS),
});
body = (await res.json()) as SocialCrawlResponse;
} catch (error) {
// A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if (attempt >= MAX_RETRIES) throw error;
await sleep(backoffMs(attempt));
continue;
}
if (body.success) return body;
// Branch on error.type, never on the message text.
if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
const retryAfter = res.headers.get("Retry-After");
// SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
}
// Retry-After (seconds) wins; otherwise back off.
await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
}
}
const url = new URL("https://www.socialcrawl.dev/v1/threads/user/posts");
url.searchParams.set("handle", "zuck");
url.searchParams.set("since", "2026-09-01");
url.searchParams.set("trim", "true");
const body = await socialcrawl(url);
if (body) console.log(body.data);Call GET https://www.socialcrawl.dev/v1/threads/user/posts from this project.
Request:
- Query parameters:
- handle: zuck
- since: 2026-09-01
- trim: true
- Header x-api-key: read the key from the SOCIALCRAWL_API_KEY environment variable. Never hard-code it, commit it or put it in a URL.
- Header Idempotency-Key: a fresh UUID per request, reused on every retry of that request, so a retried call is never charged twice.
- Client timeout: 44 seconds per attempt (this endpoint's measured p99 latency x 1.5).
Price: Metered: holds 1 credit per call up front and refunds what the call does not use. Cache hits are free and failed calls are refunded. Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
Response:
- Success: { success: true, data, credits_used, credits_remaining, request_id, cached }.
- Failure: { success: false, error: { type, message, retryable }, request_id }. Branch on error.type, never on the message text.
- RESOURCE_NOT_FOUND means the target does not exist. It is refunded, so treat it as an empty result.
- Retry only when error.retryable is true, at most 3 times: wait Retry-After seconds when the header is present, otherwise back off exponentially with jitter. A SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint, so do not retry it. Retry a timed-out attempt with the same Idempotency-Key.
Before writing code, read this endpoint's live contract (0 credits):
GET https://www.socialcrawl.dev/v1/utility/endpoint?id=threads/user/posts함께 보내면 좋은 파라미터
since=2026-09-01이 날짜 이후에 올라온 게시물만 반환합니다. 매일 조회할 때 새 게시물이 있는 페이지만 과금됩니다.trim=true가격은 같습니다. 용량이 큰 원본 필드를 빼서 응답이 가벼워집니다.
파라미터
| 파라미터 | 필수 | 설명 |
|---|---|---|
| handle | 예 | Threads username without the @ symbol |
| since | 아니오 | Only posts published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Older posts are left off the page, and the page that reaches one ends the walk: `next_cursor` is not returned and `pagination.stopped_at` is `since`. Pinned posts sit out of date order and never end the walk. The page still costs what a page costs, so a daily poll pays for the pages it walks and no more. |
| stop_at_id | 아니오 | The id (`post.id`) or URL (`post.url`) of the newest post you already hold. The page stops just before it: that post and everything after it are left off, `next_cursor` is not returned, and `pagination.stopped_at` is `known_id`. A pinned post never counts as the stop point. If it is not on this page the page is returned in full with its cursor, so keep walking. `pagination.stopped_at` is `end` when the list ran out first and `null` while there is more to walk. |
| trim | 아니오 | Ask the upstream for a stripped record. This is a real shape change, not just less whitespace: a trimmed row carries only the id, text, shortcode, like count, timestamp and author, so media, reply count, share count, view count, topic tag, pinned flag and quoted post all come back null. Same 1 credit either way, so send it only when the text and the like count are all you need. Ignored when `limit` is above 15, because the deeper source has no trimmed mode. |
| limit | 아니오 | How many posts to collect, 1 to 50. Leave it off, or send 15 or less, and nothing changes: you get the bundled window for exactly 1 credit. Above 15 the posts come from a deeper source and the call is metered at 3 credits per post actually returned, so an account with only 20 public posts costs 60 credits however high you set this. |
| include | 아니오 | Comma list of `engagement` and `country`. `engagement` fills `engagement.views` and `post.author.display_name` on each post of the default window by looking it up on `/v1/threads/post` in the same call. 1 credit per post filled from a fresh lookup (15 at most); posts served from that lookup's cache (10 minutes) and posts it could not fill are free. Adds 4 to 12 seconds, never more than 15. Beside a `limit` above 15 it costs nothing, because those rows already carry both fields. `country` fills `post.ext.author_country` with the country the author declares on their Instagram account (a Threads account is its Instagram account), as an ISO 3166-1 alpha-2 code such as `ZA`, read from Instagram's "About this account" panel. It is the account's declared country, not where a post was written. 2 credits per author it fills (an author on several posts is looked up once); an author who declares no country, or who is served from that lookup's cache, is free. |
| until | 아니오 | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`. |
Threads 사용자 게시물 API는 무엇을 돌려주나요
모든 응답은 하나의 통합 스키마를 따라요. 크레딧을 쓰기 전에 어떤 필드가 돌아오는지, 실제 응답 본문 그대로 확인해 보세요.
응답 예시 보기
{
"success": true,
"platform": "threads",
"endpoint": "/v1/threads/user/posts",
"data": {
"items": [
{
"post": {
"id": "3996155940894885511",
"url": "https://www.threads.com/@zuck/post/Dd1MqfcG0aH",
"content": {
"text": "We believe superintelligence will create significant new opportunities for all people and businesses. Meta already serves billions of people at scale and helps hundreds of millions of businesses reach customers. Today we are starting the next major pillar of our business, Meta Enterprise Platform, to help businesses use AI to grow and transform in new ways as well.",
"media_urls": null,
"thumbnail_url": null,
"duration_seconds": null
},
"author": {
"username": "zuck",
"display_name": null,
"avatar_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gHAvvgkHO46pUE5q2vnmLUY0pl3DdUZUNRT5E_7gpcGIKrJYr7l1iiarldDUU1sIOw&_nc_ohc=zzy0VpJKOQMQ7kNvwERh1-I&_nc_gid=fg32RurBuZNT2dAjc8sO0A&edm=AA3DLpEBAAAA&ccb=7-5&oh=00_AQOhnegtcwSCQp8FcPfGkgAoXntv2yJUmaxHOEoIUibnbw&oe=6AC595EB&_nc_sid=d92198",
"verified": true
},
"engagement": {
"views": null,
"likes": 2616,
"comments": 2445,
"shares": 162,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-09-28T12:35:32.000Z",
"ext": {
"published_at_epoch": 1790598932,
"quote_count": 150,
"topic_tag": null,
"reshare_count": 174,
"topic_tag_id": null
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null,
"vs_creator": {
"ratio": 1.42,
"metric": "likes",
"reason": null
}
}
},
{
"post": {
"id": "3994109866205639942",
"url": "https://www.threads.com/@zuck/post/Ddt7cL5EfUG",
"content": {
"text": "Agrippa said it's time to get back to work 😎",
"media_urls": [
"https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/823965183_17989304049103224_2823186847710225415_n.webp?_nc_cat=110&ig_cache_key=Mzk5NDA5NjMwNTI0NDIwMTIwNQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjE2MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=K_fp4afjatQQ7kNvwH2Fovp&_nc_oc=Adr8t0CqBhk51DpFoXvBN0y6WlNAA91kXSCIZr9_TLwTAjGIWxSybOyGTkfarC5uTBk&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_gid=fg32RurBuZNT2dAjc8sO0A&_nc_ss=7a22e&oh=00_AQMF3bXQ-J5nTOAVt2dacbGe5N-D3O91MUhHIrWNVdgzhA&oe=6AC5AD45",
"https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/821972247_17989304061103224_4453555141637471915_n.webp?_nc_cat=106&ig_cache_key=Mzk5NDA5NjMwNTc1NTg1Mjg1OQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTYzOC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=0Rs1QdoBv1UQ7kNvwE8x9rv&_nc_oc=Adr8fF1MbaZ6uiEUgDRMGlI-MgbruDe1v1W0ROWxeCM0X4aDgXFq9G5qw323lztDcTo&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_gid=fg32RurBuZNT2dAjc8sO0A&_nc_ss=7a22e&oh=00_AQOA-J2ib-VBaThFhtBNhlYxKCwFPBoIOGemknxQClK3XQ&oe=6AC59C1C"
],
"thumbnail_url": null,
"duration_seconds": null
},
"author": {
"username": "zuck",
"display_name": null,
"avatar_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gHAvvgkHO46pUE5q2vnmLUY0pl3DdUZUNRT5E_7gpcGIKrJYr7l1iiarldDUU1sIOw&_nc_ohc=zzy0VpJKOQMQ7kNvwERh1-I&_nc_gid=fg32RurBuZNT2dAjc8sO0A&edm=AA3DLpEBAAAA&ccb=7-5&oh=00_AQOhnegtcwSCQp8FcPfGkgAoXntv2yJUmaxHOEoIUibnbw&oe=6AC595EB&_nc_sid=d92198",
"verified": true
},
"engagement": {
"views": null,
"likes": 5032,
"comments": 497,
"shares": 259,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-09-25T16:50:21.000Z",
"ext": {
"published_at_epoch": 1790355021,
"quote_count": 47,
"topic_tag": null,
"reshare_count": 140,
"topic_tag_id": null
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null,
"vs_creator": {
"ratio": 2.74,
"metric": "likes",
"reason": null
}
}
}
],
"total": null,
"creator_baseline": {
"baseline": {
"rows_used": 10,
"median_views": null,
"median_likes": 2226,
"median_comments": 456,
"median_gap_hours": 47.43,
"median_saves_per_view": null,
"median_shares_per_view": null
},
"reason": null,
"rows_used": 10,
"cadence": "measured"
},
"dropped": 0
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": null,
"has_more": false,
"page_size": 10,
"stopped_at": "since"
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T15:39:56.508Z",
"redacted": true
}통합 응답 구조를 보여 주는 실제 샘플이에요. 필드 값은 조회한 대상에 따라 달라져요.
Threads 사용자 게시물 API는 어떻게 동작하나요
API 키와 함께 GET 요청을 보내면, 통합 스키마와 계산 필드를 담은 깔끔한 JSON이 돌아와요.
메서드
GET
응답 형식
JSON
소셜 미디어 데이터를 몇 초 만에 수집하는 방법
개발자를 위한 가장 빠른 소셜 미디어 스크래핑 API. 월간 활성 사용자 100억 명 이상을 포괄하는 95개 플랫폼에서 프로필, 게시물, 댓글, 분석 데이터를 수집하세요.
모든 플랫폼을 하나의 스키마로
동일한 응답 구조로 95개 플랫폼을 조회하세요. 연동은 한 번이면 충분합니다.
단순 수집을 넘어 계산된 필드 제공
엔드포인트가 해당 지표를 지원하고 계산에 필요한 원본 값이 있을 때, 정규화된 레코드에 engagement_rate, estimated_reach, content_category, language를 함께 담아 바로 활용할 수 있습니다.
코드 한 줄 쓰기 전에, 데이터부터
Visual Data Explorer에 URL만 붙여넣으면 결과 카드와 정형화된 테이블, CSV 내보내기를 바로 사용할 수 있습니다.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}자주 묻는 질문
API, 요금제, 기능에 대한 질문과 답변입니다.
문의하기Threads 사용자의 최근 게시물은 어떻게 가져오나요?
각 게시물에는 어떤 필드가 포함되나요?
응답을 간결하게 받을 수 있나요?
영상과 이미지 게시물도 지원하나요?
게시물 데이터는 얼마나 최신인가요?
AI에게 SocialCrawl을 물어보세요
Threads 사용자 게시물 데이터, 가져올 준비 되셨어요?
API 키 받고 60초 안에 Threads 데이터를 받아 가세요.
