api-basketball

api-basketball

4.0

The API-BASKETBALL MCP server provides tools for accessing and managing basketball data from over 400 leagues and cups worldwide.

The API-BASKETBALL MCP server offers a comprehensive suite of tools for accessing and managing basketball data from leagues and cups globally. It provides real-time updates, statistical analysis, and historical data, enhancing basketball-related applications. With coverage of over 400 leagues, the server supports live scores, odds, statistics, and more, making it an essential resource for developers in the sports domain.

Features

  • Live Scores & Updates: Access real-time scores and updates from a wide array of basketball leagues and cups.
  • Odds & Bookmakers: Retrieve pre-match odds and bookmaker information for informed decision-making.
  • Statistics & Standings: Analyze team and player statistics, and view league standings to track performance.
  • Historical Data: Explore past data for comprehensive insights and trend analysis.
  • Countries & Seasons: Filter data by country and season to tailor your queries to specific needs.

MCP Tools

  • Timezone: Retrieve a list of available timezones for game scheduling.
  • Standings: Access league and cup rankings based on various criteria.
  • Seasons: Retrieve a list of available seasons for filtering data.
  • Countries: Access information on all available countries for data filtering.
  • Leagues: Obtain detailed information about all available basketball leagues.
  • Games: Access comprehensive data on all available games.
  • Teams: Retrieve detailed statistics and information for individual teams.
  • Search: Search for available betting labels, bookmakers, countries, leagues, and teams.

Usage with Different Platforms

mcp

javascript
fetch('https://api-basketball.p.rapidapi.com/games', {
  method: 'GET',
  headers: {
    'x-rapidapi-host': 'api-basketball.p.rapidapi.com',
    'x-rapidapi-key': 'YOUR_API_KEY'
  }
})
.then(response => response.json())
.then(data => console.log(data))
.catch(err => console.error(err));