YouTube

Retrieve video metadata & captions

Returns the metadata of a YouTube video by its 11-character id: title, description, channel id and title, publication time, duration in seconds, and view, like and comment counts. Some fields are best-effort.

get/youtube/video/{id}

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/youtube/video/{id}
  • Auth: API key in header x-api-key

Path parameters

idstring required

YouTube video ID (11-char code)

Headers

x-api-keystring required

API key required

Response

Video details payload

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "channel_id": "UCXZCJLdBC09xxGZ6gcdrc6A",
    "channel_title": "OpenAI",
    "comments_count": 1400,
    "description": "On the first episode of the OpenAI Podcast...",
    "duration_seconds": 2423,
    "id": "YbJOTdZBX1g",
    "likes_count": 11000,
    "published_at": "2025-06-18T07:59:20-07:00",
    "title": "Sam Altman on AGI, GPT-5, and what’s next — the OpenAI Podcast Ep. 1",
    "views_count": 460176
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.