# Ticketmaster Scraper (`hoholabs/ticketmaster-scraper`) Actor

Fetch events, attractions, venues, and classifications from the Ticketmaster Discovery API. Requires a free Ticketmaster API key.

- **URL**: https://apify.com/hoholabs/ticketmaster-scraper.md
- **Developed by:** [Hoho](https://apify.com/hoholabs) (community)
- **Categories:** Other, Travel
- **Features:** Limited permissions
- **Stats:** 13 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Ticketmaster Scraper

Search events, attractions, venues, and classifications from the Ticketmaster Discovery API. Works out of the box with a shared API key — bring your own free key only if you need higher quota.

Fetches data from the [Ticketmaster Discovery API](https://developer.ticketmaster.com): event details, artist/attraction data, venue information, genre classifications, and more.

### Why this scraper?

- **No API key needed to start** — runs on a shared free-tier key out of the box; bring your own (register at developer.ticketmaster.com) to get your own quota
- **Nine query modes** — broad event browsing, keyword search, artist tour dates, venue schedules, and full directory lookups
- **Massive catalog** — Ticketmaster covers concerts, sports, theater, and more across the US and worldwide
- **Rich data** — images, classifications, embedded venue and attraction objects, pricing tiers

### What you can fetch

- **Browse events** — paginated event feed with date, city, genre, and sort filters
- **Search events** — full-text search across event names
- **Events by attraction** — all upcoming shows for a specific artist/attraction
- **Events by venue** — all upcoming shows at a specific venue
- **Attraction directory** — search artists and attractions
- **Single attraction** — detail record for one attraction by ID
- **Venue directory** — search venues by name, city, or region
- **Single venue** — detail record for one venue by ID
- **Classifications** — genre and segment taxonomy

### Usage

#### Browse upcoming events in New York

```json
{ "queryType": "browse", "city": "New York", "stateCode": "NY", "pageSize": 20 }
```

#### Search for events by keyword

```json
{ "queryType": "search", "q": "jazz festival", "countryCode": "US" }
```

#### Get all upcoming shows for an artist

```json
{ "queryType": "attraction-events", "attractionId": "K8vZ917Gku7" }
```

#### Get all events at a venue

```json
{ "queryType": "venue-events", "venueId": "KovZpa2F8e" }
```

#### Search for attractions/artists

```json
{ "queryType": "attractions", "keyword": "Radiohead" }
```

#### Get full venue list for a city

```json
{ "queryType": "venues", "city": "Chicago", "stateCode": "IL" }
```

#### List all genre classifications

```json
{ "queryType": "classifications" }
```

### Input fields

| Field | Type | Description |
|---|---|---|
| `queryType` | select | See query types above (default: `browse`) |
| `q` | string | Search query. Required for `queryType=search` |
| `keyword` | string | Keyword filter for browse, attractions, venues queries |
| `attractionId` | string | Ticketmaster attraction ID. Required for `attraction-events` or `attraction` |
| `venueId` | string | Ticketmaster venue ID. Required for `venue-events` or `venue` |
| `city` | string | Filter by city name (e.g. `New York`, `Los Angeles`) |
| `stateCode` | string | US state code (e.g. `NY`, `CA`) |
| `countryCode` | string | ISO country code (e.g. `US`, `GB`) |
| `dateFrom` | string | Start datetime in ISO 8601 format (e.g. `2026-04-01T00:00:00Z`) |
| `dateTo` | string | End datetime in ISO 8601 format |
| `genre` | string | Filter by genre name or ID |
| `sort` | string | Sort order (e.g. `date,asc` or `name,desc`) |
| `page` | integer | Page number, 0-based (default 0) |
| `pageSize` | integer | Results per page (default 20, max 200) |
| `apiKey` | string | Optional — your own free Ticketmaster API key. Omit to use the shared key; supply your own if you hit the shared quota. |

### Output

Each run pushes one item per event, attraction, venue, or classification to the dataset.

| Field | Description |
|---|---|
| `id` | Ticketmaster ID |
| `name` | Event, attraction, or venue name |
| `dates` | Date/time object (start, timezone, status) |
| `classifications` | Genre and segment array |
| `_embedded` | Nested venues and attractions |
| `images` | Array of event image objects |
| `url` | Ticketmaster page URL |
| `queryType` | Query type that produced this item |

### Use cases

- **Concert discovery** — search across the largest ticketing catalog in North America
- **Tour tracking** — pull all upcoming dates for any artist
- **Venue schedules** — get everything playing at a specific venue
- **Genre browsing** — filter events by genre classifications
- **Cross-platform aggregation** — combine with SeatGeek, Vivid Seats, and Dice.fm

### Errors

- Unknown `attractionId` or `venueId` (single-record lookups) fail the run with a not-found message.
- If the shared API key hits its rate/daily limit, the run fails with a message telling you to supply your own free key via `apiKey`.

***

This scraper is not affiliated with Ticketmaster. Please use responsibly and in accordance with Ticketmaster's terms of service. Free tier: 5 req/sec, 5,000 req/day.

# Actor input Schema

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

What to fetch: browse events, search events by keyword, events by attraction/artist, events by venue, attraction/artist directory, single attraction detail, venue directory, single venue detail, classifications/genres.

## `keyword` (type: `string`):

Keyword to filter results (used with browse, attractions, venues).

## `city` (type: `string`):

Filter events by city name (e.g. New York).

## `stateCode` (type: `string`):

US state code (e.g. NY, CA, TX).

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

ISO country code (e.g. US, GB, CA).

## `dateFrom` (type: `string`):

Start datetime in ISO 8601 format (e.g. 2026-04-01T00:00:00Z).

## `dateTo` (type: `string`):

End datetime in ISO 8601 format (e.g. 2026-04-30T23:59:59Z).

## `genre` (type: `string`):

Filter by genre name (e.g. Rock, Hip-Hop, Classical).

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

Sort results (e.g. date,asc or name,desc).

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

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

## `pageSize` (type: `integer`):

Number of results per page (default 20, max 200).

## `q` (type: `string`):

Text to search for. Required for queryType=search.

## `attractionId` (type: `string`):

Ticketmaster attraction ID (e.g. K8vZ917Gku7). Required for attraction queries.

## `venueId` (type: `string`):

Ticketmaster venue ID (e.g. KovZpa2F8e). Required for venue queries.

## `apiKey` (type: `string`):

Optional. Leave blank to use the shared key (subject to a shared daily limit). To avoid limits and run at full speed, provide your own free key from developer.ticketmaster.com — your runs will then use your own quota.

## Actor input object example

```json
{
  "queryType": "browse",
  "page": 0,
  "pageSize": 20
}
```

# 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/ticketmaster-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/ticketmaster-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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/ticketmaster-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hoholabs/ticketmaster-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/grnQErdUj1havvBY0/builds/XVLaj5u0Cd2PtbkBu/openapi.json
