YouTube
Video research and creator analytics.YouTube search split into videos, Shorts, channels and playlists; one video's metadata, counts and chapters; its transcript as timed segments; a page of comments or replies; and a channel with its latest videos. No Data API quota.
- Look up by
- Query, video id or URL, or channel
- Coverage
- Worldwide
- Cost
- 2 credits a call; failed and empty calls are free
- Endpoints
- 5 endpoints
- Search
- Details
- Reviews
Endpoints
- POST
/v1/youtube/searchYouTube search2 credits - POST
/v1/youtube/videoYouTube video2 credits - POST
/v1/youtube/transcriptYouTube transcript2 credits - POST
/v1/youtube/commentsYouTube comments2 credits - POST
/v1/youtube/channelYouTube channel2 credits
Example
YouTube search, with POST /v1/youtube/search. Set SCRAPERCOMPANY_API_KEY to your key and run it; the full parameter list is in the API reference.
curl -X POST "https://api.scrapercompany.com/v1/youtube/search" \
-H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": "python tutorial"
}'200 response
{
"search_parameters": {
"engine": "youtube",
"q": "python tutorial",
"hl": "en",
"gl": "US"
},
"search_information": {
"estimated_results": 11103091,
"total": 4
},
"videos": [
{
"position": 1,
"video_id": "ix9cRaBkVe0",
"title": "Python Full Course for free 🐍",
"link": "https://www.youtube.com/watch?v=ix9cRaBkVe0",
"channel": {
"name": "Bro Code",
"id": "UC4SVo0Ue36XCfOyb5Lh1viQ",
"handle": "@BroCodez",
"link": "https://www.youtube.com/@BroCodez",
"verified": true,
"thumbnail": "https://yt3.ggpht.com/ytc/AIdro_mPFVsxROj1dOtTWc9iNBwDYV4z42Q8LPokBSewiW9pCSg=s68-c-k-c0x00ffffff-no-rj"
},
"views": 12753881,
"views_text": "12,753,881 views",
"published_time": "2 years ago",
"length": "12:00:00",
"length_seconds": 43200,
"description": "python #tutorial #beginners Python tutorial for beginners' full course 2024 *Learn Python in 1 HOUR* ...",
"badges": [
"Fundraiser"
],
"is_live": false,
"thumbnail": "https://i.ytimg.com/vi/ix9cRaBkVe0/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLDsLPZCX5PFS2a-Wng9IwGAduPqOQ"
}
],
"shorts": [
{
"position": 1,
"video_id": "nluUYtejoIE",
"title": "Python Basics: Your FIRST Program in Under a Minute! 🚀",
"link": "https://www.youtube.com/shorts/nluUYtejoIE",
"views_text": "1.7M views",
"thumbnail": "https://i.ytimg.com/vi/nluUYtejoIE/oar2.jpg?sqp=-oaymwEoCJUDENAFSFqQAgHyq4qpAxcIARUAAIhC2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLCuNV89Mvv4RG_YBfH0wDDrB1zpPg&usqp=CCk"
}
],
"channels": [
{
"position": 1,
"channel_id": "UCKQdc0-Targ4nDIAUrlfKiA",
"title": "Python Simplified",
"handle": "@PythonSimplified",
"link": "https://www.youtube.com/@PythonSimplified",
"subscribers_text": "286K subscribers",
"description": "Hi everyone! My name is Mariya and I'm a software developer recently moved to Sofia, Bulgaria. I film programming tutorials about ...",
"verified": true,
"thumbnail": "https://yt3.googleusercontent.com/ytc/AIdro_ngt_N86CG1gQ576UmAbpFyxnCZddjPWzzKXzTfxljsZkM=s176-c-k-c0x00ffffff-no-rj-mo"
}
],
"playlists": [
{
"position": 1,
"playlist_id": "PLGjplNEQ1it8-0CmoljS5yeV-GlKSUEt0",
"title": "Python Language Full Course (2026)",
"link": "https://www.youtube.com/playlist?list=PLGjplNEQ1it8-0CmoljS5yeV-GlKSUEt0",
"kind": "course",
"label": "Course",
"channel": {
"name": "Shradha Khapra",
"id": "UC1XBh-m27kkgwLAwu_SRJBg",
"handle": "@shradhaKD",
"link": "https://www.youtube.com/@shradhaKD",
"verified": false
},
"video_count_text": "9 lessons",
"first_video_id": "t2_Q2BRzeEE",
"thumbnail": "https://i.ytimg.com/vi/t2_Q2BRzeEE/hq720.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBm5_nQyrAnm5zyJ2FBA9l3BKyzMA"
}
],
"skipped_items": {},
"next_page_token": "EroDEg9weXRob24gdHV0b3JpYWwapgNTQlNDQVF0cGVE…",
"meta": {
"source": "youtube",
"elapsed_s": 0.77
}
}Good to know
- Empty answers and unknown or private videos are free.
More apps and video
App-store listings and reviews, and YouTube videos, transcripts and comments.
Or browse every data source.
Questions about this page?
Send the page link and your question, and the team will answer.