Youtube Search API

Youtube Search API

The YouTube Search API allows developers to search for videos on YouTube and retrieve information such as the video's title, description, thumbnail, and more.

API description

About the API:

The YouTube Search API allows developers to search for videos on YouTube and retrieve information such as the video's title, thumbnail, and more. The API can be used to build applications that search for videos, retrieve video information, and display video content.

The API returns the search results in a structured format that includes the video's title, description, thumbnail, views, likes, and other relevant information. This allows developers to retrieve video information and display it in their own applications.

The API uses RESTful conventions, which means that it can be easily integrated with a wide variety of programming languages and frameworks.In conclusion, The YouTube Search API is a powerful tool for developers looking to build applications related to video content on YouTube. It provides an easy way to search for videos, retrieve video information and display it in their own application. The API is easy to integrate with a wide variety of programming languages and frameworks and is well-documented, making it accessible to developers of all skill levels.

What your API receives and what your API provides (input/output)?

It will receive a parameter and provide you with a JSON.

What are the most common uses cases of this API?

Video search engine: The API can be used to build a website or mobile application that allows users to search for videos on YouTube, retrieve video information, and display video content.

Video recommendation engine: The API can be used to create an application that provides personalized video recommendations based on user's preferences and the popularity of the videos.

Social Media Integration: The API can be integrated with social media platforms such as Twitter and Facebook to show video content and increase engagement with video-related posts.

Video Analytics: The API can be used to retrieve data on a video.

Are there any limitations to your plans?

Basic Plan: 15,000 API Calls.

Pro Plan: 50,000 API Calls.

Pro Plus Plan: 150,000 API Calls.

Elite Plan: 300,000 API Calls.

API Documentation

Endpoints


The "Fetch Youtube Videos" endpoint allows developers to search for and retrieve information on videos on YouTube. The endpoint can be used to search for videos based on keywords. By utilizing this endpoint, developers can access information such as the video's title, description, thumbnail, views, likes, and other relevant data.

 



                                                                            
GET https://zylalabs.com/api/948/youtube+search+api/769/fetch+youtube+videos
                                                                            
                                                                        

