{
  "openapi": "3.0.1",
  "info": {
    "title": "DraftKings Pick6 Scraper: NBA, NFL & NHL Player Props",
    "description": "DraftKings Pick6 NBA, NFL and NHL player props: line, more/less sides, multipliers, alternates, player and game IDs. Filter by player, team or stat; save a baseline to catch line moves.",
    "version": "0.1",
    "x-build-id": "Reeq7M04Ytl2npNJG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automatic~pick6-player-props/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automatic-pick6-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~pick6-player-props/runs": {
      "post": {
        "operationId": "runs-sync-automatic-pick6-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~pick6-player-props/run-sync": {
      "post": {
        "operationId": "run-sync-automatic-pick6-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": "Basketball, american_football, ice_hockey or nba/nfl/nhl codes. Omit for all supported leagues; explicit empty lists fail. Maximum 200 entries of 200 characters each; duplicates collapse.",
            "items": {
              "type": "string",
              "enum": [
                "basketball",
                "american_football",
                "ice_hockey",
                "nba",
                "nfl",
                "nhl"
              ]
            }
          },
          "leagues": {
            "title": "Leagues",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "NBA, NFL and NHL. Omit for all three. Bare input returns a sample of up to 20 props. Other Pick6 sports are not supported in this release. Maximum 200 entries of 200 characters each; duplicates collapse.",
            "items": {
              "type": "string",
              "enum": [
                "nba",
                "nfl",
                "nhl"
              ],
              "enumTitles": [
                "NBA",
                "NFL",
                "NHL"
              ]
            }
          },
          "statTypes": {
            "title": "Stat types",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "Exact native stat keys or normalized sportsbook keys, such as points, threes or passing_yards. Omit for all. Explicit empty lists fail. Maximum 200 entries of 200 characters each; duplicates collapse.",
            "items": {
              "type": "string"
            }
          },
          "periods": {
            "title": "Periods",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "Normalized output periods: game, first_period, second_period, third_period, first_half. Full game is game. Omit for all, including unknown periods; explicit empty lists and unknown values fail. Compared ignoring case and surrounding whitespace.",
            "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 DraftKings Pick6 player IDs. Omit for all; explicit empty lists fail. Maximum 200 entries of 200 characters each; duplicates collapse.",
            "items": {
              "type": "string"
            }
          },
          "teams": {
            "title": "Teams",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "DraftKings Pick6 team abbreviations, such as TOR or NYG. Filters the player team. Omit for all; explicit empty lists fail. Maximum 200 entries of 200 characters each; duplicates collapse.",
            "items": {
              "type": "string"
            }
          },
          "gameDateFrom": {
            "title": "Game date from",
            "type": "string",
            "description": "Inclusive UTC game date, YYYY-MM-DD. Cannot be combined with nextDays."
          },
          "gameDateTo": {
            "title": "Game date to",
            "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 in code. Include alternate offers exposed on each card in its alternates array, including paused offers."
          },
          "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 prop rows, 1–10000. Bare input uses 20; explicit scope uses 5000 when omitted. Capped change rows stay pending."
          },
          "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": "Optional; omitted means no proxy, including on Apify. Use direct Apify US access or an explicit US proxy. Apify Proxy is disabled locally."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}