Embeds •References / oEmbed API
oEmbed API
Read oEmbed data for a given entity. The base URI is https://open.spotify.com
. Learn more about using Spotify's oEmbed API.
Request
- urlstringRequired
The URL-encoded URL of a Spotify podcast show, episode, artist, album or track
Example value:"https://open.spotify.com/episode/7makk4oTQel546B0PZlDM5"
Response
A response containing oEmbed data
- htmlstring
HTML of an Embed for this item
Example value:"<iframe width=\"100%\" height=\"152\" title=\"Spotify Embed: My Path to Spotify: Women in Engineering \" style=\"border-radius: 12px\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" src=\"https://open.spotify.com/embed/episode/7makk4oTQel546B0PZlDM5?utm_source=oembed\"></iframe>"
- widthintegerNullable
Width in pixels of the Embed
Example value:456
- heightintegerNullable
Height in pixels of the Embed
Example value:152
- versionstring
Version of the oEmbed
Example value:"1.0"
- provider_namestring
Provider name for the oEmbed
Example value:"Spotify"
Allowed values:"Spotify"
- provider_urlstring
Provider URL
Example value:"https://spotify.com"
Allowed values:"https://spotify.com"
- typestring
Type of oEmbed
Example value:"rich"
Allowed values:"rich"
- titlestring
Title of the item
Example value:"My Path to Spotify: Women in Engineering"
- thumbnail_urlstringNullable
URL of a thumbnail image for the item
Example value:"https://i.scdn.co/image/ab67656300005f1ff8141e891abf749375772343"
- thumbnail_widthintegerNullable
Width of the thumbnail image
Example value:300
Minimum value:0
- thumbnail_heightintegerNullable
Height of the thumbnail image
Example value:300
Minimum value:0