API di YouTube

YouTube Trascrizione completa del video API

Recupera la trascrizione di un video o Short di YouTube con segmenti temporizzati e la sua provenienza: se le parole sono sottotitoli scritti dal creator o riconoscimento vocale automatico.

2,00 USD/1k richieste, paghi a richiesta, nessun abbonamento.

YouTube
youtube.com/watch?v=nS3oOb6VwJq
YouTube
Sign in
Subscribe

Transcript

0:00welcome back to the channel today we're going to talk about
0:04how sourdough starters actually work at a chemistry level
0:09first let's talk about the flour you use because that changes
0:15everything about fermentation speed
Cosa ha restituito l'APIsegments[0]
{
"text": "welcome back to the channel today we're going to talk about",
"startSeconds": 0,
"endSeconds": 4.2
}
Disponibilità
99,97%
30d · 19.855 chiamate
Richieste
19.930
30 g · settimanale, ultime 12 sett.
Risposta
5,1s
mediana · 30d

Prezzi e provider

Prezzi dell'API YouTube Trascrizione completa del video: una sola API, 2 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Paghi
20,00 USD
2,00 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 50 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni YouTube Trascrizione completa del video in una sola richiesta

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `likes`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a transcript that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 24 campi su 25. Vedi tutti i campi

{
  "found": true,
  "data": {
    "transcript": "welcome back to the channel today we're going to talk about how sourdough starters actually work at a chemistry level first let's talk about the flour you use because that changes everything about fermentation speed",
    "language": "en",
    "isAutoGenerated": false,
    "isAiGenerated": null,
    "title": "The Science of Sourdough, Explained Simply",
    "channel": "Kitchen Chemistry with Owen",
    "durationSeconds": 612,
    "segments": [
      {
        "text": "welcome back to the channel today we're going to talk about",
        "startSeconds": 0,
        "endSeconds": 4.2
      },
      {
        "text": "how sourdough starters actually work at a chemistry level",
        "startSeconds": 4.2,
        "endSeconds": 9.1
      },
      {
        "text": "first let's talk about the flour you use because that changes",
        "startSeconds": 9.1,
        "endSeconds": 14.6
      },
      {
        "text": "everything about fermentation speed",
        "startSeconds": 14.6,
        "endSeconds": 17.8
      }
    ],
    "videoId": "nS3oOb6VwJq",
    "url": "https://www.youtube.com/watch?v=nS3oOb6VwJq",
    "description": "A deep dive into the microbiology and chemistry behind a healthy sourdough starter, with tips for troubleshooting a sluggish rise.",
    "views": 341000,
    "likes": 18900,
    "authorId": "UC5sTr3u6vBzPq8fWdZgX9Lm",
    "authorUrl": "https://www.youtube.com/@kitchenchemistrywithowen",
    "image": "https://i.ytimg.com/vi/nS3oOb6VwJq/hqdefault.jpg",
    "createdUtc": 1757462400,
    "keywords": [
      "sourdough",
      "baking science",
      "fermentation"
    ],
    "category": "Education"
  }
}

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.

  • urlstring

    https://www.youtube.com/watch?v=nS3oOb6VwJq

    URL di un video o Short di YouTube (es. "https://www.youtube.com/watch?v=dQw4w9WgXcQ" o "https://www.youtube.com/shorts/Fir1x9cw2vg").

  • captionKindenum

    Quale traccia di sottotitoli accettare: "manual" solo sottotitoli scritti dal creator, "automatic" solo il riconoscimento vocale di YouTube, "any" quella che esiste.

  • languagestring

    Codice lingua preferito per i sottotitoli (es. "en", "es"). Il valore predefinito è l'inglese. Se il video non ha sottotitoli in quella lingua, ottieni la trascrizione in un'altra lingua che il video ha; il campo `language` nel risultato indica quale. Con `captionKind` impostato su "manual" o "automatic", non viene restituita un'altra lingua.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `likes`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a transcript that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

datadata
  • authorIdstring

    UC5sTr3u6vBzPq8fWdZgX9Lm

    YouTube channel ID of the publishing channel.

  • authorUrlstring

    https://www.youtube.com/@kitchenchemistrywithowen

    Canonical URL of the publishing channel, tracking query parameters stripped.

  • categorystringpuò richiedere

    Education

    YouTube category the video is filed under, for example "Music".

  • channelstring

    Kitchen Chemistry with Owen

    Channel name that published the video.

  • createdUtcnumberpuò richiedere

    1757462400

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • descriptionstring

    A deep dive into the microbiology and chemistry behind a healthy sourdough starter, with tips for troubleshooting a sluggish rise.

    Full video description text.

  • durationSecondsnumber

    612

    Video duration in seconds.

  • imagestring

    https://i.ytimg.com/vi/nS3oOb6VwJq/hqdefault.jpg

    URL of the video thumbnail image.

  • isAiGeneratedboolean

    null

    True when the words were recognized from the audio by the serving lane rather than read from any YouTube caption track, or null when the serving source does not say.

  • isAutoGeneratedboolean

    false

    True when YouTube generated the caption track by speech recognition rather than the creator supplying it. Automatic captions carry recognition errors, especially on names and jargon. Populated whenever the provider has data for the entity.

  • keywordsstring[]

    Keywords the uploader tagged the video with.

  • languagestring

    en

    Caption language code (e.g. "en"). Populated whenever the provider has data for the entity.

  • likesintegerpuò richiedere

    18900

    Number of likes.

  • titlestring

    The Science of Sourdough, Explained Simply

    Video title.

  • transcriptstring

    welcome back to the channel today we're going to talk about how sourdough starters actually work at a chemistry level first let's talk about the flour you use because that changes everything about fermentation speed

    Full transcript text, segments joined in playback order. Populated whenever the provider has data for the entity.

  • urlstring

    https://www.youtube.com/watch?v=nS3oOb6VwJq

    Watch URL of the video.

  • videoIdstring

    nS3oOb6VwJq

    Unique identifier of the video.

  • viewsinteger

    341000

    Number of views.

each segmentdata.segments[]

Timed transcript segments in playback order. Populated whenever the provider has data for the entity.

  • endSecondsnumber

    4.2

    Segment end offset in seconds.

  • startSecondsnumber

    0

    Segment start offset in seconds.

  • textstring

    welcome back to the channel today we're going to talk about

    Text of this transcript segment.

top level
  • 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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API YouTube Trascrizione completa del video

L'API YouTube Trascrizione completa del video di AnyAPI restituisce dati YouTube come JSON normalizzato da una sola chiamata POST a /v1/run/youtube.video_transcript_full. Recupera la trascrizione di un video o Short di YouTube con segmenti temporizzati e la sua provenienza: se le parole sono sottotitoli scritti dal creator o riconoscimento vocale automatico. AnyAPI instrada ogni richiesta su 2 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 2 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate YouTube Trascrizione completa del video tramite AnyAPI è riuscito, con un tempo di risposta mediano di 5,1 secondi su 19.855 chiamate misurate.

Costa da 2 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Recupera la trascrizione di un video o Short di YouTube con segmenti temporizzati e la sua provenienza: se le parole sono sottotitoli scritti dal creator o riconoscimento vocale automatico. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 100,0% delle chiamate YouTube Trascrizione completa del video tramite AnyAPI è riuscito, con un tempo di risposta mediano di 5,1 secondi su 19.855 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 50 chiamate YouTube Trascrizione completa del video a 0,002 USD ciascuna.

AnyAPI interroga la successiva delle sue 2 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/youtube.video_transcript_full con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.