Search music tracks, albums, and artists.
Search music tracks, albums, and artists.
/v1/music:bandcamp/search5m cache1 paramchecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("music:bandcamp", "search", {
"query": "lofi beats"
});
console.log(data);/v1/music:bandcamp/searchquerystringrequiredcurl -X GET "https://api.zapi.ink/v1/music:bandcamp/search?query=lofi+beats" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"ok": true,
"count": 50,
"results": [
{
"id": 2366858632,
"url": "https://akirathedon.bandcamp.com",
"name": "LOFI BEATS",
"type": "a",
"image": "https://f4.bcbits.com/img/4026553902_3.jpg",
"bandId": 2929173621,
"bandName": "Akira The Don"
},
{
"id": 4094592826,
"url": "https://akirathedon.bandcamp.com",
"name": "LOFI BEATS IMMORTAL",
"type": "a",
"image": "https://f4.bcbits.com/img/2812708276_3.jpg",
"bandId": 2929173621,
"bandName": "Akira The Don"
},
{
"id": 2925224825,
"url": "https://akirathedon.bandcamp.com",
"name": "LOFI BEATS 2",
"type": "a",
"image": "https://f4.bcbits.com/img/2385228822_3.jpg",
"bandId": 2929173621,
"bandName": "Akira The Don"
}
]
}