Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

TikTok Trending Feed

Docs 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.

Prix
À partir de $0.0008USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 1 facultatifs

Bac à sable

Entrée
2-letter country code for the proxy location (e.g. "US").
Set to true to return a simplified response.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
TikTokÀ partir de $0.0008 par appelJSON
TikTokÀ partir de $0.0012 par appelJSON
TikTokÀ partir de $0.0008 par appelJSON
TikTokÀ partir de $0.0008 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON

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

Questions

FAQ

Comment utiliser l’API TikTok Trending Feed ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/trending-feed avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API TikTok Trending Feed ?

À partir de $0.0008 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API TikTok Trending Feed accepte-t-elle ?

Obligatoire : region (string). Facultatif : trim (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API TikTok Trending Feed ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API TikTok ?

Non. TikTok Trending Feed fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API TikTok séparément.