Douyin API: 동영상, 댓글, 라이브, 트렌드, Xingtu 크리에이터
49 Douyin endpoints covering videos, accounts, hot lists, comments, hashtags, keywords, live streams, Image posts, notes, music, Xingtu and Ocean Engine index, from $0.002 a call. No Douyin account or cookie needed.
AI에 연결
이 문장을 AI 에이전트에 붙여 넣으세요
https://okdata.online/agents.md을 읽고 okdata를 설정해 줘. 키는 환경 변수 OKDATA_API_KEY에 있어.
Claude Code, Cursor, Codex처럼 링크를 열 수 있는 AI 에이전트는 읽고 나서 스스로 설정합니다.
MCP 서버https://api.okdata.online/mcp
Ask about Douyin from Claude, Cursor and other agents: the Douyin MCP page
- 엔드포인트
- 엔드포인트 49개
- 12개 그룹, 하나의 응답 형식 · 1 곧 지원 예정
- 최저가
- $0.002부터
- 선불 잔액에서 결제되는 호출
- 최신성
- 라이브
- 순위는 최대 10분 전의 공유 스냅샷입니다
- 월 요금
- $0
- 구독이나 최소 사용 금액 없음
Douyin 전체 엔드포인트
엔드포인트별 한 행: 요청, 반환 내용, 호출 1회 비용.
동영상
9- 동영상 검색GET /v1/douyin/videos/searchPost[]$0.02
- 동영상 상세GET /v1/douyin/videos/get게시물$0.002
- 동영상 댓글GET /v1/douyin/videos/comments/listComment[]$0.002
- 동영상 재생수GET /v1/douyin/videos/metrics게시물$0.002
- 관련 동영상GET /v1/douyin/videos/relatedPost[]$0.002
- 동영상 순위GET /v1/douyin/videos/trendingPost[]$0.002
- 동영상 스크립트GET /v1/douyin/videos/transcript/get스크립트$0.044
- 동영상 화면 텍스트GET /v1/douyin/videos/screen_text/getMediaText$0.011
- Video and image filesGET /v1/douyin/videos/media/getPostMedia$0.002
계정
4인기 목록
1댓글
1해시태그
2키워드
1라이브 방송
5이미지 게시물
1노트
1Music
2- 크리에이터 검색GET /v1/douyin/xingtu/creators/searchCreator[]$0.004
- 크리에이터 단가표GET /v1/douyin/xingtu/creators/rates/getCreatorRate$0.04
- 크리에이터 프로필GET /v1/douyin/xingtu/creators/get크리에이터$0.004
- 크리에이터 오디언스GET /v1/douyin/xingtu/creators/audience/get오디언스$0.004
- 크리에이터 도달GET /v1/douyin/xingtu/creators/metricsXingtuCreatorMetrics$0.004
- 크리에이터 동영상GET /v1/douyin/xingtu/creators/videos/listXingtuCreatorPost[]$0.004
- 크리에이터 키워드GET /v1/douyin/xingtu/creators/keywords/getXingtuCreatorKeywords$0.002
- 크리에이터 점수GET /v1/douyin/xingtu/creators/scores/getXingtuCreatorScores$0.008
- 크리에이터 콘텐츠 구성GET /v1/douyin/xingtu/creators/content_mix/getXingtuCreatorContentMix$0.004
- 크리에이터 전환GET /v1/douyin/xingtu/creators/conversion/getXingtuCreatorConversion$0.004
- 마케팅 캘린더GET /v1/douyin/xingtu/campaigns/listXingtuCampaign[]$0.004
- 동영상 리포트GET /v1/douyin/xingtu/videos/get게시물$0.004
- 브랜드 트렌드GET /v1/douyin/index/brands/historyBrandHistory$0.002
- 브랜드 vs 업계GET /v1/douyin/index/brands/metricsBrandMetrics$0.002
- 계정 인기 동영상GET /v1/douyin/index/creators/videos/listPost[]$0.002
- 계정 팔로워GET /v1/douyin/index/creators/audience/get오디언스$0.002
- 계정 일평균GET /v1/douyin/index/creators/metricsIndexCreatorMetrics$0.002
- 키워드 오디언스GET /v1/douyin/index/keywords/audience/getKeywordAudience$0.002
- 키워드 트렌드GET /v1/douyin/index/keywords/historyKeywordHistory[]$0.006
- 연관 키워드GET /v1/douyin/index/keywords/relatedKeywordRelated[]$0.002
- 라이브 인기 토픽GET /v1/douyin/index/trends/listTrend[]$0.002
- 키워드별 인기 동영상GET /v1/douyin/index/videos/searchPost[]$0.002
/item 표시가 없으면 호출당 가격입니다. 플랫폼에 도달한 호출은 결과가 비어 있거나 실패해도 과금됩니다.
Douyin 데이터 활용 사례
작업마다 사용하는 엔드포인트, 실행 예시, 비용을 담은 별도 페이지가 있습니다.
크리에이터 발굴
“캠핑용품 분야의 중간 규모 크리에이터는 누구인가요?”
- 계정 프로필$0.002
- Xingtu 크리에이터 검색$0.004
- Xingtu 크리에이터 단가표$0.04
이곳의 엔드포인트 19개, $0.002부터진행 방식
콘텐츠 리서치
“이 주제의 상위 게시물에는 어떤 공통점이 있나요?”
이곳의 엔드포인트 18개, $0.002부터진행 방식
트렌드 리서치
“오늘 올라탈 만한 트렌드는 무엇인가요?”
이곳의 엔드포인트 17개, $0.002부터진행 방식
경쟁사 모니터링
“이번 주 경쟁사는 무엇을 올렸고, 어떤 게 떴나요?”
이곳의 엔드포인트 16개, $0.002부터진행 방식
상품 리서치
“베스트셀러는 가격이 얼마이고, 구매자는 무엇에 불만을 갖나요?”
- 키워드 오디언스$0.002
- 키워드 트렌드$0.006
- Xingtu 크리에이터 전환$0.004
이곳의 엔드포인트 3개, $0.002부터진행 방식
입소문
“구매자가 가장 많이 불만을 갖는 점은 무엇인가요?”
이곳의 엔드포인트 2개, $0.002부터진행 방식
스크립트
“이 채널이 추천한 상품은 무엇인가요?”
- 동영상 스크립트$0.044
- 동영상 화면 텍스트$0.011
이곳의 엔드포인트 2개, $0.011부터진행 방식
세 단계로 시작하기
The example is Douyin 동영상 검색; every Douyin endpoint is called the same way and answers in the same shape.
키 받기
콘솔에서 계정과 키를 만드세요. 새 키에는 $0.20 체험 크레딧이 제공되며 카드가 필요 없습니다.
AI에 연결하거나 직접 호출하세요
이 문장을 Claude Code, Cursor, Codex 등 링크를 열 수 있는 에이전트에 붙여 넣으면 자동으로 설정됩니다. 또는 Authorization 헤더에 키를 넣어 아래 요청을 보내세요.
https://okdata.online/agents.md를 따라 okdata를 설정해 줘. 내 okdata API 키는 다음과 같아: okd_…. 안전하게 보관하고 모든 okdata 호출에 사용하세요.
플레이스홀더를 내 키로 바꾸거나, 로그인해 키가 채워진 상태로 복사하세요.
첫 호출 해보기
항목은 data.items(단일 객체는 data.item)에, 다음 페이지는 page.next_cursor에, 과금액은 meta.billing.amount에 담겨 반환됩니다.
cURL
curl -G "https://api.okdata.online/v1/douyin/videos/search" \ -H "Authorization: Bearer $OKDATA_API_KEY" \ --data-urlencode 'query=露营装备'Python
import os import requests resp = requests.get( "https://api.okdata.online/v1/douyin/videos/search", headers={"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"}, params={"query": "露营装备"}, timeout=60, ) body = resp.json() if body["code"] != "ok": raise RuntimeError(f"{body['code']}: {body['message']} (charged: {body['charged']})") for row in body["data"]["items"]: print(row["id"], row["metrics"]["likes"], row["text"][:60]) print("cost: $" + body["meta"]["billing"]["amount"])TypeScript
const url = new URL('https://api.okdata.online/v1/douyin/videos/search'); url.searchParams.set('query', "露营装备"); const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.OKDATA_API_KEY}`, }, }); const body = await res.json(); if (body.code !== 'ok') throw new Error(`${body.code}: ${body.message}`); for (const row of body.data.items) { console.log(row.id, row.metrics.likes, row.text.slice(0, 60)); } console.log('cost: $' + body.meta.billing.amount);MCPtools/call
{ "name": "call", "arguments": { "capability": "douyin.videos.search", "query": "露营装备" } }
Douyin API 관련 질문
Douyin API 비용은?
Each of the 49 endpoints has its own price, from $0.002 to $0.044 a call; the cheapest is Douyin 댓글 답글 at $0.002. You pay per call from a prepaid balance, with no subscription. A call that reaches the platform is charged even when it comes back empty, not found or failed; one stopped before that, such as for bad parameters, is free.
Douyin 계정이나 쿠키가 필요한가요?
No. You call https://api.okdata.online with one okdata key and get public Douyin data back; you never use your own Douyin account, cookie or QR login.
데이터는 얼마나 최신인가요?
A request reads Douyin when you call, unless the same request was answered a short while ago: then the answer can come from the result cache, with meta.cached: true and meta.fetched_at saying when it was read (lists and searches up to 30 minutes old, one post or product up to 1 hour, profiles up to 6 hours). Hot lists come from a shared snapshot that is at most 10 minutes old.
AI 에이전트가 Douyin API를 쓸 수 있나요?
네. https://api.okdata.online/mcp 에서 MCP 서버를 연결하세요. find 도구가 이 엔드포인트 49개를 가격과 함께 보여 주고, call 도구가 내 키로 실행합니다.
무료로 체험할 수 있나요?
New accounts get $0.20 of trial credit with no card: enough for 100 calls to Douyin 댓글 답글.
