# Ticketmaster API Events Scraper  | Concerts, Sports, Theater (`primeparse/ticketmaster-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-event-scraper.md
- **Developed by:** [PrimeParse](https://apify.com/primeparse) (community)
- **Categories:** Automation, AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 6 total users, 0 monthly users, 50.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$0.50 / 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 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-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-event-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 '{
  "location": "New York"
}' |
apify call primeparse/ticketmaster-event-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,primeparse/ticketmaster-event-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/RiKDfcc0cTKOG5XdG/builds/xz4NYSueIFeime9pe/openapi.json
