YouTube Video del canale API
Elenca i caricamenti di un canale tramite handle o channelId con paginazione a cursore: titolo, visualizzazioni, durata e ora di pubblicazione.
0,79 USD/1k richieste, paghi a richiesta, nessun abbonamento.
@mkbhd
The cheapest flagship phone, reviewed
4.1M views · 2 weeks ago
{"id": "5EWaxmWgQMI","url": "https://www.youtube.com/watch?v=5EWaxmWgQMI","title": "The cheapest flagship phone, reviewed","views": 4120000,"lengthText": "12:48","publishedTime": "2 weeks ago","createdUtc": number,"image": string}
Prezzi e provider
Prezzi dell'API YouTube Video del canale: una sola API, 4 provider intercambiabili
Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.
Provalo
Ottieni YouTube Video del canale in una sola richiesta
Questo esempio mostra 10 campi su 13. Vedi tutti i campi
{
"found": true,
"data": {
"nextCursor": "4qmFsgLlFhIYV",
"videos": [
{
"id": "5EWaxmWgQMI",
"url": "https://www.youtube.com/watch?v=5EWaxmWgQMI",
"title": "The cheapest flagship phone, reviewed",
"views": 4120000,
"lengthText": "12:48",
"publishedTime": "2 weeks ago"
}
]
}
}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
@mkbhd
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 `views`, 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 un video 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. Una fonte che restituisce solo un valore arrotondato o abbreviato per un campo non conta come se lo restituisse.
- sortenum
Ordinamento.
Risposta
JSON, un valore di esempio per campo.
- nextCursorstring
4qmFsgLlFhIYV
Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue.
Populated whenever the provider has data for the entity.
- createdUtcnumberpuò richiedere
UTC epoch timestamp in seconds (Unix time). Some sources only show a relative age such as "4 days ago", so the value is estimated from it and can be off by up to the label's unit (a day, a week, a month); name `createdUtc` in requireFields to be served only by a source that returns the exact time. Multiply by 1000 for a JS Date in milliseconds.
- idstring
5EWaxmWgQMI
Populated whenever the provider has data for the entity.
- imagestring
URL of the video thumbnail image, tracking query parameters stripped.
- lengthTextstringpuò richiedere
12:48
Video length as YouTube shows it, such as 11:56, or null when the serving source does not report it.
- publishedTimestring
2 weeks ago
Populated whenever the provider has data for the entity.
- titlestring
The cheapest flagship phone, reviewed
Populated whenever the provider has data for the entity.
- urlstring
https://www.youtube.com/watch?v=5EWaxmWgQMI
Populated whenever the provider has data for the entity.
- viewsintegerpuò richiedere
4120000
Number of views. Some sources round large counts (6.4M instead of 6,474,059); name `views` in requireFields to be served only by a source that returns the exact count.
- 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.
Vendi questa API? Consulta lo schema completo che il tuo endpoint deve restituire.
FAQ
Sull'API YouTube Video del canale
L'API YouTube Video del canale di AnyAPI restituisce dati YouTube come JSON normalizzato da una sola chiamata POST a /v1/run/youtube.channel_videos. Elenca i caricamenti di un canale tramite handle o channelId con paginazione a cursore: titolo, visualizzazioni, durata e ora di pubblicazione. AnyAPI instrada ogni richiesta su 4 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,79 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 99,7% delle chiamate YouTube Video del canale tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,3 secondi su 41.305 chiamate misurate.