idstring
Spotify podcast show ID (alternative to url).
https://api.sandbase.ai/v1/api/spotify/podcast-episodesList a Spotify podcast show's episodes with titles, durations, descriptions, and release dates by show URL or ID.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
List a Spotify podcast show's episodes with titles, durations, descriptions, and release dates by show URL or ID.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "spotify/podcast-episodes", "url": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk"}'
The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | Pagination cursor from a previous response for subsequent pages. |
id | string | No | Spotify podcast show ID (alternative to url). |
url | string | No | Spotify podcast show URL (e.g. https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk). |
Billed at the actual cost of each call, about $0.0012 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/spotify/podcast-episodes" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
idstringSpotify podcast show ID (alternative to url).
urlstringSpotify podcast show URL (e.g. https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk).
cursorstringPagination cursor from a previous response for subsequent pages.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Spotify Podcast EpisodesBu API Spotify | Kullanım başına $0.0012'den itibaren | JSON |
Spotify | Kullanım başına $0.0012'den itibaren | JSON |
Spotify | Kullanım başına $0.0012'den itibaren | JSON |
Spotify | Kullanım başına $0.0022'den itibaren | JSON |
Spotify | Kullanım başına $0.0012'den itibaren | JSON |
Spotify | Kullanım başına $0.0012'den itibaren | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/spotify/podcast-episodes adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.0012'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli parametre yoktur. İsteğe bağlı: id (string), url (string) ve cursor (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).
Hayır. Spotify Podcast Episodes, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Spotify API erişimi için ayrıca başvuru yapmanız gerekmez.