/v1/oembed
oEmbed for a Spotify URL
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/spotify-api/v1/oembed" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spotify-api/v1/oembed", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spotify-api/v1/oembed");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/spotify-api/v1/oembed",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"oembed": {
"html": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"352\" title=\"Spotify Embed: Global Warming\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/album/4aawyAB9vmqN3uQ7FjRGTy?utm_source=oembed\"></iframe>",
"type": "rich",
"title": "Global Warming",
"width": 456,
"height": 352,
"provider": "Spotify",
"thumbnail_url": "https://image-cdn-fa.spotifycdn.com/image/ab67616d00001e022c5b24ecfa39523a75c993c4"
}
},
"meta": {
"timestamp": "2026-06-07T16:47:10.706Z",
"request_id": "cfe8c797-a6e3-423a-9b33-ded6dd58b866"
},
"status": "ok",
"message": "oEmbed retrieved successfully",
"success": true
}