musicMusic API

API for retrieving music details: Artists, Albums, and Tracks

Music API Documentation

A Music API is like a backstage pass to the world of music, providing access to song data, streaming and more. It's the key ingredient for building music-related apps and services, from personalized music discovery to social music platforms.

Base URL

The base URL for the Music API is:

https://santechapi.vercel.app

Authentication

headers : {
"token" : {YOUR API KEY}
}

Endpoint: /music

HTTP Method: GET

Example Request:

GET /music 

Example Response:

200

The response includes the music ID, name, artist, audio and image.

Error Handling

In case of an error, the API will respond with an appropriate HTTP status code and an error message in the response body.

Example Error Response:

400

Endpoint: /music/name

Example Request:

Example Response:

200

The response includes the music ID and name

Error Handling

In case of an error, the API will respond with an appropriate HTTP status code and an error message in the response body.

Example Error Response:

400

Endpoint: /music/images

Example Request:

Example Response:

200

The response includes the music ID and images

Error Handling

In case of an error, the API will respond with an appropriate HTTP status code and an error message in the response body.

Example Error Response:

Endpoint: /music/images

Example Request:

Example Response:

200

The response includes the music ID and Audio

Error Handling

In case of an error, the API will respond with an appropriate HTTP status code and an error message in the response body.

Example Error Response:

400

Last updated

Was this helpful?