{
  "openapi": "3.0.1",
  "info": {
    "title": "Bet365 Player Props API | NFL, MLB, NBA, NHL Over/Under",
    "description": "Every active Bet365 player prop as structured JSON. Over/under lines and anytime markets for NFL, MLB, NBA, NHL and more, with player recent-form and decimal/American/fractional odds. Field-aligned to the PrizePicks and Underdog actors for line comparison.",
    "version": "0.0",
    "x-build-id": "10imrSLbdE2UiUEYd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zen-studio~bet365-player-props/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zen-studio-bet365-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/zen-studio~bet365-player-props/runs": {
      "post": {
        "operationId": "runs-sync-zen-studio-bet365-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/zen-studio~bet365-player-props/run-sync": {
      "post": {
        "operationId": "run-sync-zen-studio-bet365-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": {
          "leagues": {
            "title": "Leagues",
            "type": "array",
            "description": "Leagues to pull player props for. Choose <b>All</b> for every league in season. Not listed? Add it under <b>Other leagues</b>.",
            "items": {
              "type": "string",
              "enum": [
                "All",
                "NFL",
                "MLB",
                "NBA",
                "NHL",
                "NCAAF",
                "NCAAB",
                "WNBA",
                "Premier League",
                "La Liga",
                "Bundesliga",
                "Serie A",
                "Ligue 1",
                "MLS",
                "Champions League",
                "Europa League",
                "Conference League",
                "Championship",
                "Eredivisie",
                "Primeira Liga",
                "Scottish Premiership",
                "Saudi Pro League",
                "Liga MX",
                "Brazil Serie A",
                "Greece Super League",
                "J-League",
                "Austria Bundesliga",
                "Tennis",
                "AFL",
                "NRL",
                "Cricket"
              ],
              "enumTitles": [
                "All in-season",
                "NFL",
                "MLB",
                "NBA",
                "NHL",
                "NCAAF",
                "NCAAB",
                "WNBA",
                "Premier League",
                "La Liga",
                "Bundesliga",
                "Serie A",
                "Ligue 1",
                "MLS",
                "Champions League",
                "Europa League",
                "Conference League",
                "Championship",
                "Eredivisie",
                "Primeira Liga",
                "Scottish Premiership",
                "Saudi Pro League",
                "Liga MX",
                "Brazil Serie A",
                "Greece Super League",
                "J-League",
                "Austria Bundesliga",
                "Tennis (ATP & WTA tour)",
                "AFL (Aussie Rules)",
                "NRL",
                "Cricket"
              ]
            }
          },
          "extraLeagues": {
            "title": "Other leagues",
            "type": "string",
            "description": "Any league name not in the list above, comma-separated (e.g. <code>KBO, Serie A</code>). For seasonal or niche competitions."
          },
          "playerNames": {
            "title": "Players",
            "type": "string",
            "description": "Comma-separated player names to keep. Partial and accent-insensitive (e.g. <code>Mahomes, Judge</code>). Leave empty for all players."
          },
          "statTypes": {
            "title": "Stat types",
            "type": "string",
            "description": "Comma-separated stat types to keep (e.g. <code>Passing Yards, Home Runs, Points</code>). Leave empty for all stats."
          },
          "teams": {
            "title": "Teams",
            "type": "string",
            "description": "Comma-separated team names to keep. Matches either side of the matchup (e.g. <code>Chiefs, Yankees</code>). Leave empty for all teams."
          },
          "maxGamesPerLeague": {
            "title": "Max games per league",
            "minimum": 0,
            "type": "integer",
            "description": "Cap the number of games pulled per league (e.g. the next few). Leave at 0 for the full slate.",
            "default": 0
          },
          "includeAlternateLines": {
            "title": "Include alternate lines",
            "type": "boolean",
            "description": "Also return the alternate line ladder on each market (1+, 2+ and 3+ home runs, or 150 through 350 passing yards) instead of the lowest line only. This multiplies the rows, and the cost, by however deep the ladder goes. Extra rows are marked <code>is_alternate: true</code>.",
            "default": false
          },
          "listLeagues": {
            "title": "List available leagues only",
            "type": "boolean",
            "description": "Output the built-in league list (the options above) as data, then stop. Ignores all other inputs. No games are fetched and nothing is charged.",
            "default": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}