{
  "openapi": "3.0.1",
  "info": {
    "title": "PrizePicks Player Props",
    "description": "Export PrizePicks player projections with player, team and game IDs, stat labels, lines and board variants. Filter leagues, players, teams and game dates, or monitor new projections and line changes with saved history.",
    "version": "0.1",
    "x-build-id": "v53IhPLZaJEfy8lD1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automatic~prizepicks-player-props/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automatic-prizepicks-player-props",
        "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/automatic~prizepicks-player-props/runs": {
      "post": {
        "operationId": "runs-sync-automatic-prizepicks-player-props",
        "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/automatic~prizepicks-player-props/run-sync": {
      "post": {
        "operationId": "run-sync-automatic-prizepicks-player-props",
        "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": {
          "sports": {
            "title": "Sports",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "Sport or base league name. Known groups: basketball, american_football, ice_hockey, esports, soccer, baseball, tennis, golf, mma. Unclassified leagues use their native sport or unknown.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "leagues": {
            "title": "Leagues",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "Exact native league name or ID from the current leagues list. Includes NBA, NFL, NHL and CS2. Omit for all current leagues. Unknown values succeed empty and are reported.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "statTypes": {
            "title": "Stat types",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "Exact native stat keys or normalized sportsbook keys. Unknown source stats retain a null normalized value. Omit for all. Maximum 200 distinct values, 200 characters each; duplicate normalized values and entries without Latin letters/digits fail.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "players": {
            "title": "Players",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "Exact full player names (accent/punctuation insensitive) or native PrizePicks player IDs. Omit for all; explicit empty lists fail. Maximum 200 distinct values, 200 characters each; duplicate normalized values and entries without Latin letters/digits fail.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "teams": {
            "title": "Teams",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "Exact player team abbreviation or name supplied by PrizePicks. Omit for all.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "gameDateFrom": {
            "title": "Game date from",
            "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
            "type": "string",
            "description": "Inclusive UTC game date, YYYY-MM-DD. Cannot be combined with nextDays."
          },
          "gameDateTo": {
            "title": "Game date to",
            "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
            "type": "string",
            "description": "Inclusive UTC game date, YYYY-MM-DD. Must not precede gameDateFrom."
          },
          "nextDays": {
            "title": "Next days",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Inclusive UTC today through today + N - 1 days, 1–30. Omit for the entire available slate; cannot combine with explicit dates."
          },
          "includeAlternates": {
            "title": "Include alternates",
            "type": "boolean",
            "description": "False when omitted. True includes demon, goblin, discounted and other non-standard offers, each as its own native projection row."
          },
          "includeLive": {
            "title": "Include live",
            "type": "boolean",
            "description": "False in code. True retains any live/non-pregame offers present in the board. Does not promise complete in-play coverage."
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum delivered projections, 1–10000. Bare input uses 20; explicit scope uses 5000 when omitted. Undelivered changes can be delivered next time if still present."
          },
          "onlyChangesSinceLastRun": {
            "title": "Only changes since last run",
            "type": "boolean",
            "description": "False in code. First run emits a labelled baseline; subsequent runs emit new, line, payout, status and removed props. Saved state advances only for delivered rows."
          },
          "stateKey": {
            "title": "State key",
            "minLength": 1,
            "maxLength": 200,
            "type": "string",
            "description": "Non-empty name up to 200 characters; code uses default when omitted. Same name and filters share history in a persistent named key-value store. New name resets history."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Managed connection included in the pay-per-event price. Leave omitted for the supported settings. No separate proxy subscription is requested by this Actor."
          },
          "downloadTimeoutSecs": {
            "title": "Download deadline (seconds)",
            "minimum": 1,
            "maximum": 240,
            "type": "integer",
            "description": "Whole collection budget, 1–240 seconds; code default 220. Leaves time to save OUTPUT within a 300-second run."
          },
          "allowPartial": {
            "title": "Allow partial results",
            "type": "boolean",
            "description": "False when omitted: a failed league fails the run, preserving completed deliveries. True allows partial success with failures named in OUTPUT and status. All-failed collection still fails; failed/empty leagues preserve history."
          },
          "onlyNewSinceLastRun": {
            "title": "Only new since last run (alias)",
            "type": "boolean",
            "description": "Alias of onlyChangesSinceLastRun: emits baseline then new, line, payout, status and removed changes. Do not combine both fields."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}