Fetch Youtube Videos - Endpoint Features
Object Description
q [Required] The search query that is encoded in the URL format. For example: Taylor Swift
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"originalQuery":"Taylor Swift","correctedQuery":"Taylor Swift","results":40272018,"activeFilters":[{"name":"Relevance","active":true,"url":null,"description":"Sort by relevance"}],"refinements":[],"items":[{"type":"channel","name":"Taylor Swift","channelID":"UCqECaJ8Gagnn7YCbPEzWH6g","url":"https:\/\/www.youtube.com\/@TaylorSwift","bestAvatar":{"url":"https:\/\/yt3.googleusercontent.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s176-c-k-c0x00ffffff-no-rj-mo","width":176,"height":176},"avatars":[{"url":"https:\/\/yt3.googleusercontent.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s176-c-k-c0x00ffffff-no-rj-mo","width":176,"height":176},{"url":"https:\/\/yt3.googleusercontent.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj-mo","width":88,"height":88}],"verified":true,"subscribers":"@TaylorSwift","descriptionShort":"I'm the problem, it's me.","videos":506},{"type":"shelf","title":"Latest from Taylor Swift","items":[{"type":"video","title":"Taylor Swift - All Too Well: The Short Film (Behind The Scenes)","id":"M0Ku_op-LXI","url":"https:\/\/www.youtube.com\/watch?v=M0Ku_op-LXI","bestThumbnail":{"url":"https:\/\/i.ytimg.com\/vi\/M0Ku_op-LXI\/hq720.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLC7mUBG4ovaL-8VeoPLc3rOGCX0Zg","width":720,"height":404},"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/M0Ku_op-LXI\/hq720.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLC7mUBG4ovaL-8VeoPLc3rOGCX0Zg","width":720,"height":404},{"url":"https:\/\/i.ytimg.com\/vi\/M0Ku_op-LXI\/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBWi6Rnj_2E5AMcpN5b_g7dH1no_w","width":360,"height":202}],"isUpcoming":false,"upcoming":null,"isLive":false,"badges":[],"author":{"name":"Taylor Swift","channelID":"UCqECaJ8Gagnn7YCbPEzWH6g","url":"https:\/\/www.youtube.com\/channel\/UCqECaJ8Gagnn7YCbPEzWH6g","bestAvatar":{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68},"avatars":[{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68}],"ownerBadges":["Official Artist Channel"],"verified":true},"description":null,"views":3548907,"duration":"6:57","uploadedAt":"1 month ago"},{"type":"video","title":"Taylor Swift - Anti-Hero (ILLENIUM Remix)","id":"nF4Jc9sPPug","url":"https:\/\/www.youtube.com\/watch?v=nF4Jc9sPPug","bestThumbnail":{"url":"https:\/\/i.ytimg.com\/vi\/nF4Jc9sPPug\/hq720.jpg?sqp=-oaymwExCNAFEJQDSFryq4qpAyMIARUAAIhCGAHwAQH4Af4JgALQBYoCDAgAEAEYRiBSKGUwDw==&rs=AOn4CLDZ53GuFXCX3_tQNPWVedaH0b7v-Q","width":720,"height":404},"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/nF4Jc9sPPug\/hq720.jpg?sqp=-oaymwExCNAFEJQDSFryq4qpAyMIARUAAIhCGAHwAQH4Af4JgALQBYoCDAgAEAEYRiBSKGUwDw==&rs=AOn4CLDZ53GuFXCX3_tQNPWVedaH0b7v-Q","width":720,"height":404},{"url":"https:\/\/i.ytimg.com\/vi\/nF4Jc9sPPug\/hq720.jpg?sqp=-oaymwE9COgCEMoBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYRiBSKGUwDw==&rs=AOn4CLDzGOFjOhGDKU0yqKe4Qatg9I-XRA","width":360,"height":202}],"isUpcoming":false,"upcoming":null,"isLive":false,"badges":[],"author":{"name":"Taylor Swift","channelID":"UCqECaJ8Gagnn7YCbPEzWH6g","url":"https:\/\/www.youtube.com\/channel\/UCqECaJ8Gagnn7YCbPEzWH6g","bestAvatar":{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68},"avatars":[{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68}],"ownerBadges":["Official Artist Channel"],"verified":true},"description":null,"views":1110170,"duration":"4:32","uploadedAt":"1 month ago"},{"type":"video","title":"Taylor Swift - Anti-Hero (Roosevelt Remix)","id":"eSLO-HpSWD0","url":"https:\/\/www.youtube.com\/watch?v=eSLO-HpSWD0","bestThumbnail":{"url":"https:\/\/i.ytimg.com\/vi\/eSLO-HpSWD0\/hq720.jpg?sqp=-oaymwExCNAFEJQDSFryq4qpAyMIARUAAIhCGAHwAQH4Af4JgALQBYoCDAgAEAEYRyBSKGUwDw==&rs=AOn4CLCtCqge4amzmXVj1oUBBRgoEl5LWg","width":720,"height":404},"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/eSLO-HpSWD0\/hq720.jpg?sqp=-oaymwExCNAFEJQDSFryq4qpAyMIARUAAIhCGAHwAQH4Af4JgALQBYoCDAgAEAEYRyBSKGUwDw==&rs=AOn4CLCtCqge4amzmXVj1oUBBRgoEl5LWg","width":720,"height":404},{"url":"https:\/\/i.ytimg.com\/vi\/eSLO-HpSWD0\/hq720.jpg?sqp=-oaymwE9COgCEMoBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYRyBSKGUwDw==&rs=AOn4CLAd6bCUxOKTQhTczd4ZVl2FAQZY9A","width":360,"height":202}],"isUpcoming":false,"upcoming":null,"isLive":false,"badges":[],"author":{"name":"Taylor Swift","channelID":"UCqECaJ8Gagnn7YCbPEzWH6g","url":"https:\/\/www.youtube.com\/channel\/UCqECaJ8Gagnn7YCbPEzWH6g","bestAvatar":{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68},"avatars":[{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68}],"ownerBadges":["Official Artist Channel"],"verified":true},"description":null,"views":460544,"duration":"5:04","uploadedAt":"2 months ago"},{"type":"video","title":"Taylor Swift - Anti-Hero (Kungs Remix)","id":"uybMJ8cSWtA","url":"https:\/\/www.youtube.com\/watch?v=uybMJ8cSWtA","bestThumbnail":{"url":"https:\/\/i.ytimg.com\/vi\/uybMJ8cSWtA\/hq720.jpg?sqp=-oaymwExCNAFEJQDSFryq4qpAyMIARUAAIhCGAHwAQH4Af4JgALQBYoCDAgAEAEYRyBSKGUwDw==&rs=AOn4CLBGmBqbF9gYB4920B58U2_SlMmkrA","width":720,"height":404},"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/uybMJ8cSWtA\/hq720.jpg?sqp=-oaymwExCNAFEJQDSFryq4qpAyMIARUAAIhCGAHwAQH4Af4JgALQBYoCDAgAEAEYRyBSKGUwDw==&rs=AOn4CLBGmBqbF9gYB4920B58U2_SlMmkrA","width":720,"height":404},{"url":"https:\/\/i.ytimg.com\/vi\/uybMJ8cSWtA\/hq720.jpg?sqp=-oaymwE9COgCEMoBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYRyBSKGUwDw==&rs=AOn4CLAjq9K2IEEGfy5H9NmCQccHzGOGLg","width":360,"height":202}],"isUpcoming":false,"upcoming":null,"isLive":false,"badges":[],"author":{"name":"Taylor Swift","channelID":"UCqECaJ8Gagnn7YCbPEzWH6g","url":"https:\/\/www.youtube.com\/channel\/UCqECaJ8Gagnn7YCbPEzWH6g","bestAvatar":{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68},"avatars":[{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68}],"ownerBadges":["Official Artist Channel"],"verified":true},"description":null,"views":449649,"duration":"3:19","uploadedAt":"2 months ago"},{"type":"video","title":"Taylor Swift - Anti-Hero (Jayda G Remix)","id":"Cd3v_pRgOp8","url":"https:\/\/www.youtube.com\/watch?v=Cd3v_pRgOp8","bestThumbnail":{"url":"https:\/\/i.ytimg.com\/vi\/Cd3v_pRgOp8\/hq720.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLDGomBzDIyYKmurLMSlOQEm047haw","width":720,"height":404},"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/Cd3v_pRgOp8\/hq720.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLDGomBzDIyYKmurLMSlOQEm047haw","width":720,"height":404},{"url":"https:\/\/i.ytimg.com\/vi\/Cd3v_pRgOp8\/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBjvH5FRauNaxfVAFb2AObvSBAPpQ","width":360,"height":202}],"isUpcoming":false,"upcoming":null,"isLive":false,"badges":[],"author":{"name":"Taylor Swift","channelID":"UCqECaJ8Gagnn7YCbPEzWH6g","url":"https:\/\/www.youtube.com\/channel\/UCqECaJ8Gagnn7YCbPEzWH6g","bestAvatar":{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68},"avatars":[{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68}],"ownerBadges":["Official Artist Channel"],"verified":true},"description":null,"views":423620,"duration":"3:36","uploadedAt":"2 months ago"},{"type":"video","title":"Taylor Swift - Anti-Hero (feat. Bleachers)","id":"T1d9PiRAJNM","url":"https:\/\/www.youtube.com\/watch?v=T1d9PiRAJNM","bestThumbnail":{"url":"https:\/\/i.ytimg.com\/vi\/T1d9PiRAJNM\/hq720.jpg?sqp=-oaymwExCNAFEJQDSFryq4qpAyMIARUAAIhCGAHwAQH4Af4JgALQBYoCDAgAEAEYRiBSKGUwDw==&rs=AOn4CLDsKcYg7tTW14YIgmzTavYsp4tUmA","width":720,"height":404},"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/T1d9PiRAJNM\/hq720.jpg?sqp=-oaymwExCNAFEJQDSFryq4qpAyMIARUAAIhCGAHwAQH4Af4JgALQBYoCDAgAEAEYRiBSKGUwDw==&rs=AOn4CLDsKcYg7tTW14YIgmzTavYsp4tUmA","width":720,"height":404},{"url":"https:\/\/i.ytimg.com\/vi\/T1d9PiRAJNM\/hq720.jpg?sqp=-oaymwE9COgCEMoBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYRiBSKGUwDw==&rs=AOn4CLAvKxxP1lysBAONrzj9HyVPKgma4w","width":360,"height":202}],"isUpcoming":false,"upcoming":null,"isLive":false,"badges":[],"author":{"name":"Taylor Swift","channelID":"UCqECaJ8Gagnn7YCbPEzWH6g","url":"https:\/\/www.youtube.com\/channel\/UCqECaJ8Gagnn7YCbPEzWH6g","bestAvatar":{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68},"avatars":[{"url":"https:\/\/yt3.ggpht.com\/8IG_vczSZLUYnDvfHFusOMdIFRpPP8xoKX6z2BLoyALI2hep-PrlLjKEp8qnrnOjTDbAF2w4kQ=s88-c-k-c0x00ffffff-no-rj","width":68,"height":68}],"ownerBadges":["Official Artist Channel"],"verified":true},"description":null,"views":1459315,"duration":"3:52","uploadedAt":"2 months ago"},{"type":"video","title":"Taylor Swift - Bejeweled (Official Music Video)","id":"b7QlX3yR2xs","url":"https:\/\/www.youtube.com\/watch?v=b7QlX3yR2xs","bestThumbnail":{"url":"https:\/\/i.ytimg.com\/vi\/b7QlX3yR2xs\/hq720.jpg?sqp=...
                                                                                                                                                                                                                    
                                                                                                    

Fetch Youtube Videos - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/948/youtube+search+api/769/fetch+youtube+videos?q=Taylor Swift' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

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 Search API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
2,161ms

Category:


Tags:


Related APIs