Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

TikTok Trending Feed

Documentación de la 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.

Precio
Desde $0.0008USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 1 opcionales

Entorno de pruebas

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

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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 más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTokDesde $0.0008 por llamadaJSON
TikTokDesde $0.0012 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON

Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de TikTok Trending Feed?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/trending-feed con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de TikTok Trending Feed?

Desde $0.0008 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de TikTok Trending Feed?

Requeridos: region (string). Opcionales: trim (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de TikTok Trending Feed?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de TikTok?

No. TikTok Trending Feed funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok por separado.