Douyin Xingtu creator spread info by creator id
tikhub.x.douyin-xingtu-v2-get-author-spread-infoDouyin: get author spread info (xingtu_v2)
- Price
- $0.001/successAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-spread-info?type=1&range=2&flow_type=0&o_author_id=7589271892177518598&only_assign=false&platform_source=1&platform_channel=1Preview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
type | entier | Facultatif | Video type, 1=personal video | 1 |
range | entier | Facultatif | Time range, 2=last 30 days, 3=last 90 days | 2 |
flow_type | entier | Facultatif | Flow type | 0 |
o_author_id | chaîne | Obligatoire | Creator author ID | 7589271892177518598 |
only_assign | booléen | Facultatif | Only assigned videos | false |
platform_source | entier | Facultatif | Platform source | 1 |
platform_channel | entier | Facultatif | Platform channel | 1 |
- Paramètres de requête
typeentierFacultatifVideo type, 1=personal video
Exemple :
1rangeentierFacultatifTime range, 2=last 30 days, 3=last 90 days
Exemple :
2flow_typeentierFacultatifFlow type
Exemple :
0o_author_idchaîneObligatoireCreator author ID
Exemple :
7589271892177518598only_assignbooléenFacultatifOnly assigned videos
Exemple :
falseplatform_sourceentierFacultatifPlatform source
Exemple :
1platform_channelentierFacultatifPlatform channel
Exemple :
1
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-spread-info?type=1&range=2&flow_type=0&o_author_id=7589271892177518598&only_assign=false&platform_source=1&platform_channel=1' \
-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-spread-info?type=1&range=2&flow_type=0&o_author_id=7589271892177518598&only_assign=false&platform_source=1&platform_channel=1",
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-spread-info?type=1&range=2&flow_type=0&o_author_id=7589271892177518598&only_assign=false&platform_source=1&platform_channel=1", {
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 préversion ; 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.