# Viagogo Event Search & Ticket Listing Extractor (`nimbryxo-studio/viagogo-event-search-and-ticket-listing-extractor`) Actor

Search or browse Viagogo events by city and category, or fetch event pages with venue, date, availability and live ticket-listing prices.

- **URL**: https://apify.com/nimbryxo-studio/viagogo-event-search-and-ticket-listing-extractor.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Automation, Travel, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

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

Learn more: https://docs.apify.com/actors/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

## Viagogo Event Search & Ticket Listing Extractor

Viagogo is a ticket resale marketplace covering concerts, sports and theater events worldwide. This actor searches events by keyword, browses by city or category, or fetches full event pages with live ticket-listing prices, section and seat details.

### What this actor does

- Searches events by free-text keyword, paging through all matching results up to `maxItems`
- Browses events for one of 36 curated cities
- Browses events for one of 22 curated categories (sports, music genres, theater and more)
- Fetches full detail for specific event or search URLs, including ticket-type price groups and individual listing rows
- Filters results by country, active-listing availability and public-purchase eligibility
- Empty fields are omitted from records

### Output per event (search / browse)

- `eventId`, `title`, `sourceUrl`
- `venueName`, `venueId`, `venueCity`, `venueStateProvince`, `venueLocation`
- `countryCode`, `countryName`
- `dayOfWeek`, `formattedDate`, `formattedTime`, `formattedDateWithDayOfWeek`, `formattedRescheduledFromDate`
- `isTbd`, `isDateConfirmed`, `isTimeConfirmed`, `isMultidayEvent`, `eventStartTimestamp`
- `hasActiveListings`, `allowPublicPurchase`, `isParkingEvent`, `eventState`
- `recordType` — always `event`
- `scrapedAt` — timestamp of extraction

### Output per event detail (mode=byUrl, event URLs)

All of the fields above where available, plus:

- `venueCountryCode`, `venueLatitude`, `venueLongitude`
- `totalListings`, `availableTickets`, `isPrimaryEvent`, `instantDeliveryAvailable`
- `ticketTypeGroups` — list of `{typeName, quantity, price, currency}`
- `listings` — list of `{row, seat, section, type, price, currency}`
- `eventDate`, `eventStartDateTime`, `eventTimeZone`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search`, `browseByCity`, `browseByCategory` or `byUrl` |
| `searchQuery` | string | `taylor swift` | Free-text query (mode=search) |
| `city` | string | – | City to browse, from a curated list (mode=browseByCity) |
| `category` | string | – | Category to filter or browse (22 options) |
| `countryCode` | string | – | Only emit events in this ISO alpha-2 country, e.g. `US`, `GB` |
| `availableOnly` | boolean | `false` | Only emit events with active ticket listings |
| `publicPurchaseOnly` | boolean | `false` | Only emit events that allow public purchase |
| `startUrls` | array | `[]` | Viagogo event or search URLs (mode=byUrl) |
| `maxItems` | integer | `50` | Hard cap on emitted records (1–1000) |
| `proxyConfiguration` | object | off | Optional Apify proxy, used only as a fallback when a request is blocked |

#### Example: search for an artist's events

```json
{
  "mode": "search",
  "searchQuery": "coldplay",
  "countryCode": "GB",
  "availableOnly": true
}
```

#### Example: browse events in a city

```json
{
  "mode": "browseByCity",
  "city": "new-york",
  "category": "musical"
}
```

#### Example: browse a category

```json
{
  "mode": "browseByCategory",
  "category": "soccer"
}
```

#### Example: fetch events by URL

```json
{
  "mode": "byUrl",
  "startUrls": [
    "https://www.viagogo.com/E-161111256",
    "https://www.viagogo.com/search?q=taylor+swift"
  ]
}
```

### Use cases

- **Ticket market monitoring** — track which events currently have live resale listings
- **Venue and city analytics** — map event supply by venue, city and country
- **Event discovery feeds** — surface events by performer, city or category for a ticketing app
- **Availability alerts** — flag events with active listings and public purchase enabled
- **Cross-market research** — compare event inventory and pricing across regions

### FAQ

**Is this affiliated with viagogo?** No. This is an independent tool and is not affiliated with or endorsed by viagogo.

**Why do some events have no date fields?** Events marked TBD omit date-related fields entirely rather than returning empty strings.

**Why do search/browse records lack `ticketTypeGroups` and `listings`?** Those come from an event's own detail page; fetch the event's URL directly with `mode=byUrl` to get pricing and seat-level listing data.

**How fresh is the data?** Every run reads live search, browse and event pages at request time.

**Do I need an account to use this?** No. All event and listing data comes from publicly viewable pages.

**When is the proxy actually used?** Only as a fallback for requests that get blocked; most runs complete without needing it.

**Why might a specific event URL return nothing in `byUrl` mode?** Some individual event pages are occasionally inaccessible to anonymous requests; using a `/search` URL in the same mode is more reliable for discovering events.

**What does `hasActiveListings` tell me?** Whether the event currently has resale tickets listed on the marketplace, independent of whether `listings` detail was fetched.

**How many records can one run return?** Up to `maxItems`, capped at 1000 per run.

# Actor input Schema

## `mode` (type: `string`):

What to fetch.

## `searchQuery` (type: `string`):

Free-text query (mode=search), e.g. `taylor swift`, `nfl`, `coldplay`.

## `city` (type: `string`):

City to browse (mode=browseByCity).

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

Category filter / browse axis (21 categories with upstream category IDs).

## `countryCode` (type: `string`):

Only emit events in this country (ISO 3166-1 alpha-2, e.g. `US`, `GB`, `DE`).

## `availableOnly` (type: `boolean`):

Only emit events that currently have active ticket listings.

## `publicPurchaseOnly` (type: `boolean`):

Only emit events that allow public purchase.

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

viagogo event URLs, e.g. `https://www.viagogo.com/E-161561961`.

## `maxItems` (type: `integer`):

Hard cap on emitted records.

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

Optional Apify proxy. The actor fetches directly first; only on HTTP 403/429 does it retry through the proxy.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "taylor swift",
  "city": "london",
  "category": "concerts",
  "availableOnly": false,
  "publicPurchaseOnly": false,
  "startUrls": [],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset containing all scraped viagogo events.

# 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 = {
    "mode": "search",
    "searchQuery": "taylor swift",
    "city": "london",
    "category": "concerts",
    "availableOnly": false,
    "publicPurchaseOnly": false,
    "startUrls": [],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/viagogo-event-search-and-ticket-listing-extractor").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 = {
    "mode": "search",
    "searchQuery": "taylor swift",
    "city": "london",
    "category": "concerts",
    "availableOnly": False,
    "publicPurchaseOnly": False,
    "startUrls": [],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/viagogo-event-search-and-ticket-listing-extractor").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 '{
  "mode": "search",
  "searchQuery": "taylor swift",
  "city": "london",
  "category": "concerts",
  "availableOnly": false,
  "publicPurchaseOnly": false,
  "startUrls": [],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call nimbryxo-studio/viagogo-event-search-and-ticket-listing-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/viagogo-event-search-and-ticket-listing-extractor"
        }
    }
}
```

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/ag8rwCleq1tfVWV4w/builds/poCe45c0XsmrMQ5Xt/openapi.json
