Douyin소셜 미디어Douyin Ocean Engine 지수 API
Douyin 지수: 키워드 트렌드 API
The search index and composite index of one keyword, or of up to five at once, day by day on Douyin over a date range, from 巨量算数 (the Douyin index), with the daily averages of the period, the one before and a year earlier in ext (view=full; null where the index has no figures for that period). Days the index has not published yet (usually the last one or two) are null. An index is the platform’s score, not a count. One item per keyword the index covers; others are left out.
GEThttps://api.okdata.online/v1/douyin/index/keywords/history
다른 이름douyin keyword indexdouyin search indexOcean Engine 지수 API
- 가격
- $0.006
- 호출당 · 잘못된 파라미터는 무료
- 반환
- KeywordHistory 목록
- the whole list in one answer, or several in one POST
- 호출이 실패하면
- 1회만 과금
- A failed call is retried on our side first. A call that reached the platform is charged once even if it fails; bad parameters are free.
- 상태
- 미리보기
- It may still change; any change is announced beforehand.
결제About 1000 calls fetch 1,000 results: $6.00 in all. New accounts get $0.20 of credit, no card needed: 33 calls to this endpoint. 과금 규칙 →
Playground에서 실행파라미터
| 이름 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
keyword | string | 아니요 | 키워드 1개(쉼표 없이). keyword 또는 keywords를 지정하세요. | 咖啡 |
keywords | string[] | 아니요 | One to five keywords, each without a comma. Give keyword or keywords. | 咖啡,CityWalk |
since | string | 예 | The first day wanted, as an ISO date or time: the China-time (UTC+8) calendar day it falls on. | 2026-10-01T00:00:00Z |
until | string | 예 | The last day wanted, read the same way. The index publishes a day or two late, so the latest days may be missing or have a null index. | 2026-10-31T00:00:00Z |
view | stringbriefcompactstandardfull | 아니요 | How much of each object comes back. brief: IDs, title, the first 100 characters of the text, link, time and the main counts, for scanning a list (then get what you need by ID). compact leaves out empty fields and cuts long text at 500 characters. full adds platform-specific fields under ext. | — |
fields | string[] | 아니요 | Fields to keep, by path (author.name), to save tokens. In a query string: comma-separated. | — |
다음 중 정확히 하나를 지정하세요 keywords, keyword. cursor, view and fields work the same on every endpoint: how requests work.
POST로 일괄 요청
This endpoint also takes a POST with a JSON body: put several values in keywords and they come back in one call. The batch costs $0.006, the same as one value.
curl -X POST "https://api.okdata.online/v1/douyin/index/keywords/history" \
-H "Authorization: Bearer $OKDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"since":"2026-10-01T00:00:00Z","until":"2026-10-31T00:00:00Z","keywords":["咖啡","CityWalk"]}'사용해 보기
New accounts get $0.20 of credit, no card needed: 33 calls to this endpoint.무료로 시작
This sends a real call to https://api.okdata.online and is billed as usual: at most $0.006, also when the platform comes back empty, not found or failed. Bad parameters are never charged. Your key goes only to that address and is never stored on this site.
알려진 제한 사항
- The whole list comes in one answer; there is no next page.
- 다음 중 정확히 하나를 지정하세요
keywords,keyword.
반환 필드
data.items is a list of KeywordHistory.
| 필드 | 유형 | 보기 | 설명 |
|---|---|---|---|
keyword | string | compact | 키워드. |
points | KeywordPoint[] | compact | 하루 1건, 오래된 순. |
ext | 객체 | full | 플랫폼별 추가 필드. view=full일 때만 반환됩니다. |
조회 수 열이 가장 작습니다 view 필드 반환 위치: compact returns only compact fields, standard adds the standard ones, full 는 모든 항목을 반환합니다. 기본값은 standard.
과금되는 경우
One call costs $0.006 and returns one page of about 1 results. Collecting 1,000 results takes about 1000 calls, $6.00 in total. Each page is a separate call. A call that reached the platform is charged even when it comes back empty, not found or failed; calls stopped before reaching the platform are free.
데이터 반환호출당 $0.006
잘못된 파라미터, 잔액 부족, 일시 중지된 엔드포인트무료
| 시간 | 결제 금액 |
|---|---|
| 호출 1회 최대 비용 | $0.006 |
| POST 일괄 요청 | $0.006, 값 하나와 동일 |
| 빈 응답 | $0.006 |
| 플랫폼 오류 또는 시간 초과 시 | $0.006 |
| 잘못된 파라미터, 잔액 부족, 일시 중지된 엔드포인트 | 무료 |
| 24시간 이내 동일한 Idempotency-Key로 재전송 | 유지된 결과가 반환되면 무료 |
A call that reached the platform costs $0.006 even when the answer is empty, not found or a platform failure; a call stopped before that, such as for bad parameters, is free.
Prices from price book fb99dc8a88674793. 이 플랫폼의 모든 요금 →
자주 발생하는 오류
Every error has the same shape and says whether it was charged. The ones this endpoint can return:
| HTTP | 코드 | 의미 | 청구액 |
|---|---|---|---|
| 400 | invalid_params | A parameter is missing, has the wrong type or value, or the method is wrong. problems lists each one; param names the first.재시도: 수정 후 | 아니요 |
| 401 | unauthorized | The key is missing, malformed, revoked, disabled or expired (reason says which when known).Retry: 아니요 | 아니요 |
| 402 | insufficient_balance | The balance (available) cannot cover the most this call could cost (required).재시도: 수정 후 | 아니요 |
| 429 | rate_limited | The account sent too many requests this minute (reason: rate) or has too many calls running (reason: concurrency).재시도: 가능 | 아니요 |
| 500 | settlement_unknown | The data came back, but the charge could not be confirmed.Retry: 동일한 Idempotency-Key로 | unknown until looked up |
| 502 | fetch_failed | The request failed even after we retried automatically on our side. If it reached the platform and the request was billed, it is charged once at the endpoint's price (charged: true and amount); otherwise nothing is charged.재시도: 가능 | once, if it reached the platform |
| 503 | capability_paused | 이 엔드포인트는 현재 일시 중지되어 실행되지 않았습니다.재시도: 가능 | 아니요 |
| 504 | timeout | The data did not come back in time. If the request had reached the platform and was billed, it is charged once at the endpoint's price (charged: true and amount); otherwise the hold is released.재시도: 가능 | once, if it reached the platform |
질문
How much does the Douyin 지수: 키워드 트렌드 API cost?
One call costs $0.006 and returns one page of about 1 results. Collecting 1,000 results takes about 1000 calls, $6.00 in total. Each page is a separate call. A call that reached the platform is charged even when it comes back empty, not found or failed; calls stopped before reaching the platform are free.
다음 페이지는 어떻게 받나요?
Pass page.next_cursor from the response back as the cursor parameter. When page.has_more is false there is nothing left. Every page is its own call at $0.006.
Do I need a Douyin account, cookies or a QR login?
No. You send only your okdata API key. The data is public data from Douyin; nothing is fetched with your own Douyin account.
호출이 실패해도 과금되나요?
Yes, once, when the call reached the platform: an empty answer, a not_found, a failure or a timeout on the platform's side costs one call (one item for per-item endpoints), and the error says charged: true with amount. Calls refused before reaching the platform, such as bad parameters or a low balance, cost nothing.
Douyin에 필드가 표시되지 않으면?
The field is null, and meta.unavailable names it with the reason: platform (the platform never shows it) or capability (we cannot fetch it yet).
AI에서 사용하기
Paste this into Claude, ChatGPT, Cursor or any agent that can open a web page. It reads this endpoint’s page and calls it with your key.
Read https://okdata.online/apis/douyin/index/keywords/history.md, then call this endpoint for me through okdata; my key is in the OKDATA_API_KEY environment variable. Use Douyin 지수: 키워드 트렌드 and sum up what comes back.
MCP 서버를 연결하고 이렇게 물어보세요: Use Douyin 지수: 키워드 트렌드 and sum up what comes back.
Douyin 엔드포인트 49개 전체
Douyin 주요 엔드포인트
- Douyin 동영상 검색$0.02/call
- Douyin 동영상 상세$0.002/call
- Douyin 동영상 댓글$0.002/call
- Douyin 계정 프로필$0.002/call
- Douyin 계정 동영상$0.002/call
- Douyin 인기 검색어 순위$0.002/call
- Douyin 댓글 답글$0.002/call
- Douyin 해시태그 동영상$0.002/call
- Douyin 계정 검색$0.002/call
- Douyin 동영상 재생수$0.002/call
- Douyin 관련 동영상$0.002/call
- Douyin 동영상 순위$0.002/call
- Douyin 검색 추천어$0.02/call
- Douyin 계정 성장$0.002/call
- Douyin 라이브 방$0.002/call
- Douyin 계정 라이브 상태$0.004/call
- Douyin 라이브 스트리머 순위$0.006/call
- Douyin 스트리머 라이브 지표$0.04/call
- Douyin 이미지 게시물 검색$0.043/call
- Douyin 라이브 검색$0.043/call
- Douyin 동영상 스크립트$0.044/call
- Douyin 이미지 게시물 텍스트출시 예정$0.007/call
- Douyin 동영상 화면 텍스트$0.011/call
- Douyin hashtag search$0.02/call
- Douyin music search$0.02/call
- Douyin music detail$0.002/call
- Douyin video and image files$0.002/call
Douyin Xingtu API
- Douyin Xingtu 크리에이터 검색$0.004/call
- Douyin Xingtu 크리에이터 단가표$0.04/call
- Douyin Xingtu 크리에이터 프로필$0.004/call
- Douyin Xingtu 크리에이터 오디언스$0.004/call
- Douyin Xingtu 크리에이터 도달$0.004/call
- Douyin Xingtu 크리에이터 동영상$0.004/call
- Douyin Xingtu 크리에이터 키워드$0.002/call
- Douyin Xingtu 크리에이터 점수$0.008/call
- Douyin Xingtu 크리에이터 콘텐츠 구성$0.004/call
- Douyin Xingtu 크리에이터 전환$0.004/call
- Douyin Xingtu 마케팅 캘린더$0.004/call
- Douyin Xingtu 동영상 리포트$0.004/call
이름 및 ID
- 이름
- Douyin 지수: 키워드 트렌드 API
- 약칭
- Douyin 지수: 키워드 트렌드
- ID
douyin.index.keywords.history- 엔드포인트
GET /v1/douyin/index/keywords/history·POST- 카테고리
- 소셜 미디어
- 다른 이름
- douyin keyword index, douyin search index, Ocean Engine index API
- 반환
- KeywordHistory[]: 3 fields