{
  "openapi": "3.0.1",
  "info": {
    "title": "Action Network Scraper - Betting Splits, Odds, Props & Picks",
    "description": "Scrape Action Network: public betting % (tickets and money) and sharp gap, every sportsbook's odds, best prices, line moves and history, steam, props, expert picks, injuries, standings and futures. NFL, NBA, MLB, NHL, college, soccer, UFC, tennis. Monitor mode. $3.10 per 1,000 games.",
    "version": "0.1",
    "x-build-id": "mbzbXtRY5jcdbEAjo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/topapi~action-network-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-topapi-action-network-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/topapi~action-network-scraper/runs": {
      "post": {
        "operationId": "runs-sync-topapi-action-network-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/topapi~action-network-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-topapi-action-network-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": {
          "leagues": {
            "title": "Leagues",
            "uniqueItems": true,
            "type": "array",
            "description": "Leagues to cover: nfl, ncaaf, ufl, nba, ncaab, wnba, ncaaw, mlb, nhl, soccer (all leagues), epl, laliga, bundesliga, seriea, ligue1, mls, champions, europa, worldcup, ufc, boxing, atp, wta, tennis. Out of season = no rows, no charge. Empty = nba, nfl, nhl, mlb, soccer.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "nfl",
                "ncaaf",
                "ufl",
                "nba",
                "ncaab",
                "wnba",
                "ncaaw",
                "mlb",
                "nhl",
                "soccer",
                "epl",
                "laliga",
                "bundesliga",
                "seriea",
                "ligue1",
                "mls",
                "champions",
                "europa",
                "worldcup",
                "ufc",
                "boxing",
                "atp",
                "wta",
                "tennis"
              ]
            }
          },
          "gameUrls": {
            "title": "Game or league links",
            "type": "array",
            "description": "Action Network game pages (https://www.actionnetwork.com/nfl-game/.../290807) or league pages (https://www.actionnetwork.com/nba/public-betting, /nhl/odds). A game link reads that game; a league link adds the league.",
            "items": {
              "type": "string"
            }
          },
          "gameIds": {
            "title": "Game ids",
            "type": "array",
            "description": "Action Network game ids (the number at the end of a game link), e.g. 290807. Any season back to 2015 (prices and splits from 2024).",
            "items": {
              "type": "string"
            }
          },
          "date": {
            "title": "Day",
            "type": "string",
            "description": "One day in US Eastern time: 2026-11-08, today, tomorrow or yesterday. For NFL / NCAA Football the week containing that day is read and only that day's games are kept. Empty = today (the current week for NFL / NCAA Football)."
          },
          "dateFrom": {
            "title": "From day",
            "type": "string",
            "description": "First day of a range (US Eastern), e.g. 2026-11-01. Every day up to To day is read (at most 366)."
          },
          "dateTo": {
            "title": "To day",
            "type": "string",
            "description": "Last day of a range, e.g. 2026-11-07."
          },
          "daysAhead": {
            "title": "Days ahead",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "Also read this many days after today (0 = today only)."
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 0,
            "maximum": 366,
            "type": "integer",
            "description": "Also read this many days before today (results, closing lines, final splits)."
          },
          "week": {
            "title": "Week (NFL, NCAA Football, UFL)",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Week number. Empty = the current week."
          },
          "weekTo": {
            "title": "To week",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Read every week from Week to this one (a season backfill)."
          },
          "season": {
            "title": "Season",
            "minimum": 2015,
            "maximum": 2030,
            "type": "integer",
            "description": "Season year for a week (2025 = the 2025-26 NFL season). Empty = the current season."
          },
          "seasonType": {
            "title": "Season type",
            "enum": [
              "reg",
              "post",
              "pre"
            ],
            "type": "string",
            "description": "With Week: regular season (default), postseason or preseason."
          },
          "gameStatus": {
            "title": "Game status",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only games in these states. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "upcoming",
                "live",
                "finished"
              ],
              "enumTitles": [
                "Upcoming",
                "Live",
                "Finished"
              ]
            }
          },
          "teams": {
            "title": "Teams or players",
            "type": "array",
            "description": "Keep games of these teams (full name, nickname, city or abbreviation: \"Lakers\", \"Kansas City Chiefs\", \"NYY\") or fighters / tennis players. Also narrows injuries, standings and futures.",
            "items": {
              "type": "string"
            }
          },
          "onlyTrending": {
            "title": "Trending games only",
            "type": "boolean",
            "description": "Keep only games Action Network flags as trending.",
            "default": false
          },
          "minBets": {
            "title": "Minimum bet count",
            "minimum": 0,
            "type": "integer",
            "description": "Keep games with at least this many bets tracked by Action Network (totalBets)."
          },
          "minSharpGap": {
            "title": "Minimum sharp gap (points)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep games where money % and ticket % differ by at least this much on some side (maxSharpGap)."
          },
          "onlyWithOdds": {
            "title": "Priced games only",
            "type": "boolean",
            "description": "Skip games no book has priced yet.",
            "default": false
          },
          "onlyWithSplits": {
            "title": "Games with betting % only",
            "type": "boolean",
            "description": "Skip games without public betting percentages (tickets and money).",
            "default": false
          },
          "startsWithinHours": {
            "title": "Starting within (hours)",
            "minimum": 1,
            "type": "integer",
            "description": "Keep games that start in the next N hours."
          },
          "startsAfter": {
            "title": "Starts after",
            "type": "string",
            "description": "ISO time, e.g. 2026-11-08T17:00:00Z."
          },
          "startsBefore": {
            "title": "Starts before",
            "type": "string",
            "description": "ISO time, e.g. 2026-11-09T05:00:00Z."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "startTime",
              "betCount",
              "sharpGap",
              "total",
              "spread"
            ],
            "type": "string",
            "description": "Order of the games within each league and day (with Maximum games, the first ones are kept).",
            "default": "startTime"
          },
          "maxGames": {
            "title": "Maximum games",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on game rows for the whole run (0 = no cap).",
            "default": 100
          },
          "maxGamesPerLeague": {
            "title": "Maximum games per league",
            "minimum": 1,
            "type": "integer",
            "description": "Cap per league (empty = no cap)."
          },
          "books": {
            "title": "Sportsbooks",
            "uniqueItems": true,
            "type": "array",
            "description": "Books to price, by name or Action Network book id (e.g. 1006 = FanDuel NY). Empty = DraftKings, FanDuel, BetMGM, bet365, BetRivers, Caesars, Fanatics, Kalshi and Polymarket. The consensus line (15, it carries the betting %) and the opening line (30) are always read.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "draftkings",
                "fanduel",
                "betmgm",
                "bet365",
                "betrivers",
                "caesars",
                "fanatics",
                "kalshi",
                "polymarket",
                "hardrock",
                "thescore",
                "unibet",
                "parx",
                "pinnacle",
                "bovada",
                "betonline",
                "circa"
              ]
            }
          },
          "periods": {
            "title": "Game segments",
            "uniqueItems": true,
            "type": "array",
            "description": "Segments to price besides the full game (always read). Not every game prices every segment.",
            "items": {
              "type": "string",
              "enum": [
                "event",
                "firsthalf",
                "secondhalf",
                "firstquarter",
                "secondquarter",
                "thirdquarter",
                "fourthquarter",
                "firstperiod",
                "secondperiod",
                "thirdperiod",
                "firstinning",
                "firstfiveinnings"
              ],
              "enumTitles": [
                "Full game",
                "1st half",
                "2nd half",
                "1st quarter",
                "2nd quarter",
                "3rd quarter",
                "4th quarter",
                "1st period (hockey)",
                "2nd period",
                "3rd period",
                "1st inning",
                "First five innings"
              ]
            }
          },
          "includeGameDetail": {
            "title": "Game detail",
            "type": "boolean",
            "description": "Rosters, box score and season stats, play-by-play, lineups, officials, venue, game injuries, depth charts, team stats and trends in each game row (one read per game; included in the game price).",
            "default": true
          },
          "includeExpertPicks": {
            "title": "Expert picks",
            "type": "boolean",
            "description": "Each Action Network expert's pick on the game with record, units, ROI, streak and followers, plus a per-side expert consensus. Included in the game price.",
            "default": true
          },
          "includeWeather": {
            "title": "Weather",
            "type": "boolean",
            "description": "Hourly forecast at the venue for upcoming outdoor games (football, baseball, soccer). Included in the game price.",
            "default": true
          },
          "includeLineMovement": {
            "title": "Full line history",
            "type": "boolean",
            "description": "Every timestamped price change per book back to the opener, plus steam moves (3+ books moving the same way within 10 minutes). Charged per game that has history.",
            "default": false
          },
          "includeProps": {
            "title": "Player and game props",
            "type": "boolean",
            "description": "The prop board of each game (NFL ~99 prop types, NBA ~76) with every selected book's line and price. Charged per game that has props.",
            "default": false
          },
          "propTypes": {
            "title": "Prop types",
            "type": "array",
            "description": "Only these prop types (names or groups as Action Network shows them: \"Pass Yds\", \"Points\", \"Anytime TD Scorer\", \"Rushing\"). Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "includeInjuries": {
            "title": "Injury reports",
            "type": "boolean",
            "description": "One row per league with the current injury report. Charged per league report with at least one injury.",
            "default": false
          },
          "includeStandings": {
            "title": "Standings",
            "type": "boolean",
            "description": "One row per league: records, against-the-spread and over/under records, points, ranks, streak. Free.",
            "default": false
          },
          "includeFutures": {
            "title": "Futures",
            "type": "boolean",
            "description": "Futures odds (champion, conference, division, MVP and awards, win totals, player season totals): one row per selection with every book's price and the best one. Charged per row.",
            "default": false
          },
          "futureCategories": {
            "title": "Futures categories",
            "type": "array",
            "description": "Only categories whose name contains one of these, e.g. \"Superbowl\", \"MVP\", \"Total Wins\". Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "maxFutures": {
            "title": "Maximum futures rows",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on futures rows for the run (NFL alone lists ~1,600).",
            "default": 100
          },
          "includeGames": {
            "title": "Game rows",
            "type": "boolean",
            "description": "Turn off to get only injury reports, standings or futures.",
            "default": true
          },
          "outputMode": {
            "title": "Row size",
            "enum": [
              "full",
              "compact"
            ],
            "type": "string",
            "description": "Compact keeps odds, splits, movement, best prices, signals, results and the expert consensus, and drops the bulky blocks.",
            "default": "full"
          },
          "monitorMode": {
            "title": "Monitor mode",
            "type": "boolean",
            "description": "Deliver only games that are new or whose lines, odds, betting % or status moved since the last run with the same Monitor name (with the previous values and a splits trend). An unchanged poll costs almost nothing.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Keeps separate memories for separate schedules.",
            "default": "default"
          },
          "resetMonitor": {
            "title": "Forget what was delivered",
            "type": "boolean",
            "description": "Start the monitor memory over (every game is NEW again).",
            "default": false
          },
          "minLineMove": {
            "title": "Minimum line move (points)",
            "minimum": 0,
            "type": "number",
            "description": "A spread or total change of at least this much counts as LINE_MOVED.",
            "default": 0.5
          },
          "minOddsMove": {
            "title": "Minimum odds move (cents)",
            "minimum": 1,
            "type": "integer",
            "description": "A moneyline / spread / total price change of at least this much (American odds) counts as ODDS_MOVED.",
            "default": 10
          },
          "minSplitMove": {
            "title": "Minimum betting % move (points)",
            "minimum": 1,
            "type": "integer",
            "description": "A tickets % or money % change of at least this much on any side counts as SPLITS_MOVED.",
            "default": 2
          },
          "monitorOn": {
            "title": "Deliver games on",
            "uniqueItems": true,
            "type": "array",
            "description": "Which changes deliver a game. Empty = everything except score changes.",
            "items": {
              "type": "string",
              "enum": [
                "NEW",
                "LINE_MOVED",
                "ODDS_MOVED",
                "SPLITS_MOVED",
                "STATUS_CHANGED",
                "SCORE_CHANGED"
              ],
              "enumTitles": [
                "New game",
                "Line moved",
                "Odds moved",
                "Betting % moved",
                "Status changed",
                "Score changed"
              ]
            }
          },
          "includeUnchanged": {
            "title": "Include unchanged games",
            "type": "boolean",
            "description": "Monitor mode: also deliver (and charge) games that did not move, marked UNCHANGED.",
            "default": false
          },
          "webhookUrl": {
            "title": "Alert webhook URL",
            "type": "string",
            "description": "Receives the run's flagged games as one JSON POST (reverse line moves, sharp money, steam, arbitrage...)."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Slack incoming-webhook URL for the same alert."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Discord webhook URL for the same alert."
          },
          "alertOn": {
            "title": "Alert on",
            "uniqueItems": true,
            "type": "array",
            "description": "Empty = reverse line moves, sharp money, steam and arbitrage.",
            "items": {
              "type": "string",
              "enum": [
                "reverseLineMove",
                "sharpMoney",
                "steam",
                "arbitrage",
                "middle",
                "sharpGap",
                "lineMoved"
              ],
              "enumTitles": [
                "Reverse line move",
                "Sharp-money move",
                "Steam (needs line history)",
                "Arbitrage",
                "Middle",
                "Sharp gap over the threshold",
                "Line moved since the last run (monitor)"
              ]
            }
          },
          "alertMinSharpGap": {
            "title": "Alert: minimum sharp gap",
            "minimum": 1,
            "type": "integer",
            "description": "With Alert on: sharp gap.",
            "default": 20
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 32,
            "type": "integer",
            "description": "Game reads in flight at once.",
            "default": 16
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: Action Network answers directly. If a request is refused the run moves to the Apify datacenter, then residential proxy by itself. Set your own proxy here to use it first.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}