# SocialFetch YouTube Playlist Lookup

> SocialFetch YouTube Playlist Lookup is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status healthy (last checked 2026-09-14, last successful call 2026-08-17).

Fetches metadata and contents of a YouTube playlist given its playlist ID or URL.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/youtube/playlists
- Price: $0.014/call
- Payment: x402
- Status: healthy
- Last checked: 2026-09-14
- Last successful call: 2026-08-17
- Success rate: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-youtube-playlist-lookup-b495b555
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yRzVFy5FhPt8Cxd1in2R9

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 socialfetch-youtube-playlist-lookup-b495b555
```

Example prompt: Can you pull up the details and video list for this YouTube playlist? The playlist ID is PLbpi6ZahtOH6Ar_3GPy3workpGRMfQ5_U.

## When to prefer this

Use this endpoint when you need to retrieve playlist-level metadata and video listings from YouTube given a playlist ID or playlist URL. Prefer this over general YouTube search endpoints when you already have the playlist identifier and need structured playlist data without manual scraping.

## Known failure modes

- Invalid or malformed playlist ID returns an error
- Playlist is private or deleted and cannot be accessed
- Missing required playlistId query parameter returns a validation error
- Rate limiting or payment failure results in a 402 response
- YouTube API backend is unavailable causing a timeout

## How this service works

Get a YouTube playlist by playlist id.

## Output

Returns structured data about the YouTube playlist including playlist title, description, video entries, channel/creator info, and other playlist-level metadata.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "playlistId"
     ],
     "properties": {
      "playlistId": {
       "type": "string",
       "maxLength": 4096,
       "minLength": 1,
       "description": "YouTube playlist id, or a YouTube playlist URL (the `list` query value is used when present)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-youtube-playlist-lookup-b495b555/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
