{
  "openapi": "3.0.1",
  "info": {
    "title": "Underdog Fantasy Player Props Scraper",
    "description": "Underdog Fantasy Player Props Scraper extracts every pick'em higher/lower line on the Underdog board: player, stat, line, payout multipliers, odds, implied probability, team, game, venue and weather, plus line-move monitoring. No login.",
    "version": "1.0",
    "x-build-id": "YW9m56HvPl3wFE0i0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~underdog-fantasy-player-props-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-underdog-fantasy-player-props-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/neuro-scraper~underdog-fantasy-player-props-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-underdog-fantasy-player-props-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/neuro-scraper~underdog-fantasy-player-props-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-underdog-fantasy-player-props-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 / sports",
            "type": "array",
            "description": "Optional: keep only these sports (NFL, NBA, CFB, NHL, MLB, SOCCER, TENNIS, ESPORTS ...). Empty = the whole board.",
            "items": {
              "type": "string"
            }
          },
          "players": {
            "title": "Players",
            "type": "array",
            "description": "Optional: keep only lines of players whose name contains one of these (case-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "stats": {
            "title": "Stats",
            "type": "array",
            "description": "Optional: keep only these stats, matched against the stat key and its display name (points, rebounds, passing yards, rush + rec tds ...).",
            "items": {
              "type": "string"
            }
          },
          "teams": {
            "title": "Teams",
            "type": "array",
            "description": "Optional: keep only lines of these teams (name or abbreviation in the game title).",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Line statuses",
            "type": "array",
            "description": "Optional: keep only lines with these statuses (active, suspended ...).",
            "items": {
              "type": "string"
            }
          },
          "activeOnly": {
            "title": "Only active lines",
            "type": "boolean",
            "description": "Keep only lines that can be picked right now.",
            "default": true
          },
          "liveOnly": {
            "title": "Only live lines",
            "type": "boolean",
            "description": "Keep only in-game (live) lines.",
            "default": false
          },
          "minPayoutMultiplier": {
            "title": "Min payout multiplier",
            "type": "number",
            "description": "Optional: keep lines where at least one side pays at least this multiplier."
          },
          "maxPayoutMultiplier": {
            "title": "Max payout multiplier",
            "type": "number",
            "description": "Optional: keep lines where at least one side pays at most this multiplier."
          },
          "onlyBoostedLines": {
            "title": "Only boosted lines",
            "type": "boolean",
            "description": "Keep only boosted / supercharged lines.",
            "default": false
          },
          "onlyStandardLines": {
            "title": "Only standard lines",
            "type": "boolean",
            "description": "Keep only standard (balanced) lines, no discounted or boosted ones.",
            "default": false
          },
          "onlyBothSides": {
            "title": "Only lines with both sides",
            "type": "boolean",
            "description": "Keep only lines that offer both higher and lower.",
            "default": false
          },
          "startsWithinHours": {
            "title": "Game starts within (hours)",
            "type": "number",
            "description": "Optional: keep lines of games that start within this many hours."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional: words that must appear in the player, title, stat, game, team or league.",
            "items": {
              "type": "string"
            }
          },
          "keywordMatch": {
            "title": "Keyword match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "any = one keyword is enough; all = every keyword must appear.",
            "default": "any"
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Optional: leave out lines that contain one of these words.",
            "items": {
              "type": "string"
            }
          },
          "monitoringMode": {
            "title": "Line-move monitoring",
            "type": "boolean",
            "description": "Remember every line and report what changed since the previous run (line, payout multipliers, odds, new lines).",
            "default": false
          },
          "onlyLineMoves": {
            "title": "Only changed lines",
            "type": "boolean",
            "description": "Monitoring: save only lines that moved since the previous run.",
            "default": false
          },
          "minLineMove": {
            "title": "Min line move",
            "type": "number",
            "description": "Monitoring with only changed lines: the smallest line move to report (e.g. 0.5).",
            "default": 0
          },
          "minPayoutMultiplierMove": {
            "title": "Min payout multiplier move",
            "type": "number",
            "description": "Monitoring with only changed lines: the smallest multiplier move to report (e.g. 0.05).",
            "default": 0
          },
          "monitorId": {
            "title": "Monitor name",
            "type": "string",
            "description": "Monitoring: the name under which the previous board is kept (one per schedule).",
            "default": "default"
          },
          "resetMonitoringState": {
            "title": "Reset monitor",
            "type": "boolean",
            "description": "Monitoring: forget the previous board.",
            "default": false
          },
          "maxItems": {
            "title": "Max lines",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Optional: stop after this many lines. 0 = all lines that pass the filters.",
            "default": 0
          },
          "includeRaw": {
            "title": "Raw record",
            "type": "boolean",
            "description": "Also save the original line, appearance, player and game records in the raw column.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Underdog serves only some countries: a US residential proxy is the default.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          },
          "maxLines": {
            "title": "Max lines (alias)",
            "type": "integer",
            "description": "Same as maxItems."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}