# Psg Ticket Scraper (`mrdoe/psg-ticket-scraper`) Actor

Returns the opponent, date, venue and every ticket category's price and availability for any Paris Saint-Germain match.

- **URL**: https://apify.com/mrdoe/psg-ticket-scraper.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** E-commerce, Travel, Sports
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 16.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $100.00 / 1,000 match 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

**Track Paris Saint-Germain match ticket availability in minutes** - no coding, no manual copy-pasting. Get the opponent, competition, date, venue, and every ticket category's audience tier and availability status for any PSG match.

![PSG Match Ticket Scraper - a real billetterie.psg.fr match page with ticket categories and availability](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/psg-ticket-scraper--hero.png)

### What does PSG Match Ticket Scraper do?

PSG Match Ticket Scraper reads a Paris Saint-Germain match's official ticket page on [billetterie.psg.fr](https://billetterie.psg.fr) and returns structured data: the opponent, competition and round, kickoff date, venue, and every ticket category offered (single ticket, visibility-reduced, hospitality, accessibility, etc.) with its audience tier (general public, member, MyParis Premium, etc.) and whether it's available, sold out, or on official resale. Give it one or more match ticket-page URLs and it returns one row per match.

### Why use PSG Match Ticket Scraper?

- **Availability monitoring** - know the moment a sold-out category reopens or a resale listing appears, without refreshing the page yourself.
- **Demand research** - compare which ticket categories sell out fastest across different opponents and competitions.
- **Fan tools & alerts** - power a bot, dashboard or newsletter that tracks PSG ticket status for a specific match or the whole season.

### How to use PSG Match Ticket Scraper

