resource_idintegererforderlich
Resource ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/resource-listReturns marketing activity resources from Douyin Xingtu. Queries resource details using a specific resource identifier.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"data": []
}
}
]Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
Returns marketing activity resources from Douyin Xingtu for a given resource_id. The data list holds one JSON string per resource, such as a case study article with a title, link and cover image.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/resource-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"resource_id": 1052}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
resource_id | integer | Yes | Resource ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"data": [
"{\"title\":\"2024巨量星图CNY「生意星龙」IP圆满收官,助力众多品牌龙年首战告捷!\",\"create_time\":\"1709350920\",\"nam…"
]
}
| Field | Meaning |
|---|---|
base_resp.status_code | Request status code. The value 0 in the sample means the call succeeded. |
base_resp.status_message | Status text for the request. It is an empty string in the sample. |
data[] | One resource per list item. Each item is a string that holds a JSON object, so parse it again after reading the response. Keys seen inside the sample strings include title, name, link, url, cover_url, image, slogan, industries, create_time and id. |
data is a JSON string. Decode it to read inner keys such as title, link, cover_url and industries.industries holds comma-separated numeric codes, for example 1930,1903,1933. create_time and id arrive as strings.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/resource-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"resource_id": 1
}'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.
resource_idintegererforderlichResource ID
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"data": []
}
}
]Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Douyin Xingtu Resource ListDiese API Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.002 pro Aufruf | JSON |
Douyin | $0.002 pro Aufruf | JSON |
Douyin | $0.01 pro Aufruf | JSON |
Douyin | $0.003 pro Aufruf | JSON |
Douyin | $0.001 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/xingtu-v2/resource-list 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: resource_id (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 Xingtu Resource List 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.