Youtube Search by Keyword API
Search YouTube by keyword to find trending videos, relevant channels, and topic clusters for SEO and content research.
| 1 | import requests |
| 2 | |
| 3 | root = "https://ensembledata.com/apis" |
| 4 | endpoint = "/youtube/search" |
| 5 | params = { |
| 6 | "keyword": "magic", |
| 7 | "depth": 1, |
| 8 | "start_cursor": "", |
| 9 | "period": "overall", |
| 10 | "sorting": "relevance", |
| 11 | "get_additional_info": False, |
| 12 | "token": "YOUR-TOKEN-HERE" |
| 13 | } |
| 14 | |
| 15 | res = requests.get(root+endpoint, params=params) |
| 16 | print(res.json()) |
| 17 |
Parameters
Scrape Youtube Data Effortlessly
Crawl ranked video results and channel data for any search term with our YouTube keyword search API, useful for SEO research and video content strategy.
Plug & Play API
Integrate in minutes with clear docs and code samples. Get started with a single REST call.
Real-Time Results
Every request scrapes the latest data in seconds. No stale datasets, just up-to-date insights.
Flexible APIs
Need something special? We tailor endpoints and data delivery to your unique business needs.
Youtube Scraping Features
Find out what is trending on YouTube for any keyword and use that data to better position your content or identify new opportunities.
- Youtube Keyword Search Api
- Youtube Search Results Scraper
- Youtube Seo Data Api
- Youtube Trending Videos By Keyword
- Youtube Video Discovery Api
- Youtube Search Ranking Data Endpoint
- Youtube Topic Research Api
- Youtube Content Search Endpoint
Starting crawling Youtube now!
Get Your API Key in Minutes
Create a free account (no credit card required) and receive an API token instantly to test endpoints, pull live data, and rapidly prototype integrations. Upgrade as your needs grow.
Get started freeDeveloper Support
Need help integrating or customizing data for your workflows? Our developer success team offers onboarding, guidance, and enterprise support to get your project production-ready.
Contact usFrequently Asked Questions
A Youtube data scraping API allows you to programmatically collect and analyze public data from Youtube and other platforms. This helps businesses, researchers, and marketers gain insights, monitor trends, and automate data collection for various use cases.
We only collect publicly available data, nothing behind a login wall or marked as private. We're GDPR-compliant and follow applicable data protection laws. That said, you're responsible for how you use the data on your end.
Yes, though some basic comfort with HTTP requests helps. We have copy-paste code snippets in Python, JavaScript, and cURL, plus a dashboard where you can test endpoints without writing any code. Most non-technical users get up and running within an afternoon.
You can fetch different type of public data from Youtube, including user profiles, posts, videos, comments, hashtags, followers, and engagement statistics.
Our platform delivers real-time Youtube data with high reliability and minimal downtime. Most requests are processed in under 5 seconds, ensuring you always have access to the latest public Youtube data for your needs.