Videos en tendencia en Youtube. API

Esta API permitirá a los desarrolladores recuperar una lista de videos que están actualmente en tendencia en YouTube. Esta lista se actualiza a diario e incluye videos de varias categorías de varios países.

Acerca de la API:

La "API de Videos en Tendencia en Youtube" permite a los desarrolladores recuperar una lista de videos que son tendencia actualmente en YouTube. Esta lista se actualiza a diario e incluye videos de varias categorías, como música, deportes, juegos y más.

Usando la API, los desarrolladores pueden recuperar una variedad de información sobre los videos en tendencia, como sus títulos, descripciones, miniaturas y otros metadatos.

Puede utilizar los parámetros opcionales para filtrar por país y por categoría. 

¿Qué recibe su API y qué proporciona su API (entrada/salida)?

Puede recibir un parámetro y proporcionarle un JSON.

¿Cuáles son los casos de uso más comunes de esta API?

Esta información puede utilizarse para construir aplicaciones que muestran videos en tendencia a los usuarios o para analizar tendencias en YouTube.

Por ejemplo, un desarrollador podría usar la API para crear un sitio web que muestre los videos en tendencia actuales en YouTube. El sitio web podría incluir una lista de videos en tendencia, junto con sus títulos, descripciones y miniaturas. Los usuarios podrían navegar por la lista para descubrir nuevos y populares videos en YouTube.

Alternativamente, un desarrollador podría usar la API para analizar tendencias en YouTube. Por ejemplo, podría usar la API para recuperar una lista de videos en tendencia durante un período de tiempo, y luego usar estos datos para identificar patrones o tendencias en los tipos de videos que son populares en YouTube.

En general, la "API de Videos en Tendencia en Youtube" es una herramienta poderosa para desarrolladores que desean construir aplicaciones que interactúan con YouTube y su extensa biblioteca de videos. Ya sea que busque mostrar videos en tendencia a los usuarios, o analizar tendencias en YouTube, la API proporciona una gran cantidad de información y funcionalidad.

¿Hay alguna limitación en sus planes?

  • 5 por día.

  • Plan Básico: 5,000 Llamadas a la API.

  • Plan Pro: 30,000 Llamadas a la API.

  • Plan Pro Plus: 100,000 Llamadas a la API.

  • Plan Elite: 300,000 Llamadas a la API.

Documentación de la API

Endpoints


El endpoint "Obtener Videos Tendencia" es parte de la "API de Videos en Tendencia de YouTube" que permite a los desarrolladores recuperar una lista de videos que actualmente están en tendencia en YouTube. Al hacer una solicitud GET a este endpoint, los desarrolladores pueden obtener información sobre los videos en tendencia, como sus títulos, descripciones, miniaturas y otros metadatos.

Puede utilizar los parámetros opcionales para filtrar por "país", por ejemplo, EE.UU., DE, RU, etc. o, el "tipo" para filtrar por una categoría, por ejemplo, juegos, música, películas o predeterminado.



                                                                            
GET https://zylalabs.com/api/881/trending+videos+on+youtube+api/670/obtain+trending+videos
                                                                            
                                                                        

Obtener Videos Tendencia. - Características del Endpoint

