Semua situs
Data API
YouTube Data API
Video, channel, playlist, komentar, dan pencarian dari YouTube.
38 endpointRate Limit ditangani untuk Anda
Ringkasan YouTube Data API
Ekstrak video, channel, playlist, komentar, dan pencarian dari YouTube sebagai JSON terstruktur. Pilih endpoint di bawah, periksa parameternya, dan jalankan di playground dasbor.
/v1/youtube/… Buka playgroundFitur Utama
JSON terstruktur
Record yang bersih dan ternormalisasi untuk video, channel, playlist, komentar, dan pencarian. Tidak perlu parsing HTML di sisi Anda.
38 endpoint
Di 9 kategori, semuanya di bawah satu base path.
Anti-bot ditangani
Rate Limit diatasi untuk Anda di balik layar.
Data langsung di setiap run
Setiap permintaan mengambil data langsung dari sumbernya, jadi hasilnya selalu terbaru.
Region & Bahasa
Targetkan pasar dan bahasa tertentu dengan parameter berikut:
gldefault UShldefault enlangdefault enPaginasi
Telusuri halaman hasil dengan continuation.
Quick Start
Gunakan key Data API khusus Anda. Ikuti metode dan parameter endpoint ini.
# 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())Harga per run
permintaan yang gagal gratis| Endpoint | Kategori | Harga / 1rb hasil |
|---|---|---|
/v1/data/youtube/autocompleteAutocomplete | Search | 1 kredit / run |
/v1/data/youtube/searchSearch | Search | 1 kredit / run |
/v1/data/youtube/categoriesCategories | Reference | 1 kredit / run |
/v1/data/youtube/languagesLanguages | Reference | 1 kredit / run |
/v1/data/youtube/marketsMarkets | Reference | 1 kredit / run |
/v1/data/youtube/oembedoEmbed | Reference | 1 kredit / run |
/v1/data/youtube/regionsRegions | Reference | 1 kredit / run |
/v1/data/youtube/channels/{channel_id}/communityChannel Community | Channels | 1 kredit / run |
/v1/data/youtube/channels/{channel_id}Channel Detail | Channels | 1 kredit / run |
/v1/data/youtube/channels/{channel_id}/playlistsChannel Playlists | Channels | 1 kredit / run |
/v1/data/youtube/channels/resolveResolve Channel | Channels | 1 kredit / run |
/v1/data/youtube/channels/{channel_id}/searchChannel Search | Channels | 1 kredit / run |
/v1/data/youtube/channels/{channel_id}/shortsChannel Shorts | Channels | 1 kredit / run |
/v1/data/youtube/channels/{channel_id}/streamsChannel Streams | Channels | 1 kredit / run |
/v1/data/youtube/channels/{channel_id}/videosChannel Videos | Channels | 1 kredit / run |
/v1/data/youtube/videos/{video_id}/comments/{comment_id}/repliesComment Replies | Videos | 1 kredit / run |
/v1/data/youtube/video/{video_id}/transcriptSegera hadirTranscript | Videos | 1 kredit / run |
/v1/data/youtube/video/{video_id}Video | Videos | 1 kredit / run |
/v1/data/youtube/videos/{video_id}/captionsSegera hadirCaptions | Videos | 1 kredit / run |
/v1/data/youtube/videos/{video_id}/commentsVideo Comments | Videos | 1 kredit / run |
/v1/data/youtube/videos/{video_id}Video Detail | Videos | 1 kredit / run |
/v1/data/youtube/videos/{video_id}/live_chatLive Chat | Videos | 1 kredit / run |
/v1/data/youtube/videos/{video_id}/relatedRelated Videos | Videos | 1 kredit / run |
/v1/data/youtube/videos/{video_id}/streamsSegera hadirStreams | Videos | 1 kredit / run |
/v1/data/youtube/videos/{video_id}/transcriptSegera hadirTranscript | Videos | 1 kredit / run |
/v1/data/youtube/videos/batchVideos Batch | Videos | 1 kredit / run |
/v1/data/youtube/hashtags/{tag}Hashtag Videos | Feeds | 1 kredit / run |
/v1/data/youtube/homeSegera hadirHome | Feeds | 1 kredit / run |
/v1/data/youtube/trendingSegera hadirTrending | Feeds | 1 kredit / run |
/v1/data/youtube/trending/shortsSegera hadirTrending Shorts | Feeds | 1 kredit / run |
/v1/data/youtube/mixes/{mix_id}Mix | Playlists | 1 kredit / run |
/v1/data/youtube/playlists/{playlist_id}Playlist Detail | Playlists | 1 kredit / run |
/v1/data/youtube/playlists/{playlist_id}/itemsPlaylist Items | Playlists | 1 kredit / run |
/v1/data/youtube/music/searchMusic Search | Music | 1 kredit / run |
/v1/data/youtube/posts/{post_id}/commentsPost Comments | Posts | 1 kredit / run |
/v1/data/youtube/posts/{post_id}Community Post | Posts | 1 kredit / run |
/v1/data/youtube/shorts/by_sound/{sound_id}Shorts by Sound | Shorts | 1 kredit / run |
/v1/data/youtube/shorts/{video_id}Shorts Detail | Shorts | 1 kredit / run |