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