Skip to content
EmbedsReferences / 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

  • url
    string
    Required

    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

  • html
    string

    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>"
  • width
    integer
    Nullable

    Width in pixels of the Embed

    Example value: 456
  • height
    integer
    Nullable

    Height in pixels of the Embed

    Example value: 152
  • version
    string

    Version of the oEmbed

    Example value: "1.0"
  • provider_name
    string

    Provider name for the oEmbed

    Example value: "Spotify"Allowed values: "Spotify"
  • provider_url
    string

    Provider URL

    Example value: "https://spotify.com"Allowed values: "https://spotify.com"
  • type
    string

    Type of oEmbed

    Example value: "rich"Allowed values: "rich"
  • title
    string

    Title of the item

    Example value: "My Path to Spotify: Women in Engineering"
  • thumbnail_url
    string
    Nullable

    URL of a thumbnail image for the item

    Example value: "https://i.scdn.co/image/ab67656300005f1ff8141e891abf749375772343"
  • thumbnail_width
    integer
    Nullable

    Width of the thumbnail image

    Example value: 300Minimum value: 0
  • thumbnail_height
    integer
    Nullable

    Height of the thumbnail image

    Example value: 300Minimum value: 0