> ## Documentation Index
> Fetch the complete documentation index at: https://docs.urltodata.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List video IDs from a YouTube playlist



## OpenAPI

````yaml /openapi.json get /v1/youtube/playlist/videos
openapi: 3.1.0
info:
  title: urltodata.ai
  description: >-
    API for extracting transcripts, metadata, and structured data from YouTube,
    TikTok, Instagram, X (Twitter), Facebook, and the web.
  version: 0.1.0
servers:
  - url: https://api.urltodata.ai
    description: Production API
security:
  - bearerAuth: []
paths:
  /v1/youtube/playlist/videos:
    get:
      summary: List video IDs from a YouTube playlist
      operationId: getYoutubePlaylistVideos
      parameters:
        - name: id
          in: query
          required: true
          description: Playlist ID
          schema:
            type: string
        - name: limit
          in: query
          description: Max results (1-1000)
          schema:
            type: integer
            minimum: 1
            maximum: 1000
      responses:
        '200':
          description: Video ID listing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoIds'
components:
  schemas:
    VideoIds:
      type: object
      properties:
        videoIds:
          type: array
          items:
            type: string
        shortIds:
          type: array
          items:
            type: string
        liveIds:
          type: array
          items:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      x-default: your-api-key
      description: API key as Bearer token (e.g. Bearer mp_abc123_secret)

````