# Setlist.fm Scraper (`hoholabs/setlistfm-scraper`) Actor

Fetch setlists, artists, and venues from Setlist.fm — track concert history and song choices for any artist.

- **URL**: https://apify.com/hoholabs/setlistfm-scraper.md
- **Developed by:** [Hoho](https://apify.com/hoholabs) (community)
- **Categories:** Other
- **Stats:** 11 total users, 2 monthly users, 92.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Setlist.fm Scraper

Fetch concert setlists, artist discographies, and venue information from [Setlist.fm](https://www.setlist.fm/) — the world's largest community-maintained database of live concert setlists.

### What it does

This scraper gives you programmatic access to Setlist.fm's database of millions of live concert setlists. You can:

- Search setlists by artist name, city, venue, or year
- Look up every song an artist has played live
- Find all artists who have played in a specific city or venue
- Pull the full setlist history for any artist using their MusicBrainz ID

### Why use it

**Concert tracking** — Find out exactly what songs an artist played on a specific tour date.

**Setlist history** — Research an artist's full live catalogue: which songs get played most often, which are rarities, how setlists evolved over years.

**Venue research** — See every act that has performed at a venue and when.

**Fan data** — Build apps for concert-goers: "did they play my favourite song?", set length averages, tour route maps.

---

### Setup

You need a free Setlist.fm API key. Register at [api.setlist.fm](https://api.setlist.fm/). Provide it as the `apiKey` input field or set the `SETLISTFM_API_KEY` environment variable.

---

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `apiKey` | string | Yes (or env var) | Your Setlist.fm API key |
| `queryType` | string | No (default: `search-setlists`) | What to fetch — see options below |
| `artistName` | string | Depends | Artist/band name. Required for `search-artists`. Filter for `search-setlists`. |
| `mbid` | string | For `artist-setlists` | Artist MusicBrainz ID (e.g. `3bd6bf59-a9ad-4e2c-b7ef-81c1e62a78ec`) |
| `venueName` | string | No | Filter `search-setlists` by venue name |
| `name` | string | For `search-venues` | Venue name to search |
| `cityName` | string | No | Filter by city (e.g. `New York`, `London`) |
| `countryCode` | string | No | ISO country code filter for `search-venues` (e.g. `US`, `GB`) |
| `year` | integer | No | Filter `search-setlists` by year (e.g. `2024`) |
| `sort` | string | No | Sort order for artist results: `sortName` or `relevance` |
| `page` | integer | No (default: `1`) | Page number for pagination |

#### Query types

| `queryType` | What it fetches |
|---|---|
| `search-setlists` | Setlists matching artist, venue, city, and/or year filters |
| `search-artists` | Artists matching a name (requires `artistName`) |
| `search-venues` | Venues matching a name or city |
| `artist-setlists` | All setlists for a specific artist by MBID |

---

### Output

Each dataset item is a setlist, artist, or venue record depending on `queryType`.

#### Setlist fields (search-setlists, artist-setlists)

| Field | Description |
|---|---|
| `queryType` | The query type used |
| `eventDate` | Concert date in DD-MM-YYYY format |
| `artist` | Object with `name`, `mbid`, `url` |
| `venue` | Object with `name`, `city` (name, state, coords), `country` |
| `sets` | Object containing `set` array — each set has `song` array with `name`, `tape`, `cover` |
| `url` | Direct link to this setlist on Setlist.fm |

#### Artist fields (search-artists)

| Field | Description |
|---|---|
| `name` | Artist name |
| `mbid` | MusicBrainz ID — use this for `artist-setlists` queries |
| `url` | Artist page on Setlist.fm |

#### Venue fields (search-venues)

| Field | Description |
|---|---|
| `name` | Venue name |
| `city` | City object with `name`, `state`, `stateCode`, `coords`, `country` |
| `url` | Venue page on Setlist.fm |

---

### Usage examples

#### Find Radiohead setlists from 2016

```json
{
  "apiKey": "YOUR_KEY",
  "queryType": "search-setlists",
  "artistName": "Radiohead",
  "year": 2016
}
````

#### Find all setlists at Madison Square Garden

```json
{
  "apiKey": "YOUR_KEY",
  "queryType": "search-setlists",
  "venueName": "Madison Square Garden"
}
```

#### Get Radiohead's MBID first, then pull their full setlist history

Step 1:

```json
{
  "apiKey": "YOUR_KEY",
  "queryType": "search-artists",
  "artistName": "Radiohead"
}
```

Step 2 (using the mbid from step 1):

```json
{
  "apiKey": "YOUR_KEY",
  "queryType": "artist-setlists",
  "mbid": "3bd6bf59-a9ad-4e2c-b7ef-81c1e62a78ec"
}
```

#### Find venues in Berlin

```json
{
  "apiKey": "YOUR_KEY",
  "queryType": "search-venues",
  "cityName": "Berlin",
  "countryCode": "DE"
}
```

***

### Use cases

- **Concert apps** — Let users browse past shows for their favourite artists
- **Tour research** — Map every city an artist visited on a specific tour
- **Setlist statistics** — Calculate song frequency, average set length, opening/closing songs
- **Ticket buyer research** — See what songs to expect before attending a show
- **Music journalism** — Pull historical setlist data for artist profiles and retrospectives

# Actor input Schema

## `queryType` (type: `string`):

What to fetch: search setlists, search artists, search venues, or all setlists for a specific artist.

## `artistName` (type: `string`):

Artist or band name to search for (e.g. Radiohead). Required for search-artists. Optional filter for search-setlists.

## `mbid` (type: `string`):

MusicBrainz identifier for the artist (e.g. 3bd6bf59-a9ad-4e2c-b7ef-81c1e62a78ec). Required for queryType=artist-setlists. Find it at https://musicbrainz.org or via search-artists.

## `venueName` (type: `string`):

Filter setlists by venue name (e.g. Madison Square Garden). Optional for search-setlists.

## `name` (type: `string`):

Venue name to search for. Used for queryType=search-venues.

## `cityName` (type: `string`):

Filter by city (e.g. New York, London). Used for search-setlists and search-venues.

## `countryCode` (type: `string`):

ISO 3166-1 alpha-2 country code filter for venue search (e.g. US, GB, DE).

## `year` (type: `integer`):

Filter setlists by year (e.g. 2024). Used for search-setlists.

## `sort` (type: `string`):

Sort order for artist search results.

## `page` (type: `integer`):

Page number for pagination (1-based, default 1).

## Actor input object example

```json
{
  "queryType": "search-setlists",
  "artistName": "Radiohead",
  "sort": "",
  "page": 1
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("hoholabs/setlistfm-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("hoholabs/setlistfm-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call hoholabs/setlistfm-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=hoholabs/setlistfm-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Setlist.fm Scraper",
        "description": "Fetch setlists, artists, and venues from Setlist.fm — track concert history and song choices for any artist.",
        "version": "0.1",
        "x-build-id": "kujTkdbljuWrTkkJ4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/hoholabs~setlistfm-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-hoholabs-setlistfm-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/hoholabs~setlistfm-scraper/runs": {
            "post": {
                "operationId": "runs-sync-hoholabs-setlistfm-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/hoholabs~setlistfm-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-hoholabs-setlistfm-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "queryType": {
                        "title": "Query Type",
                        "enum": [
                            "search-setlists",
                            "search-artists",
                            "search-venues",
                            "artist-setlists"
                        ],
                        "type": "string",
                        "description": "What to fetch: search setlists, search artists, search venues, or all setlists for a specific artist.",
                        "default": "search-setlists"
                    },
                    "artistName": {
                        "title": "Artist Name",
                        "type": "string",
                        "description": "Artist or band name to search for (e.g. Radiohead). Required for search-artists. Optional filter for search-setlists.",
                        "default": "Radiohead"
                    },
                    "mbid": {
                        "title": "Artist MusicBrainz ID (MBID)",
                        "type": "string",
                        "description": "MusicBrainz identifier for the artist (e.g. 3bd6bf59-a9ad-4e2c-b7ef-81c1e62a78ec). Required for queryType=artist-setlists. Find it at https://musicbrainz.org or via search-artists."
                    },
                    "venueName": {
                        "title": "Venue Name",
                        "type": "string",
                        "description": "Filter setlists by venue name (e.g. Madison Square Garden). Optional for search-setlists."
                    },
                    "name": {
                        "title": "Venue Search Name",
                        "type": "string",
                        "description": "Venue name to search for. Used for queryType=search-venues."
                    },
                    "cityName": {
                        "title": "City Name",
                        "type": "string",
                        "description": "Filter by city (e.g. New York, London). Used for search-setlists and search-venues."
                    },
                    "countryCode": {
                        "title": "Country Code",
                        "type": "string",
                        "description": "ISO 3166-1 alpha-2 country code filter for venue search (e.g. US, GB, DE)."
                    },
                    "year": {
                        "title": "Year",
                        "type": "integer",
                        "description": "Filter setlists by year (e.g. 2024). Used for search-setlists."
                    },
                    "sort": {
                        "title": "Sort Order",
                        "enum": [
                            "",
                            "sortName",
                            "relevance"
                        ],
                        "type": "string",
                        "description": "Sort order for artist search results.",
                        "default": ""
                    },
                    "page": {
                        "title": "Page Number",
                        "type": "integer",
                        "description": "Page number for pagination (1-based, default 1).",
                        "default": 1
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
