aweme_idstringobrigatório
Post ID
https://api.sandbase.ai/v1/api/toutiao/web/video-infoReturns detailed information for a specified Toutiao video post. Retrieve post metadata and related video attributes using a valid post identifier.
[
{
"data": {
"data": {
"delete": 1
},
"message": "success"
}
}
]Selecione um exemplo para carregar as entradas e o resultado no playground.
Returns details for one Toutiao video post, looked up by its post ID in aweme_id. The sample response for this ID holds only a delete flag and a status message.
delete value.aweme_id before you call a richer video endpoint for the same post.curl -X POST "https://api.sandbase.ai/v1/api/toutiao/web/video-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"aweme_id": "7431543350882206242"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
aweme_id | string | Yes | Post ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"delete": 1
},
"message": "success"
}
| Field | Meaning |
|---|---|
data | Object that holds the result for the requested post. |
data.delete | Deletion flag for the post. The sample shows 1 for the requested ID, which suggests the post was removed. The response does not define the values, so check against a post you know is live. |
message | Status text for the call. The sample returns success. |
aweme_id, for example 7431543350882206242.success message does not mean the post has full details. The sample response returned only data.delete.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/toutiao/web/video-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aweme_id": "7431543350882206242"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
aweme_idstringobrigatórioPost ID
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"data": {
"data": {
"delete": 1
},
"message": "success"
}
}
]Explorar mais
| API | Preço | Resposta |
|---|---|---|
Toutiao Specified Video DetailsEsta API Toutiao | $0.001 por chamada | JSON |
Toutiao | $0.001 por chamada | JSON |
Toutiao | $0.001 por chamada | JSON |
Toutiao | $0.001 por chamada | JSON |
Toutiao | $0.001 por chamada | JSON |
Toutiao | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/toutiao/web/video-info com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: aweme_id (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Toutiao Specified Video Details funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Toutiao separadamente.