{
  "openapi": "3.0.1",
  "info": {
    "title": "Sports Odds Scraper: DraftKings, FanDuel, Pinnacle Arbitrage",
    "description": "Track live sports betting odds across 40+ sportsbooks (DraftKings, FanDuel, Pinnacle, Bet365). Filter by sport, region, market. Detect arbitrage and best price edges. Returns deduped JSON with moneyline, spread, and total lines.",
    "version": "0.1",
    "x-build-id": "iyLixEH9Fu2M4INOo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapemint~sports-odds-movement-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapemint-sports-odds-movement-tracker",
        "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/scrapemint~sports-odds-movement-tracker/runs": {
      "post": {
        "operationId": "runs-sync-scrapemint-sports-odds-movement-tracker",
        "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/scrapemint~sports-odds-movement-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-scrapemint-sports-odds-movement-tracker",
        "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": {
          "apiKey": {
            "title": "The Odds API key",
            "type": "string",
            "description": "Free API key from the-odds-api.com. The free tier gives 500 requests per month. This actor makes 1 request per sport per run. Required."
          },
          "sports": {
            "title": "Sport keys",
            "type": "array",
            "description": "Sport keys to pull odds for. Examples: americanfootball_nfl, americanfootball_ncaaf, basketball_nba, baseball_mlb, icehockey_nhl, soccer_epl, soccer_uefa_champs_league, mma_mixed_martial_arts, boxing_boxing, tennis_atp_french_open. Full list at the-odds-api.com/sports-odds-data/sports-apis.html.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Which sportsbook regions to query. us = DraftKings, FanDuel, BetMGM, Caesars, Pinnacle. uk = Bet365, William Hill, Ladbrokes. eu = Unibet, Betway. au = Sportsbet, TAB.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "markets": {
            "title": "Market types",
            "type": "array",
            "description": "Which markets to pull per event. h2h = moneyline, spreads = point spread, totals = over / under, outrights = futures. Each additional market consumes one request credit per sport.",
            "default": [
              "h2h"
            ],
            "items": {
              "type": "string"
            }
          },
          "bookmakers": {
            "title": "Bookmaker filter",
            "type": "array",
            "description": "Only include these bookmakers. Examples: draftkings, fanduel, betmgm, pinnacle, bet365, caesars, williamhill_us, pointsbetus, betfair_ex, betonlineag. Leave empty to include every bookmaker in the selected regions.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "oddsFormat": {
            "title": "Odds format",
            "enum": [
              "american",
              "decimal"
            ],
            "type": "string",
            "description": "American (+250, -150) is standard in the US. Decimal (3.50, 1.67) is standard outside the US. Arbitrage and edge math work the same either way.",
            "default": "american"
          },
          "arbOnly": {
            "title": "Arbitrage only",
            "type": "boolean",
            "description": "Turn on to only return events where a risk free bet is available (sum of implied probabilities across best prices is below 1).",
            "default": false
          },
          "minArbPct": {
            "title": "Minimum arbitrage profit (%)",
            "minimum": 0,
            "maximum": 50,
            "type": "number",
            "description": "Only return events with an arbitrage profit percentage at or above this. Set to 0 to disable. Typical actionable arbs are 0.5% to 3%.",
            "default": 0
          },
          "minBestEdgePct": {
            "title": "Minimum best price edge vs median (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Only return events where the best price on any outcome is at least this many percent better than the median price across books. Useful for finding soft lines without requiring a full arb.",
            "default": 0
          },
          "maxItemsPerSport": {
            "title": "Max items per sport",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Per sport cap on event + market rows pushed. Each event can generate one row per market (h2h, spreads, totals).",
            "default": 100
          },
          "maxItemsTotal": {
            "title": "Maximum items per run",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on rows pushed to the dataset per run. Controls total cost.",
            "default": 200
          },
          "dedupe": {
            "title": "Deduplicate across runs",
            "type": "boolean",
            "description": "Skip event + market keys pushed on previous runs. Stored in the key value store under SEEN_IDS. Turn off for line movement tracking so every snapshot lands.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy settings. The Odds API is public and rate limited per key, not per IP, so proxy is rarely needed."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}