AgentAPIGate
Back to Catalog
GET /v1/youtube/playlist/itemsPack: social·MCP Tool: youtube_playlist_items

YouTube Playlist Videos & Metadata

Retrieve YouTube playlist title, description, and ordered video list (videoId, title, channel, views, published time, URL).

API Key Price:$0.0015 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
YouTube playlist ID (PL...) or playlist URL
Max videos (1-50)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/youtube/playlist/items" \
  --data-urlencode "playlist_id=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab" \
  --data-urlencode "limit=15" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-87% tokens
# YouTube Playlist Videos & Metadata (`youtube.playlist.items`)
**playlist_id**: PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab · **title**: Essence of linear algebra · **count**: 15

## videos
- [1] position: 1, video_id: fNk_zzaMoSs, title: Vectors | Chapter 1, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [2] position: 2, video_id: k7RM-ot2NWY, title: Linear combinations, span, and basis vectors | Chapter 2, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [3] position: 3, video_id: kYB8IZa5AuE, title: Linear transformations and matrices | Chapter 3, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [4] position: 4, video_id: XkY2DOUCWMU, title: Matrix multiplication as composition | Chapter 4, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [5] position: 5, video_id: rHLEWRxRGiM, title: Three-dimensional linear transformations | Chapter 5, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [6] position: 6, video_id: Ip3X9LOh2dk, title: The determinant | Chapter 6, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [7] position: 7, video_id: uQhTuRlWMxw, title: Inverse matrices, column space and null space | Chapter 7, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [8] position: 8, video_id: v8VSDg_WQlA, title: Nonsquare matrices as transformations between dimensions | Chapter 8, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [9] position: 9, video_id: LyGKycYT2v0, title: Dot products and duality | Chapter 9, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [10] position: 10, video_id: eu6i7WJeinw, title: Cross products | Chapter 10, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [11] position: 11, video_id: BaM7OCEm3G0, title: Cross products in the light of linear transformations | Chapter 11, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [12] position: 12, video_id: jBsC34PxzoM, title: Cramer's rule, explained geometrically | Chapter 12, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [13] position: 13, video_id: P2LTAUO1TdA, title: Change of basis | Chapter 13, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [14] position: 14, video_id: PFDu9oVAE-g, title: Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown
- [15] position: 15, video_id: e50Bj7jn9IQ, title: A quick trick for computing eigenvalues | Chapter 15, Essence of linear algebra, channel_id: UCYO_jab_esuFRV4b17AJtAw, channel_handle: @3blue1brown

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: youtube.playlist.items · Method: GET
ParameterTypeReqSample / DefaultDescription
playlist_idstringrequiredPLZHQObOWTQDPD3MizzM2xVFitgF8hE_abYouTube playlist ID (PL...) or playlist URL
limitnumberoptional15Max videos (1-50)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0015 / call$0/mo · Balance never expires
Remote MCP Toolyoutube_playlist_itemsOAuth 2.1 Hub & /mcp/social
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency291 ms$0 billed on empty or 4xx/5xx
Token Economy6388t → 800t (-87%)Partner credit: eligible

More Social & Video Real-Time APIs

Frequently Asked Questions

How do I call YouTube Playlist Videos & Metadata (youtube.playlist.items) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/youtube/playlist/items with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool youtube_playlist_items on https://mcp.agentapigate.ai/mcp.

What does youtube.playlist.items cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on youtube.playlist.items?

Passing ?format=md transforms the response into normalized Markdown (~800 tokens vs ~6388 raw tokens, saving 87% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only social endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["social"], optional allowed_endpoints: ["youtube.playlist.items"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.