Songlink / Odesli API
Overview
Songlink (also known as Odesli) converts a music link from one streaming platform into links for all major platforms, including Spotify, Apple Music, YouTube, and more. You can pass any song URL and receive a unified set of streaming links in a single API call. The API is free to use and an API key is optional but recommended for higher rate limits.
Beginner Tip
You can make requests without an API key during development, but add ?key=YOUR_API_KEY once you go to production to avoid hitting the unauthenticated rate limit.
Available Data
Example Response
{
"name": "Bohemian Rhapsody",
"artist": "Queen",
"album": "A Night at the Opera",
"duration_ms": 354000,
"popularity": 92,
"preview_url": "https://p.scdn.co/mp3-preview/..."
} Field Reference
entityUniqueId Unique identifier for the song entity in the Odesli system. userCountry The country used to resolve platform links (default: US). pageUrl The canonical Songlink page URL that aggregates all platform links. linksByPlatform Map of platform names (e.g., "spotify", "appleMusic") to their respective link objects. entitiesByUniqueId Detailed metadata for each matched entity including title, artist, and thumbnail URL. Implementation Example
const url = "https://www.notion.so/API-d0ebe08a5e304a55928405eb682f6741";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Similar APIs
View All →AI Mastering
⭐ Beginner's PickAI Mastering is an API that automatically applies professional audio mastering to your music files using AI algorithms.
Freesound
⭐ Beginner's PickFreesound is a collaborative database of Creative Commons licensed audio samples and field recordings.
KSoft.Si Lyrics
⭐ Beginner's PickKSoft.Si Lyrics API provides instant lyrics lookup for songs by title and artist name.
LastFm
⭐ Beginner's PickLast.fm is a music discovery and social listening platform with over 15 years of scrobbling data.
Musixmatch
Musixmatch provides access to one of the largest lyrics databases in the world, covering millions of songs.