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

TikTok profile

POST
/social/tiktok_profile

Look up a TikTok profile by @username. Use whenever the user asks about follower counts, bio, verification, total likes, or basic account info.

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_profile" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "username": "string"    }  }'
{  "operation": "instagram_profile",  "result": {    "id": "string",    "sec_uid": "string",    "username": "string",    "nickname": "string",    "url": "string",    "bio": "string",    "verified": true,    "private": true,    "region": "string",    "follower_count": 0,    "following_count": 0,    "like_count": 0,    "video_count": 0,    "image_url": "string",    "summary": "string"  },  "requests": 0,  "credits_charged": 0}