# StubHub Scraper: Prices, Listings & Seat Maps (`tickets-dev/stubhub-scraper`) Actor

Every listing on any StubHub event: section, row, quantity, all-in price, zone, delivery type and notes. Paste event URLs, export to CSV or Excel.

- **URL**: https://apify.com/tickets-dev/stubhub-scraper.md
- **Developed by:** [Tickets.dev](https://apify.com/tickets-dev) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $60.00 / 1,000 captured 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?

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

## StubHub Scraper

Scrape every listing on any StubHub event, with section, row, quantity, all-in price, zone, delivery type and listing notes. Paste event URLs and get one row per listing, ready for Excel, Google Sheets or your own database.

Every run reads the live event page, so prices and inventory are current to the minute.

### What you get

| Field | |
|---|---|
| `eventName`, `eventDateLocal`, `venueName`, `venueCity` | The event |
| `section`, `row`, `seats`, `quantity` | Where the tickets are and how many |
| `ticketPrice`, `fee`, `totalPrice`, `currency` | Price per ticket, fee per ticket, and the all-in price before tax |
| `inventoryType`, `ticketType`, `listingNotes`, `group` | Primary or resale, delivery, notes and zone |
| `dealScore`, `sellableQuantities`, `listingId` | The marketplace's deal score, how many you can buy, and its listing id |
| `eventUrl`, `capturedAt` | The page captured, and when |

StubHub specifics:

- Every listing is `resale`.
- `ticketPrice` equals `totalPrice` and `fee` is 0: StubHub shows one all-in price per ticket.
- `seats` is usually empty. StubHub rarely shows seat numbers.
- `ticketType` is the delivery method, such as "Mobile Transfer ticket".
- `listingNotes` lists the listing's features, such as "Clear view" or "Limited or Obstructed View".
- `group` is StubHub's zone, such as "100 Level", and `dealScore` is StubHub's own score from 0 to 10.

### How to use it

1. Paste one or more StubHub event URLs.
2. Start the run. Most events take 5 to 20 seconds.
3. Download the results as CSV, Excel or JSON, or read them through the Apify API.

Example input:

```json
{
  "startUrls": [{ "url": "https://www.stubhub.com/cirque-du-soleil-o-las-vegas-tickets-8-7-2027/event/162153338/" }],
  "includeVenueMaps": false
}
```

Example output row:

```json
{
  "marketplace": "stubhub",
  "eventId": "161551904",
  "eventName": "The Eagles",
  "eventDateLocal": "2026-12-11T20:30:00-08:00",
  "eventDateUtc": "2026-12-12T04:30:00+00:00",
  "venueName": "Sphere at The Venetian Resort",
  "venueCity": "Las Vegas",
  "venueState": "Nevada",
  "eventUrl": "https://www.stubhub.com/the-eagles-las-vegas-tickets-12-11-2026/event/161551904",
  "capturedAt": "2026-09-22T15:44:01.646132+00:00",
  "currency": "USD",
  "section": "404",
  "row": "15",
  "seats": "",
  "quantity": 2,
  "ticketPrice": 442.35,
  "fee": 0,
  "totalPrice": 442.35,
  "inventoryType": "resale",
  "ticketType": "Mobile Transfer ticket",
  "listingNotes": "Clear view",
  "group": "400 Level",
  "dealScore": "8.94",
  "sellableQuantities": "2",
  "listingId": "13820069372"
}
```

### Seat maps

Turn on **Include seat maps** to also get the venue map. Every row gains `sectionLevelUrl`, an SVG of the sections, and `seatLevelUrl`, an SVG of the seats or rows. Each section in the SVG carries a `data-section` attribute that matches the listings' `section`, so you can color the map by price. Each event's full capture, with every section, row and seat as data, is saved in the run's key-value store. Seat maps add time to each capture.

### Track prices over time

Schedule the actor hourly or daily in Apify. Every row carries `capturedAt`, so each run adds a snapshot and you build your own price history for the events you care about.

### Pricing

You pay per event captured, however many listings it has. Captures that fail are not charged. Free Apify plans capture up to 3 events per run.

### FAQ

#### Does StubHub have an API?

Not one that's open to the public. This actor reads the event page itself and returns every listing as data.

#### How fresh is the data?

Live. Each event is loaded when your run reaches it.

#### I need this in my own app, or other marketplaces too

This actor runs on the [Tickets.dev API](https://tickets.dev/stubhub-api?utm_source=apify), which returns the same data for Ticketmaster, StubHub, SeatGeek, Vivid Seats, TickPick, Gametime, Viagogo and more.

#### Is this affiliated with StubHub?

No. Tickets.dev is independent and not affiliated with StubHub.

# Actor input Schema

## `startUrls` (type: `array`):

Event pages to capture, copied from the marketplace.

## `includeVenueMaps` (type: `boolean`):

Also return the venue map: section and seat SVG links on every row, and each event's full layout in the key-value store. Adds time to each capture.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.stubhub.com/cirque-du-soleil-o-las-vegas-tickets-8-7-2027/event/162153338/"
    }
  ],
  "includeVenueMaps": false
}
```

# Actor output Schema

## `listings` (type: `string`):

One row per listing, with its event's details.

## `captures` (type: `string`):

Each event's complete capture: stats, performers and, with seat maps on, the venue layout.

## `summary` (type: `string`):

Events captured and failed, with the reason for each failure.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.stubhub.com/cirque-du-soleil-o-las-vegas-tickets-8-7-2027/event/162153338/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tickets-dev/stubhub-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 = { "startUrls": [{ "url": "https://www.stubhub.com/cirque-du-soleil-o-las-vegas-tickets-8-7-2027/event/162153338/" }] }

# Run the Actor and wait for it to finish
run = client.actor("tickets-dev/stubhub-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 '{
  "startUrls": [
    {
      "url": "https://www.stubhub.com/cirque-du-soleil-o-las-vegas-tickets-8-7-2027/event/162153338/"
    }
  ]
}' |
apify call tickets-dev/stubhub-scraper --silent --output-dataset

```

## MCP server setup

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