Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Spotify Podcast Episodes

Dokumentacja API
https://api.sandbase.ai/v1/api/spotify/podcast-episodes

List a Spotify podcast show's episodes with titles, durations, descriptions, and release dates by show URL or ID.

Cena
Od $0.0012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 3 opcjonalnych

Playground

Wejście
Spotify podcast show ID (alternative to url).
Spotify podcast show URL (e.g. https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk).
Pagination cursor from a previous response for subsequent pages.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Spotify Podcast Episodes API

List a Spotify podcast show's episodes with titles, durations, descriptions, and release dates by show URL or ID.

Request

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.

Parameters

NameTypeRequiredDescription
cursorstringNoPagination cursor from a previous response for subsequent pages.
idstringNoSpotify podcast show ID (alternative to url).
urlstringNoSpotify podcast show URL (e.g. https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk).

Pricing

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
SpotifyOd $0.0012 za wywołanieJSON
SpotifyOd $0.0012 za wywołanieJSON
SpotifyOd $0.0012 za wywołanieJSON
SpotifyOd $0.0022 za wywołanieJSON
SpotifyOd $0.0012 za wywołanieJSON
SpotifyOd $0.0012 za wywołanieJSON

Pytania

FAQ

Jak używać API Spotify Podcast Episodes?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/spotify/podcast-episodes z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Spotify Podcast Episodes?

Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Spotify Podcast Episodes?

Nie są wymagane żadne parametry. Opcjonalne: id (string), url (string) i cursor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Spotify Podcast Episodes?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Spotify lub klucza API?

Nie. Spotify Podcast Episodes działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Spotify.