The API is designed to help users discover more content related to their interests. When a user searches for a specific keyword on YouTube, the platform uses its algorithms to identify related videos. These videos share similarities with the original search query, making them relevant and appealing to users.
To access related search videos programmatically, users can use the YouTube List API. This API provides an easy way to retrieve search results, including related videos, in a structured JSON format. By constructing the appropriate API request with specific parameters, developers can extract a list of related videos associated with a given keyword.
Using the YouTube List API, users can present related videos in their own applications, websites or even create browser extensions. This integration enriches the user experience by offering a more personalized and tailored content discovery process.
There are numerous ways to present related search videos to users. For example, developers can create customized video carousels that suggest related content alongside the video currently being viewed. This encourages users to explore more videos related to their interests and keeps them hooked to the platform for longer periods of time.
YouTube's related search videos feature, accessible through the YouTube API, opens up a world of possibilities for developers to enrich user experiences. By offering personalized and relevant content recommendations, developers can increase user engagement and satisfaction on their platforms or apps. Developers can leverage the power of related search videos to create a more engaging and enjoyable viewing experience for users around the world.
It will receive parameters and provide you with a JSON.
Personalized content recommendations: One of the most common use cases for accessing related search videos through the YouTube List API helps by providing users with personalized content recommendations.
Content discovery: Content creators and platforms can leverage the API to provide their users with enhanced content discovery capabilities. By showing related videos alongside the main video being watched, users are encouraged to drill down to content relevant to their original search, resulting in increased viewing time and interaction with the platform.
Improved user retention: Incorporating related search videos into an app or website helps retain users for longer periods of time. By keeping users engaged with personalized recommendations, the likelihood of them staying on the platform and consuming more content increases significantly.
Creating custom video carousels: Developers can create custom video carousels that display related videos based on specific criteria, such as popularity, relevance or upload date. These carousels can be embedded into websites or apps, giving users an easy way to discover and navigate related videos.
Contextual advertising: Content platforms and advertisers can use the API to implement contextual advertising. By displaying videos that are related and relevant to user interests, advertisers can place ads that are more likely to resonate with the target audience, resulting in higher engagement and ad conversion rates.
Basic Plan: 15,000 API Calls. 500 requests per day.
Pro Plan: 45,000 API Calls. 1,500 requests per day.
Pro Plus Plan: 120,000 API Calls. 4,000 requests per day.
To use this endpoint, all you have to do is indicate a keyword in the parameter.
Search video by Keyword - Características del Endpoint
Objeto | Descripción |
---|---|
q |
[Requerido] |
{"items":[{"id":"VAH-ixdFWFs","type":"WATCH","url":"https://www.youtube.com/watch?v=VAH-ixdFWFs&pp=ygUEZG9ncw%3D%3D","title":"20 Minutes of Adorable Puppies 🐶","channel_name":"The Pet Collective","channel_url":"https://www.youtube.com/@petcollective","views":7870275,"length":"20:01"},{"id":"HFSALiU28N8","type":"WATCH","url":"https://www.youtube.com/watch?v=HFSALiU28N8&pp=ygUEZG9ncw%3D%3D","title":"24 Hours Anti Anxiety Music for Dog: TV for Dogs & Fast-Boredom Busting Videos for Dogs with Music","channel_name":"Great Music for DOGS","channel_url":"https://www.youtube.com/@GreatMusicforDOGS","views":581179,"length":"24:00:00"},{"id":"neC3M3IMagQ","type":"WATCH","url":"https://www.youtube.com/watch?v=neC3M3IMagQ&pp=ygUEZG9ncw%3D%3D","title":"24 Hours of Best Fun & Relaxing TV for Dogs! Prevent Boredom & Anxiety with Music for Dogs! NEW","channel_name":"Great Music for DOGS","channel_url":"https://www.youtube.com/@GreatMusicforDOGS","views":146995,"length":"24:00:00"},{"id":"4QA30qkRYy8","type":"WATCH","url":"https://www.youtube.com/watch?v=4QA30qkRYy8&pp=ygUEZG9ncw%3D%3D","title":"Dogs","channel_name":"Pink Floyd","channel_url":"https://www.youtube.com/channel/UCY2qt3dw2TQJxvBrDiYGHdQ","views":25127752,"length":"17:06"},{"id":"UeswM9G3Zw4","type":"WATCH","url":"https://www.youtube.com/watch?v=UeswM9G3Zw4&pp=ygUEZG9ncw%3D%3D","title":"Dogs Make You Forget All Your Problems 😂","channel_name":"Ginger Cat","channel_url":"https://www.youtube.com/@GingerCatOfficial","views":370276,"length":"9:37"},{"id":"uYJQIKAVBw8","type":"WATCH","url":"https://www.youtube.com/watch?v=uYJQIKAVBw8&pp=ygUEZG9ncw%3D%3D","title":"DOGS & PUPPIES in 4K | 2 Hours | Relaxing Ambient Music Strings Cute Pets","channel_name":"REST EASY FILMS","channel_url":"https://www.youtube.com/@resteasyfilms","views":604056,"length":"2:00:01"},{"id":"07d2dXHYb94","type":"WATCH","url":"https://www.youtube.com/watch?v=07d2dXHYb94&pp=ygUEZG9ncw%3D%3D","title":"Pip | A Short Animated Film by Southeastern Guide Dogs","channel_name":"Southeastern Guide Dogs","channel_url":"https://www.youtube.com/@SoutheasternGuideDogs","views":470270175,"length":"4:05"},{"id":"nmnaI3TGtBo","type":"WATCH","url":"https://www.youtube.com/watch?v=nmnaI3TGtBo&pp=ygUEZG9ncw%3D%3D","title":"TOP 10 Beagle Dog Parties Ft. Louie & Marie","channel_name":"Louie The Beagle","channel_url":"https://www.youtube.com/@LouieTheBeagle","views":15364740,"length":"32:15"},{"id":"nkWj6iGKVj0","type":"WATCH","url":"https://www.youtube.com/watch?v=nkWj6iGKVj0&pp=ygUEZG9ncw%3D%3D","title":"My Dog JUMPED On The Swimming Pool Cover!","channel_name":"Snow Dogs Vlogs","channel_url":"https://www.youtube.com/@SnowDogsVlogs","views":27289,"length":"18:20"},{"id":"ngMm87S3zdQ","type":"WATCH","url":"https://www.youtube.com/watch?v=ngMm87S3zdQ&pp=ygUEZG9ncw%3D%3D","title":"Dogs playing: Episode 30","channel_name":"Dog Playgroup Stories","channel_url":"https://www.youtube.com/@DogPlaygroupStories","views":827619,"length":"8:13"},{"id":"a5e7yEhbGhk","type":"WATCH","url":"https://www.youtube.com/watch?v=a5e7yEhbGhk&pp=ygUEZG9ncw%3D%3D","title":"Dogs playing: Episode 53","channel_name":"Dog Playgroup Stories","channel_url":"https://www.youtube.com/@DogPlaygroupStories","views":1026515,"length":"18:57"},{"id":"L0jEti7WyBM","type":"WATCH","url":"https://www.youtube.com/watch?v=L0jEti7WyBM&pp=ygUEZG9ncw%3D%3D","title":"[No Ads] DOG TV - Relaxing Virtual Dog Walk - Entertainment for Dogs!","channel_name":"Relax Your Dog - Calming Music and TV","channel_url":"https://www.youtube.com/@relaxdog","views":507004,"length":"20:00:00"},{"id":"SqH74p8cykw","type":"WATCH","url":"https://www.youtube.com/watch?v=SqH74p8cykw&pp=ygUEZG9ncw%3D%3D","title":"Territorio de Zaguates \"Land of The Strays\" Dog Rescue Ranch Sanctuary in Costa Rica","channel_name":"Vinny Zanrosso","channel_url":"https://www.youtube.com/@VinnyZanrosso","views":54857397,"length":"4:53"},{"id":"nbfWVn9waM8","type":"WATCH","url":"https://www.youtube.com/watch?v=nbfWVn9waM8&pp=ygUEZG9ncw%3D%3D","title":"Funny Babies Playing with Dogs Compilation - Funny Baby and Pets || Cool Peachy","channel_name":"COOL PEACHY","channel_url":"https://www.youtube.com/@coolpeachybaby","views":42969977,"length":"20:17"},{"id":"FmpURofKOWU","type":"WATCH","url":"https://www.youtube.com/watch?v=FmpURofKOWU&pp=ygUEZG9ncw%3D%3D","title":"Rottweiler vs Pitbull Terrier - Pitbull vs Rottweiler Real Fight Kill","channel_name":"Facts Pick","channel_url":"https://www.youtube.com/@FactsPick","views":1329022,"length":"8:30"},{"id":"eFIxrIN01Hg","type":"WATCH","url":"https://www.youtube.com/watch?v=eFIxrIN01Hg&pp=ygUEZG9ncw%3D%3D","title":"24 Hours of the Best Fun & Relaxing TV for Dogs! Boredom Busting Videos for Dog with Music","channel_name":"Great Music for DOGS","channel_url":"https://www.youtube.com/@GreatMusicforDOGS","views":52779,"length":"24:00:00"},{"id":"tChSA7PtHNs","type":"WATCH","url":"https://www.youtube.com/watch?v=tChSA7PtHNs&pp=ygUEZG9ncw%3D%3D","title":"Dogs Doing Funny Things Tik Tok ~ Cutest Puppies TIKTOK Compilation ~ Fluppy","channel_name":"Fluppy","channel_url":"https://www.youtube.com/@FluppyChannel","views":11000030,"length":"14:56"},{"id":"VAIU7fvt-FA","type":"WATCH","url":"https://www.youtube.com/watch?v=VAIU7fvt-FA&pp=ygUEZG9ncw%3D%3D","title":"I'm A Big Kid Now - Baby Dogs And Cats Grow Up To Adults | Furry Buddy","channel_name":"Furry Buddy","channel_url":"https://www.youtube.com/@awesomefurrybuddy","views":3861609,"length":"12:04"},{"id":"1q-BxESrbYI","type":"WATCH","url":"https://www.youtube.com/watch?v=1q-BxESrbYI&pp=ygUEZG9ncw%3D%3D","title":"Virtual Dog TV! Videos for Dogs to Prevent Boredom [With ASMR Music]","channel_name":"Relax My Dog - Relaxing Music for Dogs","channel_url":"https://www.youtube.com/@relaxmydog","views":2538190,"length":"10:00:00"},{"id":"HQidp1g5NzA","type":"WATCH","url":"https://www.youtube.com/watch?v=HQidp1g5NzA&pp=ygUEZG9ncw%3D%3D","title":"Dogs are so funny that you can die of laughter 😁","channel_name":"Ginger Cat","channel_url":"https://www.youtube.com/@GingerCatOfficial","views":59869,"length":"9:38"}],"next_continuation":"EpcDEgRkb2dzGo4DU0JTQ0FRdHFVR1pVUzBkU05EQkZhNElCQzFGYVJYcDNOSE5MWWpCdmdnRUxjV00zTUZSSmRFOHlVbFdDQVFzMFVVRXpNSEZyVWxsNU9JSUJDMVZsYzNkTk9VY3pXbmMwZ2dFTGRWbEtVVWxMUVZaQ2R6aUNBUXN3TjJReVpGaElXV0k1TklJQkMyNXRibUZKTTFSSGRFSnZnZ0VMYm10WGFqWnBSMHRXYWpDQ0FRdHVaMDF0T0RkVE0zcGtVWUlCQzJFMVpUZDVSV2hpUjJocmdnRUxUREJxUlhScE4xZDVRazJDQVF0VGNVZzNOSEE0WTNscmQ0SUJDMjVpWmxkV2JqbDNZVTA0Z2dFTFJtMXdWVkp2Wmt0UFYxV0NBUXRsUmtsNGNrbE9NREZJWjRJQkMzUkRhRk5CTjFCMFNFNXpnZ0VMVmtGSlZUZG1kblF0UmtHQ0FRc3hjUzFDZUVWVGNtSlpTWUlCQzBoUmFXUndNV2MxVG5wQnNnRUdDZ1FJR3hBQzZnRUNDQUklM0QYgeDoGCILc2VhcmNoLWZlZWQ%3D"}
curl --location --request GET 'https://zylalabs.com/api/2341/youtube+list+api/2259/search+video+by+keyword?q=dogs' --header 'Authorization: Bearer YOUR_API_KEY'
Encabezado | Descripción |
---|---|
Autorización
|
[Requerido] Debería ser Bearer access_key . Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito. |
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
The user must enter a keyword.
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 YouTube List API allows developers to retrieve lists of videos from YouTube content.
The YouTube List API returns structured data in JSON format, including details about related videos such as video IDs, titles, URLs, channel names, view counts, and video lengths.
Key fields in the response include "id" (video ID), "title" (video title), "url" (link to the video), "channel_name" (name of the channel), "channel_url" (link to the channel), "views" (view count), and "length" (duration of the video).
The response data is organized in a JSON object with an "items" array, where each item represents a related video, containing the aforementioned key fields for easy access and display.
The primary parameter for the endpoint is "keyword," which specifies the search term for retrieving related videos. Additional parameters may include filters for relevance or sorting options.
The endpoint provides information about related videos, including their titles, URLs, channel details, view counts, and lengths, allowing users to discover content relevant to their interests.
Users can customize requests by specifying different keywords and potentially using additional parameters to filter results based on criteria like relevance or upload date, enhancing the relevance of the returned videos.
Typical use cases include creating personalized video recommendations, enhancing content discovery on platforms, developing custom video carousels, and implementing contextual advertising based on user interests.
Data accuracy is maintained through YouTube's algorithms, which continuously analyze user interactions and video performance, ensuring that the related videos returned are relevant and up-to-date based on current trends.
Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.
Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]
Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.
La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.
Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]
Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.
Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.
Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.
Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.
Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.
Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.
El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.
Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.
Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]
Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.
Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.
Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.
Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.139ms
Nivel de Servicio:
90%
Tiempo de Respuesta:
1.144ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.361ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.466ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.530ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
998ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
409ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
0ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.945ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.731ms