# TikTok Playlist Videos

> TikTok Playlist Videos is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-30).

Fetches all videos in a TikTok playlist in order, by playlist URL or numeric playlist ID, with optional AI sentiment analysis per video.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/tiktok/playlist/videos?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tiktok-playlist-videos-c023e24c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8CA0OJDdzmSSwVdKTeED2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tiktok-playlist-videos-c023e24c
```

Example prompt: Pull all the videos from this TikTok playlist — https://www.tiktok.com/@natgeo/playlist/Cinematic-7509464647364283178 — and include the AI sentiment analysis for each video so I can see the emotional tone.

## When to prefer this

Use this endpoint when you need ordered video listings from a specific TikTok playlist, especially when you want pagination control (up to 1000 pages of 30 videos each) or per-video AI emotion/sentiment analysis. Prefer this over generic social media scrapers when the use case is specifically TikTok playlist traversal. If you only need a single video's details rather than a full playlist, use a video detail endpoint instead.

## Known failure modes

- Invalid or expired TikTok playlist URL returns an error or empty result
- Private or deleted playlists may return no videos
- Both url and playlist_id provided simultaneously causes a validation error
- Neither url nor playlist_id provided causes a required parameter error
- Requesting too many pages may hit rate or timeout limits
- Playlist ID that doesn't exist returns empty or error response

## How this service works

Get a playlist's videos in playlist order by playlist URL or numeric playlist ID.

## Output

Returns an ordered list of videos in the specified TikTok playlist, up to 30 videos per page, including video metadata. When sentiment is enabled, each video item includes a sentiment object with emotion scores (joy, trust, fear, surprise, sadness, disgust, anger, anticipation each 0–100), dominant_emotion, emotional_intensity (0–10), and polarity (positive, negative, or neutral).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 500,
       "description": "TikTok playlist URL, e.g. https://www.tiktok.com/@natgeo/playlist/Cinematic-7509464647364283178 (max 500 characters). Provide exactly one of url or playlist_id."
      },
      "pages": {
       "type": "integer",
       "default": 1,
       "maximum": 1000,
       "minimum": 1,
       "description": "Number of pages to fetch, 1-1000 (default: 1). Each page returns up to 30 videos."
      },
      "playlist_id": {
       "type": "string",
       "description": "Numeric playlist ID: the number at the end of a playlist URL. Provide exactly one of url or playlist_id."
      },
      "get_sentiment": {
       "type": "boolean",
       "default": false,
       "description": "Set to true to add AI emotion analysis to each item. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any item t"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tiktok-playlist-videos-c023e24c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
