YouTube-API

YouTube-Shorts suchen-API

Durchsuche YouTube Shorts per Keyword und erhalte passende Shorts (Titel, Aufrufe, URL) mit Cursor-Paginierung als normalisiertes JSON.

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

cats - YouTube
youtube.com/results?search_query=cats&sp=EgIYAQ%253D%253D
YouTube
Sign in
AllShortsVideos
Shorts

cat discovers the box is too small

6.7M views

Was die API zurückgegeben hatshorts[0]
{
"id": "gQ4wWy0TnAr",
"url": "https://www.youtube.com/shorts/gQ4wWy0TnAr",
"title": "cat discovers the box is too small",
"views": 6720000,
"viewsAvailable": true,
"contentType": "short"
}
Verfügbarkeit
99,90%
30d · 13.225 Aufrufe
Anfragen
13.233
30 T · wöchentlich, letzte 12 Wochen
Antwort
1,6s
Median · 30d

Preise

Preise der YouTube-Shorts suchen-API

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

Ausprobieren

YouTube Shorts suchen mit einer Anfrage abrufen

Ö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 10 von 11 Feldern. Alle Felder ansehen

{
  "found": true,
  "data": {
    "nextCursor": "CBgSC2NhdHMgc2hvcnRz",
    "shorts": [
      {
        "id": "gQ4wWy0TnAr",
        "url": "https://www.youtube.com/shorts/gQ4wWy0TnAr",
        "title": "cat discovers the box is too small",
        "views": 6720000,
        "viewsAvailable": true,
        "contentType": "short"
      },
      {
        "id": "hR5xXz1UoBs",
        "url": "https://www.youtube.com/shorts/hR5xXz1UoBs",
        "title": "when the treat bag crinkles",
        "views": 2140000,
        "viewsAvailable": true,
        "contentType": "short"
      },
      {
        "id": "iS6yYa2VpCt",
        "url": "https://www.youtube.com/shorts/iS6yYa2VpCt",
        "title": "my cat judging my life choices",
        "views": 0,
        "viewsAvailable": false,
        "contentType": "short"
      }
    ]
  }
}

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.

  • querystring

    cats

    Das Keyword, mit dem nach Shorts gesucht wird.

  • cursorstring

    Fortsetzungs-Token aus einer vorherigen Antwort für das Blättern.

  • sortByenum

    relevance

    Sortierreihenfolge: „relevance“ (Standard) oder „popular“ (meistgesehen).

  • uploadDateenum

    Filtere nach Aktualität des Uploads. Weglassen für jeden Zeitpunkt.

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

Antwort

JSON, ein Beispielwert pro Feld.

datadata
  • nextCursorstring

    CBgSC2NhdHMgc2hvcnRz

    Opaque cursor for the next page of results, or null when there are no more. Pass it back as cursor to continue.

each shortdata.shorts[]

Populated whenever the provider has data for the entity.

  • contentTypestring

    short

    Always "short": every row here comes from YouTube's Shorts shelf.

  • idstring

    gQ4wWy0TnAr

    YouTube video id of the Short. Populated whenever the provider has data for the entity.

  • titlestring

    cat discovers the box is too small

    Title of the Short. Populated whenever the provider has data for the entity.

  • urlstring

    https://www.youtube.com/shorts/gQ4wWy0TnAr

    Watch URL for the Short. Populated whenever the provider has data for the entity.

  • viewsinteger

    6720000

    View count, or 0 when the source did not publish one. Read viewsAvailable before trusting a 0. Rounded as YouTube shows it on Shorts (8.9M, 875K), so counts of 1,000 or more are approximate.

  • viewsAvailableboolean

    true

    False when the source published no view count, so views is a placeholder rather than a measured zero.

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-Shorts suchen-API

Die AnyAPI-YouTube-Shorts suchen-API liefert YouTube-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/youtube.search_shorts. Durchsuche YouTube Shorts per Keyword und erhalte passende Shorts (Titel, Aufrufe, URL) mit Cursor-Paginierung als normalisiertes JSON. AnyAPI liefert ein normalisiertes Schema, egal welche Quelle antwortet. Sie kostet ab 1,20 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 99,9% der YouTube Shorts suchen-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,6 Sekunden über 13.225 gemessene Aufrufe.

Sie kostet ab 1,20 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.

Durchsuche YouTube Shorts per Keyword und erhalte passende Shorts (Titel, Aufrufe, URL) mit Cursor-Paginierung als normalisiertes JSON. 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 99,9% der YouTube Shorts suchen-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,6 Sekunden über 13.225 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 83 YouTube-Shorts suchen-Aufrufe zu je 0,0012 USD.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/youtube.search_shorts 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.