Skip to main content
GET
/
v1
/
youtube
/
video
Get YouTube video metadata
curl --request GET \
  --url https://api.urltodata.ai/v1/youtube/video \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "title": "<string>",
  "description": "<string>",
  "duration": 123,
  "channel": {
    "id": "<string>",
    "name": "<string>"
  },
  "tags": [
    "<string>"
  ],
  "thumbnail": "<string>",
  "uploadDate": "2023-11-07T05:31:56Z",
  "viewCount": 123,
  "likeCount": 123,
  "isLive": true,
  "transcriptLanguages": [
    "<string>"
  ]
}

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.

Authorizations

Authorization
string
header
default:your-api-key
required

API key as Bearer token (e.g. Bearer mp_abc123_secret)

Query Parameters

id
string
required

YouTube video ID or URL

Response

Video metadata

id
string
title
string
description
string
duration
integer

Duration in seconds

channel
object
tags
string[]
thumbnail
string | null
uploadDate
string<date-time> | null
viewCount
integer | null
likeCount
integer | null
isLive
boolean
transcriptLanguages
string[]