Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

TikTok Trending Feed

API dokümanları
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.

Fiyat
Başlangıç fiyatı $0.0008USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 1 isteğe bağlı

Oynatma Alanı

Girdi
2-letter country code for the proxy location (e.g. "US").
Set to true to return a simplified response.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
TikTokKullanım başına $0.0008'den itibarenJSON
TikTokKullanım başına $0.0012'den itibarenJSON
TikTokKullanım başına $0.0008'den itibarenJSON
TikTokKullanım başına $0.0008'den itibarenJSON
TikTok$0.001 çağrı başınaJSON
TikTok$0.001 çağrı başınaJSON

Kılavuzlar:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Sorular

SSS

TikTok Trending Feed API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/tiktok/trending-feed adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

TikTok Trending Feed API'sinin fiyatı nedir?

çağrı başına $0.0008'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

TikTok Trending Feed API'si hangi parametreleri kabul eder?

Gerekli: region (string). İsteğe bağlı: trim (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

TikTok Trending Feed API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir TikTok geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. TikTok Trending Feed, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. TikTok API erişimi için ayrıca başvuru yapmanız gerekmez.