countinteger
Maximum count number
Padrão: 20
https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos-v2Returns video data from a TikTok user homepage based on their profile identifier or username, with options for sorting and pagination.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns a list of videos posted by one TikTok user, each as an aweme_list item. You pass the user's sec_user_id, or a unique_id (the username) if you have no sec_user_id.
create_time.added_sound_music_info.collab_info.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
count | integer | No | Maximum count number |
max_cursor | integer | No | Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response. |
sec_user_id | string | No | User sec_user_id, use sec_user_id to get user video data first, if sec_user_id is empty, use unique_id to get user video data. |
sort_type | integer | No | Sort type, 0-Latest, 1-Hot |
unique_id | string | No | User unique_id, optional parameter, if sec_user_id is empty, use unique_id to get user video data, unique_id is also the user's username. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"added_sound_music_info": {
"album": "",
"allow_offline_music_to_detail_page": false,
"artists": [],
"audition_duration": 43,
"author": "TikTok",
"author_deleted": false,
"author_position": null,
"avatar_medium": {
"height": 720,
"uri": "tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691…"
],
"url_prefix": null,
"width": 720
}
},
"ai_remix_info": {
"has_entrance": false
},
"aigc_info": {
"aigc_label_type": 0,
"created_by_ai": false
},
"anchors": null,
"anchors_extras": "",
"animated_image_info": {
"effect": 0,
"type": 0
},
"author": {
"accept_private_policy": false,
"account_labels": null,
"account_region": "",
"ad_cover_url": null,
"advance_feature_item_order": null,
"advanced_feature_info": null,
"apple_account": 0,
"authority_status": 0
},
"author_user_id": 107955,
"aweme_acl": {
"download_general": {
"code": 0,
"mute": false,
"show_type": 2,
"transcode": 3
},
"download_mask_panel": {
"code": 0,
"mute": false,
"show_type": 2,
"transcode": 3
},
"platform_list": null,
"press_action_list": null,
"share_action_list": null,
"share_general": {
"code": 0,
"mute": false,
"show_type": 2,
"transcode": 3
},
"share_list_status": 0
},
"aweme_id": "7702947070604332319",
"aweme_type": 0,
"banners": null
}
],
"extra": {
"fatal_item_ids": [],
"logid": "2026110307440146EC589CCEE89F85393E",
"now": 1793691841000
},
"has_locate_item": false,
"has_more": 1,
"log_pb": {
"impr_id": "2026110307440146EC589CCEE89F85393E"
},
"max_cursor": 1790367198527,
"min_cursor": 1793482136132,
"status_code": 0,
"status_msg": "",
"version": "v2"
}
| Field | Meaning |
|---|---|
aweme_list[] | One video post from the user's homepage. Each item holds the video details, author data, music info and settings. |
aweme_list[].aweme_id | ID of the video, returned as a string. |
aweme_list[].create_time | Time the video was posted. The value looks like a Unix timestamp in seconds. |
aweme_list[].content_type | Type of the post. The sample value is video. |
aweme_list[].author_user_id | Numeric ID of the user who posted the video. |
aweme_list[].added_sound_music_info.author | Name of the author of the sound added to the video. |
aweme_list[].added_sound_music_info.avatar_medium.url_list[] | Image URLs for the sound author's avatar. Each entry is one version of the same image. |
aweme_list[].collab_info.collaborators[].user_info | Profile data for each collaborator on the video, including avatar images. |
aweme_list[].collab_info.collaborators[].collab_status | Status code of the collaboration for each collaborator. The response does not explain what each code means. |
aweme_list[].aigc_info.created_by_ai | Shows whether the video is marked as created by AI. |
sec_user_id when you have it. Use unique_id only when sec_user_id is empty.sec_user_id from a username, call TikTok User ID by Username.max_cursor as 0 on the first request. For the next page, send the max_cursor value from the previous response.sort_type 0 for the latest videos and 1 for hot videos. Use count to set the page size.$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/tiktok/app-v3/user-post-videos-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 20,
"sort_type": 0,
"unique_id": "tiktok",
"max_cursor": 0,
"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"
}'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.
countintegerMaximum count number
Padrão: 20
max_cursorintegerMaximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
Padrão: 0
sec_user_idstringUser sec_user_id, use sec_user_id to get user video data first, if sec_user_id is empty, use unique_id to get user video data.
Padrão: ""
sort_typeintegerSort type, 0-Latest, 1-Hot
Padrão: 0
unique_idstringUser unique_id, optional parameter, if sec_user_id is empty, use unique_id to get user video data, unique_id is also the user's username.
Padrão: ""
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 |
|---|---|---|
TikTok User Videos (App V3, V2)Esta API TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.01 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
Guias:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos-v2 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. Cada organização recebe 100 chamadas grátis por dia UTC, compartilhadas entre as APIs elegíveis da SandBase, incluindo esta; depois disso, cada chamada é cobrada nesse valor do seu saldo SandBase. Não há assinatura.
Nenhum parâmetro é obrigatório. Opcionais: count (integer), max_cursor (integer), sec_user_id (string), sort_type (integer) e unique_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. TikTok User Videos (App V3, V2) 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 TikTok separadamente.