1. On [psg.fr](https://www.psg.fr), open a match's own page and click "ACHETER DES BILLETS" - this takes you to its billetterie.psg.fr ticket page. Copy that URL.
2. Paste it into **Start URLs** in the Input tab. Add as many matches as you like.
3. Set **Max items** if you want to collect more than the free default of 10.
4. Click **Start** and wait for the run to finish.
5. Open the **Dataset** tab to preview, filter, and export your results.

### Input

| Field                | Type    | Description                                                                                 |
| --------------------- | ------- | --------------------------------------------------------------------------------------------------------- |
| `startUrls`          | Array   | billetterie.psg.fr match catalogue pages. **Required.**                                     |
| `maxItems`           | Integer | Maximum number of matches to collect (one per start URL). **Free: 10 by default.** Set a higher number, or `0` for unlimited. |
| `useCache`           | Boolean | Skip matches already collected by a previous run (default: `true`).                         |
| `proxyConfiguration` | Object  | **Required.** Defaults to Apify's residential proxy group.                                   |

Example input:

```json
{
    "startUrls": [{ "url": "https://billetterie.psg.fr/fr/catalogue/match-foot-masculin-paris-vs-lorient-2" }]
}
```

### Output

Each match is saved as one item in the dataset, grouped into `event`, `venue`, `tickets`, `pricing`, `booking` and `source`. For example:

```json
{
    "event": {
        "eventSlug": "match-foot-masculin-paris-vs-lorient-2",
        "eventName": "PARIS vs Lorient",
        "homeTeam": "PARIS",
        "awayTeam": "Lorient",
        "competition": "Ligue 1 McDonald's • Journée 12",
        "eventStartDate": "2026-11-28 20:45:00.000+01:00",
        "eventUrl": "https://billetterie.psg.fr/fr/catalogue/match-foot-masculin-paris-vs-lorient-2"
    },
    "venue": { "venueName": "Parc des Princes", "country": "France" },
    "tickets": [
        { "ticketCategory": "Billet à l'unité", "audienceTier": "Grand Public", "ticketPrice": null, "currency": null, "ticketAvailability": "AVAILABLE" },
        { "ticketCategory": "Billet à l'unité", "audienceTier": "Revente de billets", "ticketPrice": null, "currency": null, "ticketAvailability": "RESALE" },
        { "ticketCategory": "Espace des Trophées Avant-Match", "audienceTier": "Grand Public", "ticketPrice": null, "currency": null, "ticketAvailability": "AVAILABLE" }
    ],
    "booking": { "bookingUrl": "https://billetterie.psg.fr/fr/catalogue/match-foot-masculin-paris-vs-lorient-2" },
    "source": { "source": "billetterie.psg.fr", "sourceEventId": "match-foot-masculin-paris-vs-lorient-2", "scrapedAt": "2026-11-19T00:00:00.000Z" }
}
```

#### Field reference

| Section      | What's in it                                                                                       |
| ------------- | ------------------------------------------------------------------------------------------------------ |
| `event`      | Home/away team, competition and round, kickoff date, match URL                                        |
| `venue`      | Venue name                                                                                              |
| `tickets`    | Every ticket category, its audience tier, and availability (`AVAILABLE`, `SOLD_OUT` or `RESALE`)       |
| `pricing`    | Lowest/highest price across every tier - usually `null`, since PSG's own ticket pages don't publish a price (see note below) |
| `booking`    | The match's own ticket-page URL                                                                         |
| `source`     | Site, ID, URL, and when it was scraped                                                                  |

**A note on price:** PSG's own ticket pages do not publish a price for any ticket category, even ones marked available - price is only shown after signing in and selecting seats. This Actor never fabricates a number the source doesn't show, so `ticketPrice`/`pricing` fields are `null`. What it does reliably track is which categories and audience tiers are open, sold out, or on resale - the Marseille and Lyon versions of this Actor do show real starting prices, since those clubs' ticket pages publish them.

### Cache behavior

With `useCache` on (default), every successfully collected match's URL is stored permanently in the Actor's key-value store - no expiration, no TTL. Re-running the Actor with the same start URLs skips matches already collected and only returns new ones. Disable `useCache` to re-collect everything.

### Cost / performance

This Actor needs a real browser and a residential proxy to get past billetterie.psg.fr's bot-detection challenge, so it costs more per result than a plain-HTTP Actor - priced to reflect that real cost while staying well within a comfortable margin for typical use.

### Troubleshooting

**A run returns no data for a match.** Double-check the start URL is a `billetterie.psg.fr/fr/catalogue/match-...` page copied directly from psg.fr's "ACHETER DES BILLETS" link.

### FAQ / Disclaimer

**Is this legal?** This Actor only collects publicly visible ticket-category and availability data. You are responsible for using the data in accordance with billetterie.psg.fr's Terms of Service and applicable law in your jurisdiction.

**Found a bug or have a feature request?** Please use the Issues tab on this Actor's page - feedback directly shapes future updates.

# Actor input Schema

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

Billetterie.psg.fr match catalogue pages, copied from the site (e.g. <code>billetterie.psg.fr/fr/catalogue/match-foot-masculin-paris-vs-lorient-2</code>). Find them on the match's own page on psg.fr under "ACHETER DES BILLETS".

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

Maximum number of matches to collect (one per start URL). Defaults to 10 so you can try the Actor for free; raise it or set 0 for unlimited - you're billed per result either way.

## `useCache` (type: `boolean`):

Skip matches already collected by a previous run of this Actor. The cache is stored permanently and never expires. Disable to re-collect everything.

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

Required. billetterie.psg.fr runs a bot-detection challenge that needs a residential proxy.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://billetterie.psg.fr/fr/catalogue/match-foot-masculin-paris-vs-lorient-2"
    }
  ],
  "maxItems": 10,
  "useCache": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (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 = {
    "startUrls": [
        {
            "url": "https://billetterie.psg.fr/fr/catalogue/match-foot-masculin-paris-vs-lorient-2"
        }
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/psg-ticket-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://billetterie.psg.fr/fr/catalogue/match-foot-masculin-paris-vs-lorient-2" }],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/psg-ticket-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://billetterie.psg.fr/fr/catalogue/match-foot-masculin-paris-vs-lorient-2"
    }
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call mrdoe/psg-ticket-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/psg-ticket-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/5WJkNbeJLxZedaR3r/builds/eKTTyAN7dI9wmz0tV/openapi.json
