Ir al contenido
Documentación de Endless

TikTok post

POST
/social/tiktok_post

Fetch a single TikTok video by URL (or bare video id). Returns engagement metrics (plays, likes, comments, shares, saves), the caption, hashtags, the author, the sound it uses (music.id feeds tiktok_music_posts), and a direct video_url (TikTok refuses every download of it, so it CANNOT be analyzed — describe the video from the caption and metrics, or ask the user to upload the file). Call this directly for any tiktok.com video URL — those pages are client-rendered, so read_url/web_search won't load them.

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_post" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "url": "string"    }  }'
{  "operation": "instagram_profile",  "result": {    "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"    ],    "summary": "string",    "video_url": "string"  },  "requests": 0,  "credits_charged": 0}