{
  "openapi": "3.0.1",
  "info": {
    "title": "Football Odds Scraper: 160+ Bookmakers, Fair Odds, Arbitrage",
    "description": "Pre-match football (soccer) odds from 160+ bookmakers in 40+ countries: 1X2, over/under, BTTS, handicaps and more, with best price, opening odds, margin-free fair odds, value bets and arbitrage. No browser, fast and cheap.",
    "version": "0.1",
    "x-build-id": "7CeAMRlBZ3iXNqRS5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zayne21~football-odds-comparison/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zayne21-football-odds-comparison",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/zayne21~football-odds-comparison/runs": {
      "post": {
        "operationId": "runs-sync-zayne21-football-odds-comparison",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/zayne21~football-odds-comparison/run-sync": {
      "post": {
        "operationId": "run-sync-zayne21-football-odds-comparison",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "countries": {
            "title": "Bookmaker countries",
            "type": "array",
            "description": "Bookmakers licensed in these countries are compared (UK: 20 bookmakers, Italy: 13, Canada: 10, France: 8...). Several countries are merged into one comparison per match.",
            "items": {
              "type": "string",
              "enum": [
                "GB",
                "IE",
                "FR",
                "DE",
                "IT",
                "ES",
                "PT",
                "NL",
                "AT",
                "CH",
                "PL",
                "CZ",
                "SK",
                "RO",
                "BG",
                "RS",
                "GR",
                "CY",
                "MT",
                "SE",
                "DK",
                "NO",
                "FI",
                "EE",
                "LV",
                "US",
                "CA",
                "MX",
                "CO",
                "PE",
                "EC",
                "VE",
                "AU",
                "ZA",
                "NG",
                "GH",
                "TZ",
                "KR",
                "TH",
                "PH",
                "MY",
                "MA",
                "XX"
              ],
              "enumTitles": [
                "United Kingdom: bet365, BetMGM.uk, Betfred, Unibetuk, Betway, Midnite +14",
                "Ireland: bet365, 1xBet.ie, Midnite, Novibet, Betway, Paddy Power +2",
                "France: Betclic.fr, Winamax, Unibet.fr, Pmu, Betsson.fr, Bet365.fr +2",
                "Germany: Neobet, bwin, Oddset.de, Winamax.de, Interwetten, Betano.de +1",
                "Italy: bet365.it, Sisal, GoldBet, Eurobet.it, BetssonIT, SNAI +7",
                "Spain: bet365, Sportium.es, Versus.es, Betway, Codere, Luckia.es +3",
                "Portugal: Betano.pt, Solverde.pt, bwin.pt",
                "Netherlands: Sevelev.nl, bet365.nl",
                "Austria: Admiralat, bet365, bet-at-home, bwin",
                "Switzerland: bet365, bet-at-home",
                "Poland: STS.pl, eFortuna.pl, Superbet.pl, Betclic.pl, BETFAN, LV BET",
                "Czechia: Tipsport.cz, iFortuna.cz, Chance.cz, Betano.cz",
                "Slovakia: Tipsport.sk, DOXXbet",
                "Romania: Unibetro, Superbet.ro, Betano.ro, MrBitRO, Getsbet, Fortuna.ro",
                "Bulgaria: bet365, Betano.bg, Winbet, MrBitRO, bwin",
                "Serbia: Mozzartbetrs, 1xBet.rs, SoccerBet, Superbet.rs, Admiralbet.rs, bet365",
                "Greece: bet365, Stoiximan.gr, PameStoixima, Novibet, Bwin.gr",
                "Cyprus: bet365, Stoiximan.cy, Novibet",
                "Malta: bet365, William Hill, bwin, Mozzartbet",
                "Sweden: Unibetse, Expektse, Dbet, bet365, BetMGM.se, 1x2 +1",
                "Denmark: bet365, Expektdk, Betano.dk, Stake.com, Unibetdk, LeoVegasDK",
                "Norway: Lilibet, Betsmith, Cloudbet, Roobet, Golissimo",
                "Finland: 1xBet, Winz.io, bet365, Coolbet, Golissimo",
                "Estonia: Olybet, bet365, Speedybet.ee, Unibetee, Coolbet",
                "Latvia: Olybet, Fenikss, 7bet.lv, bet365, 1xBet, 11.lv",
                "United States (New Jersey): Fanduel, bet365.us, BetMGM.us, DraftKings, Fanatics",
                "Canada (Ontario): bet365, Betway, Sports Interaction, Betano.ca (Ontario), TonyBet, PointsBet.ca +4",
                "Mexico: Calientemx, 1xBet, Betboom.mx, Betway, Codere, Novibet +2",
                "Colombia: Wplay.co, Betano.co, Stake.latam, Bwin.co, Betplay, Luckia.co",
                "Peru: Betsson, Betano.pe, bet365, 1xBet, Stake.latam, DoradoBet",
                "Ecuador: Betano.ec, 1xBet",
                "Venezuela: Grupo Cordialito, Juegaenlinea, Gogoroyal, Sellatuparley, Triunfobet, Betfine24",
                "Australia: bet365, Unibetau",
                "South Africa: Easybet, Betway Africa, Sportingbet, Worldsportsbetting, Sunbet, Virginbet +2",
                "Nigeria: 1xBet, Bet9ja, Betking",
                "Ghana: 1xBet, Betway Africa, Betano.gh",
                "Tanzania: Betway Africa, LeonBet, 1xBet",
                "South Korea: 1xBet, 10x10bet, Alphabet, Momobet, Betssen, Melbet",
                "Thailand: 1xBet, Stake.com, Melbet, bet-at-home, bet365, Betfair",
                "Philippines: 1xBet, Stake.com",
                "Malaysia: 1xBet, Stake.com",
                "Morocco: 1xBet, Melbet",
                "International: 1xBet, bet365, Unibet, Betfair, bwin, William Hill"
              ]
            },
            "default": [
              "GB"
            ]
          },
          "daysAhead": {
            "title": "Days ahead",
            "minimum": 0,
            "maximum": 7,
            "type": "integer",
            "description": "Matches from today up to this many days ahead (0 = today only, max 7).",
            "default": 1
          },
          "daysBack": {
            "title": "Past days",
            "minimum": 0,
            "maximum": 7,
            "type": "integer",
            "description": "Also include matches of the last N days (max 7), e.g. closing odds of finished matches for backtests. Add 'Finished' to the match statuses.",
            "default": 0
          },
          "leagues": {
            "title": "Leagues",
            "type": "array",
            "description": "Leave empty for all leagues. Accepts a FlashScore league URL (https://www.flashscore.com/football/england/premier-league/), a competition name as FlashScore writes it (ENGLAND: Premier League, EUROPE: Champions League) or a country (England).",
            "items": {
              "type": "string"
            }
          },
          "markets": {
            "title": "Markets",
            "type": "array",
            "description": "Betting markets to collect.",
            "items": {
              "type": "string",
              "enum": [
                "1x2",
                "over_under",
                "btts",
                "double_chance",
                "draw_no_bet",
                "asian_handicap",
                "european_handicap",
                "correct_score",
                "ht_ft",
                "odd_even"
              ],
              "enumTitles": [
                "1X2 (match result)",
                "Over/Under goals (all lines)",
                "Both teams to score",
                "Double chance",
                "Draw no bet",
                "Asian handicap (all lines)",
                "European handicap",
                "Correct score",
                "Half time / full time",
                "Odd/even goals"
              ]
            },
            "default": [
              "1x2",
              "over_under",
              "btts",
              "double_chance",
              "draw_no_bet",
              "asian_handicap"
            ]
          },
          "periods": {
            "title": "Periods",
            "type": "array",
            "description": "Full time, and optionally first-half and second-half markets.",
            "items": {
              "type": "string",
              "enum": [
                "full_time",
                "first_half",
                "second_half"
              ],
              "enumTitles": [
                "Full time",
                "First half",
                "Second half"
              ]
            },
            "default": [
              "full_time"
            ]
          },
          "statuses": {
            "title": "Match statuses",
            "type": "array",
            "description": "Upcoming matches by default. Finished matches keep their closing odds.",
            "items": {
              "type": "string",
              "enum": [
                "scheduled",
                "live",
                "finished"
              ],
              "enumTitles": [
                "Upcoming",
                "Live",
                "Finished"
              ]
            },
            "default": [
              "scheduled"
            ]
          },
          "maxMatches": {
            "title": "Maximum matches",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after saving this many matches (soonest kickoffs first). Matches without odds are skipped and not counted. You are charged per match saved.",
            "default": 50
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "match",
              "outcome"
            ],
            "type": "string",
            "description": "One item per match (all markets nested), or one row per match x market x outcome for spreadsheets.",
            "default": "match"
          },
          "valueThresholdPercent": {
            "title": "Value bet threshold (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "An outcome is flagged as a value bet when best price x fair probability - 1 is at least this percentage.",
            "default": 2
          },
          "valueMaxOdds": {
            "title": "Value bet maximum odds",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Ignore value bets above these odds: longshot prices differ a lot between bookmakers and are often limited.",
            "default": 10
          },
          "onlyValueBets": {
            "title": "Only value bets and arbitrage",
            "type": "boolean",
            "description": "Save only matches (or rows) with at least one value bet or arbitrage. You are not charged for the others.",
            "default": false
          },
          "demarginMethod": {
            "title": "Fair odds method",
            "enum": [
              "proportional",
              "power"
            ],
            "type": "string",
            "description": "How each bookmaker's margin is removed before taking the median over bookmakers. Power shrinks longshots more than favourites (favourite-longshot bias).",
            "default": "proportional"
          },
          "includeOpeningOdds": {
            "title": "Include opening odds",
            "type": "boolean",
            "description": "Add each bookmaker's opening price, to see how the line moved.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed in most cases.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}