TikTok

Videos list

List an account’s latest videos, newest first.

Endpoint

GET
/s/tiktok/posts

Send your API key in the X-API-Key header. tiktok is the usual service slug; use the one shown on your subscription if it differs.

Query parameters

NameDescription
usernamerequired
Account name, with or without the leading @.Example: khaby.lame

Example request

curl '/s/tiktok/posts?username=khaby.lame' \
  -H 'X-API-Key: YOUR_API_KEY'

Example response

The result is in data. Fields the platform didn't report are left out. Field reference: response shapes.

{
  "data": {
    "items": [
      {
        "platform": "tiktok",
        "id": "7311234567890123456",
        "url": "https://www.tiktok.com/@khaby.lame/video/7311234567890123456",
        "type": "video",
        "text": "When life is simple",
        "media": [
          {
            "type": "video",
            "url": "https://v16-webapp-prime.tiktok.example/video.mp4"
          }
        ],
        "stats": {
          "views": 25000000
        }
      }
    ],
    "hasMore": false
  }
}

Notes