crawlora / youtube
Crawlora YouTube API client with 14 endpoints for search, channels, videos, playlists, comments, captions, and transcripts
Requires
- php: >=8.1
- ext-curl: *
- ext-json: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Official Crawlora client packages for the hosted YouTube API. Access 14 API endpoints covering search, channels, videos, playlists, comments, captions, and transcripts from JavaScript/TypeScript, Python, Go, Ruby, Java, and PHP. These clients call Crawlora's hosted API; they do not scrape YouTube locally. Requests use your Crawlora account and CRAWLORA_API_KEY; service usage follows your account billing plan. Crawlora is independent from and not affiliated with or endorsed by YouTube or its owners.
Language packages
- JavaScript / TypeScript:
@crawlora-org/youtube - Python:
crawlora-youtube - Go:
github.com/Crawlora-org/crawlora-youtube - Ruby:
crawlora-youtube - Java:
net.crawlora:crawlora-youtube:0.2.0 - PHP:
crawlora/youtube
For installation and runnable examples, use the README for your language. See the API endpoint and parameter reference for shared operation details.
Create an account at crawlora.net, open the Crawlora console to get an API key, or read the API documentation. Keep CRAWLORA_API_KEY out of source control.
API coverage and supported endpoints
The six language clients provide access to all 14 selected public YouTube API operations. Search or browse by endpoint path and operation ID below; the complete API reference adds parameters, enums, and response details.
| Method | Endpoint | API operation | Description |
|---|---|---|---|
GET |
/youtube/captions/{id} |
youtube-captions |
Retrieve auto-generated or human captions |
GET |
/youtube/channel/{id}/playlists |
youtube-channel-playlists |
Retrieve the playlists tab for a YouTube channel |
GET |
/youtube/channel/{id}/search |
youtube-channel-search |
Search within a YouTube channel |
GET |
/youtube/channel/{id}/shorts |
youtube-channel-shorts |
Retrieve the shorts tab for a YouTube channel |
GET |
/youtube/channel/{id}/videos |
youtube-channel-videos |
Retrieve the videos tab for a YouTube channel |
GET |
/youtube/comments/{id} |
youtube-comments |
Retrieve video comments (top-level & replies) |
GET |
/youtube/playlist/{id} |
youtube-playlist |
Retrieve playlist metadata and items |
GET |
/youtube/profile/{id} |
youtube-profile |
Retrieve channel profile |
GET |
/youtube/search |
youtube-search |
Search YouTube |
GET |
/youtube/suggest |
youtube-suggest |
Suggest YouTube search queries |
GET |
/youtube/tag/{tag} |
youtube-tag |
Retrieve YouTube videos by tag |
GET |
/youtube/transcript/{id} |
youtube-transcript |
Retrieve transcript for a YouTube video |
GET |
/youtube/transcript/{id}/languages |
youtube-transcript-languages |
List transcript languages for a YouTube video |
GET |
/youtube/video/{id} |
youtube-video |
Retrieve video metadata & captions |
License
MIT. See LICENSE.