Douyin Xingtu creator base info by creator id
tikhub.x.douyin-xingtu-v2-get-author-base-infoDouyin: get author base info (xingtu_v2)
- Prix
- $0.001/successAu prix catalogue
- Taux de réussite
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latence p50
- ——
- Dernière vérification
- —Pas encore vérifié
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- Utilise le quota de la plateforme
- Réponse synchrone
- Lit des données publiques
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
recommend | booléen | Facultatif | Whether to return recommendation info | true |
o_author_id | chaîne | Obligatoire | Creator author ID | 7589271892177518598 |
need_sec_uid | booléen | Facultatif | Whether to return sec_uid | true |
platform_source | entier | Facultatif | Platform source | 1 |
platform_channel | entier | Facultatif | Platform channel | 1 |
need_linkage_info | booléen | Facultatif | Whether to return linkage info | true |
- Paramètres de requête
recommendbooléenFacultatifWhether to return recommendation info
Exemple :
trueo_author_idchaîneObligatoireCreator author ID
Exemple :
7589271892177518598need_sec_uidbooléenFacultatifWhether to return sec_uid
Exemple :
trueplatform_sourceentierFacultatifPlatform source
Exemple :
1platform_channelentierFacultatifPlatform channel
Exemple :
1need_linkage_infobooléenFacultatifWhether to return linkage info
Exemple :
true
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
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());Cette API de passerelle est en version Beta ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.001/success, frais de service inclus.