🏀 BasketBet Simulator 🏀

🏀 BasketBet Simulator 🏀 · GPT-Aktionen

BasketBet Simulator API

Retrieves real-time data for live basketball games to simulate betting, including games, head-to-head stats, odds, bookmakers, and available bets.

  • GET /gamesGetLiveGames

    Get a list of live basketball games with various filters

  • GET /games/h2hGetHeadToHead

    Get head-to-head statistics between two teams

  • GET /oddsGetOdds

    Get odds from games or leagues

  • GET /teamsGetTeamsBySearch

    Get information about teams with a search query

  • GET /statisticsGetTeamStatistics

    Get team statistics for a specific season, league, and team

  • GET /leaguesGetLeaguesBySearch

    Get information about leagues with a search query

  • GET /betsGetBets

    Get all available bets

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "BasketBet Simulator API",
    "description": "Retrieves real-time data for live basketball games to simulate betting, including games, head-to-head stats, odds, bookmakers, and available bets.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api-basketball.p.rapidapi.com"
    }
  ],
  "paths": {
    "/games": {
      "get": {
        "description": "Get a list of live basketball games with various filters",
        "operationId": "GetLiveGames",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "The date for the games",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "league",
            "in": "query",
            "description": "The ID of the league",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "season",
            "in": "query",
            "description": "The season of the league",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]{4}-[0-9]{4}$"
            }
          },
          {
            "name": "team",
            "in": "query",
            "description": "The ID of the team",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "timezone",
            "in": "query",
            "description": "A valid timezone for time presentation",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/games/h2h": {
      "get": {
        "description": "Get head-to-head statistics between two teams",
        "operationId": "GetHeadToHead",
        "parameters": [
          {
            "name": "h2h",
            "in": "query",
            "description": "The IDs of the two teams separated by a dash",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/odds": {
      "get": {
        "description": "Get odds from games or leagues",
        "operationId": "GetOdds",
        "parameters": [
          {
            "name": "game",
            "in": "query",
            "description": "The ID of the game",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "league",
            "in": "query",
            "description": "The ID of the league",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "season",
            "in": "query",
            "description": "The season of the league",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bookmaker",
            "in": "query",
            "description": "The ID of the bookmaker",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "bet",
            "in": "query",
            "description": "The ID of the bet",
            "schema": {
              "type": "integer"
            }
          }
        ]
      }
    },
    "/teams": {
      "get": {
        "description": "Get information about teams with a search query",
        "operationId": "GetTeamsBySearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search for a team by name",
            "schema": {
              "type": "string"
            }
          }
        ],
        "headers": {
          "X-RapidAPI-Key": {
            "type": "string"
          },
          "X-RapidAPI-Host": {
            "type": "string"
          }
        }
      }
    },
    "/statistics": {
      "get": {
        "description": "Get team statistics for a specific season, league, and team",
        "operationId": "GetTeamStatistics",
        "parameters": [
          {
            "name": "season",
            "in": "query",
            "description": "The season of the league",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "league",
            "in": "query",
            "description": "The ID of the league",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "team",
            "in": "query",
            "description": "The ID of the team",
            "schema": {
              "type": "integer"
            }
          }
        ]
      }
    },
    "/leagues": {
      "get": {
        "description": "Get information about leagues with a search query",
        "operationId": "GetLeaguesBySearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search for a league by name",
            "schema": {
              "type": "string"
            }
          }
        ],
        "headers": {
          "X-RapidAPI-Key": {
            "type": "string"
          },
          "X-RapidAPI-Host": {
            "type": "string"
          }
        }
      }
    },
    "/bets": {
      "get": {
        "description": "Get all available bets",
        "operationId": "GetBets",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Search for a bet by name",
            "schema": {
              "type": "string",
              "minLength": 3
            }
          }
        ]
      }
    }
  }
}