{
  "openapi": "3.0.1",
  "info": {
    "title": "Underdog Fantasy Scraper — Player Props, Lines & Multipliers",
    "description": "Underdog Fantasy scraper: export the live Pick'em board — every player prop, one row per line with Higher/Lower payout multipliers, American and decimal prices, implied probability, player, team, matchup and start time; alternate ladders optional. NFL, CFB, NBA, NHL, soccer, tennis, esports.",
    "version": "1.0",
    "x-build-id": "MT8xFYPAu4z7lerrl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/logiover~underdog-fantasy-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-logiover-underdog-fantasy-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/logiover~underdog-fantasy-scraper/runs": {
      "post": {
        "operationId": "runs-sync-logiover-underdog-fantasy-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/logiover~underdog-fantasy-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-logiover-underdog-fantasy-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",
            "type": "array",
            "description": "Underdog league codes to read, e.g. `NFL`, `CFB`, `NBA`, `NHL`, `FIFA` (soccer), `TENNIS`, `MMA`, `PGA`, `CS`, `LOL`. Pick from the list or type any code Underdog uses; codes are not case-sensitive. Leave empty to read every league that has lines right now. A league with no lines posted (off-season) simply returns nothing.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "NFL",
                "CFB",
                "NBA",
                "NHL",
                "MLB",
                "FIFA",
                "WNBA",
                "CBB",
                "TENNIS",
                "MMA",
                "PGA",
                "CS",
                "LOL",
                "DOTA",
                "VAL",
                "COD",
                "CFL",
                "UFL",
                "KBO",
                "NPB",
                "F1SZN"
              ],
              "enumTitles": [
                "NFL (pro football)",
                "College football (CFB)",
                "NBA (basketball)",
                "NHL (hockey)",
                "MLB (baseball)",
                "Soccer (FIFA)",
                "WNBA (basketball)",
                "College basketball (CBB)",
                "Tennis",
                "MMA / UFC",
                "PGA (golf)",
                "Counter-Strike (CS)",
                "League of Legends (LOL)",
                "Dota 2",
                "Valorant (VAL)",
                "Call of Duty (COD)",
                "CFL (Canadian football)",
                "UFL (football)",
                "KBO (Korean baseball)",
                "NPB (Japanese baseball)",
                "Formula 1 (season long)"
              ]
            },
            "default": []
          },
          "rowShape": {
            "title": "Row shape",
            "enum": [
              "line",
              "side"
            ],
            "type": "string",
            "description": "**One row per line** (default): both sides of a line in one row — `overMultiplier` / `underMultiplier`, `overOddsAmerican` / `underOddsAmerican` and so on — the shape of the PrizePicks and Sleeper Actors and the cheapest to buy. **One row per side**: Higher and Lower as two rows with `side`, `multiplier`, `oddsAmerican` … (twice the rows, and twice the price per line).",
            "default": "line"
          },
          "playerNames": {
            "title": "Player names",
            "type": "array",
            "description": "Keep only these players. Case-insensitive, accents ignored, partial names allowed (`Jokic` finds Jokić, `Lamar` finds Lamar Jackson).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "teams": {
            "title": "Teams",
            "type": "array",
            "description": "Keep only props of these teams or games of these teams: abbreviation or name (`KC`, `Chiefs`, `Lakers`). Matches the player's team and either side of the matchup.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "statTypes": {
            "title": "Stat types",
            "type": "array",
            "description": "Keep only these stats: `Points`, `Rebounds`, `Passing Yards`, `Shots On Goal`, `Kills`, `Strikeouts` … Case-insensitive; matches the stat name, the stat key (`pass_yds`) and the prop title.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "side": {
            "title": "Side",
            "enum": [
              "both",
              "higher",
              "lower"
            ],
            "type": "string",
            "description": "Keep only lines whose Higher (over) or Lower (under) side passes the payout filters below, or both. In the one-row-per-side shape it also decides which side rows are saved.",
            "default": "both"
          },
          "payoutTiers": {
            "title": "Payout tiers",
            "type": "array",
            "description": "Keep only lines where a side is boosted (multiplier above 1.0), standard (exactly 1.0) or discounted (below 1.0). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "boosted",
                "standard",
                "discounted"
              ],
              "enumTitles": [
                "Boosted (multiplier above 1.0)",
                "Standard (1.0)",
                "Discounted (below 1.0)"
              ]
            },
            "default": []
          },
          "minPayoutMultiplier": {
            "title": "Minimum payout multiplier",
            "minimum": 0,
            "maximum": 1000,
            "type": "number",
            "description": "Keep only lines where a side pays at least this multiplier, e.g. `1.05`. Leave empty for no limit."
          },
          "maxPayoutMultiplier": {
            "title": "Maximum payout multiplier",
            "minimum": 0,
            "maximum": 1000,
            "type": "number",
            "description": "Keep only lines where a side pays at most this multiplier, e.g. `0.9`. Leave empty for no limit."
          },
          "includeAlternates": {
            "title": "Include alternate lines (ladders)",
            "type": "boolean",
            "description": "Off (default): the main line of every prop — one request for the whole board, seconds. On: also the alternate lines Underdog posts next to a player's main line (a different threshold with its own multipliers), one more request per prop — roughly 2.5 times the rows and several minutes for the whole board, so narrow it with the filters.",
            "default": false
          },
          "startsWithinHours": {
            "title": "Starts within (hours)",
            "minimum": 1,
            "maximum": 9600,
            "type": "integer",
            "description": "Keep only matches that start within this many hours from now (e.g. `24` for today's board). Leave empty for no limit."
          },
          "startDateFrom": {
            "title": "Start date from (UTC)",
            "type": "string",
            "description": "Keep only matches starting on or after this day, `YYYY-MM-DD` (UTC)."
          },
          "startDateTo": {
            "title": "Start date to (UTC)",
            "type": "string",
            "description": "Keep only matches starting on or before this day, `YYYY-MM-DD` (UTC)."
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Upper bound on rows saved — each row is one billed result (one line in the default shape, one side in the side shape). The whole main-line board is roughly 9,000–11,000 line rows on a busy day, about 25,000 with alternate lines on; soonest matches come first.",
            "default": 100000
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. By default the Actor connects directly and falls back to the Apify datacenter proxy and, as a last resort, a capped US residential exit by itself. Set a proxy here only if you want every request to go through it.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}