We've analyzed and compared the top 4 API providers supporting Music Recommendations for Nigerian developers and businesses. Find the right infrastructure fit for your startup below.
Written by Editorial Staffs as at 5th August, 2026
← Swipe to compare all 4 APIs →
Last.fm API provides developers with programmatic access to the Last.fm music intelligence database, one of the largest collections of music listening data, artist information, and social music discovery features in the world. Built on decades of scrobbling data from tens of millions of music listeners, Last.fm offers a unique combination of music metadata, listener behavior analytics, similar artist recommendations, and tag-based music classification that powers music discovery and social listening applications. Scrobbling — the practice of automatically recording every song a user listens to — is the foundation of Last.fm's data value. The cumulative listening data across the Last.fm user base creates a rich behavioral dataset that reveals how music actually gets consumed, which artists are genuinely popular with specific listener demographics, and how listening patterns change over time. The API exposes aggregated insights from this behavioral data through endpoints for artist playcount, listener counts, top tracks, top albums, and trending music charts. Artist data is comprehensive in the Last.fm API. For any artist, the API returns biography text in multiple languages, tags applied by the listening community, similar artists based on listening behavior patterns, top tracks ordered by playcount, top albums, upcoming and past event data where available, and listener statistics showing total plays and listener counts. This artist profile data powers music knowledge applications, artist discovery features, and contextual information displays in music players. Album data covers track listings, listener and playcount statistics, community tags, and biographical information. Track-level data includes similar tracks, tags, listener statistics, and playcount information. For music analytics applications, the combination of playcount data across artists, albums, and tracks enables building popularity-based ranking and recommendation features. Tag-based music discovery is a distinctive Last.fm capability. The community-generated tag system has created a rich vocabulary for describing music — from conventional genre tags like "Nigerian afrobeats" and "highlife" to mood tags like "chill" and "energetic" and hyper-specific descriptive tags. Applications can query for top artists and top tracks within any tag, enabling genre-based discovery and mood-based playlist generation. For Nigerian music applications, tags covering afrobeats, afropop, highlife, juju, and Nollywood soundtrack music enable building discovery features specifically relevant to Nigerian musical traditions. The recommendations and similar artist features are powered by collaborative filtering on the scrobbling dataset. When a user listens to an artist, Last.fm can recommend similar artists based on what other listeners who enjoy that artist also listen to. This behavioral similarity is often more musically accurate than editorial genre classification, surfacing artists that genuinely appeal to the same listener tastes. Nigerian music platforms building discovery features can use Last.fm similar artist data to recommend music to users beyond the obvious mainstream suggestions. User data access allows applications to retrieve a Last.fm user's listening history, top artists, top tracks, top albums, loved tracks, and recent tracks. For social music applications where users connect their Last.fm accounts, this data enables personalized features, listening statistics displays, and social comparison of music tastes between friends. Nigerian music fans who use Last.fm for scrobbling their streaming service plays can see their listening statistics surfaced in third-party applications. Geographical music data is available showing top artists and tracks by country, enabling applications to highlight music that is popular in Nigeria specifically. This country-level popularity data provides insight into how Nigerian music consumption patterns differ from global trends and can power locally-relevant music discovery features. The API is freely available with an API key obtained through Last.fm account registration. Authentication uses the API key in request parameters. Rate limits apply to prevent abuse while allowing reasonable application usage. Client libraries exist for multiple programming languages. For Nigerian developers building music apps, podcast platforms, or entertainment applications that want to incorporate music intelligence and discovery, Last.fm API provides a rich data layer backed by genuine listening behavior from a global user base.
SoundCloud API provides programmatic access to SoundCloud's audio platform, enabling developers to search the SoundCloud catalog, stream audio tracks, retrieve user profiles and playlists, access track metadata, and build applications that connect to SoundCloud's community of independent artists and audio creators. SoundCloud is uniquely positioned among music platforms as the primary home for independent artist uploads, emerging music, DJ mixes, podcasts, and audio content that has not yet reached major label distribution — making it particularly relevant for discovering emerging Nigerian musicians, producers, and audio creators. SoundCloud's user-upload model means it contains an enormous breadth of content not found on licensed streaming services: pre-release tracks that artists share before official distribution, extended DJ sets and radio mixes, experimental productions, regional music from smaller Nigerian states and genres not prioritized by major label A&R, and audio from independent artists early in their careers before label deals. For Nigerian music discovery platforms that want to surface emerging talent and underground sounds, SoundCloud's catalog captures this pre-mainstream layer of Nigerian music. Track search through the SoundCloud API returns tracks matching text queries with metadata including title, artist, duration, play count, likes count, reposts count, tags, genre label, and stream URL. The stream URL for public tracks allows authorized applications to play audio directly, though streaming terms require appropriate compliance with SoundCloud's API terms for embedded playback. User profile data retrieves SoundCloud creator profiles including follower counts, track counts, likes counts, descriptions, location, and profile images. For apps building artist discovery or creator profile features, this structured creator data provides the foundation for creator pages and follower-based recommendations without independent database building. Playlists and sets in SoundCloud organize collections of tracks into curated lists. The playlist API allows reading playlist contents — track lists with full metadata for each included track — and user playlist libraries. For applications building curated audio content features, SoundCloud playlists curated by tastemakers, artists, and communities provide human-curated content organization without building editorial curation workflows internally. The SoundCloud embed player provides an embeddable iframe player widget that can play any public SoundCloud track directly within web applications, handling the audio streaming without requiring direct API stream access. For Nigerian web developers building event pages, blog posts, or music review platforms that want to embed specific tracks, the embed player provides a licensing-compliant way to include SoundCloud audio content without navigating stream licensing requirements. Commenting functionality in SoundCloud's unique timed-comment system allows comments to be attached to specific timestamps in a track, creating a time-synchronized conversation thread that plays out as the track progresses. Developers building community features around audio content can access these timed comments through the API to display the community reaction to specific moments in tracks. SoundCloud API access requires a client ID and client secret obtained through developer registration. The API has historically been available for non-commercial projects and applications that don't directly compete with SoundCloud's core product, though commercial licensing terms should be reviewed through SoundCloud's developer program for production applications.
Deezer API provides programmatic access to Deezer's music streaming catalog and platform, enabling developers to search for music, retrieve track and album metadata, access artist information, manage user playlists, and build music-integrated applications that connect to Deezer's library of 90+ million tracks. Deezer is one of the significant music streaming services available in Nigeria and is part of the competitive streaming landscape alongside Spotify, Apple Music, and local services that Nigerian music consumers use. Deezer has notable African market presence compared to some competing streaming services, with active efforts to license and promote African music including Afrobeats, Afropop, highlife, and music from across sub-Saharan Africa. The platform has localized its service for multiple African markets and features Nigerian artists prominently in its African music catalog. Nigerian music app developers who want to integrate with a streaming service that specifically prioritizes African music content may find Deezer's African catalog particularly complete. The Search API allows querying Deezer's catalog for tracks, albums, artists, playlists, podcasts, and radio stations. Search results include track titles, artist names, album names, cover artwork URLs, track preview URLs (30-second audio previews), and explicit content flags. For Nigerian entertainment apps embedding music content, the 30-second preview allows users to sample tracks without a full streaming subscription, providing a legitimate preview mechanism for music discovery features. Track metadata from Deezer includes duration, BPM (beats per minute), gain (volume normalization value), release date, rank (popularity indicator), and availability status (whether the track is playable in the user's country including Nigeria). The availability status is important for Nigerian app developers — confirming that a track is actually playable in Nigeria before featuring it in the app prevents the frustrating user experience of selecting content that turns out to be regionally blocked. Artist information from the API provides artist name, image, number of fans (Deezer follower count), and tracklist links. This data supports building artist discovery pages, fan engagement features, and artist similarity recommendations. For Afrobeats-focused platforms, Deezer's artist data for Nigerian musicians provides the catalog and fan metrics needed to build credible artist profiles. The Deezer API is available without authentication for public catalog data access (search, metadata retrieval, public playlist reading), with OAuth 2.0 required for user-specific operations (accessing private playlists, controlling playback, reading listening history). For Nigerian developers building simple music discovery or reference features without personalization, the unauthenticated access tier simplifies integration significantly — no OAuth implementation is needed to start searching and displaying Deezer music data. Podcast and radio discovery through the Deezer API extends the platform's content beyond music. Deezer hosts podcasts across topics including Nigerian-produced content and African interest programming. Nigerian platform developers building content discovery tools can surface both music and podcast content through the same API, serving users who consume both audio content types on Deezer. Playlist access allows reading public playlist contents, including algorithmic playlists generated by Deezer (top charts, mood playlists, editorial recommendations) and user-created public playlists. For music recommendation features that want to surface contextually appropriate music without building a recommendation engine from scratch, using Deezer's curated playlists as a data source provides editorial quality content organized by mood, activity, genre, and occasion.
The Spotify Web API provides programmatic access to the world's largest music streaming platform, enabling developers to search the Spotify music catalog, manage user playlists, control playback, retrieve artist and track metadata, access user listening history, and build music-aware applications that integrate with Spotify's 100+ million track library. Spotify's catalog includes an extensive collection of Afrobeats, Afropop, highlife, Fuji, and Nigerian music that makes it particularly relevant for Nigerian music platforms and entertainment applications. The Spotify catalog is especially rich for Nigerian music. Artists like Burna Boy, Wizkid, Davido, Tiwa Savage, Rema, Fireboy DML, Tems, Ckay, and hundreds of other Nigerian artists have extensive catalogs on Spotify spanning albums, singles, EPs, and collaborative projects. The API's search functionality allows querying by artist name, track title, album, or genre — making it possible to build Nigerian music discovery features that surface content from the growing Afrobeats global catalog that has made Nigerian music one of the world's most popular genres. The Search API accepts text queries and returns structured results for tracks, albums, artists, and playlists, with detailed metadata including preview URLs (30-second audio previews), album artwork, popularity scores, release dates, and associated artist information. Nigerian entertainment apps, radio platforms, and music recommendation tools can use search results to build content discovery interfaces, power recommendation carousels, and provide music browsing experiences backed by Spotify's comprehensive catalog. Artist metadata from Spotify's Artists API includes biography information, follower counts, popularity scores, genre tags, and related artist suggestions. This data supports building artist profile pages, music recommendation engines based on artist similarity, and music genre browsing features. For Nigerian developers building Afrobeats-specific apps or platforms that want to surface information about Nigerian artists, Spotify's artist API provides structured profile data without building and maintaining an independent music database. Playlist management through the API allows creating playlists in users' Spotify accounts, adding or removing tracks, reordering playlist contents, and reading existing playlists. Applications can create algorithmically generated playlists — mood-based, activity-based, or genre-based — and save them to user accounts for playback in the Spotify app. Nigerian music curators, podcast platforms with music integration, and fitness apps generating workout playlists can use playlist management to create personalized Spotify playlists from within their own application interfaces. Playback control through the Spotify API enables applications to control Spotify playback on any of the user's active devices — play, pause, skip, seek, adjust volume, and select the target playback device. For smart home applications, music companion apps, and contextual audio experiences built around Spotify, playback control allows seamless integration between a custom application interface and Spotify's audio delivery. Audio features for tracks — including tempo (BPM), energy, danceability, valence (musical positivity), and acousticness scores — enable music applications to make data-driven recommendations and mood-based playlist curation. For Nigerian developers building workout apps, mood-responsive music features, or DJ tools, audio feature data from Spotify provides objective musical characteristics that traditional metadata like genre does not capture. OAuth 2.0 authentication with multiple flow options supports both user-authenticated access (for features like reading user playlists, controlling playback, and accessing listening history) and application-level access (for catalog search and metadata retrieval without user login). Nigerian developers building music features without user accounts can use the Client Credentials flow to access catalog data immediately, while apps requiring user personalization implement the Authorization Code flow.