Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

TikTok Trending Feed

Docs da API
https://api.sandbase.ai/v1/api/tiktok/trending-feed

Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.

Preço
A partir de $0.0008USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 1 opcionais

Playground

Entrada
2-letter country code for the proxy location (e.g. "US").
Set to true to return a simplified response.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

TikTok Trending Feed API

Returns a sample of videos from TikTok's For You feed as served to a viewer in one country. Each video includes the caption, author, view, like, comment, save and share counts, sound details and links. The only required input is a 2-letter region code.

Use cases

  • Spot what kind of content TikTok is showing to viewers in a given country right now.
  • Collect sample captions and hashtags to study content styles in a market.
  • Track the engagement counts of videos that appear in a country's feed.
  • Find authors and sounds that show up in the feed, then look them up in more detail.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/trending-feed" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"region": "US"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
regionstringYes2-letter country code for the proxy location (e.g. "US").
trimstringNoSet to true to return a simplified response.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "videos": [
      {
        "author": "sampletok.store",
        "authorImage": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/53a084b13e8c4b8d037…",
        "authorName": "SampleTok",
        "authorUserId": "7565970382990869526",
        "caption": "#sampletok 💋 Free e.l.f. Glow Reviver Melting Lip Balm alert! 😍✨ Melt-in moistur…",
        "comments": 1551,
        "createdUtc": 1788564307,
        "durationSeconds": 5,
        "hashtags": [
          "sampletok"
        ],
        "id": "7681825159417810208",
        "image": "https://p16-common-sign.tiktokcdn-us.com/tos-useast2a-p-0037-euttp/o0kf4AYbpmTNr…",
        "likes": 59833
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.videos[].idVideo ID as a string of digits. Use it to look up the video in other APIs.
data.videos[].urlLink to the video page on TikTok.
data.videos[].captionText posted with the video. Long captions can include hashtags inline.
data.videos[].hashtagsList of hashtag names from the caption, without the # sign.
data.videos[].views / likes / comments / saves / sharesEngagement counts for the video.
data.videos[].author / authorName / authorUserIdThe account handle, its display name and its numeric user ID.
data.videos[].createdUtcTime the video was posted, as a Unix timestamp in seconds.
data.videos[].durationSecondsLength of the video in seconds.
data.videos[].region2-letter country code attached to the video. It can differ from the requested region.
data.videos[].soundTitle / soundAuthor / soundClipIdName, author and ID of the sound used in the video.
data.videos[].image / videoUrl / authorImageLinks to the cover image, the video file and the author's avatar.

Notes

  • region is required. Use a 2-letter country code such as US.
  • The result is a rotating sample, so repeated calls can return different videos. It is not a ranked chart.
  • Set trim to true to get a simplified response.
  • To get more detail on a video from this feed, pass its id to TikTok Video Details. To see trending tags, use TikTok Trending Hashtags.

Pricing

Billed at the actual cost of each call, about $0.0008 for the request above. Failed calls are not charged.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
TikTokA partir de $0.0008 por chamadaJSON
TikTokA partir de $0.0012 por chamadaJSON
TikTokA partir de $0.0008 por chamadaJSON
TikTokA partir de $0.0008 por chamadaJSON
TikTok$0.001 por chamadaJSON
TikTok$0.001 por chamadaJSON

Guias:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API TikTok Trending Feed?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/tiktok/trending-feed 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.

Quanto custa a API TikTok Trending Feed?

A partir de $0.0008 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API TikTok Trending Feed aceita?

Obrigatórios: region (string). Opcionais: trim (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API TikTok Trending Feed retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor TikTok ou de uma chave de API?

Não. TikTok Trending Feed 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.