YouTube API

Preview

Public YouTube videos, channels, posts, search and playlists with stable schemas.

Base URLhttps://api.endpointry.com/v1/youtube

8 endpoints · 5–10 points per call

  • Authenticate with your single platform key: Authorization: Bearer
  • Every success response is { meta, data }
  • Errors are RFC 9457 problem+json with stable codes
  • Lists paginate through meta.pagination
curl "https://api.endpointry.com/v1/youtube/video?id=dQw4w9WgXcQ" \
  -H "Authorization: Bearer sk_live_..."
200 · application/json
{
  "meta": {
    "request_id": "req_7729f93d3facf68ff83e5c50",
    "as_of": "2026-11-24T12:00:00.000Z",
    "cache": "MISS"
  },
  "data": {
    "video": {
      "id": "dQw4w9WgXcQ",
      "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
      "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
      "description": "The official video for “Never Gonna Give You Up” by Rick Astley.",
      "channel": {
        "id": "UCuAXFkgsw1L7xaCfnd5JJOw",
        "name": "Rick Astley"
      },
      "published_at": "2009-10-25T06:57:33.000Z",
      "duration_seconds": 214,
      "views": 1840584609,
      "likes": 19517649,
      "comments": 2462540,
      "tags": [
        "rick astley",
        "Never Gonna Give You Up",
        "nggyu"
      ],
      "is_live": false,
      "thumbnails": [
        {
          "url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/default.jpg",
          "width": 120,
          "height": 90
        },
        {
          "url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
          "width": 1280,
          "height": 720
        }
      ]
    }
  }
}

Endpoints

What each one returns, with a live demo on its own page.

Full API reference
  • GET/v1/youtube/video10 points / call

    Get a video

    YouTube Video API

    Any public YouTube video as stable JSON — title, full description, channel, publish time, duration, exact views, likes and comments, tags and thumbnails.

  • GET/v1/youtube/channel10 points / call

    Get a channel

    YouTube Channel API

    A YouTube channel's About page as JSON — name, handle, description, country, creation date, subscriber, video and view counts, and its links.

  • GET/v1/youtube/channel/videos10 points / call

    List a channel’s videos

    YouTube Channel Videos API

    A channel's uploads, Shorts or live streams, newest first, page after page.

  • GET/v1/youtube/channel/search10 points / call

    Search a channel’s videos

    YouTube Channel Search API

    Search one channel's videos by keyword, as YouTube's own channel search does.

  • GET/v1/youtube/channel/posts10 points / call

    List a channel’s posts

    YouTube Community Posts API

    A channel's community posts — text, images, polls, likes and comment counts — newest first.

  • GET/v1/youtube/search10 points / call

    Search videos

    YouTube Search API

    YouTube video search results as stable JSON — titles, channels, durations, views and ages, page after page.

  • GET/v1/youtube/autocomplete5 points / call

    Complete a search

    YouTube Autocomplete API

    The searches YouTube suggests as someone types, in its order.

  • GET/v1/youtube/playlist10 points / call

    Get a playlist

    YouTube Playlist API

    A public playlist as JSON — title, description, channel, video and view counts, last update and thumbnails.

Ready to build with the YouTube API?

Included in every plan: one subscription and one key cover the whole catalog.