🏀 BasketBet Simulator 🏀
🏀 BasketBet Simulator 🏀 · GPT Actions
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 /gamesGetLiveGamesGet a list of live basketball games with various filters
GET /games/h2hGetHeadToHeadGet head-to-head statistics between two teams
GET /oddsGetOddsGet odds from games or leagues
GET /teamsGetTeamsBySearchGet information about teams with a search query
GET /statisticsGetTeamStatisticsGet team statistics for a specific season, league, and team
GET /leaguesGetLeaguesBySearchGet information about leagues with a search query
GET /betsGetBetsGet all available bets
原始 API 定义
{
"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
}
}
]
}
}
}
}