bodyarrayerforderlich
User homepage link list
https://api.sandbase.ai/v1/api/douyin/web/all-sec-user-idExtracts Douyin sec_user_id values in bulk from a list of user homepage URLs. Accepts an array of profile links to return the corresponding platform identifiers.
[
{
"data": [
"MS4wLjABAAAA-KtdOVa4ZpUaXPbiGVeef1JQLYjWv0qdWHdIvV_0RNnQ5twCYnFrdgUZZDzvty0v"
]
}
]Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
Retrieve Douyin user security IDs in bulk by passing an array of profile homepage links in the body parameter. This endpoint returns the platform identifiers for downstream profile lookups.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/all-sec-user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body": "<body>"}'
| Name | Type | Required | Description |
|---|---|---|---|
body | array | Yes | User homepage link list |
body parameter.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/all-sec-user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"body": [
"https://static.sandbase.ai/examples/f66ded91-c75d-40dd-8377-5675eceeeb3d/input/25f4436b-5642-4e06-93ec-dc108424d26e.bin"
]
}'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.
bodyarrayerforderlichUser homepage link list
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
[
{
"data": [
"MS4wLjABAAAA-KtdOVa4ZpUaXPbiGVeef1JQLYjWv0qdWHdIvV_0RNnQ5twCYnFrdgUZZDzvty0v"
]
}
]Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.03 pro Aufruf | JSON |
Douyin | $0.15 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/web/all-sec-user-id 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.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: body (array). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).
Nein. Douyin sec_user_ids from URLs (Batch) 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.