# Lyon Ticket Scraper (`mrdoe/lyon-ticket-scraper`) Actor

Returns the opponent, date, venue and every ticket category's price, tier and availability for any Olympique Lyonnais match.

- **URL**: https://apify.com/mrdoe/lyon-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 $120.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 Olympique Lyonnais match ticket prices and availability in minutes** - no coding, no manual copy-pasting. Get the opponent, competition, date, venue, and every ticket category's starting price, audience tier and availability for any OL match.

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

### What does Lyon (OL) Match Ticket Scraper do?

Lyon (OL) Match Ticket Scraper reads a match's official ticket page on [billetterie.ol.fr](https://billetterie.ol.fr) and returns structured data: the opponent, competition and round, kickoff date, venue, and every ticket category offered (single ticket, youth offer, family offer, hospitality, accessibility, etc.) with its starting price, audience tier (general public, season-ticket holder, MY OL member, 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 Lyon (OL) Match Ticket Scraper?

- **Price & availability monitoring** - track starting price and ticket availability across a whole season without refreshing the page yourself.
- **Demand research** - compare which ticket categories and price points sell out fastest across different opponents and competitions.
- **Fan tools & alerts** - power a bot, dashboard or newsletter that tracks OL ticket prices and status.

### How to use Lyon (OL) Match Ticket Scraper

1. On [ol.fr](https://www.ol.fr), open a match's fixture page and follow its ticket link - this takes you to its billetterie.ol.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.ol.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.ol.fr/fr/catalogue/match-ol-lillestrom" }]
}
```

### 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-ol-lillestrom",
        "eventName": "OL vs LILLESTRØM",
        "homeTeam": "OL",
        "awayTeam": "LILLESTRØM",
        "competition": "Europa League • Phase de poule J5",
        "eventStartDate": "2026-11-26 21:00:00.000+01:00",
        "eventUrl": "https://billetterie.ol.fr/fr/catalogue/match-ol-lillestrom"
    },
    "venue": { "venueName": "Groupama Stadium", "country": "France" },
    "tickets": [
        { "ticketCategory": "BILLET UNITE", "audienceTier": "GRAND PUBLIC", "ticketPrice": 12, "currency": "EUR", "ticketAvailability": "AVAILABLE" },
        { "ticketCategory": "OFFRE TRIBU", "audienceTier": "GRAND PUBLIC", "ticketPrice": 13, "currency": "EUR", "ticketAvailability": "AVAILABLE" },
        { "ticketCategory": "LE COMPTOIR ROUGE & BLEU", "audienceTier": "GRAND PUBLIC", "ticketPrice": 64, "currency": "EUR", "ticketAvailability": "AVAILABLE" }
    ],
    "pricing": { "lowestPrice": 12, "highestPrice": 64, "currency": "EUR" },
    "booking": { "bookingUrl": "https://billetterie.ol.fr/fr/catalogue/match-ol-lillestrom" },
    "source": { "source": "billetterie.ol.fr", "sourceEventId": "match-ol-lillestrom", "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, starting price and availability (`AVAILABLE`, `SOLD_OUT` or `RESALE`) |
| `pricing`    | Lowest and highest starting price across every category, and currency                                  |
| `booking`    | The match's own ticket-page URL                                                                         |
| `source`     | Site, ID, URL, and when it was scraped                                                                  |

Fields with no public data for a given match are returned as `null` - never fabricated or guessed.

### 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.ol.fr's bot-detection, 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.ol.fr/fr/catalogue/match-...` page copied directly from ol.fr's ticket link.

### FAQ / Disclaimer

**Is this legal?** This Actor only collects publicly visible ticket price and availability data. You are responsible for using the data in accordance with billetterie.ol.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.ol.fr match catalogue pages, copied from the site (e.g. <code>billetterie.ol.fr/fr/catalogue/match-ol-lillestrom</code>). Find them on ol.fr under the match's fixture/ticket link.

## `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.ol.fr runs a bot-detection challenge that needs a residential proxy.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://billetterie.ol.fr/fr/catalogue/match-ol-lillestrom"
    }
  ],
  "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.ol.fr/fr/catalogue/match-ol-lillestrom"
        }
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/lyon-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.ol.fr/fr/catalogue/match-ol-lillestrom" }],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/lyon-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/3BP5IMf1RyAlrKmKF/builds/SZfSiUvTfnQ7SqeNY/openapi.json
