Skip to content

This is a free unofficial API to Search and Stream High Quality (320kbps) music from popular music streaming engines without any restrictions.

Notifications You must be signed in to change notification settings

riosant/music-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Music API (Free Search & Stream)

This is a free unofficial API to Search and Stream High Quality (320kbps) music from popular music streaming engines without any restrictions.


NOTE: Most of the time you will get 320 Kbps High Quality Audio only, but if it is not available then it will fetch the medium quality audio.

API Reference

Search Song

  GET https://musicapi.x007.workers.dev/search
Parameter Type Description
q string Required. Song Name
searchEngine string Required. Music Search Engine Name (Available Search Engine Names - gaama,seevn,hunjama,mtmusic,wunk,ressa,hemaroo)

Search Song Example

  GET https://musicapi.x007.workers.dev/search?q=Pathaan&searchEngine=gaama
{
	"status": 200,
	"response": [{
		"id": "aeed2c96e7313c3a10c3ef220b768d11d90bd7e6f2c542d651c07d2ac205e08634290fd2c4b90bc221775bed81b9f037",
		"title": "Pathaan’s Theme"
	}, {
		"id": "e9b525b48070ce18657a03a7be249d0c96b18bf012ba2ce87f33097dd45b8a4047f5b7c16dd94923040fbb5b4d83ee46",
		"title": "Jhoome Jo Pathaan"
	}, {
		"id": "d3d6845ce2fe5b995b6065ad968f8f5ef7e17c125069fdb37be663658980cab513b667a64d80521954a3665fa15ef5b2",
		"title": "Besharam Rang"
	}],
	"message": "success"
}

Fetch Song

  GET https://musicapi.x007.workers.dev/fetch
Parameter Type Description
id string Required. Song ID Fetched from Search Response

Fetch Song Example (Gaama) HLS Stream Link

  GET https://musicapi.x007.workers.dev/fetch?id=e9b525b48070ce18657a03a7be249d0c96b18bf012ba2ce87f33097dd45b8a4047f5b7c16dd94923040fbb5b4d83ee46
{
	"status": 200,
	"response": "https://hls-server.vercel.app/m3u8/b69f162ec82bb5aa0af24fdbf77f852c646e2449cc5ef9554bf8eae5fdadf1d2a4ea93fa79729f371497772084cd5e9709affc42e1aeecc20d5ad222aa959e2ffa1398416ca6e3a6759275db98b69daddb552107c43d67f8534aef763ce0624a8f42f6963263dc4f76d1497b24af27d507d659a636f96f97f735f1f0f7c78f86c38f419136f0c60ec738490aa0bc5d41b1fed91856472b4834f894d7b6f0d41cf68eb09f0178d1ffe78ebfd9fa21d04a0ea75a269798fa747f55699f7b881059.m3u8",
	"message": "success"
}

NOTE: The above fetch song response is only for "gaama" search engine, for rest of the search engines you will get direct mp3 or mp4 file, see the example below.

Fetch Song Example (Other Search Engines) Direct Mp3 File

  GET https://musicapi.x007.workers.dev/fetch?id=205659dc7589f400defc73f6918b369759cd3b88cfaef01c5af3c98af7e10d683d55756d7191f1217deea14ee68a618ca8aba082073c68e1b8bef0b3aa416375

Made with ❤️ in India.

About

This is a free unofficial API to Search and Stream High Quality (320kbps) music from popular music streaming engines without any restrictions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published