Douyin Xingtu creator audience distribution by creator id
tikhub.x.douyin-xingtu-v2-get-author-audience-distributionDouyin: get author audience distribution (xingtu_v2)
- Price
- $0.002/successPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-audience-distribution?o_author_id=7029342444797820939&platform_source=1&platform_channel=1PreviewTry onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
link_type | other | Opcional | Link type, optional | |
o_author_id | string | Obrigatório | Creator ID | 7029342444797820939 |
platform_source | inteiro | Opcional | Platform source | 1 |
platform_channel | inteiro | Opcional | Platform channel | 1 |
- Parâmetros de consulta
link_typeotherOpcionalLink type, optional
o_author_idstringObrigatórioCreator ID
Exemplo:
7029342444797820939platform_sourceinteiroOpcionalPlatform source
Exemplo:
1platform_channelinteiroOpcionalPlatform channel
Exemplo:
1
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-audience-distribution?o_author_id=7029342444797820939&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-audience-distribution?o_author_id=7029342444797820939&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-audience-distribution?o_author_id=7029342444797820939&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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.002/success, incluindo a taxa de serviço.