# TOTO Odds Scraper ($1/1K) (`carabain-digital/toto-odds`) Actor

Live and pre-match betting odds from TOTO (sport.toto.nl): 1X2, over/under, handicaps, Asian lines, both teams to score and every other market, for football, tennis, basketball and 15+ sports. One row per market with decimal odds.

- **URL**: https://apify.com/carabain-digital/toto-odds.md
- **Developed by:** [Carabain Digital](https://apify.com/carabain-digital) (community)
- **Categories:** Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 markets

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

#### What is TOTO Odds Scraper?

**TOTO Odds Scraper** collects the **live and pre-match betting odds of TOTO, the Dutch bookmaker (sport.toto.nl)**: 1X2, match winner, over/under, handicaps, Asian handicaps, both teams to score, correct score and every other market TOTO offers, for **football, tennis, basketball, ice hockey, darts and 15+ sports**. Every row is one market of one match with all its outcomes and their **decimal odds**, normalised so you can compare it with other bookmakers. Built for **odds comparison, value-betting models, arbitrage scanners, odds-movement tracking and sports data apps**. Prefilled example: the Eredivisie, ready in seconds. Costs **$1 per 1,000 markets**.

- ⚽ **Every match sport TOTO lists**: football, tennis, basketball, ice hockey, American football, darts, handball, volleyball, snooker, cricket, rugby, MMA, boxing and more
- 🔴 **Live and pre-match**: in-play odds with `is_live`, or pre-match only
- 🎯 **Main markets or all markets**: the 1X2 and total of every match in one fast request, or every market of every match (often 150-250 per big football match)
- 🧭 **Normalised**: `market_type` (`match_result`, `over_under`, `handicap`, ...) and outcome `side` (`home`, `draw`, `away`, `over`, `under`, ...) are the same across all our bookmaker Actors
- 🏆 **Filter by league or country**: `Eredivisie`, `Premier League`, `Champions League`, `ATP`, ...
- 🔌 **Connect anywhere**: API, schedules, webhooks, Google Sheets, Make, Zapier, MCP / AI agents

#### Use it from AI agents

This Actor has an agent skill for Claude Code, Codex, Cursor and other agents that read `SKILL.md`: it tells the agent when to use the Actor, every input field and the output. Install it with:

```bash
npx skills add carabain-digital/apify-agent-skills --skill toto-odds
```

Or read the skill on GitHub: [carabain-digital/apify-agent-skills/skills/toto-odds](https://github.com/carabain-digital/apify-agent-skills/tree/main/skills/toto-odds).

#### What data can I get?

<table>
<tr><td>⚽ Sport, country, league</td><td>🆚 Event, home and away team, start time, live flag</td></tr>
<tr><td>🎯 Market name and normalised market type</td><td>📏 Line (total, handicap)</td></tr>
<tr><td>💶 Every outcome with its decimal odds</td><td>🔗 Event link on sport.toto.nl</td></tr>
</table>

#### How do I get TOTO odds?

1. [Create a free Apify account](https://console.apify.com/sign-up) and open this Actor.
2. Pick the **sports**, optionally type **leagues or countries** (`Eredivisie`), and choose **main** or **all** markets.
3. Click **Start**, then download the rows from the **Output** tab as JSON, CSV, Excel, XML or HTML.

#### How much does it cost?

You pay per market that ends up in your dataset: **$1 per 1,000 markets**, no subscription. The main markets of every football match TOTO lists (about 800 matches, about 1,800 markets) cost about $1.80; every market of the coming two Eredivisie rounds (14 matches, about 2,400 markets) about $2.40. The monthly credit of Apify's Free plan ($5) covers around 5,000 markets. Failed runs cost nothing, and you can cap spending with **Maximum cost per run** in the run options.

#### ⬇️ Input

| Field | Description |
|---|---|
| **Sports** (`sports`) | One or more of `football`, `tennis`, `basketball`, `ice_hockey`, `american_football`, `darts`, ... Default `football` |
| **Leagues or countries** (`leagues`) | Only events whose league, country or tour contains one of these texts, e.g. `Eredivisie`, `Nederland`, `ATP` |
| **Markets** (`markets`) | `main` (default): the markets of the match lists. `all`: every market of every event |
| **Include live matches** (`include_live`) | Default on; off = pre-match only |
| **Only matches starting within (hours)** (`hours_ahead`) | e.g. `48` |
| **Max markets** (`limit`) | Stop after this many rows |
| **Proxy** (`proxyConfiguration`) | Apify residential proxy (Netherlands) by default |

```json
{
    "sports": ["football"],
    "leagues": ["Eredivisie"],
    "markets": "all",
    "include_live": false
}
```

#### ⬆️ Output

One row per market, matches in kick-off order. Every row has the same keys; fields that do not apply are `null`.

```json
{
    "id": "toto:12894754:271111876",
    "bookmaker": "TOTO",
    "source": "toto",
    "platform": "openbet",
    "sport": "football",
    "country": "Nederland",
    "league": "Nederland Eredivisie",
    "event_id": "12894754",
    "event_name": "Feyenoord vs Ajax",
    "home_team": "Feyenoord",
    "away_team": "Ajax",
    "start_time": "2026-11-29T13:30:00Z",
    "is_live": false,
    "event_url": "https://sport.toto.nl/wedden/wedstrijd/12894754/feyenoord-vs-ajax",
    "market_id": "271111876",
    "market": "Resultaat",
    "market_type": "match_result",
    "line": null,
    "outcomes": [
        {"name": "Feyenoord", "side": "home", "odds": 2.31, "line": null},
        {"name": "Gelijkspel", "side": "draw", "odds": 3.95, "line": null},
        {"name": "Ajax", "side": "away", "odds": 2.9, "line": null}
    ],
    "scraped_at": "2026-11-28T21:55:31Z"
}
```

- **`market_type`**: `match_result` (1X2), `moneyline` (2-way winner, tennis), `double_chance`, `draw_no_bet`, `over_under`, `handicap`, `asian_handicap`, `both_teams_to_score`, `correct_score`, or `other` (half-time, set, team, player, combination and special markets, and the early-payout 1X2). `market` keeps TOTO's own Dutch name.
- **`line`**: the total for over/under (2.5), the home side's handicap (-1.5); each outcome also carries its own `line`.
- **`side`**: `home`, `draw`, `away`, `over`, `under`, `yes`, `no`, `home_or_draw`, `home_or_away`, `draw_or_away`, or `null` (correct score, player names).
- Suspended outcomes are left out; a market without any open outcome is not returned.

#### What can I do with this data?

- 📊 **Odds comparison**: TOTO next to other Dutch bookmakers, joined on teams and kick-off
- 🧮 **Value betting and models**: implied probabilities and the bookmaker margin from the outcome odds
- ⚖️ **Arbitrage and surebets**: combine with other bookmakers' datasets
- 📈 **Odds movement**: schedule a run every few minutes and track how prices move before kick-off
- 📱 **Apps and alerts**: feed a sports app, a Telegram bot or a Google Sheet

#### ⚠️ Good to know

- **The source is TOTO's own public odds feed**, the same data the sport.toto.nl site shows to visitors without a login. Prices change constantly: a row is a snapshot at `scraped_at`.
- **Two 1X2 markets on many football matches**: `Resultaat` (`match_result`) and `Resultaat - Vroege uitbetaling` (early payout, `other`).
- **Main total**: football always uses the 2.5 line; for other sports TOTO picks the line.
- **Keep the Dutch residential proxy**: TOTO blocks many foreign and datacenter IPs. A blocked session is replaced automatically.
- **Matches only**: outright and season bets (and with them golf, cycling and motor racing) are not included.
- **Names are Dutch**, as on sport.toto.nl (`Nederland`, `Gelijkspel`). Filters ignore case and accents.
- **`markets: all`** makes one request per match and returns hundreds of rows per match: combine it with a league filter, `hours_ahead` or `limit` for big sports.
- Gambling can be addictive. This Actor only reads odds; it does not place bets.

#### Other sportsbook odds scrapers

| Actor | What it does |
|---|---|
| [Netherlands Surebets Finder](https://apify.com/carabain-digital/netherlands-surebets) | Find surebets across 19 Dutch bookmakers (Unibet, TOTO, BetCity, 888, Circus, VBET...): best odds, stakes and guaranteed profit per bet. |
| [BetCity Odds Scraper](https://apify.com/carabain-digital/betcity-odds) | Scrape BetCity NL betting odds: 1X2, over/under, handicap, BTTS and all markets for football, tennis and 20+ sports, live and pre-match. |
| [Jack's Odds Scraper](https://apify.com/carabain-digital/jacks-odds) | Scrape Jack's NL betting odds: 1X2, over/under, handicap, BTTS and all markets for football, tennis and 20+ sports, live and pre-match. |
| [Unibet Odds Scraper](https://apify.com/carabain-digital/unibet-odds) | Scrape Unibet NL betting odds: 1X2, over/under, handicap, BTTS and all markets for football, tennis and 20+ sports, live and pre-match. |

#### Frequently asked questions

#### Can I use it with the Apify API?

Yes. Every run has a dataset you can read through the [Apify API](https://docs.apify.com/api/v2). Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("carabain-digital/toto-odds").call(run_input={
    "sports": ["football"],
    "leagues": ["Eredivisie", "Premier League"],
})
for m in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(m["event_name"], m["market"], [(o["name"], o["odds"]) for o in m["outcomes"]])
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('carabain-digital/toto-odds').call({ sports: ['tennis'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'markets');
```

#### Can I use it through an MCP server or with AI agents?

Yes. Add it to an AI agent through the [Apify MCP server](https://mcp.apify.com) (`https://mcp.apify.com?tools=carabain-digital/toto-odds`), or let the agent find it with `search-actors` and run it with `call-actor`. Example prompt: *"Use TOTO Odds Scraper to get the 1X2 odds of this weekend's Eredivisie matches."*

#### How do I track odds over time?

Create a **Task** with your sports and leagues and schedule it (every 5-15 minutes before big matches). The `id` (`toto:<event id>:<market id>`) is stable for a market, so you can store each run's rows with `scraped_at` and chart the movement.

#### Is it legal to use this data?

The Actor reads the publicly visible odds, without a login, and returns no personal data. Check TOTO's terms for your use case, especially for commercial redistribution. More background: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

#### Not working? Feedback

Open an issue on the **Issues** tab of this Actor with the run link, and we will look at it. Feature ideas are welcome there too.

⭐ **Does it work well for you?** A review on the Store page helps others find this Actor and helps us keep it maintained.

# Actor input Schema

## `sports` (type: `array`):

Sports to collect, one or more. Example: `football` and `tennis`. A sport the bookmaker has no matches for right now returns nothing.

## `leagues` (type: `array`):

Only events whose league, country or tour contains one of these texts (case and accents ignored), as the bookmaker names them in Dutch. Examples: `Eredivisie`, `Premier League`, `Champions League`, `Nederland`, `ATP`. Leave empty for every league.

## `markets` (type: `string`):

`main` returns the winner / 1X2 and the main total of every match, plus whatever else TOTO shows in its match lists (such as the early-payout 1X2 or a handicap): 1-3 per match, one or two requests per sport. `all` fetches every market of every match (often 150-250 per big football match), so it returns far more rows: combine it with a league filter.

## `include_live` (type: `boolean`):

Also return matches that have started (in-play odds, `is_live: true`). Switch off for pre-match odds only.

## `hours_ahead` (type: `integer`):

Skip matches that start later than this many hours from now. Example: `48` for this weekend's matches. Leave empty for everything the bookmaker lists.

## `limit` (type: `integer`):

Stop after this many markets (dataset rows) in total. Example: `500`. Leave empty for all.

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

The odds feed is public but TOTO blocks many foreign and datacenter IPs. Keep the default (Apify residential proxy, Netherlands).

## Actor input object example

```json
{
  "sports": [
    "football"
  ],
  "leagues": [
    "Eredivisie"
  ],
  "markets": "main",
  "include_live": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "NL"
  }
}
```

# Actor output Schema

## `markets` (type: `string`):

One row per market of each event, with every outcome and its decimal odds.

# 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 = {
    "sports": [
        "football"
    ],
    "leagues": [
        "Eredivisie"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "NL"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("carabain-digital/toto-odds").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 = {
    "sports": ["football"],
    "leagues": ["Eredivisie"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "NL",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("carabain-digital/toto-odds").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 '{
  "sports": [
    "football"
  ],
  "leagues": [
    "Eredivisie"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "NL"
  }
}' |
apify call carabain-digital/toto-odds --silent --output-dataset

```

## MCP server setup

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

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/dXFsFrxLDdd9R5Ekn/builds/4QtUjyN2iOzZGnGIf/openapi.json
