{
  "openapi": "3.0.1",
  "info": {
    "title": "PrizePicks Player Props Scraper",
    "description": "PrizePicks Player Props Scraper SD - PrizePicks Player Props Scraper is a sports data tool that extracts live PrizePicks projections: player, stat, line, goblin/demon tier, game, teams, flash sales and trending counts, plus Underdog lines and a line comparison. No login.",
    "version": "1.0",
    "x-build-id": "FfkRYmtcOdhoapMuk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~prizepicks-player-props-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-prizepicks-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~prizepicks-player-props-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-prizepicks-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~prizepicks-player-props-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-prizepicks-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": {
          "mode": {
            "title": "What to get",
            "enum": [
              "projections",
              "leagues",
              "compare"
            ],
            "type": "string",
            "description": "projections = one row per player prop line; leagues = one row per league on the board; compare = one row per player + stat that both PrizePicks and Underdog offer, with the line difference.",
            "default": "projections"
          },
          "platforms": {
            "title": "Apps",
            "type": "array",
            "description": "Which pick'em apps to read in projections mode: prizepicks, underdog or both. compare mode always reads both.",
            "items": {
              "type": "string",
              "enum": [
                "prizepicks",
                "underdog"
              ],
              "enumTitles": [
                "PrizePicks",
                "Underdog Fantasy"
              ]
            },
            "default": [
              "prizepicks"
            ]
          },
          "leagues": {
            "title": "Leagues",
            "type": "array",
            "description": "League names or ids as PrizePicks shows them (NBA, NFL, NHL, CFB, CBB, SOCCER, CS2, LoL, 7, 9 ...). Empty or 'All' = every active league, best-ranked first.",
            "items": {
              "type": "string"
            }
          },
          "players": {
            "title": "Players",
            "type": "array",
            "description": "Optional: keep only these players (part of the name is enough, e.g. 'lebron', 'Jokic').",
            "items": {
              "type": "string"
            }
          },
          "teams": {
            "title": "Teams",
            "type": "array",
            "description": "Optional: keep only these teams (abbreviation like LAL or a name like Lakers).",
            "items": {
              "type": "string"
            }
          },
          "statTypes": {
            "title": "Stat types",
            "type": "array",
            "description": "Optional: keep only these stats (Points, Rebounds, Pts+Rebs+Asts, Fantasy Score, Pass Yards ...). Part of the name is enough.",
            "items": {
              "type": "string"
            }
          },
          "oddsTypes": {
            "title": "Odds tiers",
            "type": "array",
            "description": "Optional: keep only these PrizePicks odds tiers. Empty = all three.",
            "items": {
              "type": "string",
              "enum": [
                "standard",
                "goblin",
                "demon"
              ],
              "enumTitles": [
                "Standard",
                "Goblin (easier, lower payout)",
                "Demon (harder, higher payout)"
              ]
            }
          },
          "status": {
            "title": "Projection status",
            "enum": [
              "",
              "pre_game",
              "in_progress",
              "final"
            ],
            "type": "string",
            "description": "Optional: keep only PrizePicks projections with this status.",
            "default": ""
          },
          "liveOnly": {
            "title": "Live projections only",
            "type": "boolean",
            "description": "Keep only lines that are live (in-game) right now.",
            "default": false
          },
          "promoOnly": {
            "title": "Flash sales / promos only",
            "type": "boolean",
            "description": "Keep only promo lines and flash-sale lines.",
            "default": false
          },
          "includeRaw": {
            "title": "Include raw record",
            "type": "boolean",
            "description": "Adds a raw object with the full original projection, player and stat record to every row.",
            "default": false
          },
          "maxLeagues": {
            "title": "Max leagues",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Stop after this many leagues (0 = no limit). Useful with an empty league list.",
            "default": 0
          },
          "maxItems": {
            "title": "Max rows per league",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "How many rows to save for EACH league and EACH app (PrizePicks / Underdog). Example: 50 with leagues NBA + NFL and both apps = up to 200 rows. In leagues mode it is the number of league rows.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "The boards are US products: a US residential proxy is the default and recommended.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}