Ir al contenido
GET /v1/oembed

oEmbed for a Spotify URL

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/spotify-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}