İçeriğe geç
Tüm siteler
Data API

YouTube Data API

YouTube'dan videolar, kanallar, oynatma listeleri, yorumlar ve arama.

38 uç noktaHız Limiti sizin için halledilir
youtube.comGET/youtube/autoc…GET/youtube/searchGET/youtube/categ…{ } JSON

YouTube Data API genel bakış

YouTube üzerinden videolar, kanallar, oynatma listeleri, yorumlar ve arama verilerini yapılandırılmış JSON olarak çıkarın. Aşağıdan bir uç nokta seçin, parametrelerini kontrol edin ve panel test alanında çalıştırın.

/v1/youtube/… Test alanını aç

Temel Özellikler

Yapılandırılmış JSON

videolar, kanallar, oynatma listeleri, yorumlar ve arama için temiz, normalize edilmiş kayıtlar. Sizin tarafınızda HTML ayrıştırma yok.

38 uç nokta

9 kategoride, tümü tek bir temel yol altında.

Anti-bot halledilir

Hız Limiti arka planda sizin için aşılır.

Her çalıştırmada canlı veri

Her istek kaynağı canlı olarak tarar, bu yüzden sonuçlar her zaman günceldir.

Bölgeler ve Diller

Bu parametrelerle belirli pazarları ve dilleri hedefleyin:

glvarsayılan US
hlvarsayılan en
langvarsayılan en

Sayfalama

Sonuçlar arasında continuation ile sayfa sayfa gezinin.

Hızlı Başlangıç

Size özel Data API anahtarınızı kullanın. Bu uç noktanın metodunu ve parametrelerini izleyin.

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())

Çalıştırma başına fiyatlandırma

başarısız istekler ücretsizdir
Uç noktaKategoriFiyat / 1k sonuç
/v1/data/youtube/autocompleteAutocompleteSearch1 kredi / çalıştırma
/v1/data/youtube/searchSearchSearch1 kredi / çalıştırma
/v1/data/youtube/categoriesCategoriesReference1 kredi / çalıştırma
/v1/data/youtube/languagesLanguagesReference1 kredi / çalıştırma
/v1/data/youtube/marketsMarketsReference1 kredi / çalıştırma
/v1/data/youtube/oembedoEmbedReference1 kredi / çalıştırma
/v1/data/youtube/regionsRegionsReference1 kredi / çalıştırma
/v1/data/youtube/channels/{channel_id}/communityChannel CommunityChannels1 kredi / çalıştırma
/v1/data/youtube/channels/{channel_id}Channel DetailChannels1 kredi / çalıştırma
/v1/data/youtube/channels/{channel_id}/playlistsChannel PlaylistsChannels1 kredi / çalıştırma
/v1/data/youtube/channels/resolveResolve ChannelChannels1 kredi / çalıştırma
/v1/data/youtube/channels/{channel_id}/searchChannel SearchChannels1 kredi / çalıştırma
/v1/data/youtube/channels/{channel_id}/shortsChannel ShortsChannels1 kredi / çalıştırma
/v1/data/youtube/channels/{channel_id}/streamsChannel StreamsChannels1 kredi / çalıştırma
/v1/data/youtube/channels/{channel_id}/videosChannel VideosChannels1 kredi / çalıştırma
/v1/data/youtube/videos/{video_id}/comments/{comment_id}/repliesComment RepliesVideos1 kredi / çalıştırma
/v1/data/youtube/video/{video_id}/transcriptÇok yakındaTranscriptVideos1 kredi / çalıştırma
/v1/data/youtube/video/{video_id}VideoVideos1 kredi / çalıştırma
/v1/data/youtube/videos/{video_id}/captionsÇok yakındaCaptionsVideos1 kredi / çalıştırma
/v1/data/youtube/videos/{video_id}/commentsVideo CommentsVideos1 kredi / çalıştırma
/v1/data/youtube/videos/{video_id}Video DetailVideos1 kredi / çalıştırma
/v1/data/youtube/videos/{video_id}/live_chatLive ChatVideos1 kredi / çalıştırma
/v1/data/youtube/videos/{video_id}/relatedRelated VideosVideos1 kredi / çalıştırma
/v1/data/youtube/videos/{video_id}/streamsÇok yakındaStreamsVideos1 kredi / çalıştırma
/v1/data/youtube/videos/{video_id}/transcriptÇok yakındaTranscriptVideos1 kredi / çalıştırma
/v1/data/youtube/videos/batchVideos BatchVideos1 kredi / çalıştırma
/v1/data/youtube/hashtags/{tag}Hashtag VideosFeeds1 kredi / çalıştırma
/v1/data/youtube/homeÇok yakındaHomeFeeds1 kredi / çalıştırma
/v1/data/youtube/trendingÇok yakındaTrendingFeeds1 kredi / çalıştırma
/v1/data/youtube/trending/shortsÇok yakındaTrending ShortsFeeds1 kredi / çalıştırma
/v1/data/youtube/mixes/{mix_id}MixPlaylists1 kredi / çalıştırma
/v1/data/youtube/playlists/{playlist_id}Playlist DetailPlaylists1 kredi / çalıştırma
/v1/data/youtube/playlists/{playlist_id}/itemsPlaylist ItemsPlaylists1 kredi / çalıştırma
/v1/data/youtube/music/searchMusic SearchMusic1 kredi / çalıştırma
/v1/data/youtube/posts/{post_id}/commentsPost CommentsPosts1 kredi / çalıştırma
/v1/data/youtube/posts/{post_id}Community PostPosts1 kredi / çalıştırma
/v1/data/youtube/shorts/by_sound/{sound_id}Shorts by SoundShorts1 kredi / çalıştırma
/v1/data/youtube/shorts/{video_id}Shorts DetailShorts1 kredi / çalıştırma