Spotify podcast API
A Spotify podcast with publisher, description, total episodes, listener rating and topics.
GET /v1/spotify/shows/{id}1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/spotify/shows/4rOoJ6Egrf8K2IrywzwOMk",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "show": { "id": "4rOoJ6Egrf8K2IrywzwOMk", "name": "The Joe Rogan Experience", "type": "show", "uri": "spotify:show:4rOoJ6Egrf8K2IrywzwOMk", "external_urls": { "spotify": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk" }, "description": "The official podcast of comedian Joe Rogan.", "html_description": "<p>The official podcast of comedian Joe Rogan.</p>", "publisher": "Joe Rogan", "images": [ { "url": "https://i.scdn.co/image/ab6765630000ba8aec18968da7ced643abdd582c", "height": 640, "width": 640 }, { "url": "https://i.scdn.co/image/ab67656300005f1fec18968da7ced643abdd582c", "height": 300, "width": 300 }, "… 1 more" ], "media_type": "mixed", "explicit": true, "total_episodes": null, "rating": { "average": 4.650083175202964, "count": 957016 }, "topics": [ "Comedy" ] }}Parameters
| Name | Type | Description |
|---|---|---|
idpath · required | string | A Spotify show id, spotify:show: URI, or open.spotify.com/show/ link (URL-encoded). Example: 4rOoJ6Egrf8K2IrywzwOMk. |
Response fields
200 with a SpotifyShowResponse, in the shape of the Spotify Web API’s own objects.
| Field | Type | Description |
|---|---|---|
show | SpotifyShow |
Status codes
| Status | Meaning |
|---|---|
200 | The podcast. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No Spotify object by that id, or it is not public. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Spotify is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Episodes?
Use the podcast episodes endpoint.
Spotify is a trademark of Spotify AB. We are not affiliated with or endorsed by Spotify.