{
  "openapi": "3.0.1",
  "info": {
    "title": "Sports Betting Odds Scraper: DraftKings, FanDuel, bet365",
    "description": "Compare current odds from DraftKings, FanDuel, bet365, BetMGM, Caesars and 6 more sportsbooks for NBA, NFL, NHL, MLB, college, soccer, UFC and golf. Best price, no-vig, arbitrage, +EV. No login.",
    "version": "0.1",
    "x-build-id": "Vc9ZUVeLRVLrkr6kG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~sports-odds-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-sports-odds-scraper",
        "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/cliqtomedia~sports-odds-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-sports-odds-scraper",
        "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/cliqtomedia~sports-odds-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-sports-odds-scraper",
        "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": {
          "mode": {
            "title": "What to return",
            "type": "string",
            "description": "Odds table: one row per bookmaker, market and outcome. Events: one record per game with every market and book nested. Arbitrage and value bets compare the books in this run.",
            "default": "odds"
          },
          "sports": {
            "title": "Sports",
            "type": "array",
            "description": "Sports to load. A sport without a league below loads its main leagues.",
            "items": {
              "type": "string",
              "enumTitles": [
                "Basketball",
                "American football",
                "Ice hockey",
                "Baseball",
                "Soccer",
                "MMA",
                "Golf"
              ],
              "enumSuggestedValues": [
                "basketball",
                "football",
                "hockey",
                "baseball",
                "soccer",
                "mma",
                "golf"
              ]
            }
          },
          "leagues": {
            "title": "Leagues",
            "type": "array",
            "description": "Leagues to load. Empty with no sport = NBA.",
            "items": {
              "type": "string",
              "enumTitles": [
                "NBA",
                "WNBA",
                "College basketball (NCAAB)",
                "NFL",
                "College football (NCAAF)",
                "NHL",
                "MLB",
                "Premier League (EPL)",
                "La Liga",
                "Serie A",
                "Bundesliga",
                "Ligue 1",
                "MLS",
                "UFC",
                "PGA Tour (golf)"
              ],
              "enumSuggestedValues": [
                "NBA",
                "WNBA",
                "NCAAB",
                "NFL",
                "NCAAF",
                "NHL",
                "MLB",
                "EPL",
                "LaLiga",
                "SerieA",
                "Bundesliga",
                "Ligue1",
                "MLS",
                "UFC",
                "PGA"
              ]
            }
          },
          "bookmakers": {
            "title": "Sportsbooks",
            "type": "array",
            "description": "Books to compare. Empty = DraftKings, FanDuel, bet365, BetMGM, Caesars, BetRivers, Fanatics and the consensus line.",
            "items": {
              "type": "string",
              "enumTitles": [
                "DraftKings",
                "FanDuel",
                "bet365",
                "BetMGM",
                "Caesars",
                "BetRivers",
                "Fanatics",
                "Hard Rock Bet",
                "Bally Bet",
                "Pinnacle",
                "Bovada",
                "Consensus (market average)",
                "Opening line"
              ],
              "enumSuggestedValues": [
                "draftkings",
                "fanduel",
                "bet365",
                "betmgm",
                "caesars",
                "betrivers",
                "fanatics",
                "hardrock",
                "ballybet",
                "pinnacle",
                "bovada",
                "consensus",
                "open"
              ]
            }
          },
          "markets": {
            "title": "Markets",
            "type": "array",
            "description": "Bet types. Empty = moneyline, spread and total (outrights for golf). Player props make one extra request per prop type.",
            "items": {
              "type": "string",
              "enumTitles": [
                "Moneyline",
                "Spread / run line / puck line",
                "Total (over/under)",
                "Team total",
                "Player props",
                "Outrights (golf, futures)",
                "Matchups (golf)"
              ],
              "enumSuggestedValues": [
                "moneyline",
                "spread",
                "total",
                "teamTotal",
                "props",
                "outright",
                "matchup"
              ]
            }
          },
          "region": {
            "title": "US state",
            "type": "string",
            "description": "Books show the prices of this state. If a book is not legal there, its New Jersey prices are used.",
            "default": "NJ"
          },
          "date": {
            "title": "Date (optional)",
            "type": "string",
            "description": "Game day in US Eastern time: 2026-11-21, or a range 2026-11-21..2026-11-23 (up to 14 days). Empty = today."
          },
          "daysAhead": {
            "title": "Days from today",
            "minimum": 1,
            "maximum": 14,
            "type": "integer",
            "description": "Used when Date is empty: 1 = today only, 3 = today and the next two days.",
            "default": 1
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 30000,
            "type": "integer",
            "description": "Upper limit of saved and charged results, 1 to 30,000. One NBA day with 8 books and 3 markets gives about 500 odds rows.",
            "default": 1000
          },
          "propTypes": {
            "title": "Prop types (optional)",
            "type": "array",
            "description": "Only with Player props: points, rebounds, assists, passing yards, shots on goal... Empty = the main props of the sport.",
            "items": {
              "type": "string"
            }
          },
          "periods": {
            "title": "Periods (optional)",
            "type": "array",
            "description": "Game parts. Empty = full game.",
            "items": {
              "type": "string",
              "enumTitles": [
                "Full game",
                "1st half",
                "2nd half",
                "1st quarter",
                "2nd quarter",
                "3rd quarter",
                "4th quarter",
                "1st period (NHL)",
                "2nd period (NHL)",
                "3rd period (NHL)",
                "1st inning",
                "First 5 innings"
              ],
              "enumSuggestedValues": [
                "fullGame",
                "firstHalf",
                "secondHalf",
                "firstQuarter",
                "secondQuarter",
                "thirdQuarter",
                "fourthQuarter",
                "firstPeriod",
                "secondPeriod",
                "thirdPeriod",
                "firstInning",
                "firstFiveInnings"
              ]
            }
          },
          "teams": {
            "title": "Teams (optional)",
            "type": "array",
            "description": "Only games of these teams, for example Lakers or Celtics.",
            "items": {
              "type": "string"
            }
          },
          "players": {
            "title": "Players (optional)",
            "type": "array",
            "description": "Only props or golfers whose name contains one of these words.",
            "items": {
              "type": "string"
            }
          },
          "includeLive": {
            "title": "Include live games",
            "type": "boolean",
            "description": "Keep in-play prices of games that already started.",
            "default": true
          },
          "includeFinished": {
            "title": "Include finished games",
            "type": "boolean",
            "description": "Keep closing prices and final scores of finished games of the day.",
            "default": false
          },
          "includeAlternateLines": {
            "title": "Include alternate lines",
            "type": "boolean",
            "description": "Add alternate spreads, totals and milestone props (20+ points).",
            "default": false
          },
          "includeLineHistory": {
            "title": "Include line history",
            "type": "boolean",
            "description": "Add the full price movement of each row. Opening price and line are always included when the source has them.",
            "default": false
          },
          "minEdgePercent": {
            "title": "Min value edge, %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Value bets mode: only prices at least this % above the no-vig fair price (Pinnacle when present, else the average of the books).",
            "default": 0
          },
          "minArbitrageProfit": {
            "title": "Min arbitrage profit, %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Arbitrage mode: only opportunities with at least this guaranteed return.",
            "default": 0
          },
          "onlyChanged": {
            "title": "Only changed prices",
            "type": "boolean",
            "description": "Monitoring: save only prices that are new or changed since the previous run with the same monitor name. Good for schedules.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Separate memory for each schedule: letters, digits and dashes.",
            "default": "default"
          },
          "source": {
            "title": "Data source",
            "type": "string",
            "description": "Auto reads a public odds aggregator for all books and the sportsbook sites for Bovada or when the aggregator fails.",
            "default": "auto"
          },
          "deliveryConnector": {
            "title": "Send results to (optional)",
            "type": "string",
            "description": "Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors."
          },
          "deliveryTarget": {
            "title": "Notion page or channel (optional)",
            "type": "string",
            "description": "Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}