Douyin Xingtu creator base info by creator id
tikhub.x.douyin-xingtu-v2-get-author-base-infoDouyin: get author base info (xingtu_v2)
- Price
- $0.001/successZum Listenpreis
- Success rate
- —Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-base-info?recommend=true&o_author_id=7589271892177518598&need_sec_uid=true&platform_source=1&platform_channel=1&need_linkage_info=trueBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
recommend | Boolean | Optional | Whether to return recommendation info | true |
o_author_id | Zeichenkette | Erforderlich | Creator author ID | 7589271892177518598 |
need_sec_uid | Boolean | Optional | Whether to return sec_uid | true |
platform_source | Ganzzahl | Optional | Platform source | 1 |
platform_channel | Ganzzahl | Optional | Platform channel | 1 |
need_linkage_info | Boolean | Optional | Whether to return linkage info | true |
- Abfrageparameter
recommendBooleanOptionalWhether to return recommendation info
Beispiel:
trueo_author_idZeichenketteErforderlichCreator author ID
Beispiel:
7589271892177518598need_sec_uidBooleanOptionalWhether to return sec_uid
Beispiel:
trueplatform_sourceGanzzahlOptionalPlatform source
Beispiel:
1platform_channelGanzzahlOptionalPlatform channel
Beispiel:
1need_linkage_infoBooleanOptionalWhether to return linkage info
Beispiel:
true
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-base-info?recommend=true&o_author_id=7589271892177518598&need_sec_uid=true&platform_source=1&platform_channel=1&need_linkage_info=true' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-base-info?recommend=true&o_author_id=7589271892177518598&need_sec_uid=true&platform_source=1&platform_channel=1&need_linkage_info=true",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-base-info?recommend=true&o_author_id=7589271892177518598&need_sec_uid=true&platform_source=1&platform_channel=1&need_linkage_info=true", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist in der Beta; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.001/success einschließlich Servicegebühr abgerechnet.