Youtube Crawler (Pay Per Result)
Pricing
$10.00 / 1,000 results
Go to Apify Store
Deprecated
Youtube Crawler (Pay Per Result)
Crawl Video information from YouTube based on hashtags or keywords
Pricing
$10.00 / 1,000 results
Rating
0.0
(0)
Developer

Hung Dinh
Maintained by Community
Actor stats
2
Bookmarked
10
Total users
3
Monthly active users
9 months ago
Last modified
Categories
Share
๐ฅ YouTube Video Crawler
An Actor that helps you crawl video information from YouTube based on hashtags or keywords, using YouTube Data API v3.
โจ Features
- ๐ Search videos by hashtags or keywords
- ๐ท๏ธ Filter results using specific keywords in title and description
- ๐ Collect detailed information about each video:
- ๐ Title and description
- ๐ผ๏ธ Thumbnail images (multiple sizes)
- ๐ Video ID and URL
- ๐ Published date
- ๐ View count
- ๐ Like count
- ๐ฌ Comment count
- โ๏ธ Configurable search options:
- Search in video titles
- Search in video descriptions
- Limit number of results per query
๐ฅ Input
The Actor accepts the following input parameters:
{"queries": ["#trending", "funny cats"], // Required: List of hashtags or keywords to search"keywords": ["cute", "amazing"], // Optional: Keywords to filter results"maxResults": 50, // Optional: Maximum videos per query (default: 50)"searchInTitle": true, // Optional: Search keywords in titles (default: true)"searchInDescription": false // Optional: Search keywords in descriptions (default: false)}
๐ค Output
Each video will be returned as a separate item with the following structure:
{"query": "#trending", // Original search query"video": {"title": "Video title","description": "Video description","defaultThumbnail": "High quality thumbnail URL","videoId": "Video ID","videoUrl": "https://www.youtube.com/watch?v=...","publishedAt": "2024-01-01T00:00:00Z","statistics": {"viewCount": 1234,"likeCount": 123,"commentCount": 12}},"matchedKeywords": ["cute", "amazing"] // Keywords found in title/description}
๐ Notes
- ๐ YouTube API Key is required and must be set in environment variables
- โ ๏ธ YouTube API has quota limits:
- Each search request costs 100 units
- Getting video details costs 1 unit per video
- ๐ซ Some videos may have restricted statistics
- โ The Actor handles errors gracefully and continues processing
๐ก Usage Examples
- Basic search with hashtags:
{"queries": ["#shorts", "#trending"],"maxResults": 10}
- Search with keyword filtering:
{"queries": ["funny cats", "cute puppies"],"keywords": ["adorable", "hilarious"],"maxResults": 20,"searchInTitle": true,"searchInDescription": true}
- Search in specific content:
{"queries": ["cooking recipes"],"keywords": ["easy", "quick"],"searchInTitle": true,"searchInDescription": false,"maxResults": 50}
๐ Output Table
The results are displayed in a table with the following columns:
- ๐ Search Query
- ๐ Title
- ๐ Video ID
- ๐ Video URL
- ๐ผ๏ธ Thumbnail
- ๐ Description
- ๐ Published At
- ๐ Views
- ๐ Likes
- ๐ฌ Comments
- ๐ท๏ธ Matched Keywords