Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Douyin Live search V2

API 문서
https://api.sandbase.ai/v1/api/douyin/search/live-search-v2

Fetch live search V2 on Douyin. Returns the platform data as structured JSON.

가격
$0.01USD / 호출
메서드
POST
응답
JSON
매개변수
필수 0개 · 선택 사항 2개

Playground

입력
Douyin ID or nickname
Pagination cursor, 0 for the first request, then the cursor from the last response
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Douyin Live search V2 API

Searches Douyin for accounts that match a Douyin ID or nickname. Returns a page of matching users with follower counts, profile IDs and live room status. It needs a keyword and an optional cursor.

Use cases

  • Find a creator's Douyin account from a nickname and read their follower count.
  • Resolve a Douyin ID to the secUid that other Douyin user APIs need.
  • Check whether a matching account is live right now before you pull live room data.
  • Build a list of accounts with similar names by paging through results.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/live-search-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "小耳朵", "cursor": 0}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
cursorintegerNoPagination cursor, 0 for the first request, then the cursor from the last response
keywordstringNoDouyin ID or nickname

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "data": {
    "cursor": 10,
    "hasMore": true,
    "userList": [
      {
        "avatar": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_69061032f579…",
        "followerCount": 5205393,
        "followerCountStr": "",
        "liveRoomInfo": {
          "LiveRoomInfoDetail": {
            "AnchorNickname": "一只小耳朵",
            "LiveRoomCoverUri": "aweme-avatar/tos-cn-avt-0015_69061032f579b15d5d2d7e067d1c3471",
            "RoomId": "0",
            "Title": ""
          },
          "LiveRoomInfoExtra": {
            "HasBisinessComponent": false,
            "HasClosedShoppingCart": false,
            "HasWindmill": false,
            "IsForO2ORoom": false
          },
          "LiveRoomLiveStatus": 0
        },
        "nickname": "一只小耳朵",
        "secUid": "MS4wLjABAAAAkOvK-iD0N7wlM8V4Q9otZfPAJp6GKYPgPWlZOzobwR8",
        "shortId": "4768507",
        "uniqueId": "xed1216"
      }
    ]
  },
  "msg": "success"
}

Response fields

FieldMeaning
data.userList[]One matching Douyin account per item.
data.userList[].nicknameDisplay name of the account.
data.userList[].uniqueId / shortIdPublic Douyin ID values for the account. uniqueId is the custom ID, and shortId is a numeric short ID.
data.userList[].secUidEncoded user ID string. Use it to look up the same user in other Douyin user APIs.
data.userList[].followerCountNumber of followers as an integer. followerCountStr was an empty string in this response.
data.userList[].avatarURL of the account's avatar image.
data.userList[].liveRoomInfo.LiveRoomLiveStatusLive status code for the account. All users in this response returned 0, and their RoomId was "0".
data.userList[].liveRoomInfo.LiveRoomInfoDetail.AnchorNickname / TitleNickname of the live anchor and the live room title. Title is empty when no live room is active.
data.cursorCursor value to send as cursor in the next request to get the next page.
data.hasMoreShows true when more results are available.

Notes

  • Send cursor as 0 for the first request. For the next page, send the data.cursor value from the last response, and stop when data.hasMore is false.
  • keyword accepts a Douyin ID or a nickname.
  • To look up a full profile, pass the returned secUid to Douyin User Profile (App V3).
  • To list an account's videos, use Douyin User Videos with the secUid.

Pricing

$0.01 per successful call. Failed calls are not charged.

더 살펴보기

관련 API

모든 API
API가격응답
Douyin$0.01 / 호출JSON
Douyin$0.01 / 호출JSON
Douyin$0.01 / 호출JSON
Douyin$0.01 / 호출JSON
Douyin$0.01 / 호출JSON
Douyin$0.01 / 호출JSON

가이드:Best Douyin API in 2026: Pricing Compared

질문

FAQ

Douyin Live search V2 API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/search/live-search-v2에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Douyin Live search V2 API 비용은 얼마인가요?

호출당 $0.01, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Douyin Live search V2 API는 어떤 매개변수를 받나요?

필수 매개변수는 없습니다. 선택: keyword (string) 및 cursor (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Douyin Live search V2 API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Douyin 개발자 계정이나 API 키가 필요한가요?

아니요. Douyin Live search V2은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.