---
title: "YouTube Video Details"
method: GET
path: "/v1/youtube/video"
tags: ["YouTube"]
---

# YouTube Video Details

`GET /v1/youtube/video`

## Request

- Base URL: `https://apidirect.io`
- URL: `https://apidirect.io/v1/youtube/video`
- Auth: API key in header `X-API-Key`

Get detailed information about a YouTube video by URL or video ID. Returns the title, full description, channel name and ID, publish date, duration in seconds, view count, category, keywords, and thumbnail. Works for regular videos, Shorts, and live streams.

**Price:** $0.005 per request. **Free tier:** 50 requests/month.

## Query parameters

- `url` string, required

## Response `200`

Successful response

- YoutubeVideoDetailsResponse: Inferred from a live response. Any field can be null or absent, and new fields may be added at any time.
  - `video` object, nullable
    - `video_id` string, nullable
    - `url` string, nullable
    - `title` string, nullable
    - `description` string, nullable
    - `author` string, nullable
    - `channel_id` string, nullable
    - `date` string, nullable
    - `duration` number, nullable
    - `views` number, nullable
    - `category` string, nullable
    - `type` string, nullable
    - `is_live` boolean, nullable
    - `keywords` string[], nullable
    - `thumbnail` string, nullable

## Other responses

- `400`: Bad request: missing or invalid parameters
- `401`: Unauthorized: invalid or missing API key
- `402`: Free tier used up for this endpoint and no payment method on file (`payment_required`).
- `403`: Account blocked after a failed payment (`account_blocked`).
- `404`: Video not found
- `429`: Rate limit exceeded or too many concurrent requests
- `500`: Internal server error
- `502`: Temporary failure retrieving YouTube data. Please retry shortly.
- `503`: Service temporarily unavailable. Please retry shortly.
- `504`: The request timed out

---

[API](https://skmtc.dev/apidirect/apis/api-direct.md) · [All operations](https://skmtc.dev/apidirect/apis/api-direct/llms.txt) · [OpenAPI document](https://skmtc.dev/apidirect/apis/api-direct/revisions/fa8c68d70bd0?raw)
