# BetExplorer Scraper - $2.50 / 1000 Results (`scrapeunblocker/betexplorer-scraper`) Actor

BetExplorer as JSON: fixtures and results of any league with scores and average odds, or every bookmaker's price for a match in 1X2, over/under, Asian handicap and more. $2.50 per 1000 results.

- **URL**: https://apify.com/scrapeunblocker/betexplorer-scraper.md
- **Developed by:** [Scrapeunblocker](https://apify.com/scrapeunblocker) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## BetExplorer Scraper

Scrape **BetExplorer** (betexplorer.com) as clean JSON. Get a league's **fixtures and results with average odds**, or **every bookmaker's price** for a match across 1X2, over/under, Asian handicap and more.

### Features

- **Fixtures and results** - teams, round, score, date and average price per outcome for any league, fixtures or results page.
- **Every bookmaker's price** - per selection, with the site's average, the best price, price movement and when each price last changed. Betting exchanges carry `exchange: true` and stay out of `best`.
- **Every line** - over/under and handicap markets return one entry per line.
- **Many pages per run** - football, basketball, hockey, tennis and more.

### Use cases

- **Betting models** - results with closing average prices for backtesting.
- **Line shopping** - the best price per selection and who offers it.
- **Odds movement** - run on a schedule to track prices over time.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `mode` | string | `matches` | `matches` (fixtures or results with average odds) or `odds` (every bookmaker's price per match). |
| `pages` | array | Premier League, NBA, NHL | Links or paths on betexplorer.com. In `odds` mode a league page is expanded into its priced matches. |
| `market` | string | the match's main market | `1x2`, `ou`, `ah`, `ha`, `dc` or `bts`. Bookmaker odds only. |
| `maxMatches` | integer | `20` | Matches to take from each page (1-500). |
| `proxyCountry` | string | - | Optional two-letter country code the requests are sent from. |

### Output

In `matches` mode each result is one match:

```json
{
  "id": "M109CYgU",
  "name": "Brighton - Brentford",
  "home": "Brighton",
  "away": "Brentford",
  "round": "10. Round",
  "status": "finished",
  "score": {"home": 2, "away": 0},
  "date": "2026-11-08",
  "odds": {"home": 1.82, "draw": 3.89, "away": 4.18},
  "winner": "home",
  "url": "https://www.betexplorer.com/football/england/premier-league/brighton-brentford/M109CYgU/"
}
```

In `odds` mode each result is one match with `markets`, where each selection lists `odds` per bookmaker.

A page or match that cannot be read is listed in the run's `ERRORS` key-value record and is not charged.

### Pricing

$2 per 1000 results.

# Actor input Schema

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

Matches: one result per listed match with its score and average odds. Bookmaker odds: one result per match with every bookmaker's price in the chosen market. In this mode a league page is expanded into its matches.

## `pages` (type: `array`):

Links or paths on betexplorer.com. League pages such as football/england/premier-league, or its fixtures or results page such as football/england/premier-league/results. For bookmaker odds also match pages such as football/england/premier-league/arsenal-leeds/xtmHKGT0.

## `market` (type: `string`):

Leave empty for each match's main market. A market the match does not offer is reported in the ERRORS record and not charged.

## `maxMatches` (type: `integer`):

How many matches to take from each league or results page.

## `proxyCountry` (type: `string`):

Optional two-letter country code the requests are sent from, such as US or DE. Leave empty to let the scraper choose.

## Actor input object example

```json
{
  "mode": "matches",
  "pages": [
    "football/england/premier-league",
    "basketball/usa/nba",
    "hockey/usa/nhl"
  ],
  "maxMatches": 20
}
```

# Actor output Schema

## `items` (type: `string`):

Collected results

# 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 = {
    "pages": [
        "football/england/premier-league",
        "basketball/usa/nba",
        "hockey/usa/nhl"
    ],
    "maxMatches": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/betexplorer-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 = {
    "pages": [
        "football/england/premier-league",
        "basketball/usa/nba",
        "hockey/usa/nhl",
    ],
    "maxMatches": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/betexplorer-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 '{
  "pages": [
    "football/england/premier-league",
    "basketball/usa/nba",
    "hockey/usa/nhl"
  ],
  "maxMatches": 20
}' |
apify call scrapeunblocker/betexplorer-scraper --silent --output-dataset

```

## MCP server setup

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