Powering Decentralized Music with APIs
#
Engineering

Powering Decentralized Music with APIs

|
7/3/2023
|
7 min

Welcome to Audius, a music community and discovery platform that puts the artist in control.

We do this through decentralization: Audius is owned and run by a vibrant, open-source community of artists, fans, and developers all around the world. Audius gives artists the power to share never-before-heard music and monetize streams directly. Developers can build their own apps on top of Audius, giving them access to one of the most unique audio catalogs in existence. 

The powerful Audius API allows developers to utilize the Audius music catalog within their own applications or games. The API is totally free, has zero rate limits, and gives 320 kbps audio quality across a catalog of over one million tracks. One of the easiest ways to integrate Audius is through the embed html code Audius makes available for every track, album, or playlist from the corresponding page on Audius.co. The best examples of this integration style is MiniRoyale by Farraway games alongside Portals

Going beyond the light embed integration, the restful API opens up the Audius experience to developers, allowing them to utilize the read-only features to seamlessly integrate Audius for the end users. One of the first and most innovative integrations utilizing the restful API was from DeFi Land. The team cleverly utilized different genres search tags from Audius to create multiple radio stations for their end-users to enjoy while building out their farm.Our GitHub features examples in various languages. 


The restful API marked the beginning of meaningful third-party developer interactions with the Audius protocol. Over the past year, Audius introduced a javascript SDK and a 'Log in with Audius' feature, making it easier for developers to build on top of Audius. With ‘Log in with Audius’, developers can access metadata linked to an artist’s Audius profile, promoting their tracks' discoverability, and listeners can curate their own playlists to enjoy on third-party applications.  A great example of ‘Log in with Audius’ can be found on Soundstage, where users accounts are supplemented from Audius to allow participants to have all of their metadata available to use within the application. Users will be able to stream their curated playlists, uploads, and favorited songs seamlessly when applications are utilizing ‘Log in with Audius’. Developers can find more information on the js SDK and oAuth on the Audius docs