What it does
TheAudioDB API is a community database of music data and artwork: artists, albums, tracks, music videos and images, for example to show a band's biography and album covers in a music app. Requests are GET calls with the key in the path and answer in JSON; some methods and the version 2 API are for subscribers. Free with the public test key 123 at 30 requests a minute, for development projects; publishing an app in an app store needs a paid subscription.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free with the public test key 123 at 30 requests a minute, for development projects; publishing an app in an app store needs a paid subscription.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- theaudiodb.com
More information: https://www.theaudiodb.com/free_music_api
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://www.theaudiodb.com/api/v1/json/123/search.php?s=coldplay'
JavaScript
const response = await fetch("https://www.theaudiodb.com/api/v1/json/123/search.php?s=coldplay");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://www.theaudiodb.com/api/v1/json/123/search.php?s=coldplay",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.