setlist.fm API
setlist · Media
The setlist.fm API has been designed to give you easy access to setlist data in order to build fancy websites and other applications. Before starting to use the API, be sure to ... ... understand how setlist.fm works (the FAQ and the Guidelines are a good starting point), ... read this documentation carefully and ... apply for an AP
Authentication
Sample Requests
Search for artists.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/artists?p=1&sort=sortName&artistMbid=example&artistName=example&artistTmid=1"
import requests
params = {
"p": "1",
"sort": "sortName",
"artistMbid": "example",
"artistName": "example",
"artistTmid": "1"
}
response = requests.get(
"https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/artists",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/artists');
url.searchParams.set('p', '1');
url.searchParams.set('sort', 'sortName');
url.searchParams.set('artistMbid', 'example');
url.searchParams.set('artistName', 'example');
url.searchParams.set('artistTmid', '1');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/artists")
q := baseURL.Query()
q.Set("p", "1")
q.Set("sort", "sortName")
q.Set("artistMbid", "example")
q.Set("artistName", "example")
q.Set("artistTmid", "1")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/artists")
uri.query = URI.encode_www_form({
"p" => "1",
"sort" => "sortName",
"artistMbid" => "example",
"artistName" => "example",
"artistTmid" => "1"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/artists?" . http_build_query([
"p" => "1",
"sort" => "sortName",
"artistMbid" => "example",
"artistName" => "example",
"artistTmid" => "1"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Search for a city.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/cities?p=1&name=test&state=example&country=US&stateCode=example"
import requests
params = {
"p": "1",
"name": "test",
"state": "example",
"country": "US",
"stateCode": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/cities",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/cities');
url.searchParams.set('p', '1');
url.searchParams.set('name', 'test');
url.searchParams.set('state', 'example');
url.searchParams.set('country', 'US');
url.searchParams.set('stateCode', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/cities")
q := baseURL.Query()
q.Set("p", "1")
q.Set("name", "test")
q.Set("state", "example")
q.Set("country", "US")
q.Set("stateCode", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/cities")
uri.query = URI.encode_www_form({
"p" => "1",
"name" => "test",
"state" => "example",
"country" => "US",
"stateCode" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/cities?" . http_build_query([
"p" => "1",
"name" => "test",
"state" => "example",
"country" => "US",
"stateCode" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Search for setlists.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/setlists?p=1&date=2026-06-02&year=2024&state=example&cityId=example&lastFm=1&venueId=example&cityName=example&tourName=example&stateCode=example&venueName=example&artistMbid=example&artistName=example&artistTmid=1&countryCode=example&lastUpdated=example"
import requests
params = {
"p": "1",
"date": "2026-06-02",
"year": "2024",
"state": "example",
"cityId": "example",
"lastFm": "1",
"venueId": "example",
"cityName": "example",
"tourName": "example",
"stateCode": "example",
"venueName": "example",
"artistMbid": "example",
"artistName": "example",
"artistTmid": "1",
"countryCode": "example",
"lastUpdated": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/setlists",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/setlists');
url.searchParams.set('p', '1');
url.searchParams.set('date', '2026-06-02');
url.searchParams.set('year', '2024');
url.searchParams.set('state', 'example');
url.searchParams.set('cityId', 'example');
url.searchParams.set('lastFm', '1');
url.searchParams.set('venueId', 'example');
url.searchParams.set('cityName', 'example');
url.searchParams.set('tourName', 'example');
url.searchParams.set('stateCode', 'example');
url.searchParams.set('venueName', 'example');
url.searchParams.set('artistMbid', 'example');
url.searchParams.set('artistName', 'example');
url.searchParams.set('artistTmid', '1');
url.searchParams.set('countryCode', 'example');
url.searchParams.set('lastUpdated', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/setlists")
q := baseURL.Query()
q.Set("p", "1")
q.Set("date", "2026-06-02")
q.Set("year", "2024")
q.Set("state", "example")
q.Set("cityId", "example")
q.Set("lastFm", "1")
q.Set("venueId", "example")
q.Set("cityName", "example")
q.Set("tourName", "example")
q.Set("stateCode", "example")
q.Set("venueName", "example")
q.Set("artistMbid", "example")
q.Set("artistName", "example")
q.Set("artistTmid", "1")
q.Set("countryCode", "example")
q.Set("lastUpdated", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/setlists")
uri.query = URI.encode_www_form({
"p" => "1",
"date" => "2026-06-02",
"year" => "2024",
"state" => "example",
"cityId" => "example",
"lastFm" => "1",
"venueId" => "example",
"cityName" => "example",
"tourName" => "example",
"stateCode" => "example",
"venueName" => "example",
"artistMbid" => "example",
"artistName" => "example",
"artistTmid" => "1",
"countryCode" => "example",
"lastUpdated" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/setlist.fm/1.0/1.0/search/setlists?" . http_build_query([
"p" => "1",
"date" => "2026-06-02",
"year" => "2024",
"state" => "example",
"cityId" => "example",
"lastFm" => "1",
"venueId" => "example",
"cityName" => "example",
"tourName" => "example",
"stateCode" => "example",
"venueName" => "example",
"artistMbid" => "example",
"artistName" => "example",
"artistTmid" => "1",
"countryCode" => "example",
"lastUpdated" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with setlist.fm API?
setlist.fm API is a Media API. Developers commonly use media APIs for:
- storing and delivering images, video, and audio
- building digital asset management and media libraries
- transcoding and optimising media for the web
- adding video streaming and playback to your app
- automating content tagging and metadata extraction
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. setlist.fm API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?