Douyin Xingtu creator homepage videos by creator id
tikhub.x.douyin-xingtu-v2-get-author-homepage-videosDouyin: get author homepage videos (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-homepage-videos?page=1&o_author_id=7029342444797820939Preview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
page | inteiro | Opcional | Page number | 1 |
end_time | other | Opcional | Publish end time, unix seconds | |
start_time | other | Opcional | Publish start time, unix seconds | |
o_author_id | string | Obrigatório | Creator ID | 7029342444797820939 |
is_star_item | other | Opcional | 1=star items only, 0=non-star only, omit=all | |
- Parâmetros de consulta
pageinteiroOpcionalPage number
Exemplo:
1end_timeotherOpcionalPublish end time, unix seconds
start_timeotherOpcionalPublish start time, unix seconds
o_author_idstringObrigatórioCreator ID
Exemplo:
7029342444797820939is_star_itemotherOpcional1=star items only, 0=non-star only, omit=all
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-homepage-videos?page=1&o_author_id=7029342444797820939' \
-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-homepage-videos?page=1&o_author_id=7029342444797820939",
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-homepage-videos?page=1&o_author_id=7029342444797820939", {
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.