Ir para o conteúdo
Documentação do Endless

TikTok trending

POST
/social/tiktok_trending

TikTok trend charts: 'videos' = the live trending feed for a country (full video items with engagement, sound, and hashtags); 'songs' = commercial sounds ranked by use (each with video_count and a music_id for tiktok_music_posts); 'ads' = Creative Center's top ad creatives by country and period. For trend detection over specific accounts/hashtags/topics, use tiktok_trend_scan.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Header Parameters

Endless-Api-Version?string

Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/social/tiktok_trending" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "category": "videos"    }  }'
{  "operation": "instagram_profile",  "result": {    "summary": "string",    "category": "videos",    "country": "string",    "count": -9007199254740991,    "items": [      {        "id": "string",        "url": "string",        "text": "string",        "category": "string",        "region": "string",        "created_at": "string",        "duration_seconds": 0,        "play_count": 0,        "like_count": 0,        "comment_count": 0,        "share_count": 0,        "save_count": 0,        "hashtags": [          "string"        ],        "music": {          "id": "string",          "title": "string",          "author": "string",          "original": true        },        "author": {          "id": "string",          "username": "string",          "nickname": "string",          "verified": true        },        "image_url": "string",        "slide_image_urls": [          "string"        ]      }    ]  },  "requests": 0,  "credits_charged": 0}