YouTube Video API iconStatus:Waiting For Requests

YouTube Video API

Get complete YouTube video data including metadata, engagement stats, and channel info.

No Setup Required
GET REST API
Structured JSON Response
Instant Access

How to Call the YouTube Video API

Simple REST API endpoint. Just make a GET request with your API key and get structured data back.

Method:GET
Endpoint:https://api.parseium.com/v1/youtube-video
Cost:1 credit per call

Code Examples

cURL

curl -X GET 'https://api.parseium.com/v1/youtube-video?url=https://www.youtube.com/watch?v=VIDEO_ID&api_key=YOUR_API_KEY'

TypeScript

const response = await fetch(`https://api.parseium.com/v1/youtube-video?url=https://www.youtube.com/watch?v=VIDEO_ID&api_key=${process.env.PARSEIUM_API_KEY}`, {
  method: 'GET',
});

const data = await response.json();
console.log(data);

Python

import requests
import os

api_key = os.environ['PARSEIUM_API_KEY']
response = requests.get(
    f'https://api.parseium.com/v1/youtube-video?url=https://www.youtube.com/watch?v=VIDEO_ID&api_key={api_key}'
)

data = response.json()
print(data)

Query Parameters

Pass parameters in the URL query string:

url=https://www.youtube.com/watch?v=VIDEO_ID

Response Schema

The API returns structured JSON data with the following schema:

{
  "id": {
    "type": "string"
  },
  "thumbnail": {
    "type": "string"
  },
  "type": {
    "type": "string"
  },
  "title": {
    "type": "string"
  },
  "description": {
    "type": "string"
  },
  "commentCountText": {
    "type": "string"
  },
  "commentCountInt": {
    "type": "number"
  },
  "likeCountText": {
    "type": "string"
  },
  "likeCountInt": {
    "type": "number"
  },
  "viewCountText": {
    "type": "string"
  },
  "viewCountInt": {
    "type": "number"
  },
  "publishDateText": {
    "type": "string"
  },
  "publishDate": {
    "type": "string"
  },
  "channel": {
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "handle": {
      "type": "string"
    },
    "title": {
      "type": "string"
    }
  },
  "durationMs": {
    "type": "number"
  },
  "durationFormatted": {
    "type": "string"
  },
  "watchNextVideos": [
    {
      "id": {
        "type": "string"
      },
      "title": {
        "type": "string"
      },
      "thumbnail": {
        "type": "string"
      },
      "channel": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      },
      "publishDateText": {
        "type": "string"
      },
      "publishDate": {
        "type": "string"
      },
      "viewCountText": {
        "type": "string"
      },
      "viewCountInt": {
        "type": "number"
      },
      "lengthText": {
        "type": "string"
      },
      "videoUrl": {
        "type": "string"
      }
    }
  ],
  "keywords": [
    {
      "type": "string"
    }
  ]
}

Need more details? Check out our full API documentation for authentication, error handling, rate limits, and advanced options.

Use Cases for YouTube Video

See how developers use this API in production applications.

Content Analysis

Analyze video performance, engagement metrics, and content strategy for competitor or market research.

Video Monitoring

Track video views, likes, comments, and related content to monitor trends and performance over time.

Metadata Extraction

Extract video metadata, keywords, descriptions, and thumbnails for cataloging and search indexing.

Simple, Transparent Pricing

Every API call to YouTube Video costs 1 credit

Choose a plan based on your monthly usage. All plans include access to all APIs.

Starter
$49/mo

~150,000 API calls/mo

  • 150,000 credits/month
  • Email support
  • 1,000 requests/day
  • Priority processing
Get Started
Most Popular
Pro
$99/mo

~700,000 API calls/mo

  • 700,000 credits/month
  • Priority support
  • 10,000 requests/day
  • Advanced features
Get Started
Business
$299/mo

~3,000,000 API calls/mo

  • 3M credits/month
  • Dedicated support
  • Unlimited requests
  • Custom integrations
Get Started

Need more? Check out our for enterprise options and custom plans.

Frequently Asked Questions

Common questions about the YouTube Video API.

What video data is included?

Full metadata (ID, title, description, keywords), engagement stats (views, likes, comments), channel info (ID, handle, title), duration, publish date, thumbnail, related videos, and video type (video or short).

Does it work with YouTube Shorts?

Yes, the API works with both regular YouTube videos and YouTube Shorts. Just provide the URL and it will automatically detect and extract the data.

How many related videos are returned?

The API returns the watch next videos that YouTube suggests, typically 10-20 related videos with their metadata, thumbnails, and engagement stats.

Free your Data

Stop wasting hours writing parsing scripts for each site. Stop overpaying for tokens with LLM extraction.

  • easy integration
  • works with any scraping stack
  • fast and accurate
  • scalable performance
  • thousands of pages per day