Giter Site home page Giter Site logo

laravelka / music-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mohd-baquir-qureshi/music-api

0.0 0.0 0.0 4 KB

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

Home Page: https://musicapi.x007.workers.dev/search

music-api's Introduction

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.

music-api's People

Contributors

mohd-baquir-qureshi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.