# AnyAPI YouTube Playlist Scraper

> AnyAPI YouTube Playlist Scraper is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14, last successful call 2026-07-04).

Scrapes and returns structured data for a YouTube playlist given its URL or ID

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/youtube.playlist
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-07-04
- Success rate: 100% of calls made through Zero
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-youtube-playlist-scraper-ead24274
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TmApJXCuV5q-m97MTay-b

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 anyapi-youtube-playlist-scraper-ead24274 -d '<json body>'
```

Example prompt: Can you pull all the video titles, URLs, and upload dates from this YouTube playlist: https://www.youtube.com/playlist?list=PLrEnWoR732-BHrPp_Pm8_VleD68f9s14- ?

## When to prefer this

Use this endpoint when you need to extract structured data from a YouTube playlist without managing YouTube Data API quotas or OAuth credentials. Ideal for agents that need video lists, metadata, or playlist details on demand at low per-call cost with no subscription overhead.

## Known failure modes

- Invalid or private playlist returns an error or empty result
- Playlist ID not found returns 404-style error in JSON
- Rate limiting or upstream YouTube blocking causes timeout
- Malformed URL input leads to parsing error
- Deleted or region-restricted playlist may return incomplete data

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

A JSON object containing the playlist's title, description, channel name, total video count, and an array of video entries each with title, URL, thumbnail, duration, and upload metadata.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-youtube-playlist-scraper-ead24274/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
