keywordstring
Douyin ID or nickname
Standard: "小耳朵"
https://api.sandbase.ai/v1/api/douyin/search/live-search-v2Fetch live search V2 on Douyin. Returns the platform data as structured JSON.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
secUid that other Douyin user APIs need.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.
| Name | Type | Required | Description |
|---|---|---|---|
cursor | integer | No | Pagination cursor, 0 for the first request, then the cursor from the last response |
keyword | string | No | Douyin ID or nickname |
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"
}
| Field | Meaning |
|---|---|
data.userList[] | One matching Douyin account per item. |
data.userList[].nickname | Display name of the account. |
data.userList[].uniqueId / shortId | Public Douyin ID values for the account. uniqueId is the custom ID, and shortId is a numeric short ID. |
data.userList[].secUid | Encoded user ID string. Use it to look up the same user in other Douyin user APIs. |
data.userList[].followerCount | Number of followers as an integer. followerCountStr was an empty string in this response. |
data.userList[].avatar | URL of the account's avatar image. |
data.userList[].liveRoomInfo.LiveRoomLiveStatus | Live status code for the account. All users in this response returned 0, and their RoomId was "0". |
data.userList[].liveRoomInfo.LiveRoomInfoDetail.AnchorNickname / Title | Nickname of the live anchor and the live room title. Title is empty when no live room is active. |
data.cursor | Cursor value to send as cursor in the next request to get the next page. |
data.hasMore | Shows true when more results are available. |
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.secUid to Douyin User Profile (App V3).secUid.$0.01 per successful call. Failed calls are not charged.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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 '{
"cursor": 0,
"keyword": "小耳朵"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
keywordstringDouyin ID or nickname
Standard: "小耳朵"
cursorintegerPagination cursor, 0 for the first request, then the cursor from the last response
Standard: 0
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Douyin Live search V2Diese API Douyin | $0.01 pro Aufruf | JSON |
Douyin | $0.01 pro Aufruf | JSON |
Douyin | $0.01 pro Aufruf | JSON |
Douyin | $0.01 pro Aufruf | JSON |
Douyin | $0.01 pro Aufruf | JSON |
Douyin | $0.01 pro Aufruf | JSON |
Anleitungen:Best Douyin API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/douyin/search/live-search-v2 mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.01 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Es sind keine Parameter erforderlich. Optional: keyword (string) und cursor (integer). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Douyin Live search V2 läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Douyin API beantragen.