logo
YouTubeYouTube Video Details

YouTube Video Details

Get full details for a YouTube video including metadata, tags, chapters, and captions.

Pricing: 1 credit per call

curl -X POST "https://v3-api.texau.com/api/v1/youtube_video" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "include_captions": true,
  "cache": true
}'
{
  "data": {
    "video_id": "example_string",
    "title": "example_string",
    "description": "example_string",
    "channel": "example_string",
    "view_count": 10,
    "like_count": 10,
    "duration": "example_string",
    "upload_date": "example_string",
    "tags": [
      "example_string"
    ],
    "categories": [
      "example_string"
    ],
    "thumbnails": {},
    "chapters": [
      {}
    ],
    "captions": "example_string"
  },
  "meta": {
    "cache_hit": true,
    "execution_time_ms": 42
  }
}
POST
/youtube_video
POST
API Key (header: x-api-key)
x-api-keystring
Required

Your TexAu API key. Contact TexAu to obtain one.

Your TexAu API key. Contact TexAu to obtain one.
Content-Typestring
Required

The media type of the request body

Options: application/json
urlstring
Required

YouTube video URL

include_captionsboolean

Include video captions/subtitles in the response

Request Preview
Response

Response will appear here after sending the request

Authentication

header
x-api-keystring
Required

API Key for authentication. Your TexAu API key. Contact TexAu to obtain one.

Body

application/json
urlstring
Required

YouTube video URL

include_captionsboolean

Include video captions/subtitles in the response

Responses

dataobject
metaobject