# SeatGeek Events Scraper (`scrape_scaler/seatgeek-events-scraper`) Actor

Collects live event data from the SeatGeek public API for a given city and date range. Concerts, sports, theater, and more.

- **URL**: https://apify.com/scrape\_scaler/seatgeek-events-scraper.md
- **Developed by:** [Creative Scraps](https://apify.com/scrape_scaler) (community)
- **Categories:**
- **Stats:** 1 total users, 0 monthly users, 0.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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## xenon-seatgeek

Apify Actor that collects live event data from the **SeatGeek public API** for feedirl.

Outputs events in the exact shape the `event-ingestion-webhook` n8n workflow expects (`source: "seatgeek"`).

***

### Setup

#### 1. Get a free SeatGeek Client ID

Sign up at https://seatgeek.com/account/develop → copy your `client_id`.

#### 2. Install dependencies

```bash
npm install
```

#### 3. Local test run

Edit `INPUT.json` with your `clientId`, city, and date range, then:

```bash
npx apify run
```

Results appear in `storage/datasets/default/`.

***

### Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `clientId` | string | yes | — | SeatGeek API client\_id |
| `location` | string | yes | — | City name (must be one of the 23 supported metros) |
| `startDate` | string | yes | — | `YYYY-MM-DD` |
| `endDate` | string | yes | — | `YYYY-MM-DD` |
| `searchQueries` | array | no | 12 queries | Terms to search (concert, comedy, NBA, etc.) |
| `onlyWithTickets` | boolean | no | `true` | Skip events with no ticket listings |
| `perPage` | integer | no | `100` | API results per page (max 100) |
| `maxPages` | integer | no | `5` | Max pages to fetch per query |
| `radiusMiles` | integer | no | `40` | Search radius around city centre |

#### Supported cities

New York, Los Angeles, Miami, Nashville, Austin, Chicago, Washington DC, Boston,
Philadelphia, San Francisco, San Diego, Seattle, Denver, Houston, Dallas, Atlanta,
Charlotte, Kansas City, St. Louis, Cleveland, Phoenix, Orlando, Salt Lake City

***

### Output shape (per event)

```json
{
  "id": 12345678,
  "title": "Taylor Swift | The Eras Tour",
  "url": "https://seatgeek.com/...",
  "dateTime": "2026-08-20T19:30:00",
  "dateTimeLocal": "2026-08-20T19:30:00",
  "type": "concert",
  "lowestPrice": 89,
  "venue": {
    "name": "Madison Square Garden",
    "city": "New York",
    "state": "NY",
    "location": { "lat": 40.7505, "lon": -73.9934 }
  },
  "primaryPerformer": {
    "name": "Taylor Swift",
    "genres": ["pop"],
    "type": "band"
  }
}
```

***

### Deploy to Apify

```bash
apify login
apify push
```

After deploying, copy the Actor ID from the Apify Console and replace `SEATGEEK_ACTOR_ID` in `event-ingestion.json` in the n8n repo.

***

### n8n wiring

In `feedirl-n8n/n8n-workflows/event-ingestion.json`:

```js
const SEATGEEK_ACTOR_ID = 'YOUR_USERNAME~xenon-seatgeek';
```

The input shape per run stays identical to what the n8n loop already builds.

# Actor input Schema

## `clientId` (type: `string`):

Your free SeatGeek API client\_id. Get one at https://seatgeek.com/account/develop

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

City to search events in. Must match one of the 23 supported metros (e.g. 'New York', 'Los Angeles'). Coordinates are resolved automatically.

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

Start of date range in YYYY-MM-DD format.

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

End of date range in YYYY-MM-DD format.

## `searchQueries` (type: `array`):

List of search terms to loop over (e.g. \['concert','comedy','NBA']). Leave empty to do a single broad geo search.

## `onlyWithTickets` (type: `boolean`):

If true, skips events with no active ticket listings.

## `perPage` (type: `integer`):

Max 100. Number of events fetched per API request.

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

Stop paginating after this many pages per search query.

## `radiusMiles` (type: `integer`):

Radius around the city centre to search.

## Actor input object example

```json
{
  "location": "New York",
  "startDate": "2026-08-17",
  "endDate": "2026-08-23",
  "searchQueries": [
    "concert",
    "comedy",
    "theater",
    "broadway",
    "NBA",
    "NFL",
    "MLB",
    "NHL",
    "MLS",
    "wrestling",
    "boxing",
    "musical"
  ],
  "onlyWithTickets": true,
  "perPage": 100,
  "maxPages": 5,
  "radiusMiles": 40
}
```

# Actor output Schema

## `events` (type: `string`):

All fetched events as dataset items.

## `run` (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("scrape_scaler/seatgeek-events-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("scrape_scaler/seatgeek-events-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 scrape_scaler/seatgeek-events-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrape_scaler/seatgeek-events-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/gKY0ZAYdpqWNSmeA2/builds/qLmMsmm8UsFmEOZ0Z/openapi.json
