Skip to Content
Documentation

Get a video

YouTube Video API · 10 points per successful call

Product overview and demoAll YouTube API endpointsError codes

GET
/v1/youtube/video

Returns a public video by id or link: title, full description, channel, publish time, duration, exact view, like and comment counts, tags, live state and every thumbnail size. Returns 404 NOT_FOUND when no public video has that id.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Your API key, sent as a bearer token. In the console on this page you can leave it empty: signed in, calls run on your own plan; otherwise they run on a shared demo key after a quick human check.

Query Parameters

id*string

The video id, or a link to the video (watch, shorts, live or youtu.be).

Lengthlength <= 256

Response Body

Successful response

application/json
  1. response
meta*
data*
Example Request
curl -X GET 'https://api.endpointry.com/v1/youtube/video?id=dQw4w9WgXcQ'
Example Response
{
  "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
        }
      ]
    }
  }
}