Objeto Descripción
country Opcional Filter by country. For example US, DE, UK, etc.
type Opcional Filter by a category, for example, gaming, music, movies, or default.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            [{"title":"I Saved $40 at the Grocery Store Buying Steak.. Let Me Show You How!","description":"","publishedDate":"2023-01-04T18:02:11.677Z","publishedText":"1 month ago","videoId":"fL89gyZJr2w","videoUrl":"https://www.youtube.com/watch?v=fL89gyZJr2w","channelName":"Butcher Wizard","channelId":"UCFCDEaQC9NqzYDTxwTejlDg","channelUrl":"https://youtube.com/@ButcherWizard","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/fL89gyZJr2w/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/fL89gyZJr2w/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/fL89gyZJr2w/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/fL89gyZJr2w/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/fL89gyZJr2w/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/fL89gyZJr2w/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/fL89gyZJr2w/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/fL89gyZJr2w/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/fL89gyZJr2w/3.jpg","width":120,"height":90}],"views":786602,"viewsText":"786.6K","duration":1221,"durationText":"20:21","verified":false,"creatorOnRise":true,"isShort":false},{"title":"This Kitchen Gadget Cooks A Perfect Steak Every time!!","description":"","publishedDate":"2023-01-04T18:02:11.677Z","publishedText":"1 month ago","videoId":"UFM_3KwM20Q","videoUrl":"https://www.youtube.com/watch?v=UFM_3KwM20Q","channelName":"Butcher Wizard","channelId":"UCFCDEaQC9NqzYDTxwTejlDg","channelUrl":"https://youtube.com/@ButcherWizard","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/UFM_3KwM20Q/3.jpg","width":120,"height":90}],"views":13102,"viewsText":"13.1K","duration":359,"durationText":"5:59","verified":false,"creatorOnRise":true,"isShort":false},{"title":"2 Ways To Properly Vacuum Seal And Freeze Your Extra Steak","description":"","publishedDate":"2023-01-04T18:02:11.677Z","publishedText":"1 month ago","videoId":"DCuDzg8l0LI","videoUrl":"https://www.youtube.com/watch?v=DCuDzg8l0LI","channelName":"Butcher Wizard","channelId":"UCFCDEaQC9NqzYDTxwTejlDg","channelUrl":"https://youtube.com/@ButcherWizard","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/DCuDzg8l0LI/3.jpg","width":120,"height":90}],"views":25521,"viewsText":"25.5K","duration":304,"durationText":"5:04","verified":false,"creatorOnRise":true,"isShort":false},{"title":"Bills safety Damar Hamlin taken to hospital after Monday Night Football injury","description":"A Bills player was taken off the field in an ambulance during a Monday Night Football matchup with the Cincinnati Bengals.","publishedDate":"2023-01-04T15:39:11.677Z","publishedText":"1 day ago","videoId":"PR715VHT8LE","videoUrl":"https://www.youtube.com/watch?v=PR715VHT8LE","channelName":"WTVR CBS 6","channelId":"UC9ha3sh4YTCSK83dH6OlWTw","channelUrl":"https://youtube.com/@WtvrCBS6","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/PR715VHT8LE/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/PR715VHT8LE/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/PR715VHT8LE/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/PR715VHT8LE/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/PR715VHT8LE/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/PR715VHT8LE/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/PR715VHT8LE/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/PR715VHT8LE/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/PR715VHT8LE/3.jpg","width":120,"height":90}],"views":1072197,"viewsText":"1.1M","duration":78,"durationText":"1:18","verified":true,"creatorOnRise":false,"isShort":false},{"title":"Bills' Damar Hamlin in critical condition after suffering cardiac arrest | NFL | FIRST THINGS FIRST","description":"Last night’s Buffalo Bills-Cincinnati Bengals came to an abrupt halt when Bills safety Damar Hamlin collapsed on the field. Hamlin suffered cardiac arrest and was given CPR on the field to...","publishedDate":"2023-01-04T16:03:11.677Z","publishedText":"20 hours ago","videoId":"Wf1e4kPAwBU","videoUrl":"https://www.youtube.com/watch?v=Wf1e4kPAwBU","channelName":"First Things First","channelId":"UCOTPo2y-NHJjg1EuENrxypA","channelUrl":"https://youtube.com/@FirstThingsFirst","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/Wf1e4kPAwBU/3.jpg","width":120,"height":90}],"views":413752,"viewsText":"413.8K","duration":690,"durationText":"11:30","verified":true,"creatorOnRise":false,"isShort":false},{"title":"IM INVISIBLE?? | BAILEY SPINN #shorts #comedy #skit","description":"","publishedDate":"2023-01-04T16:03:11.677Z","publishedText":"20 hours ago","videoId":"orQvswVTSRQ","videoUrl":"https://www.youtube.com/watch?v=orQvswVTSRQ","channelName":"Bailey Spinn","channelId":"UC9MAhLcXqWZo2CKlFjLpDEA","channelUrl":"https://youtube.com/@baileyspinn","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/orQvswVTSRQ/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/orQvswVTSRQ/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/orQvswVTSRQ/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/orQvswVTSRQ/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/orQvswVTSRQ/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/orQvswVTSRQ/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/orQvswVTSRQ/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/orQvswVTSRQ/2.jpg","width":120,"height":90},{"quality":"end","url":"https://i.ytimg.com/vi/orQvswVTSRQ/3.jpg","width":120,"height":90}],"views":1722114,"viewsText":"1.7M","duration":53,"durationText":"0:53","verified":true,"creatorOnRise":true,"isShort":true},{"title":"THE WORST ROOMMATE EVER...","description":"","publishedDate":"2023-01-04T15:39:11.677Z","publishedText":"1 day ago","videoId":"ydRKUdHyPxA","videoUrl":"https://www.youtube.com/watch?v=ydRKUdHyPxA","channelName":"Zachary Ryan","channelId":"UCRJ-wKLkf96N4fl4w-1LZQw","channelUrl":"https://youtube.com/@ZacharyRyan","thumbnails":[{"quality":"maxres","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/maxres.jpg","width":1280,"height":720},{"quality":"maxresdefault","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/maxresdefault.jpg","width":1280,"height":720},{"quality":"sddefault","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/sddefault.jpg","width":640,"height":480},{"quality":"high","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/hqdefault.jpg","width":480,"height":360},{"quality":"medium","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/mqdefault.jpg","width":320,"height":180},{"quality":"default","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/default.jpg","width":120,"height":90},{"quality":"start","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/1.jpg","width":120,"height":90},{"quality":"middle","url":"https://i.ytimg.com/vi/ydRKUdHyPxA/2.jpg","width":120,"height":90},{"quality":"end","url":"https://...
                                                                                                                                                                                                                    
                                                                                                    

Obtain Trending Videos - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/881/trending+videos+on+youtube+api/670/obtain+trending+videos?country=US&type=shorts' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Videos en tendencia en Youtube. API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
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.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Videos en tendencia en Youtube. API FAQs

El endpoint "Obtener videos en tendencia" devuelve un arreglo JSON que contiene detalles sobre videos de YouTube en tendencia, incluyendo títulos, descripciones, fechas de publicación, IDs de video, URLs, nombres de canales y miniaturas.

Los campos clave en la respuesta incluyen "título," "descripción," "fechaPublicación," "idVideo," "urlVideo," "nombreCanal," "idCanal," y "miniaturas," que proporcionan información esencial sobre cada video en tendencia.

Los usuarios pueden personalizar sus solicitudes utilizando parámetros como "país" (por ejemplo, EE. UU., DE, REINO UNIDO) para filtrar por región y "tipo" para filtrar por categoría (por ejemplo, juegos, música, películas).

Los datos de respuesta están organizados como un arreglo JSON de objetos, donde cada objeto representa un video en tendencia con campos estructurados para un fácil acceso a los detalles del video y metadatos.

Los datos se obtienen directamente de las listas de videos en tendencia de YouTube, asegurando que la información refleje las tendencias más actuales y el contenido popular en la plataforma.

Los casos de uso típicos incluyen la construcción de aplicaciones que muestran videos en tendencia, la creación de herramientas de análisis para estudiar las tendencias de video a lo largo del tiempo, o la integración de contenido en tendencia en sitios web y aplicaciones móviles para la participación del usuario.

Los usuarios pueden utilizar los datos devueltos mostrando títulos de videos y miniaturas en sus aplicaciones, enlazando a las URL de los videos para acceso directo y analizando tendencias basadas en fechas de publicación y categorías.

La precisión de los datos se mantiene a través de actualizaciones regulares de la API de YouTube, que asegura que la información de los videos en tendencia refleja cambios en tiempo real en el compromiso de los espectadores y la popularidad.

General FAQs

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

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.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1.000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1.000 requests per month, this header will display 1.000.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3.600, it means 3.600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.

 Nivel de Servicio
100%
 Tiempo de Respuesta
2.163,28ms

Categoría:


APIs Relacionadas


También te puede interesar