YouTube-API

YouTube-Video-Transkript (vollständig)-API

Rufe das Transkript eines YouTube-Videos oder Shorts mit zeitlich getakteten Segmenten und seiner Herkunft ab: ob die Wörter vom Creator geschriebene Untertitel oder maschinelle Spracherkennung sind.

2,00 USD/1k Anfr., Zahlung pro Anfrage, kein Abo.

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
Was die API zurückgegeben hatsegments[0]
{
"text": "welcome back to the channel today we're going to talk about",
"startSeconds": 0,
"endSeconds": 4.2
}
Verfügbarkeit
99,97%
30d · 19.855 Aufrufe
Anfragen
19.930
30 T · wöchentlich, letzte 12 Wochen
Antwort
5,1s
Median · 30d

Preise und Anbieter

Preise der YouTube-Video-Transkript (vollständig)-API: eine API, 2 austauschbare Anbieter

Der günstigste Anbieter bedient zuerst. Fällt er aus, übernimmt der nächste im selben Aufruf.

Du zahlst
20,00 USD
2,00 USD/1k Anfr., nur für das, was du nutzt. Kein Monatstarif.
Deine ersten 50 Anfragen sind mit dem Startguthaben von 0,10 USD kostenlos.

Ausprobieren

YouTube Video-Transkript (vollständig) mit einer Anfrage abrufen

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.
Öffnen in
Beispielantwort
Kostenlose Läufe liefern nur die ersten 3 Ergebnisse. Lade einen Schlüssel auf, um die vollständige Antwort zu bekommen.

Dieses Beispiel zeigt 24 von 25 Feldern. Alle Felder ansehen

{
  "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"
  }
}

Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.

Referenz

Eine Anfrage, eine Antwortstruktur.

Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.

Zuletzt geprüft 2026-11-21 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

  • urlstring

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

    URL eines YouTube-Videos oder Shorts (z. B. „https://www.youtube.com/watch?v=dQw4w9WgXcQ“ oder „https://www.youtube.com/shorts/Fir1x9cw2vg“).

  • captionKindenum

    Welche Untertitelspur akzeptiert wird: „manual“ nur vom Creator geschriebene Untertitel, „automatic“ nur die Spracherkennung von YouTube, „any“ jede vorhandene.

  • languagestring

    Bevorzugter Sprachcode der Untertitel (z. B. „en“, „es“). Standard ist Englisch. Hat das Video in dieser Sprache keine Untertitel, bekommst du das Transkript in einer anderen Sprache des Videos; das Feld `language` im Ergebnis nennt sie. Ist `captionKind` auf „manual“ oder „automatic“ gesetzt, wird keine andere Sprache zurückgegeben.

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

Du sendest. Ein kleiner JSON-Body. Die gezeigten Werte sind Beispiele, die du durch deine eigenen ersetzt.

Antwort

JSON, ein Beispielwert pro Feld.

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.

  • categorystringkann erfordern

    Education

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

  • channelstring

    Kitchen Chemistry with Owen

    Channel name that published the video.

  • createdUtcnumberkann erfordern

    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.

  • likesintegerkann erfordern

    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.

Du bekommst zurück. Benannte, typisierte Felder in derselben Struktur, egal welche Quelle antwortet.

FAQ

Über die YouTube-Video-Transkript (vollständig)-API

Die AnyAPI-YouTube-Video-Transkript (vollständig)-API liefert YouTube-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/youtube.video_transcript_full. Rufe das Transkript eines YouTube-Videos oder Shorts mit zeitlich getakteten Segmenten und seiner Herkunft ab: ob die Wörter vom Creator geschriebene Untertitel oder maschinelle Spracherkennung sind. AnyAPI routet jede Anfrage über 2 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 2 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 100,0% der YouTube Video-Transkript (vollständig)-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 5,1 Sekunden über 19.855 gemessene Aufrufe.

Sie kostet ab 2 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. Du lädst ein USD-Guthabenkonto auf, und jeder Aufruf bucht davon ab. Bei manchen fehlgeschlagenen, vom Guthabenkonto bezahlten Anfragen fallen Bearbeitungsgebühren an, die wir zum Selbstkostenpreis ohne Aufschlag weitergeben. Die Fehlerantwort zeigt den berechneten Betrag.

Rufe das Transkript eines YouTube-Videos oder Shorts mit zeitlich getakteten Segmenten und seiner Herkunft ab: ob die Wörter vom Creator geschriebene Untertitel oder maschinelle Spracherkennung sind. Die Antwort ist normalisiertes JSON mit demselben Envelope, den jeder AnyAPI-Endpoint liefert, sodass das Parsen eines zweiten Endpoints nur eine geänderte URL bedeutet.

In den letzten 30 Tagen waren 100,0% der YouTube Video-Transkript (vollständig)-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 5,1 Sekunden über 19.855 gemessene Aufrufe. Das sind AnyAPIs eigene Messungen des Traffics durch das Gateway, laufend neu berechnet, kein veröffentlichtes Service-Level-Ziel.

Ja. Ein neues AnyAPI-Konto startet mit 0,10 USD Gratis-Guthaben, ohne Karte. Das deckt 50 YouTube-Video-Transkript (vollständig)-Aufrufe zu je 0,002 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 2 Quellen, die günstigste zuerst, sodass der Ausfall einer Quelle deinen Aufruf nicht scheitern lässt.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/youtube.video_transcript_full mit deinem AnyAPI-Schlüssel in einem Header „Authorization: Bearer“ und der Eingabe als JSON-Body. Derselbe Schlüssel und dasselbe Guthabenkonto funktionieren bei jedem AnyAPI-Endpoint.

Nein. Du lädst US-Dollar auf ein Prepaid-AnyAPI-Guthaben, und jede Anfrage bucht davon ab. Es gibt keinen Monatstarif und kein Minimum, und dasselbe Guthaben bezahlt jeden AnyAPI-Endpoint.

Ja. Installiere @getanyapi/sdk von npm für TypeScript oder getanyapi von pip für Python. Beide rufen jeden AnyAPI-Endpoint mit demselben Schlüssel auf, und jeder HTTP-Client funktioniert ebenfalls.

Ja. Ein Agent kann sich mit dem AnyAPI-MCP-Server unter https://api.getanyapi.com/mcp verbinden oder mit einem unauthentifizierten POST an https://api.getanyapi.com/agent/signup einen eigenen kostenlosen Test-Schlüssel erstellen und diesen Endpoint über HTTP aufrufen.