oAuthorIdstringobrigatório
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-structGet Douyin Creator Marketplace (Xingtu) creator-link structure data for a specified creator and content channel. Use it to compare creator link structures during performance research.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns the link structure for one creator on Douyin Creator Marketplace (Xingtu). It needs the creator's oAuthorId and can take a platform value to pick the content channel.
种草, to match a creator to a seeding goal.relative_ratio value in step 5.SHORT_VIDEO and LIVE_STREAMING to see how the structure differs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-struct" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique ID. |
platform | string | No | Platform type. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"author_link_type": "种草",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"link_struct": {
"1": {
"proportion": 0.16304054463905537,
"value": 95314367
},
"2": {
"proportion": 0.5087374275836838,
"value": 297410598
},
"3": {
"proportion": 0.32822010340197,
"value": 191879213
},
"4": {
"proportion": 1.9243752908618417e-06,
"value": 1125
},
"5": {
"rank_percent": 0,
"relative_ratio": -0.0208,
"value": 584605303
}
}
}
| Field | Meaning |
|---|---|
author_link_type | Text label for the creator's link type. The sample value is 种草. |
link_struct | Object keyed by step number from 1 to 5. Each key holds the numbers for that step. |
link_struct.1 / link_struct.2 / link_struct.3 / link_struct.4 | Each step has a value count and a proportion. In the sample the proportion values of steps 1 to 4 add up to about 1. |
link_struct.1.proportion / link_struct.2.proportion / link_struct.3.proportion / link_struct.4.proportion | Share of the total that each step holds, as a decimal between 0 and 1. In the sample, step 2 is the largest at about 0.51. |
link_struct.1.value / link_struct.2.value / link_struct.3.value / link_struct.4.value | Raw count for each step. In the sample, step 2 is 297410598 and step 4 is 1125. |
link_struct.5.value | Count for step 5. In the sample it equals the sum of the values in steps 1 to 3. |
link_struct.5.relative_ratio | Relative ratio for step 5. The sample value is -0.0208, a negative number. |
link_struct.5.rank_percent | Rank percent for step 5. The sample value is 0. |
base_resp.status_code / base_resp.status_message | Call status. 0 with an empty message means the call succeeded. |
platform as one of SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT or SHORT_DRAMA. It defaults to SHORT_VIDEO.oAuthorId with Douyin Xingtu Creator Search.$0.021429 per successful call. Failed calls are not charged.
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/douyin/xingtu-v3/data-sp-author-link-struct" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "SHORT_VIDEO",
"oAuthorId": "6870161898013196295"
}'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.
oAuthorIdstringobrigatórioAuthor's unique ID.
platformstringPlatform type.
Padrão: "SHORT_VIDEO"
Valores possíveis: SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Douyin | $0.021429 por chamada | JSON |
Douyin | $0.021429 por chamada | JSON |
Douyin | $0.021429 por chamada | JSON |
Douyin | $0.021429 por chamada | JSON |
Douyin | $0.071429 por chamada | JSON |
Douyin | $0.021429 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-struct 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.021429 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: oAuthorId (string). Opcionais: platform (um de SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA). 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. Douyin Xingtu Creator Link Structure 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 Douyin separadamente.