Designed for developers, content creators, and analysts — fetch video details like title, views, likes, tags, categories, and channel info in real-time.
Works with any programming language - Python, JavaScript, PHP, Java, and more. Simple HTTP requests, JSON responses.
See code examplesAverage response time under 300ms. Our distributed infrastructure handles spikes effortlessly.
No API keys, no authentication. Start making requests immediately with IP-based rate limiting.
Videos, channels, playlists, comments, and search. All metadata in clean JSON format.
Explore all data fieldsJoin thousands of developers and businesses using our YouTube API to power their applications.
No credit card required • Free tier available
Before you begin, check out our comprehensive documentation for detailed API reference and examples.
Powerful YouTube Metadata extraction through a simple API
Our API is completely free to use with no signups required. Start extracting YouTube Metadata immediately using simple HTTP requests. We use IP-based rate limiting to prevent abuse while ensuring easy access for all developers.
Extract complete metadata from any YouTube video including title, description, statistics, and more.
Get comprehensive channel information including subscriber count, videos, playlists, and analytics.
Extract complete playlist data including all videos, their order, and metadata.
Specialized endpoint for extracting metadata from YouTube Shorts videos.
Search YouTube videos with powerful filtering and sorting options.
Extract comments from any video including text, likes, and author information.
Get YouTube data in 3 simple steps
Plus easy integration with your favorite programming languages
Currently, our API is free to use without authentication. No API keys or signups required - start making requests immediately.
We implement the following rate limits to ensure fair usage for all:
If you require higher rate limits for your application, please contact us to discuss options.
Explore our RESTful APIs to fetch YouTube data including videos, playlists, and comments.
Enter a YouTube video URL
Enter keywords to search for videos
{ "message": "Select an endpoint and click 'Test API Endpoint'" }
Integrate our API effortlessly with your favorite programming language. Whether you're building a web application, mobile app, or backend service, we provide clear examples to help you get started quickly.
// Fetch YouTube Shorts data
async function getShortsData(url) {
try {
const response = await fetch(`https://youtubescraper.in/api/v1/shorts?url=${encodeURIComponent(url)}`);
const data = await response.json();
console.log(data);
return data;
} catch (error) {
console.error('Error:', error);
}
}
// Example usage
getShortsData('https://www.youtube.com/shorts/VIDEO_ID');
JavaScript Test our API directly in your browser's developer console (F12)
// Open DevTools (F12) and paste this:
fetch('https://youtubescraper.in/api/v1/video?url=https://youtu.be/dQw4w9WgXcQ')
.then(res => res.json())
.then(data => console.log(data));
We implement fair usage policies to ensure optimal performance for all users
60 requests per minute
Per IP address
1,000 requests per day
24-hour rolling window
No API key required
Get started immediately
Authenticated API keys
Higher priority access
Higher rate limits
Up to 10,000 requests/minute
Bulk requests
Process multiple items in one call
Need higher limits? Contact us for enterprise solutions.
Comprehensive error responses to help you debug quickly
Our API follows REST conventions and returns appropriate HTTP status codes with detailed error information.
Code | Status | Description | Common Causes |
---|---|---|---|
400 | Bad Request | Request is malformed or missing required parameters | Invalid JSON, missing fields, validation errors |
401 | Unauthorized | Authentication credentials are missing or invalid | Expired/missing API key, invalid credentials |
403 | Forbidden | Authenticated but not authorized for this resource | Insufficient permissions, IP restrictions |
404 | Not Found | Requested resource doesn't exist | Invalid ID, deleted content, wrong endpoint |
405 | Method Not Allowed | HTTP method not supported for this endpoint | Using POST instead of GET, or vice versa |
406 | Not Acceptable | Requested format not available | Unsupported Accept header |
409 | Conflict | Request conflicts with current state | Duplicate entries, version conflicts |
429 | Too Many Requests | Rate limit exceeded | Too many requests in short time period |
500 | Internal Server Error | Unexpected server error | Server-side exceptions, database errors |
501 | Not Implemented | Server doesn't support the functionality | Unsupported API version, deprecated endpoint |
503 | Service Unavailable | Server temporarily unable to handle requests | Maintenance, overloaded server |
All errors return a consistent JSON structure with debugging information:
{
"error": {
"code": "invalid_request",
"message": "The 'url' parameter is required and must be a valid YouTube URL",
"type": "validation_error",
"details": {
"parameter": "url",
"expected": "YouTube URL (string)",
"received": null
},
"documentation_url": "https://docs.example.com/errors/invalid-request",
"request_id": "req_123456789",
"timestamp": "2023-07-18T12:34:56Z"
}
}
code
- Machine-readable error code
type
- Error category (validation, auth, etc.)
request_id
- Unique ID for support requests
• Always handle 429 errors with exponential backoff
• Include the request_id
when contacting support
• Check documentation_url
for solutions
Instant access to YouTube videos, channels, and playlists
Start using our free YouTube API today - no account required!
Try API Now