Zum Inhalt springen
Alle Websites
Data API

YouTube Data API

Videos, Kanäle, Playlists, Kommentare und Suche von YouTube.

38 EndpunkteRatenlimit übernehmen wir für dich
youtube.comGET/youtube/autoc…GET/youtube/searchGET/youtube/categ…{ } JSON

YouTube Data API: Übersicht

Extrahiere Videos, Kanäle, Playlists, Kommentare und Suche von YouTube als strukturiertes JSON. Wähle unten einen Endpunkt, prüfe seine Parameter und führe ihn im Playground des Dashboards aus.

/v1/youtube/… Playground öffnen

Wichtigste Funktionen

Strukturiertes JSON

Saubere, normalisierte Datensätze für Videos, Kanäle, Playlists, Kommentare und Suche. Kein HTML-Parsing auf deiner Seite.

38 Endpunkte

In 9 Kategorien, alle unter einem Basispfad.

Anti-Bot erledigt

Ratenlimit räumen wir im Hintergrund für dich aus dem Weg.

Live-Daten bei jedem Lauf

Jede Anfrage scrapt die Quelle live, daher sind die Ergebnisse immer aktuell.

Regionen & Sprachen

Ziele mit diesen Parametern auf bestimmte Märkte und Sprachen:

glStandard US
hlStandard en
langStandard en

Paginierung

Blättere mit continuation durch die Ergebnisse.

Schnellstart

Verwende deinen eigenen Data API-Schlüssel. Halte dich an die Methode und die Parameter dieses Endpunkts.

data_api.py
# Install: pip install requests
import json
import os
import requests

params = json.loads("{\"query\":\"lofi hip hop\",\"gl\":\"US\",\"hl\":\"en\"}")
response = requests.request(
    "GET", "https://api.capzy.ai/v1/youtube/search",
    headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
    params=params,
    timeout=120,
)
response.raise_for_status()
print(response.json())

Preise pro Lauf

fehlgeschlagene Anfragen sind kostenlos
EndpunktKategoriePreis / 1k Ergebnisse
/v1/data/youtube/autocompleteAutocompleteSearch1 Credit / Lauf
/v1/data/youtube/searchSearchSearch1 Credit / Lauf
/v1/data/youtube/categoriesCategoriesReference1 Credit / Lauf
/v1/data/youtube/languagesLanguagesReference1 Credit / Lauf
/v1/data/youtube/marketsMarketsReference1 Credit / Lauf
/v1/data/youtube/oembedoEmbedReference1 Credit / Lauf
/v1/data/youtube/regionsRegionsReference1 Credit / Lauf
/v1/data/youtube/channels/{channel_id}/communityChannel CommunityChannels1 Credit / Lauf
/v1/data/youtube/channels/{channel_id}Channel DetailChannels1 Credit / Lauf
/v1/data/youtube/channels/{channel_id}/playlistsChannel PlaylistsChannels1 Credit / Lauf
/v1/data/youtube/channels/resolveResolve ChannelChannels1 Credit / Lauf
/v1/data/youtube/channels/{channel_id}/searchChannel SearchChannels1 Credit / Lauf
/v1/data/youtube/channels/{channel_id}/shortsChannel ShortsChannels1 Credit / Lauf
/v1/data/youtube/channels/{channel_id}/streamsChannel StreamsChannels1 Credit / Lauf
/v1/data/youtube/channels/{channel_id}/videosChannel VideosChannels1 Credit / Lauf
/v1/data/youtube/videos/{video_id}/comments/{comment_id}/repliesComment RepliesVideos1 Credit / Lauf
/v1/data/youtube/video/{video_id}/transcriptDemnächstTranscriptVideos1 Credit / Lauf
/v1/data/youtube/video/{video_id}VideoVideos1 Credit / Lauf
/v1/data/youtube/videos/{video_id}/captionsDemnächstCaptionsVideos1 Credit / Lauf
/v1/data/youtube/videos/{video_id}/commentsVideo CommentsVideos1 Credit / Lauf
/v1/data/youtube/videos/{video_id}Video DetailVideos1 Credit / Lauf
/v1/data/youtube/videos/{video_id}/live_chatLive ChatVideos1 Credit / Lauf
/v1/data/youtube/videos/{video_id}/relatedRelated VideosVideos1 Credit / Lauf
/v1/data/youtube/videos/{video_id}/streamsDemnächstStreamsVideos1 Credit / Lauf
/v1/data/youtube/videos/{video_id}/transcriptDemnächstTranscriptVideos1 Credit / Lauf
/v1/data/youtube/videos/batchVideos BatchVideos1 Credit / Lauf
/v1/data/youtube/hashtags/{tag}Hashtag VideosFeeds1 Credit / Lauf
/v1/data/youtube/homeDemnächstHomeFeeds1 Credit / Lauf
/v1/data/youtube/trendingDemnächstTrendingFeeds1 Credit / Lauf
/v1/data/youtube/trending/shortsDemnächstTrending ShortsFeeds1 Credit / Lauf
/v1/data/youtube/mixes/{mix_id}MixPlaylists1 Credit / Lauf
/v1/data/youtube/playlists/{playlist_id}Playlist DetailPlaylists1 Credit / Lauf
/v1/data/youtube/playlists/{playlist_id}/itemsPlaylist ItemsPlaylists1 Credit / Lauf
/v1/data/youtube/music/searchMusic SearchMusic1 Credit / Lauf
/v1/data/youtube/posts/{post_id}/commentsPost CommentsPosts1 Credit / Lauf
/v1/data/youtube/posts/{post_id}Community PostPosts1 Credit / Lauf
/v1/data/youtube/shorts/by_sound/{sound_id}Shorts by SoundShorts1 Credit / Lauf
/v1/data/youtube/shorts/{video_id}Shorts DetailShorts1 Credit / Lauf