# Football Odds Comparison: 1xBet, MelBet & 22Bet Best Price (`mrdoe/football-odds-comparison`) Actor

Compares fresh 1xBet, MelBet and 22Bet football odds live, match by match: for every game and market see each book's price, the best price and who offers it, the average, each book's margin and whether the best prices create an arbitrage. Press Start with no input and it fetches live odds itself.

- **URL**: https://apify.com/mrdoe/football-odds-comparison.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** Sports
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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

![Football Odds Comparison: 1xBet, MelBet & 22Bet Best Price - Live 1xBet, MelBet and 22Bet football odds, matched and compared in one table - no manual setup.](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/football-odds-comparison--hero.png)

### What does Football Odds Comparison: 1xBet, MelBet & 22Bet Best Price do?

Football Odds Comparison fetches fresh odds from this account's own 1xBet, MelBet and 22Bet Actors the moment you press Start, matches the same match across all three even when team names differ, then for each market and line returns every bookmaker's price, the best price for each outcome and which bookmaker offers it, the average price, each bookmaker's margin, the combined margin of the best prices, and a flag when those best prices guarantee a profit. It covers 1X2 (moneyline) and total markets.

### Why use Football Odds Comparison: 1xBet, MelBet & 22Bet Best Price?

- No manual setup - live fetch is on by default.
- Line shopping across three major football books in one table.
- Fuzzy team matching handles different name formats.
- Margin per bookmaker shows who prices tighter.
- Arbitrage flag when the best prices beat the market.

### What makes this different

Most odds-comparison sites are closed and show only what they choose to publish. This Actor fetches fresh prices from all three books itself, on demand, and gives you every book's price, margin and an arbitrage flag as structured data you can filter, store or alert on.

### How it works

![Football Odds Comparison: 1xBet, MelBet & 22Bet Best Price workflow: your input, collection, output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/football-odds-comparison--how-it-works.png)

1. **Your input** — press Start - the Actor fetches live 1xBet, MelBet and 22Bet odds itself.
2. **The Actor collects it** — it matches the same match across bookmakers and compares each market.
3. **Your output** — you get one comparison row per match and market, with every book's price.

### What data can you extract?

The dataset has 10 fields per row:

| Field | Type | Description |
|---|---|---|
| `event` | object | Home, away, sport, league and start time. |
| `market` | string | moneyline (1X2) or total. |
| `line` | number | Total line, null for moneyline. |
| `bookmakers` | number | Bookmakers pricing this market. |
| `best` | object | Best odds and bookmaker per selection. |
| `average` | object | Average odds per selection. |
| `bestPriceMarginPercent` | number | Combined margin of the best prices in percent. |
| `arbitrage` | boolean | True when the best prices guarantee a profit. |
| `books` | array | Each bookmaker's odds, margin and link. |
| `demo` | boolean | True for the built-in sample. |

### How to use Football Odds Comparison: 1xBet, MelBet & 22Bet Best Price

![Football Odds Comparison: 1xBet, MelBet & 22Bet Best Price input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/football-odds-comparison--input.png)

1. Open the Actor and go to the **Input** tab.
2. Press **Start** with no input for a live, real comparison across all three books. Add **Sports** to narrow beyond football, or pick **Odds datasets** from earlier runs instead of a live fetch.
3. Optionally set filters and a **Max results** limit.
4. Click **Start**. A default run finishes in under a minute.
5. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `fetchLiveOdds` | boolean | No | `true` | Runs this repo's own 1xBet, MelBet and 22Bet Actors right now and compares their fresh odds, in addition to any datasets below. Each is a separate Actor run on your account, billed and timed as its own run - this is the default, so pressing Start with no input already gives you a real, live comparison. |
| `liveBookmakers` | array | No | `[]` | Which of 1xbet, melbet, 22bet to fetch live. Leave empty for all three. |
| `liveSports` | array | No | `[]` | Sports to pass to each bookmaker Actor. Leave empty for Football. |
| `liveMaxMatchesPerBook` | integer | No | `5` | Caps how many matches each bookmaker Actor fetches live. Each sub-run is billed by its own per-match pricing, so this should roughly track Max results below rather than over-fetching matches that get discarded. |
| `oddsDataset1` | string | No | — | Add a dataset from an earlier 1xBet, MelBet or 22Bet Actor run instead of (or alongside) live fetch. |
| `oddsDataset2` | string | No | — | Another dataset of the same kind. |
| `oddsDataset3` | string | No | — | Another dataset of the same kind. |
| `markets` | array | No | `[]` | moneyline (1X2) and/or total. Leave empty for both. |
| `minBooks` | integer | No | `2` | Only compare markets priced by at least this many bookmakers. |
| `onlyArbitrage` | boolean | No | `false` | Return only markets where the best prices across books guarantee a profit. These are genuinely rare - most runs will return none, which is expected. |
| `maxStartDiffHours` | number | No | `3` | Listings count as the same match when their start times are within this many hours. |
| `maxResults` | integer | No | `5` | Maximum number of comparisons returned. Default is 5 for a quick test; set 0 to return everything available. |

### Output Data

![Football Odds Comparison: 1xBet, MelBet & 22Bet Best Price dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/football-odds-comparison--output.png)

`best` gives the highest price and bookmaker for each selection; `average` is the mean price. `bestPriceMarginPercent` is the combined margin of the best prices: below zero means an arbitrage, flagged in `arbitrage` (genuinely rare - most runs return none, which is expected, not a bug). `books` lists every bookmaker's price and margin.

![Football Odds Comparison: 1xBet, MelBet & 22Bet Best Price field map of one record](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/football-odds-comparison--fields.png)

A real dataset item:

