YouTube Dirette del canale API
Elenca le dirette e le dirette passate di un canale YouTube tramite handle o ID del canale con paginazione a cursore (titolo, visualizzazioni, durata, ora di pubblicazione).
1,20 USD/1k richieste, paghi a richiesta, nessun abbonamento.
@pixelforgegg
RANKED GRIND to Diamond - road to top 500 !builds !coach
3,140 views · Streamed 4 hours ago
{"id": "kQ7mZ2vT8pL","url": "https://www.youtube.com/watch?v=kQ7mZ2vT8pL","title": "RANKED GRIND to Diamond - road to top 500 !builds !coach","views": 3140,"lengthText": "3:12:08","publishedTime": "Streamed 4 hours ago","image": "https://i.ytimg.com/vi/kQ7mZ2vT8pL/hqdefault.jpg"}
Prezzi e provider
Prezzi dell'API YouTube Dirette del canale: una sola API, 2 provider intercambiabili
Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.
Provalo
Ottieni YouTube Dirette del canale in una sola richiesta
Questo esempio mostra 11 campi su 12. Vedi tutti i campi
{
"found": true,
"data": {
"nextCursor": "Eg0SC1BpeGVsZm9yZ2UxQoABAQ",
"lives": [
{
"id": "kQ7mZ2vT8pL",
"url": "https://www.youtube.com/watch?v=kQ7mZ2vT8pL",
"title": "RANKED GRIND to Diamond - road to top 500 !builds !coach",
"views": 3140,
"lengthText": "3:12:08",
"publishedTime": "Streamed 4 hours ago",
"image": "https://i.ytimg.com/vi/kQ7mZ2vT8pL/hqdefault.jpg"
},
{
"id": "nR4wY9uX2sK",
"url": "https://www.youtube.com/watch?v=nR4wY9uX2sK",
"title": "Sunday chill stream - new patch reactions and viewer games",
"views": 8720,
"lengthText": "2:45:51",
"publishedTime": "Streamed 3 days ago",
"image": "https://i.ytimg.com/vi/nR4wY9uX2sK/hqdefault.jpg"
},
{
"id": "vB1cD6eF3gH",
"url": "https://www.youtube.com/watch?v=vB1cD6eF3gH",
"title": "Charity marathon for local food bank - 12 hour stream",
"views": 15600,
"lengthText": "12:03:44",
"publishedTime": "Streamed 2 weeks ago",
"image": "https://i.ytimg.com/vi/vB1cD6eF3gH/hqdefault.jpg"
}
]
}
}Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.
Riferimento
Una richiesta, una sola forma di risposta.
Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.
Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d
Corpo della richiesta
JSON, inviato a questo endpoint.
- channelIdstring
ID del canale YouTube.
- cursorstring
Token di continuazione da una risposta precedente per la paginazione.
- handlestring
@pixelforgegg
Handle del canale YouTube.
- requireFieldsarray
Facoltativo; se lo ometti l'instradamento resta invariato, e serve la fonte più economica. Indica i campi di output che questa richiesta deve poter restituire, per esempio `lengthText`, e verrà servita solo da una fonte che li restituisce tutti. I campi che non indichi vengono comunque restituiti ogni volta che la fonte che serve li ha. Può far salire il prezzo: quando la fonte più economica non può restituire un campo indicato, serve una fonte più cara, e ti viene quotato e addebitato il suo prezzo. Un campo indicato può comunque mancare su una diretta che davvero non lo ha. Indicare una combinazione che nessuna singola fonte restituisce insieme viene rifiutato come input non valido, senza addebito. In una scansione paginata vale solo per la prima pagina; le pagine successive restano con la fonte scelta da quella pagina, al prezzo che era stato quotato.
Risposta
JSON, un valore di esempio per campo.
Populated whenever the provider has data for the entity.
- idstring
kQ7mZ2vT8pL
Populated whenever the provider has data for the entity.
- imagestring
https://i.ytimg.com/vi/kQ7mZ2vT8pL/hqdefault.jpg
URL of the live stream thumbnail image, tracking query parameters stripped.
- lengthTextstringpuò richiedere
3:12:08
Stream length as YouTube shows it, such as 3:29:31, or LIVE while it is streaming; null when the serving source does not report it.
- publishedTimestring
Streamed 4 hours ago
Populated whenever the provider has data for the entity.
- titlestring
RANKED GRIND to Diamond - road to top 500 !builds !coach
Populated whenever the provider has data for the entity.
- urlstring
https://www.youtube.com/watch?v=kQ7mZ2vT8pL
Populated whenever the provider has data for the entity.
- viewsinteger
3140
Views of a past stream, or people watching a stream that is live now. Every source reads it from YouTube's rounded label ("60K watching" is 60000), so it is approximate.
- nextCursorstring
Eg0SC1BpeGVsZm9yZ2UxQoABAQ
Opaque cursor for the next page of live streams, or null when this lane has no more. Pass it back as cursor to continue.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
Sull'API YouTube Dirette del canale
L'API YouTube Dirette del canale di AnyAPI restituisce dati YouTube come JSON normalizzato da una sola chiamata POST a /v1/run/youtube.channel_lives. Elenca le dirette e le dirette passate di un canale YouTube tramite handle o ID del canale con paginazione a cursore (titolo, visualizzazioni, durata, ora di pubblicazione). AnyAPI instrada ogni richiesta su 2 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 1,20 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate YouTube Dirette del canale tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,1 secondi su 1320 chiamate misurate.