# StubHub Event Scraper (`parsebird/stubhub-event-scraper`) Actor

Scrape StubHub explore pages for event listings: name, venue, date, time, price class, favorites and more. Export as JSON, CSV, Excel.

- **URL**: https://apify.com/parsebird/stubhub-event-scraper.md
- **Developed by:** [ParseBird](https://apify.com/parsebird) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.89 / 1,000 events

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### StubHub Event Scraper

Scrape [StubHub](https://www.stubhub.com) explore pages for live event data — concerts, sports, theater and more — by city, coordinates, or any explore URL. Get event names, venues, dates, times, price tiers and ticket-availability status without touching a browser.

<table><tr>
<td style="border-left:4px solid #1C1917;padding:12px 16px;font-weight:600">Paginate any StubHub explore feed and pull 25+ fields per event — name, venue, address, date/time, price class, category, favorites and active-listing status — ready for analysis or integration.</td>
</tr></table>

##### Copy to your AI assistant

Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.

```
Apify Actor: parsebird/stubhub-event-scraper — scrapes StubHub explore-page events from StubHub's own getExploreEvents JSON endpoint (no browser). Call: ApifyClient("TOKEN").actor("parsebird/stubhub-event-scraper").call(run_input={"startUrl": "https://www.stubhub.com/explore?lat=NDAuNzEyOA%3D%3D&lon=LTc0LjAwNg%3D%3D", "results_wanted": 20, "max_pages": 3, "proxyConfiguration": {"useApifyProxy": false}}). Inputs: startUrl (a complete StubHub explore URL — city, coordinates, or category based; required), results_wanted (int, default 20, max event records to save), max_pages (int, default 3, max explore result pages to process), proxyConfiguration (optional Apify Proxy settings). Output: dataset of events with record_type, event_id, title, url, day_of_week, date_text, time_text, date_time_text, venue, venue_location, venue_id, category_id, image_url, min_price, currency, price_class, is_tbd, is_date_confirmed, is_time_confirmed, has_active_listings, is_favorite, aggregate_favorites, is_parking_event, event_state, allow_public_purchase, is_under_hundred, source, source_url, location_coordinate, inferred_country, inferred_currency, explore_page_size, scraped_at. API docs: https://docs.apify.com/api/v2  Token: https://console.apify.com/settings/integrations
```

### What does StubHub Event Scraper do?

Give this StubHub scraper an explore URL and it walks StubHub's explore feed page by page, returning one structured record per event — no login, no CAPTCHA, no headless browser:

- 🎟️ **Event details** — `title`, `url`, `event_id`, `category_id`, `image_url`
- 📅 **Date & time** — `day_of_week`, `date_text`, `time_text`, `date_time_text`, plus `is_tbd` / `is_date_confirmed` / `is_time_confirmed` flags
- 📍 **Venue** — `venue`, `venue_location`, `venue_id`
- 💲 **Pricing** — `min_price`, `currency`, `price_class`, `is_under_hundred`, `has_active_listings`
- ❤️ **Popularity** — `aggregate_favorites`, `is_favorite`
- 🌐 **Location context** — `location_coordinate`, `inferred_country`, `inferred_currency` inferred from the run's IP/proxy

Use it as a StubHub API alternative for market research, ticket-price monitoring, event discovery, or feeding a events database — all on the Apify platform, with scheduling, an API, and JSON/CSV/Excel export built in.

### Input parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `startUrl` | string | **Yes** | — | Complete StubHub explore URL, such as a location-based explore page, e.g. `https://www.stubhub.com/explore?lat=...&lon=...`. |
| `results_wanted` | integer | No | `20` | Maximum number of event records to save. Values below 1 are raised to 1. |
| `max_pages` | integer | No | `3` | Maximum number of explore result pages to process. Values below 1 are raised to 1. |
| `proxyConfiguration` | object | No | `{"useApifyProxy": false}` | Optional Apify Proxy settings for repeated or higher-volume runs. |

### Output example

```json
{
  "record_type": "event",
  "event_id": "160984708",
  "title": "Vince Giordano and the Nighthawks",
  "url": "https://www.stubhub.com/the-nighthawks-new-york-tickets-9-14-2026/event/160984708/",
  "day_of_week": "Mon",
  "date_text": "Sep 14",
  "time_text": "5:30 PM",
  "date_time_text": "Sep 14 5:30 PM",
  "venue": "Birdland Theater at Birdland - Complex",
  "venue_location": "New York, NY, USA",
  "venue_id": 150209002,
  "category_id": 10620,
  "image_url": "https://media.stubhubstatic.com/stubhub-v2-catalog/d_defaultLogo.jpg/q_auto:low,f_auto,c_fill,g_auto,w_280,h_170,dpr_2.0/categories/10620/169998",
  "min_price": 102.0,
  "currency": "USD",
  "price_class": 2,
  "is_tbd": false,
  "is_date_confirmed": true,
  "is_time_confirmed": true,
  "has_active_listings": false,
  "is_favorite": false,
  "aggregate_favorites": 0,
  "is_parking_event": false,
  "event_state": 0,
  "allow_public_purchase": true,
  "is_under_hundred": false,
  "source": "stubhub_events",
  "source_url": "https://www.stubhub.com/explore?lat=NDAuNzEyOA%3D%3D&lon=LTc0LjAwNg%3D%3D",
  "location_coordinate": "-74.006,40.7128",
  "inferred_country": "US",
  "inferred_currency": "USD",
  "explore_page_size": 20,
  "scraped_at": "2026-09-14T12:24:47.237Z"
}
```

Not every field is published for every event — StubHub omits `price_class`, `min_price` and `currency` for events without a live price badge. Download results in JSON, CSV, HTML, or Excel from the Console, or pull them via the [Apify API](https://docs.apify.com/api/v2).

### Use cases

- **Market research** — track which concerts, sports games, and shows are trending in a city
- **Price monitoring** — watch `min_price` and `price_class` across venues over time
- **Event discovery feeds** — power a local "what's on" app or newsletter
- **Lead generation** — find venues and events for outreach or sponsorship
- **Data pipelines** — feed clean, structured StubHub event data into a database or BI tool

### How to scrape StubHub events

1. Open [StubHub](https://www.stubhub.com/explore) in your browser, search or pan to the city you want, and copy the resulting explore URL (it contains `lat`/`lon` or other filter parameters).
2. Paste that URL into the `startUrl` field of StubHub Event Scraper.
3. Set `results_wanted` and `max_pages` to control how many events to collect.
4. Click **Start** and download the dataset as JSON, CSV, or Excel — or fetch it via the [Apify API](https://docs.apify.com/api/v2) or [integrations](https://apify.com/integrations) (Zapier, Make, Google Sheets, and more).

Under the hood, the actor reuses the same `getExploreEvents` endpoint StubHub's own explore page calls, walking pages with `page=0,1,2,…` until `max_pages` or `results_wanted` is reached, de-duplicating by `event_id`.

### How much does it cost to scrape StubHub?

StubHub Event Scraper uses **pay-per-result** pricing — you only pay for events actually returned.

| Event | Price per event | Price per 1,000 |
|-------|------------------|------------------|
| `event` | $0.00089 – $0.00139 | **$0.89 – $1.39** |

Pricing depends on your Apify plan (Free, Bronze, Silver, Gold — lower on higher plans). Scraping 1,000 events costs between $0.89 and $1.39. A typical run of 20–50 events costs a few cents.

### FAQ

**Do I need a proxy?**
No. StubHub's explore data endpoint works without a proxy in most regions. You can still enable Apify Proxy in the `proxyConfiguration` field to spread load across IPs or to see prices in a specific country's currency.

**What is a StubHub explore URL?**
It's the URL StubHub generates when you browse events by location on [stubhub.com/explore](https://www.stubhub.com/explore) — it typically encodes `lat`/`lon` (base64) or other filters in the query string. Copy it straight from your browser's address bar.

**Why are `min_price` and `currency` sometimes empty?**
StubHub only shows a price badge for events with an active, purchasable listing at the time of the request. Events without one (e.g. tickets not yet on sale) omit the field, and the actor leaves it empty rather than guessing.

**Which currency will I see?**
StubHub infers the display currency from the request's IP location (see `inferred_country` / `inferred_currency` in the output), not from the `lat`/`lon` you searched. Use a country-specific Apify Proxy group if you need prices in a particular currency.

**Can I filter by category or date?**
Yes — build the filters on StubHub's own explore page (category, date range, etc.) and copy the resulting URL into `startUrl`; the actor forwards whatever query parameters the URL contains.

**Can I schedule recurring runs?**
Yes. Use [Apify Schedules](https://docs.apify.com/platform/schedules) to re-run daily or hourly and track new events or price changes over time.

**Is there an API?**
Yes — every Apify Actor is callable via the [Apify API](https://docs.apify.com/api/v2) and official [Python](https://docs.apify.com/api/client/python) and [JavaScript](https://docs.apify.com/api/client/js) clients. See usage examples below.

### Is it legal to scrape StubHub?

Scraping publicly available data, like the event listings this actor collects, is generally permitted, but you are responsible for how you use the data. Comply with StubHub's Terms of Service, avoid collecting personal data, and consult a lawyer if you plan to use scraped data commercially. Read more in Apify's blog post on [the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

### Using the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("parsebird/stubhub-event-scraper").call(run_input={
    "startUrl": "https://www.stubhub.com/explore?lat=NDAuNzEyOA%3D%3D&lon=LTc0LjAwNg%3D%3D",
    "results_wanted": 20,
    "max_pages": 3,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], item["venue"], item.get("min_price"))
```

**JavaScript**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('parsebird/stubhub-event-scraper').call({
    startUrl: 'https://www.stubhub.com/explore?lat=NDAuNzEyOA%3D%3D&lon=LTc0LjAwNg%3D%3D',
    results_wanted: 20,
    max_pages: 3,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### Related Actors

- [GetYourGuide Tours & Activities Scraper](https://apify.com/parsebird/getyourguide-scraper) — extract tours, activities and experience listings
- [GetYourGuide Review Scraper](https://apify.com/parsebird/getyourguide-review-scraper) — pull customer reviews for tours and activities

### Issues & feedback

Found a bug or have a feature request? Open an issue on the Actor's **Issues** tab in Apify Console — feedback helps keep this StubHub scraper reliable as StubHub's site evolves.

# Actor input Schema

## `startUrl` (type: `string`):

A complete StubHub explore URL, such as a location-based explore page, e.g. https://www.stubhub.com/explore?lat=NDAuNzEyOA%3D%3D\&lon=LTc0LjAwNg%3D%3D

## `results_wanted` (type: `integer`):

Maximum number of event records to save. Values below 1 are raised to 1.

## `max_pages` (type: `integer`):

Maximum number of explore result pages to process. Values below 1 are raised to 1.

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

Optional Apify Proxy settings for repeated or higher-volume runs. StubHub's explore data endpoint works without a proxy in most regions; enable one to spread load or to see event prices in a specific country's currency.

## Actor input object example

```json
{
  "startUrl": "https://www.stubhub.com/explore?lat=NDAuNzEyOA%3D%3D&lon=LTc0LjAwNg%3D%3D",
  "results_wanted": 20,
  "max_pages": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "startUrl": "https://www.stubhub.com/explore?lat=NDAuNzEyOA%3D%3D&lon=LTc0LjAwNg%3D%3D",
    "results_wanted": 20,
    "max_pages": 3,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("parsebird/stubhub-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 = {
    "startUrl": "https://www.stubhub.com/explore?lat=NDAuNzEyOA%3D%3D&lon=LTc0LjAwNg%3D%3D",
    "results_wanted": 20,
    "max_pages": 3,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("parsebird/stubhub-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 '{
  "startUrl": "https://www.stubhub.com/explore?lat=NDAuNzEyOA%3D%3D&lon=LTc0LjAwNg%3D%3D",
  "results_wanted": 20,
  "max_pages": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call parsebird/stubhub-event-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parsebird/stubhub-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/FLAyOdyJqdiiYF8Eb/builds/ZKy0pjhv4JgDwNbUF/openapi.json