```json
{
  "event": {
    "home": "Frosinone Calcio",
    "away": "Lecce",
    "sport": "Football",
    "league": "Serie A",
    "startTime": "2026-10-29T17:30:00.000Z"
  },
  "market": "total",
  "line": 3.5,
  "bookmakers": 2,
  "best": {
    "over": {
      "bookmaker": "1xBet",
      "odds": 2.056
    },
    "under": {
      "bookmaker": "1xBet",
      "odds": 1.891
    }
  },
  "average": {
    "over": 2.02,
    "under": 1.858
  },
  "bestPriceMarginPercent": 1.52,
  "arbitrage": false,
  "books": [
    {
      "bookmaker": "MelBet",
      "odds": {
        "over": 1.984,
        "under": 1.825
      },
      "marginPercent": 5.2,
      "url": "https://melbet.sn/en/line/football/110163-italy-serie-a/762921174-frosinone-calcio-lecce"
    },
    {
      "bookmaker": "1xBet",
      "odds": {
        "over": 2.056,
        "under": 1.891
      },
      "marginPercent": 1.52,
      "url": "https://1xbet.ng/en/line/football/110163-italy-serie-a/762921174-frosinone-calcio-lecce"
    }
  ],
  "demo": false
}
```

### Usage Examples

#### Live comparison, default

```json
{}
```

#### 1X2 prices only, all results

```json
{
  "markets": [
    "moneyline"
  ],
  "maxResults": 0
}
```

#### Arbitrage only

```json
{
  "onlyArbitrage": true,
  "maxResults": 0
}
```

### Tips for Best Results

- Default is 5 results for a fast test. Set the max to 0 to return everything available.

### Known Limitations

- Live fetch runs three separate sub-Actors, each billed and timed as its own run.
- Comparison is only as fresh as the moment each sub-Actor finishes; prices move.
- Team matching is fuzzy; unusual name differences can leave a match unpaired.
- Arbitrage is genuinely rare across any three books on a given day.
- Each book returns its own current top matches; which matches overlap across all three varies run to run - raise Max matches per bookmaker for denser overlap.

### Integrations

Run it from the Apify API, on a schedule, or from a webhook. Send results straight to Google Sheets, Make, Zapier, Slack or your own database with Apify's built-in integrations.

### Export Formats

Download the dataset as JSON, CSV, Excel, XML, HTML table or RSS from the **Output** tab or the API.

### Frequently Asked Questions

#### Does it need an account or API key?

No. The Actor fetches live odds itself and needs no account or key.

#### Am I charged for failed results?

No. You are only charged for results that are written to the dataset.

#### Do I need an account or login?

No. The Actor fetches live odds itself and needs no account or key.

#### Am I charged for failed runs or empty results?

You are only charged for results that are actually written to the dataset.

#### Can I run it on a schedule?

Yes. Create a Task with your input and add a schedule in Apify Console. With monitor mode on, each scheduled run returns only what changed since the previous one.

### Support

Questions or a missing field? Open an issue from the **Issues** tab on this Actor's page and it will be looked at.

### Legal / Responsible Use

You are responsible for how you use these results, including compliance with bookmaker terms and the gambling laws that apply to you. This Actor is analysis only and does not place bets. Gambling is age-restricted; if you or someone you know has a problem, seek support such as BeGambleAware or 1-800-GAMBLER.

# Actor input Schema

## `fetchLiveOdds` (type: `boolean`):

Runs this repo's own 1xBet, MelBet and 22Bet Actors right now and compares their fresh odds, in addition to any datasets below. Each is a separate Actor run on your account, billed and timed as its own run - this is the default, so pressing Start with no input already gives you a real, live comparison.

## `liveBookmakers` (type: `array`):

Which of 1xbet, melbet, 22bet to fetch live. Leave empty for all three.

## `liveSports` (type: `array`):

Sports to pass to each bookmaker Actor. Leave empty for Football.

## `liveMaxMatchesPerBook` (type: `integer`):

Caps how many matches each bookmaker Actor fetches live. Each sub-run is billed by its own per-match pricing, so this should roughly track Max results below rather than over-fetching matches that get discarded.

## `oddsDataset1` (type: `string`):

Add a dataset from an earlier 1xBet, MelBet or 22Bet Actor run instead of (or alongside) live fetch.

## `oddsDataset2` (type: `string`):

Another dataset of the same kind.

## `oddsDataset3` (type: `string`):

Another dataset of the same kind.

## `markets` (type: `array`):

moneyline (1X2) and/or total. Leave empty for both.

## `minBooks` (type: `integer`):

Only compare markets priced by at least this many bookmakers.

## `onlyArbitrage` (type: `boolean`):

Return only markets where the best prices across books guarantee a profit. These are genuinely rare - most runs will return none, which is expected.

## `maxStartDiffHours` (type: `number`):

Listings count as the same match when their start times are within this many hours.

## `maxResults` (type: `integer`):

Maximum number of comparisons returned. Default is 5 for a quick test; set 0 to return everything available.

## Actor input object example

```json
{
  "fetchLiveOdds": true,
  "liveBookmakers": [],
  "liveSports": [],
  "liveMaxMatchesPerBook": 5,
  "markets": [],
  "minBooks": 2,
  "onlyArbitrage": false,
  "maxStartDiffHours": 3,
  "maxResults": 5
}
```

# 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 = {
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/football-odds-comparison").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 = { "maxResults": 5 }

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/football-odds-comparison").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 '{
  "maxResults": 5
}' |
apify call mrdoe/football-odds-comparison --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/football-odds-comparison"
        }
    }
}
```

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/id6sWPUlSMakvwVXj/builds/GP9qAYhN5rCUGh0rA/openapi.json
