# Ticketmaster API Event Scraper (`primeparse/ticketmaster-api-event-scraper`) Actor

Official Ticketmaster Discovery API scraper – reliably extracts concerts, sports, theater & arts events. No web scraping, blocks or proxies. Filter by city, category & dates. Get name, date, venue, prices, images & URLs. Fast, rate-limited. Ideal for event aggregators, ticketing apps & AI datasets.

- **URL**: https://apify.com/primeparse/ticketmaster-api-event-scraper.md
- **Developed by:** [PrimeParse](https://apify.com/primeparse) (community)
- **Categories:** Automation, AI, Developer tools
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## 🎫 Ticketmaster Event Scraper: Concert, Sports & Theater Events Extractor

Enterprise-grade event scraper that automatically extracts live events from Ticketmaster Discovery API — concerts, sports games, theater shows, and more. Clean, structured data ready for event discovery platforms, ticketing systems, or AI training.

**High-quality Event Data Scraper for Ticketing Platforms, Event Aggregators, and Developers**

Automatically collects events from Ticketmaster by location, category, and date range — concerts, sports, theater, and arts events. Clean, structured JSON output ready for integration or analysis.

**Built for:**

- Event discovery platforms and aggregators
- Ticketing systems and booking services
- Travel and entertainment apps
- AI/ML engineers building event recommendation models
- Event organizers and venue managers
- Marketing teams tracking local events

✅ **Official Ticketmaster Discovery API** — No scraping, no blocks, reliable data  
✅ **Smart filtering** by location, category, and date range  
✅ **Rich event metadata** (name, date, venue, price range, images, URLs)  
✅ **Automatic pagination** with configurable limits  
✅ **Rate limiting** built-in (respects API limits: 5 req/sec, 5000/day)  
✅ **Clean structured output** — ready for databases or APIs  
✅ **AI-ready datasets** — perfect for event recommendation systems  

👉 **Runs on Apify • No code required • Pay only for compute used**

### 🚀 Why This Scraper

✔ **Official API Integration**  
Uses Ticketmaster's official Discovery API v2 — no web scraping, no anti-bot measures, 100% reliable data access.

✔ **Comprehensive Event Data**  
Extracts complete event information: name, date/time, venue details, price ranges, images, and direct purchase URLs.

✔ **Smart Filtering & Search**  
Filter by location (city/region), category (music, sports, theater), and optional date ranges for precise results.

✔ **Efficient Pagination**  
Automatic pagination with configurable page limits. Supports up to 1000 events per query (API limit) with intelligent page management.

✔ **Production-Ready**  
Built with TypeScript, explicit types, error handling, and rate limiting. Follows Apify best practices for reliability.

✔ **Fast & Reliable**  
Direct API calls — no HTML parsing, no browser overhead. Fast response times and consistent data structure.

✔ **Safe & Controlled**  
Built-in rate limiting (4 requests/second, safe margin from API limit of 5/sec). Automatic retry logic and error handling.

### 💼 Use Cases

- **Event discovery platforms** — aggregate events from Ticketmaster
- **Travel apps** — show local events to travelers
- **Ticketing systems** — sync events for booking platforms
- **Event recommendation engines** — training data for ML models
- **Marketing automation** — track events for promotional campaigns
- **Venue management** — monitor competitor events
- **Research & analytics** — event trend analysis

### 📊 Supported Event Types

- **Music & Concerts** — Live music events, concerts, festivals
- **Sports** — Professional and amateur sports events
- **Theater & Arts** — Theater shows, arts performances, cultural events

### ⚙️ How It Works

1. Provide your Ticketmaster API key (get free at [developer.ticketmaster.com](https://developer.ticketmaster.com/))
2. Set location, category, and optional filters
3. Run the Actor
4. Download clean, structured event datasets

### 🧩 Input Configuration

#### Example JSON Input

```json
{
  "apiKey": "YOUR_TICKETMASTER_API_KEY",
  "location": "New York",
  "category": "music",
  "startDate": "2025-12-01",
  "endDate": "2026-01-31",
  "maxPages": 5,
  "pageSize": 20
}
````

#### Key Options

- **`apiKey`** — Your Ticketmaster Discovery API key (required)\
  Get it free at: https://developer.ticketmaster.com/

- **`location`** — City or region to search (required)\
  Examples: "New York", "London", "Los Angeles", "Chicago"

- **`category`** — Event category (required)\
  Options: `"music"`, `"sports"`, `"theater"`

- **`startDate`** — Optional start date filter (format: YYYY-MM-DD)\
  Example: `"2025-12-01"`

- **`endDate`** — Optional end date filter (format: YYYY-MM-DD)\
  Example: `"2026-01-31"`

- **`maxPages`** — Maximum pages to fetch (default: 5, max: 20)\
  API supports up to 1000 items total (size × page < 1000)

- **`pageSize`** — Events per page (default: 20, max: 200)\
  Recommended: 20-50 for optimal performance

### 📂 Output Dataset

Single dataset with all event records, structured and ready for use.

#### Example Output Record

```json
{
  "name": "Taylor Swift | The Eras Tour",
  "date": "2025-12-20T20:00:00Z",
  "venue": "Madison Square Garden, New York, NY, US",
  "priceRange": "USD 150 - USD 500",
  "url": "https://www.ticketmaster.com/taylor-swift-new-york-new-york-12-20-2025/event/0000632F8EED107C",
  "image": "https://s1.ticketm.net/dam/a/3a7/9ac81990-3bca-42bb-8473-47dfb2f493a7_RETINA_PORTRAIT_16_9.jpg"
}
```

#### Output Fields

- **`name`** — Event name/title
- **`date`** — Event date and time (ISO 8601 format)
- **`venue`** — Venue name with full location (city, state, country)
- **`priceRange`** — Price range when available (format: "USD min - USD max")
- **`url`** — Direct link to event page on Ticketmaster
- **`image`** — Event image URL (high-quality, 16:9 ratio preferred)

### 🏁 Getting Started

1. **Get API Key**\
   Sign up at [developer.ticketmaster.com](https://developer.ticketmaster.com/) and create an app to get your free API key.

2. **Configure Input**\
   Set your API key, location, and category.

3. **Run the Actor**\
   Click "Run" in Apify Console or use `apify run` locally.

4. **Download Results**\
   Export your dataset as JSON, CSV, or access via Apify API.

### 📊 API Limits & Quotas

- **Daily quota:** 5,000 API calls per day
- **Rate limit:** 5 requests per second (scraper uses 4/sec for safety)
- **Deep paging:** Up to 1,000 items (size × page < 1000)
- **Free tier:** Sufficient for most use cases

### 🔧 Technical Details

- **Built with:** TypeScript, Apify SDK, Ticketmaster Discovery API v2
- **Base image:** `apify/actor-node:22` (lightweight, no browser)
- **Data source:** Official Ticketmaster Discovery API
- **Output format:** JSON (structured event data)

### 📧 Support

- **Email**: **kidaxxb@gmail.com**
- **Issues:** Use Apify Issues tab in the Actor page
- **API Docs:** [Ticketmaster Discovery API v2](https://developer.ticketmaster.com/products-and-docs/apis/discovery-api/v2/)

**Tags:** `ticketmaster`, `events`, `concerts`, `sports`, `theater`, `ticketing`, `event-discovery`, `live-events`, `entertainment`, `api-integration`, `event-aggregator`, `ticket-booking`

***

**Built with ❤️ on Apify**

# Actor input Schema

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

Your Ticketmaster Discovery API key. Get it from https://developer.ticketmaster.com/

## `location` (type: `string`):

City or region (e.g., "New York" or "London")

## `category` (type: `string`):

Category of events

## `startDate` (type: `string`):

Optional start date in format YYYY-MM-DD. Default: first day of previous month (e.g., if today is January 2025, default is "2025-12-01")

## `endDate` (type: `string`):

Optional end date in format YYYY-MM-DD. Default: last day of next month (e.g., if today is January 2025, default is "2026-02-28")

## `maxPages` (type: `integer`):

Maximum number of pages to paginate (default: 5, max: 20). API supports up to 1000 items (size \* page < 1000)

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

Number of events per page (default: 20, max: 200)

## Actor input object example

```json
{
  "location": "New York",
  "category": "music",
  "maxPages": 5,
  "pageSize": 20
}
```

# Actor output Schema

## `overview` (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 = {
    "location": "New York"
};

// Run the Actor and wait for it to finish
const run = await client.actor("primeparse/ticketmaster-api-event-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 = { "location": "New York" }

# Run the Actor and wait for it to finish
run = client.actor("primeparse/ticketmaster-api-event-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 '{
  "location": "New York"
}' |
apify call primeparse/ticketmaster-api-event-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Ticketmaster API Event Scraper",
        "description": "Official Ticketmaster Discovery API scraper – reliably extracts concerts, sports, theater & arts events. No web scraping, blocks or proxies. Filter by city, category & dates. Get name, date, venue, prices, images & URLs. Fast, rate-limited. Ideal for event aggregators, ticketing apps & AI datasets.",
        "version": "0.0",
        "x-build-id": "6kun3KAVj8sRNkS2P"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/primeparse~ticketmaster-api-event-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-primeparse-ticketmaster-api-event-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/primeparse~ticketmaster-api-event-scraper/runs": {
            "post": {
                "operationId": "runs-sync-primeparse-ticketmaster-api-event-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/primeparse~ticketmaster-api-event-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-primeparse-ticketmaster-api-event-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": [
                    "apiKey",
                    "location",
                    "category"
                ],
                "properties": {
                    "apiKey": {
                        "title": "Ticketmaster API Key",
                        "type": "string",
                        "description": "Your Ticketmaster Discovery API key. Get it from https://developer.ticketmaster.com/"
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City or region (e.g., \"New York\" or \"London\")",
                        "default": "New York"
                    },
                    "category": {
                        "title": "Category",
                        "enum": [
                            "music",
                            "sports",
                            "theater"
                        ],
                        "type": "string",
                        "description": "Category of events",
                        "default": "music"
                    },
                    "startDate": {
                        "title": "Start Date",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "Optional start date in format YYYY-MM-DD. Default: first day of previous month (e.g., if today is January 2025, default is \"2025-12-01\")"
                    },
                    "endDate": {
                        "title": "End Date",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "Optional end date in format YYYY-MM-DD. Default: last day of next month (e.g., if today is January 2025, default is \"2026-02-28\")"
                    },
                    "maxPages": {
                        "title": "Max Pages",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of pages to paginate (default: 5, max: 20). API supports up to 1000 items (size * page < 1000)",
                        "default": 5
                    },
                    "pageSize": {
                        "title": "Page Size",
                        "minimum": 1,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Number of events per page (default: 20, max: 200)",
                        "default": 20
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
