SPOTIFY API
Podcast
Retrieve podcast from Spotify with a single API request.
GET
/api/data/v1/spotify/podcast1credit base cost
Request parameters
Up to 1 creditSpotify podcast id. If you'd prefer to use the URL instead, you can use the url parameter instead.
Spotify podcast URL. If you'd prefer to use the id instead, you can use the id parameter instead.
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/spotify/podcast?id=3mliji9352UAk3XnWElnDV' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 1,
"id": "3mliji9352UAk3XnWElnDV",
"uri": "spotify:show:3mliji9352UAk3XnWElnDV",
"__typename": "Podcast",
"accessInfo": null,
"consumptionOrderV2": "RECENT",
"contentCapabilityTrait": {
"rateability": {
"value": "RESTRICTED"
}
},
"contentRatingV2": {
"labels": [
"EXPLICIT"
]
},
"contentType": "CONTENT_TYPE_PODCAST",
"coverArt": {
"sources": [
{
"height": 64,
"url": "https://i.scdn.co/image/ab6765630000f68d35af1b9c3ee719329f85f229",
"width": 64
}
]
},
"description": "Sam Parr and Shaan Puri brainstorm new business ideas based on trends & opportunities they see in the market. Sometimes they bring on famous guests to brainstorm with them.",
"episodesV2": [
{
"entity": {
"__typename": "EpisodeResponseWrapper",
"data": {
"__typename": "Episode",
"creator": null,
"uri": "spotify:episode:3rvl30aWNqZbWi9dnolG3a"
}
}
}
],
"gatedEntityRelations": [],
"htmlDescription": "<p>Sam Parr and Shaan Puri brainstorm new business ideas based on trends & opportunities they see in the market. Sometimes they bring on famous guests to brainstorm with them.</p>",
"mediaType": "MIXED",
"musicAndTalk": false,
"name": "My First Million",
"playability": {
"playable": true,
"reason": "PLAYABLE",
"unplayabilityReasons": []
},
"publisher": {
"name": "Hubspot"
},
"rating": {
"averageRating": {
"average": 4.781243982283851,
"showAverage": true,
"totalRatings": 5193
},
"canRate": true,
"rating": {
"rating": 0
}
},
"saved": false,
"sharingInfo": {
"shareId": "lSCdV7bhQ7CO4dDMM691rA",
"shareUrl": "https://open.spotify.com/show/3mliji9352UAk3XnWElnDV?si=lSCdV7bhQ7CO4dDMM691rA"
},
"showTypes": [],
"topics": [
{
"__typename": "PodcastTopic",
"title": "Business",
"uri": "spotify:genre:0JQ5DAqbMKFK0EBNV8Wn6R"
}
],
"trailerV2": null,
"visualIdentity": {
"sixteenByNineCoverImage": null,
"squareCoverImage": {
"__typename": "VisualIdentityImage",
"extractedColorSet": {
"encoreBaseSetTextColor": {
"alpha": 255,
"blue": 187,
"green": 187,
"red": 187
},
"highContrast": {
"backgroundBase": {
"alpha": 255,
"blue": 72,
"green": 72,
"red": 72
},
"backgroundTintedBase": {
"alpha": 255,
"blue": 33,
"green": 33,
"red": 33
},
"textBase": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textBrightAccent": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textSubdued": {
"alpha": 255,
"blue": 205,
"green": 205,
"red": 205
}
},
"higherContrast": {
"backgroundBase": {
"alpha": 255,
"blue": 53,
"green": 53,
"red": 53
},
"backgroundTintedBase": {
"alpha": 255,
"blue": 86,
"green": 86,
"red": 86
},
"textBase": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textBrightAccent": {
"alpha": 255,
"blue": 96,
"green": 215,
"red": 30
},
"textSubdued": {
"alpha": 255,
"blue": 205,
"green": 205,
"red": 205
}
},
"minContrast": {
"backgroundBase": {
"alpha": 255,
"blue": 72,
"green": 72,
"red": 72
},
"backgroundTintedBase": {
"alpha": 255,
"blue": 33,
"green": 33,
"red": 33
},
"textBase": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textBrightAccent": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textSubdued": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
}
}
}
}
}
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"credits_remaining": {
"type": "integer"
},
"credits_charged": {
"type": "integer"
},
"id": {
"type": "string"
},
"uri": {
"type": "string"
},
"__typename": {
"type": "string"
},
"accessInfo": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"consumptionOrderV2": {
"type": "string"
},
"contentCapabilityTrait": {
"type": "object",
"properties": {
"rateability": {
"type": "object",
"properties": {
"value": {
"type": "string"
}
}
}
}
},
"contentRatingV2": {
"type": "object",
"properties": {
"labels": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"contentType": {
"type": "string"
},
"coverArt": {
"type": "object",
"properties": {
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"height": {
"type": "integer"
},
"url": {
"type": "string"
},
"width": {
"type": "integer"
}
}
}
}
}
},
"description": {
"type": "string"
},
"episodesV2": {
"type": "array",
"items": {
"type": "object",
"properties": {
"entity": {
"type": "object",
"properties": {
"__typename": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"__typename": {
"type": "string"
},
"creator": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"uri": {
"type": "string"
}
}
}
}
}
}
}
},
"gatedEntityRelations": {
"type": "array"
},
"htmlDescription": {
"type": "string"
},
"mediaType": {
"type": "string"
},
"musicAndTalk": {
"type": "boolean"
},
"name": {
"type": "string"
},
"playability": {
"type": "object",
"properties": {
"playable": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"unplayabilityReasons": {
"type": "array"
}
}
},
"publisher": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"rating": {
"type": "object",
"properties": {
"averageRating": {
"type": "object",
"properties": {
"average": {
"type": "number"
},
"showAverage": {
"type": "boolean"
},
"totalRatings": {
"type": "integer"
}
}
},
"canRate": {
"type": "boolean"
},
"rating": {
"type": "object",
"properties": {
"rating": {
"type": "integer"
}
}
}
}
},
"saved": {
"type": "boolean"
},
"sharingInfo": {
"type": "object",
"properties": {
"shareId": {
"type": "string"
},
"shareUrl": {
"type": "string"
}
}
},
"showTypes": {
"type": "array"
},
"topics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"__typename": {
"type": "string"
},
"title": {
"type": "string"
},
"uri": {
"type": "string"
}
}
}
},
"trailerV2": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"visualIdentity": {
"type": "object",
"properties": {
"sixteenByNineCoverImage": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"squareCoverImage": {
"type": "object",
"properties": {
"__typename": {
"type": "string"
},
"extractedColorSet": {
"type": "object",
"properties": {
"encoreBaseSetTextColor": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"highContrast": {
"type": "object",
"properties": {
"backgroundBase": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"backgroundTintedBase": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"textBase": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"textBrightAccent": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"textSubdued": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
}
}
},
"higherContrast": {
"type": "object",
"properties": {
"backgroundBase": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"backgroundTintedBase": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"textBase": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"textBrightAccent": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"textSubdued": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
}
}
},
"minContrast": {
"type": "object",
"properties": {
"backgroundBase": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"backgroundTintedBase": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"textBase": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"textBrightAccent": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
},
"textSubdued": {
"type": "object",
"properties": {
"alpha": {
"type": "integer"
},
"blue": {
"type": "integer"
},
"green": {
"type": "integer"
},
"red": {
"type": "integer"
}
}
}
}
}
}
}
}
}
}
}
}
}