# Bandsintown Scraper (`lexis-solutions/bandsintown-scraper`)

Scrape event and artist data from Bandsintown.com—including event names, artists, dates, venues, and ticket links. Ideal for event aggregation, trend analysis, and marketing insights. Fast, structured, and customizable extraction from a leading live music platform.

- **URL**: https://beta-securitybyobscurity.apify.com/lexis-solutions/bandsintown-scraper.md
- **Developed by:** [Lexis Solutions](https://beta-securitybyobscurity.apify.com/lexis-solutions) (community)
- **Categories:** Lead generation, Travel, Social media
- **Stats:** 13 total users, 10 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$1.90 / 1,000 events

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for dataset items the Actor outputs.

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

# README

## Bandsintown Event & Artist Scraper

👋 Welcome to the Bandsintown Event & Artist Scraper, an Apify actor designed to help you gather event and artist data from [Bandsintown](https://www.bandsintown.com/). With this actor, you can easily search for upcoming and past events, artist details, and venue information.

### Introduction

The Bandsintown Scraper is a web scraping tool built with Crawlee and Apify, designed to extract event, artist, and venue data from Bandsintown. It is ideal for music fans, event organizers, promoters, researchers, and anyone interested in live music data.

### Use Cases

Here are some typical scenarios in which the Bandsintown Scraper can be useful:

- **Music Fans**: Track upcoming concerts and festivals for your favorite artists or in your city
- **Event Organizers**: Monitor event listings and artist tours
- **Researchers**: Analyze trends in live music, artist popularity, and event locations
- **Promoters**: Discover new artists and venues for collaboration
- **Data Aggregators**: Enrich your music/event database with structured data from Bandsintown

### Input 📥

To use this actor, you need to provide the following input:

```json
{
  "startUrls": [
    {
      "url": "https://www.bandsintown.com/e/1031508260-adele-at-the-colosseum-at-caesars-palace?came_from=251&utm_medium=web&utm_source=artist_page&utm_campaign=event"
    }
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

- `query`: The search term (artist name, venue, or festival)
- `typeQuery`: Type of search (`artist`, `venue`, or `festival`)
- `typeEvents`: Which events to fetch (`upcoming`, `past`, or `all`)
- `maxItems`: Maximum number of events to extract
- `proxyConfiguration`: Proxy settings (recommended to use Apify Proxy)

### Output 📤

Each extracted event will have a structure similar to:

```json
{
  "title": "Adele Las Vegas Tickets, The Colosseum at Caesars Palace Nov 23, 2024 | Bandsintown",
  "locale": "en",
  "isBitPlus": false,
  "url": "https://www.bandsintown.com/e/1031508260-adele-at-the-colosseum-at-caesars-palace?came_from=251&utm_medium=web&utm_source=artist_page&utm_campaign=event",
  "artistId": 5594,
  "artistName": "Adele",
  "artistImage": "https://photos.bandsintown.com/thumb/18065858.jpeg",
  "artistPageUrl": "https://www.bandsintown.com/a/5594-adele?came_from=251&utm_medium=web&utm_source=artist_event_page&utm_campaign=artist",
  "venueName": "The Colosseum at Caesars Palace",
  "venueCity": "Las Vegas, NV",
  "venueAddress": "3570 S Las Vegas Blvd, Las Vegas, NV 89109",
  "timezone": "America/Los_Angeles",
  "startTime": "8:00 PM PST",
  "startsAt": "2024-11-23T20:00:00",
  "endsAt": null,
  "ticketUrl": null,
  "ticketText": "Get Tickets",
  "streamUrl": "https://www.bandsintown.com/e/1031508260-adele-at-the-colosseum-at-caesars-palace",
  "watchLiveText": "Watch Live",
  "lat": 36.1179235,
  "lon": -115.1748846,
  "genres": "Rnb-soul, R&b/soul, R&b, Soul",
  "genreArtists": "Adele",
  "bandMembers": null,
  "hometown": "London, United Kingdom",
  "artistWebsite": "Adele Laurie Blue Adkins (Born 5 May 1988 in London, United Kingdom) .....",
  "socialLinks": "https://twitter.com/Adele, https://open.spotify.com/artist/4dpARuHxo51G3z768sgnrY, ....",
  "eventId": 1031508260,
  "rsvpCount": 505
}
```

### FAQ 💬

- **What is Bandsintown?**
  Bandsintown is a leading platform for live music discovery, helping fans track their favorite artists and find concerts and festivals worldwide.

- **What types of data can the scraper extract?**
  The scraper can extract event details, artist information, venue data, ticket links, genres, and more.

- **Can I filter by artist, venue, or festival?**
  Yes! Use the `typeQuery` and `query` fields to specify your search.

- **What if the website changes?**
  If Bandsintown changes its structure, the scraper may need to be updated. Please report any issues or request updates via Apify or contact Lexis Solutions.

### Similar Scrapers

Here are some other scrapers you might find useful (from the `packages` directory):

- [Dice.fm Scraper](https://apify.com/lexis-solutions/dice-fm)
- [Luma Events Scraper](https://apify.com/lexis-solutions/lu-ma-scraper)
- [Groupon Scraper](https://apify.com/lexis-solutions/groupon)
- [Holidaycheck Scraper](https://apify.com/lexis-solutions/holidaycheck-scraper)

***

👀 **Got feedback or need an extension?**

Lexis Solutions is a [certified Apify Partner](https://apify.com/partners). We can help you with custom solutions or data extraction projects.

Contact us via [Email](mailto:info@lexis.solutions) or [LinkedIn](https://www.linkedin.com/company/lexis-solutions)

# Actor input Schema

## `startUrls` (type: `array`):

URLs to start with.

## `maxItems` (type: `integer`):

Maximum number of items that will be extracted.

## `proxyConfiguration` (type: `object`):

Your proxy configuration from Apify

## `query` (type: `string`):

Query

## `debugMode` (type: `boolean`):

Activate to see detailed logs

## `typeQuery` (type: `string`):

Type Query

## `typeEvents` (type: `string`):

Type Events

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.bandsintown.com/v/10024771-dolby-live"
    }
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  },
  "debugMode": false,
  "typeQuery": "artist",
  "typeEvents": "upcoming"
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.bandsintown.com/v/10024771-dolby-live"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lexis-solutions/bandsintown-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 = { "startUrls": [{ "url": "https://www.bandsintown.com/v/10024771-dolby-live" }] }

# Run the Actor and wait for it to finish
run = client.actor("lexis-solutions/bandsintown-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 '{
  "startUrls": [
    {
      "url": "https://www.bandsintown.com/v/10024771-dolby-live"
    }
  ]
}' |
apify call lexis-solutions/bandsintown-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Bandsintown Scraper",
        "description": "Scrape event and artist data from Bandsintown.com—including event names, artists, dates, venues, and ticket links. Ideal for event aggregation, trend analysis, and marketing insights. Fast, structured, and customizable extraction from a leading live music platform.",
        "version": "0.0",
        "x-build-id": "zzXg5dCWKqXFmYF5G"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lexis-solutions~bandsintown-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lexis-solutions-bandsintown-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/lexis-solutions~bandsintown-scraper/runs": {
            "post": {
                "operationId": "runs-sync-lexis-solutions-bandsintown-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/lexis-solutions~bandsintown-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-lexis-solutions-bandsintown-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",
                "required": [
                    "maxItems",
                    "proxyConfiguration"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "URLs to start with.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Maximum number of items",
                        "type": "integer",
                        "description": "Maximum number of items that will be extracted.",
                        "default": 10
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Your proxy configuration from Apify",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": []
                        }
                    },
                    "query": {
                        "title": "Query",
                        "type": "string",
                        "description": "Query"
                    },
                    "debugMode": {
                        "title": "Debug Mode",
                        "type": "boolean",
                        "description": "Activate to see detailed logs",
                        "default": false
                    },
                    "typeQuery": {
                        "title": "Type Query",
                        "enum": [
                            "artist",
                            "event",
                            "venue",
                            "festival"
                        ],
                        "type": "string",
                        "description": "Type Query",
                        "default": "artist"
                    },
                    "typeEvents": {
                        "title": "Type Events",
                        "enum": [
                            "upcoming",
                            "past",
                            "all"
                        ],
                        "type": "string",
                        "description": "Type Events",
                        "default": "upcoming"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
