{
"ok": true,
"results": [
{
"id": "YVkUvmDQ3HY",
"title": "Eminem - Without Me (Official Music Video)",
"thumbnail": "https://i.ytimg.com/vi/YVkUvmDQ3HY/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBnFQsEHmwHjccpYmKdrmOLXyU0FQ",
"duration": "4:58",
"views": "1.817.693.271",
"uploader": {
"title": "EminemMusic",
"url": "https://www.youtube.com/channel/UCfM3zsQsOnfWNUppiycmBuw"
}
},
{
"id": "eJO5HU_7_1w",
"title": "Eminem - The Real Slim Shady (Official Video - Clean Version)",
"thumbnail": "https://i.ytimg.com/vi/eJO5HU_7_1w/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAtcWrnRkBD_MWhPdEzOJVzRvLBfQ",
"duration": "4:29",
"views": "894.597.981",
"uploader": {
"title": "EminemMusic",
"url": "https://www.youtube.com/channel/UCfM3zsQsOnfWNUppiycmBuw"
}
},
{
"id": "_Yhyp-_hX2s",
"title": "Eminem - Lose Yourself [HD]",
"thumbnail": "https://i.ytimg.com/vi/_Yhyp-_hX2s/hq720.jpg?sqp=-oaymwE9COgCEMoBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYPiBlKEkwDw==&rs=AOn4CLA11IbRvlQjf2EVeDUxQ3Dcjav34A",
"duration": "5:24",
"views": "1.332.991.096",
"uploader": {
"title": "msvogue23",
"url": "https://www.youtube.com/@msvogue23entertainment"
}
},
{
"id": "S9bCLPwzSC0",
"title": "Eminem - Mockingbird [Official Music Video]",
"thumbnail": "https://i.ytimg.com/vi/S9bCLPwzSC0/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAsdBf7xVpbiop2fZLDQqC_zq0T4g",
"duration": "4:18",
"views": "930.399.164",
"uploader": {
"title": "EminemMusic",
"url": "https://www.youtube.com/channel/UCfM3zsQsOnfWNUppiycmBuw"
}
},
{
"id": "8CdcCD5V-d8",
"title": "Eminem - Venom",
"thumbnail": "https://i.ytimg.com/vi/8CdcCD5V-d8/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLD--0Yy3RRlJsEJ5ZnljGbZ6FTHxA",
"duration": "4:56",
"views": "809.701.916",
"uploader": {
"title": "EminemMusic",
"url": "https://www.youtube.com/channel/UCfM3zsQsOnfWNUppiycmBuw"
}
},
{
"id": "GmfUY6MROa4",
"title": "Infamous-C - What's My Name? (feat. Hitman Sammy Sam) Eminem x Dr. Dre x Diddy Diss",
"thumbnail": "https://i.ytimg.com/vi/GmfUY6MROa4/hq720.jpg?sqp=-oaymwE9COgCEMoBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYfyATKBcwDw==&rs=AOn4CLCAcu4gErk4H_tDSMvV95uFdAGugQ",
"duration": "5:10",
"views": "381",
"uploader": {
"title": "Trenz Unltd.",
"url": "https://www.youtube.com/@TrenzUnltd"
}
},
{
"id": "D4hAVemuQXY",
"title": "Eminem - Sing For The Moment (Official Music Video)",
"thumbnail": "https://i.ytimg.com/vi/D4hAVemuQXY/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAHX2T21IMR-31OAmYfYWaXNKxRYA",
"duration": "5:26",
"views": "522.795.057",
"uploader": {
"title": "EminemMusic",
"url": "https://www.youtube.com/channel/UCfM3zsQsOnfWNUppiycmBuw"
}
},
{
"id": "j5-yKhDd64s",
"title": "Eminem - Not Afraid",
"thumbnail": "https://i.ytimg.com/vi/j5-yKhDd64s/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCzPhU_RS7nY6Fqn7DaRCugLZFvvQ",
"duration": "4:19",
"views": "1.822.710.077",
"uploader": {
"title": "EminemMusic",
"url": "https://www.youtube.com/channel/UCfM3zsQsOnfWNUppiycmBuw"
}
},
{
"id": "r_0JjYUe5jo",
"title": "Eminem - Godzilla ft. Juice WRLD (Directed by Cole Bennett)",
"thumbnail": "https://i.ytimg.com/vi/r_0JjYUe5jo/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCGFeKhxhUtkSzgtLlXvbiHyBD0GA",
"duration": "4:27",
"views": "610.110.464",
"uploader": {
"title": "Lyrical Lemonade",
"url": "https://www.youtube.com/@lyricalemonade"
}
},
{
"id": "MfTbHITdhEI",
"title": "Eminem - Fall (Official Music Video)",
"thumbnail": "https://i.ytimg.com/vi/MfTbHITdhEI/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAbYg0dpDs5QMYtgELAXjy8C3zWDA",
"duration": "5:12",
"views": "223.602.900",
"uploader": {
"title": "EminemMusic",
"url": "https://www.youtube.com/channel/UCfM3zsQsOnfWNUppiycmBuw"
}
},
{
"id": "lgT1AidzRWM",
"title": "Eminem - Beautiful (Official Music Video)",
"thumbnail": "https://i.ytimg.com/vi/lgT1AidzRWM/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLD5Un-_-qMS09C6fr-RBQjoC4eFFg",
"duration": "4:15",
"views": "452.029.394",
"uploader": {
"title": "EminemMusic",
"url": "https://www.youtube.com/channel/UCfM3zsQsOnfWNUppiycmBuw"
}
},
{
"id": "XbGs_qK2PQA",
"title": "Eminem - Rap God (Explicit)",
"thumbnail": "https://i.ytimg.com/vi/XbGs_qK2PQA/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLB1BjQJlrrAwiPCes5AWRRFjnKzzA",
"duration": "6:10",
"views": "1.384.803.917",
"uploader": {
"title": "EminemMusic",
"url": "https://www.youtube.com/channel/UCfM3zsQsOnfWNUppiycmBuw"
}
},
{
"id": "ytQ5CYE1VZw",
"title": "Eminem - Till I Collapse [HD]",
"thumbnail": "https://i.ytimg.com/vi/ytQ5CYE1VZw/hq720.jpg?sqp=-oaymwE9COgCEMoBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYRiBlKFowDw==&rs=AOn4CLBsNi9inf0RIi1MBzIayOOdW02ynQ",
"duration": "4:59",
"views": "787.288.347",
"uploader": {
"title": "msvogue23",
"url": "https://www.youtube.com/@msvogue23entertainment"
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/3104/youtube+video+results+search+api/3290/extraction+results?query=iphone' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the YouTube Video Results Search API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
The YouTube Video Results Search API allows developers to perform precise searches for videos on YouTube by providing a keyword or phrase as an input parameter. This powerful tool returns rich results, including detailed metadata such as video ID, title, channel name, channel ID, high-quality thumbnails, video duration, number of views, publication date, description, and more.
The API's design is ideal for those looking to integrate relevant YouTube content into their own platforms or applications, whether to display trends, curate content, build media analysis tools, develop digital marketing assistants, or simply enrich the user experience with dynamic audiovisual content.
To use this API the user must indicate a keyword to obtain results related to it.
The YouTube Video Results Search API is a powerful tool offered by YouTube that allows users to programmatically retrieve video results based on specific search criteria.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
The API returns a JSON object containing metadata for videos that match the specified search keyword. This includes details such as video titles, descriptions, view counts, durations, thumbnails, and uploader information.
Key fields in the response include "id" (video ID), "title" (video title), "thumbnail" (thumbnail URL), "duration" (video length), "views" (view count), and "uploader" (uploader details including name and URL).
The response data is structured as a JSON object with a boolean "ok" field indicating success, followed by a "results" array containing individual video metadata objects.
The primary parameter for the endpoint is a "keyword" that specifies the search term. Users can customize their requests by including additional filters such as video length or publication date.
The endpoint provides comprehensive information about videos, including titles, descriptions, view counts, upload dates, durations, and uploader details, allowing for rich content discovery.
Users can leverage the returned metadata to create engaging user interfaces, display video previews, and enhance content recommendations based on user preferences and search history.
Typical use cases include content recommendations, video aggregation on themed platforms, enhancing e-learning resources, and integrating video discovery features into social media applications.
Data accuracy is maintained through direct integration with YouTube's platform, ensuring that the metadata retrieved reflects the most current and reliable information available for each video.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund