TikTok Profile Full API
TikTok ํ๋กํ์ ์ต๊ทผ ์์ 10๊ฐ์ ๊ณ์ฐ๋ ์งํ๋ฅผ ์น์ด ๋๋ ค์ค๋๋ค. ์กฐํ์ ๊ธฐ์ค๊ณผ ํ๋ก์ ๊ธฐ์ค ์ฐธ์ฌ์จ, ๊ฒ์ ์ฃผ๊ธฐ, ๊ฐ์ฅ ๋ฐ์ ์ข์ ๊ฒ์๋ฌผ, ํฌ๋งท ๊ตฌ์ฑ์ด ํจ๊ป ๋์ต๋๋ค.
GET /v1/tiktok/profile/full2026๋ 10์ ์ ๋ฐ์ดํธSocialCrawl ํ์ด ์ง์ ๊ด๋ฆฌํด์
TikTok Profile Full API๋ ์ธ์ ์ฐ๋์
๊ณ์ ๊ณผ ์ต๊ทผ ๊ฒ์๋ฌผ, ์ฐธ์ฌ์จ ๊ณ์ฐ์ ์ธ ๋ฒ ๋๋ ๋ถ๋ฅด์ง ์๊ณ ํ ๋ฒ์ ๋ฐ๊ณ ์ถ๋ค๋ฉด profile ๋์ ์ฌ์ฉํ์ธ์.
API ๋ ํผ๋ฐ์ค ์๋ฌธ ์๋ฌธ
Fans out to the TikTok profile and recent-posts endpoints in parallel and returns the unified author, the recent-post list, and computed metrics: avg_engagement_rate, avg_engagement_rate_by_followers, posting cadence (with the window it was measured over), the top post, and the format mix. avg_engagement_rate is view-based: the mean of each post's (likes + comments + shares) / views, so only posts that carry a view count contribute, and it is null when none does. avg_engagement_rate_by_followers is the mean of likes + comments per post divided by the account's follower count, over every post that carries both, so it covers posts with no view count. One call reads one page of recent posts, which on TikTok is 10 videos, and computes the metrics over that page: posts can shorten the window but not lengthen it past one page, and _warnings says so when fewer posts came back than posts asked for. Pass posts_cursor back as cursor to read the next page, 5 credits a call. The profile leg is the only critical leg: if posts can't be fetched the call still returns the profile with post-dependent metrics null, and every leg's status is surfaced in legs[]. Flat 5 credits.
69๊ฐ ํ๋ซํผ์ ๋ณ๋ ฌ๋ก ๊ฒ์ํฉ๋๋ค
Profile Full API๋ก ๋ฌด์์ ํ ์ ์์๊น์
Profile Full ์๋ํฌ์ธํธ๊ฐ ํตํฉ ์คํค๋ง์ ๊ณ์ฐ ํ๋๋ฅผ ๋ด์ TikTok ๋ฐ์ดํฐ๋ฅผ ํ ๋ฒ์ ์์ฒญ์ผ๋ก ๋ณด๋ด๋๋ ค์. ์คํฌ๋ํ ์ธํ๋ผ๋ฅผ ์ง์ ๋ง๋ค๊ฑฐ๋ ์ ์งํ ํ์๊ฐ ์์ด์.
์์ฒญ ์์
# GET /v1/tiktok/profile/full: 5 credits per call. 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 36: 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 36 --retry 3 -o response.json \
-H "x-api-key: YOUR_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
"https://www.socialcrawl.dev/v1/tiktok/profile/full?handle=mrbeast&posts=25" && cat response.json# GET /v1/tiktok/profile/full: 5 credits per call. 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 = 36 # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/tiktok/profile/full"
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": "mrbeast",
"posts": "25",
}
body = socialcrawl(params)
if body is not None:
print(body["data"])// GET /v1/tiktok/profile/full: 5 credits per call. 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 = 36_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/tiktok/profile/full");
url.searchParams.set("handle", "mrbeast");
url.searchParams.set("posts", "25");
const body = await socialcrawl(url);
if (body) console.log(body.data);ํ๋ผ๋ฏธํฐ
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| handle | ์๋์ค | TikTok username or handle, with or without a leading @. One of the identity params is required. |
| user_id | ์๋์ค | Numeric TikTok user id. Use it instead of the handle when you already have the stable id, which survives a rename. One of the identity params is required. |
| posts | ์๋์ค | How many of the fetched recent posts to return and compute the metrics over (1-100, default 25). One call reads one page, which on TikTok is 10 videos, so a larger value returns that page and a `_warnings` note; pass posts_cursor back as cursor for the next page. |
| cursor | ์๋์ค | Pass a prior response's posts_cursor to read the next page of posts. Each call is a separate 5-credit call whose metrics cover that page only. |
| include | ์๋์ค | CSV subset of posts,computed (default both). include=computed omits the raw posts[] array from the response to save payload. The metrics are computed from the same fetched posts either way, so they do not change. |
TikTok Profile Full API๋ ๋ฌด์์ ๋๋ ค์ฃผ๋์
๋ชจ๋ ์๋ต์ ํ๋์ ํตํฉ ์คํค๋ง๋ฅผ ๋ฐ๋ผ์. ํฌ๋ ๋ง์ ์ฐ๊ธฐ ์ ์ ์ด๋ค ํ๋๊ฐ ๋์์ค๋์ง, ์ค์ ์๋ต ๋ณธ๋ฌธ ๊ทธ๋๋ก ํ์ธํด ๋ณด์ธ์.
์๋ต ์์ ๋ณด๊ธฐ
{
"success": true,
"platform": "tiktok",
"endpoint": "/v1/tiktok/profile/full",
"data": {
"profile": {
"id": "6614519312189947909",
"username": "mrbeast",
"display_name": "MrBeast",
"avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcenter:1080:1080.webp?dr=10399&refresh_token=6114ce54&x-expires=1791115200&x-signature=%2BMOUibMYf30LHXW%2FEgd7ElHMHMI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a",
"bio": "Checkout My New Book!๐",
"verified": true,
"followers": 142653599,
"following": 355,
"posts_count": 481,
"likes_count": 1505689739,
"url": "https://www.tiktok.com/@mrbeast",
"private": false,
"joined_at": null,
"ext": {
"business_category": "Public Figure",
"bio_link": "http://themostdangerousgames.com"
},
"location": "GB"
},
"posts": [
{
"post": {
"id": "7689501576511245598",
"url": "https://www.tiktok.com/@mrbeast/video/7689501576511245598",
"content": {
"text": "โguys donโt laughโ ๐ญ @Erling Haaland ",
"media_urls": "https://v16m.tiktokcdn-us.com/4cb9137a919767e7042103e625abd469/6abffacc/video/tos/useast8/tos-useast8-ve-0068c004-tx2/oIR2I1yuW2IiCmt3iAEsqwxfhNSA2iIBKcqAx0/?a=1233&bti=MzU8OGYpNHYpNzo5ZjEuLjpkLTptNDQwOg%3D%3D&&bt=872&ft=gKfIn8s6ogVP12NvnnaqzIxRDUBO63_45SY&mime_type=video_mp4&rc=PDY1O2hkNzk0M2U3OjQ6OUBpamRvNWo5cmo8ZDMzaTczNEAyMTFfMi4zXy0xNi8tMTJiYSNsbS5rMmRzZW9hLS1kMTJzcw%3D%3D&vvpl=1&l=202610021241109E7CBD69C6843C1EB916&btag=e000b0000",
"thumbnail_url": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/ogkhxwBxEiqN1rJi0m1C2BQAWI3IqczfAAuiWI~tplv-tiktokx-cropcenter-q:300:400:q70.heic?dr=8596&refresh_token=7b7c8883&x-expires=1791028800&x-signature=iHdA3tsOlmDyo9aY%2BQya%2FrqnjHo%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=132edbea&idc=useast8&biz_tag=tt_video&s=PUBLISH&sc=cover",
"duration_seconds": 6.334
},
"author": {
"username": "mrbeast",
"display_name": "MrBeast",
"avatar_url": "https://example.com/redacted",
"verified": true
},
"engagement": {
"views": 22846963,
"likes": 1674980,
"comments": 32961,
"shares": 38901,
"saves": 68320
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-09-25T15:53:49.000Z",
"ext": {
"music_id": "7689501677284117279",
"author_id": "6614519312189947909",
"author_followers": 142633765,
"download_count": 1503,
"published_at_epoch": 1790351629,
"on_screen_texts": [
"YouTubers locking into a super serious shoot"
]
}
},
"computed": {
"engagement_rate": 0.076458,
"language": null,
"content_category": "other",
"estimated_reach": 27416356
}
},
{
"post": {
"id": "7689134313044184351",
"url": "https://www.tiktok.com/@mrbeast/video/7689134313044184351",
"content": {
"text": "Messing around in the @MrBeast Lab ",
"media_urls": "https://v16m.tiktokcdn-us.com/3a4bf492fa1584555fb5ea854a91a732/6abffaff/video/tos/useast8/tos-useast8-ve-0068c002-tx2/o4DpAuViav3EaBcVGKJwoAEg1yrQIRVpBSi5S/?a=1233&bti=M0BzMzU8OGYpNzo5Zi5wIzEuLjpkNDQwOg%3D%3D&&bt=909&ft=gKfIn8s6ogVP12NvnnaqzIxRDUBO63_45SY&mime_type=video_mp4&rc=ZTk7OjQ7OTQzPGU1NjY1PEBpajM4cWw5cmRuZDMzaTczNEAxMzMtNS80NS4xMWExY19gYSNwXzIuMmRrZm5hLS1kMTJzcw%3D%3D&vvpl=1&l=202610021241109E7CBD69C6843C1EB916&btag=e00088000",
"thumbnail_url": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oEdIlJVyFSjDIVNILpAeEQgG1AOqaeWCkaeVvI~tplv-tiktokx-cropcenter-q:300:400:q70.heic?dr=8596&refresh_token=477f00c6&x-expires=1791028800&x-signature=LLI2EWltc%2FAUreTFEnsGUwMuVQA%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=132edbea&idc=useast8&biz_tag=tt_video&s=PUBLISH&sc=cover",
"duration_seconds": 57.8
},
"author": {
"username": "mrbeast",
"display_name": "MrBeast",
"avatar_url": "https://example.com/redacted",
"verified": true
},
"engagement": {
"views": 4441960,
"likes": 272422,
"comments": 13896,
"shares": 5014,
"saves": 12947
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-09-24T16:08:22.000Z",
"ext": {
"music_id": "7689134340546038559",
"author_id": "6614519312189947909",
"author_followers": 142633765,
"download_count": 541,
"published_at_epoch": 1790266102
}
},
"computed": {
"engagement_rate": 0.065586,
"language": null,
"content_category": "other",
"estimated_reach": 5330352
}
}
],
"computed": {
"avg_engagement_rate": 0.1007045,
"avg_engagement_rate_by_followers": 0.029072,
"posts_per_week": 2.8,
"cadence_window_days": 25,
"top_post": {
"url": "https://www.tiktok.com/@mrbeast/video/7687696606044376350",
"engagement_total": 126812149
},
"format_mix": {
"video": 10
}
},
"posts_cursor": "1788193182304",
"legs": [
{
"endpoint": "/v1/tiktok/profile",
"status": 200,
"credits_used": 1,
"latency_ms": 1303,
"error": null
},
{
"endpoint": "/v1/tiktok/profile/videos",
"status": 200,
"credits_used": 1,
"latency_ms": 1671,
"error": null
}
],
"_warnings": [
"computed.engagement_rate: author ratio exceeded 1.0 (raw: 10.554867); returned null. A lifetime likes/followers ratio is not a real engagement rate",
"posts=25 was requested and 10 came back: one call reads one page of recent posts, and the metrics are computed over that page. Pass posts_cursor back as cursor to read the next page."
]
},
"credits_used": 5,
"request_id": "req_example000000",
"cached": false,
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T12:41:14.736Z",
"redacted": true
}ํตํฉ ์๋ต ๊ตฌ์กฐ๋ฅผ ๋ณด์ฌ ์ฃผ๋ ์ค์ ์ํ์ด์์. ํ๋ ๊ฐ์ ์กฐํํ ๋์์ ๋ฐ๋ผ ๋ฌ๋ผ์ ธ์.
TikTok Profile Full API๋ ์ด๋ป๊ฒ ๋์ํ๋์
API ํค์ ํจ๊ป GET ์์ฒญ์ ๋ณด๋ด๋ฉด, ํตํฉ ์คํค๋ง์ ๊ณ์ฐ ํ๋๋ฅผ ๋ด์ ๊น๋ํ JSON์ด ๋์์์.
๋ฉ์๋
GET
์๋ต ํ์
JSON
์์ ๋ฏธ๋์ด ๋ฐ์ดํฐ๋ฅผ ๋ช ์ด ๋ง์ ์์งํ๋ ๋ฐฉ๋ฒ
๊ฐ๋ฐ์๋ฅผ ์ํ ๊ฐ์ฅ ๋น ๋ฅธ ์์ ๋ฏธ๋์ด ์คํฌ๋ํ API. ์๊ฐ ํ์ฑ ์ฌ์ฉ์ 100์ต ๋ช ์ด์์ ํฌ๊ดํ๋ 69๊ฐ ํ๋ซํผ์์ ํ๋กํ, ๊ฒ์๋ฌผ, ๋๊ธ, ๋ถ์ ๋ฐ์ดํฐ๋ฅผ ์์งํ์ธ์.
๋ชจ๋ ํ๋ซํผ์ ํ๋์ ์คํค๋ง๋ก
๋์ผํ ์๋ต ๊ตฌ์กฐ๋ก 69๊ฐ ํ๋ซํผ์ ์กฐํํ์ธ์. ์ฐ๋์ ํ ๋ฒ์ด๋ฉด ์ถฉ๋ถํฉ๋๋ค.
๋จ์ ์์ง์ ๋์ด ๊ณ์ฐ๋ ํ๋ ์ ๊ณต
์๋ํฌ์ธํธ๊ฐ ํด๋น ์งํ๋ฅผ ์ง์ํ๊ณ ๊ณ์ฐ์ ํ์ํ ์๋ณธ ๊ฐ์ด ์์ ๋, ์ ๊ทํ๋ ๋ ์ฝ๋์ 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, ์๊ธ์ , ๊ธฐ๋ฅ์ ๋ํ ์ง๋ฌธ๊ณผ ๋ต๋ณ์ ๋๋ค.
๋ฌธ์ํ๊ธฐ/v1/tiktok/profile/full ํ ๋ฒ ํธ์ถ๋ก ๋ฌด์์ ๋ฐ์๋ณด๋์?
ํฌ๋ฆฌ์์ดํฐ์ ํ๋กํ์ ์์, ๋ถ์์ ํ ๋ฒ์ ๋ฐ์ผ๋ ค๋ฉด์?
์ด๋ค ๋ถ์ ์งํ๋ฅผ ๊ณ์ฐํด ์ฃผ๋์?
์ด ์๋ํฌ์ธํธ๋ ์๊ธ์ด ์ผ๋ง์ธ๊ฐ์?
์์์ ๋ช ๊ฐ๊น์ง ๋ฐ๊ณ ๋ ๊น๊ฒ ์ด์ด๋ณผ ์ ์๋์?
์ต๊ทผ ์์์ด ์๋ ํฌ๋ฆฌ์์ดํฐ๋ ์ด๋ป๊ฒ ๋๋์?
AI์๊ฒ SocialCrawl์ ๋ฌผ์ด๋ณด์ธ์
TikTok Profile Full ๋ฐ์ดํฐ, ๊ฐ์ ธ์ฌ ์ค๋น ๋์ จ์ด์?
API ํค ๋ฐ๊ณ 60์ด ์์ TikTok ๋ฐ์ดํฐ๋ฅผ ๋ฐ์ ๊ฐ์ธ์.
๐ค AI ์์ด์ ํธ๋ LLM์ด์ ๊ฐ์? ์ด ํ์ด์ง๋ฅผ markdown์ผ๋ก ์ฝ์ด๋ณด์ธ์
