baseballapi

baseballapi

3.9

baseballapi is hosted online, so all tools can be tested directly either in theInspector tabor in theOnline Client.

If you are the rightful owner of baseballapi and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The BaseballApi MCP Server provides comprehensive baseball data, including live scores, statistics, and detailed information on leagues, teams, and players worldwide.

search

Search for baseball-related entities using the provided search term, and filter the results to show only baseball-related entities.

Try it

The search term to use for finding baseball-related entities.

      Result:

      match_player_statistics

      Get the statistics for a specific baseball player in the match by providing its ID.

      Try it

      The ID of the baseball match for which you want to get the player statistics. Default: 9864379 Minimum: -9223372036854776000 Maximum: 9223372036854776000

        The player id. Default: 977489

            Result:

            match_lineups

            Get the lineups for a specific baseball match by providing its ID.

            Try it

            The ID of the baseball match for which you want to get the lineups. Default: 9864379 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                Result:

                match_statistics

                Get the statistics for a specific baseball match by providing its ID.

                Try it

                The ID of the baseball match for which you want to get the statistics. Default: 9864379 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                    Result:

                    match_highlights

                    Get the highlights of a specific baseball match using the match ID.

                    Try it

                    The ID of the match for which you want to get highlights. Default: 9864379 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                        Result:

                        match_schedules

                        This operation returns the baseball match schedules for the given date, including match timings, teams, and other relevant information.

                        Try it

                        The day of the month for which you want to retrieve the match schedules (1-31). Default: 1 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                          The month for which you want to retrieve the match schedules (1-12). Default: 8 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                            The year for which you want to retrieve the match schedules (e.g., 2022). Default: 2022 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                Result:

                                match_details

                                Get detailed information for a specific baseball match by providing the match ID.

                                Try it

                                The ID of the match for which you want to get the details. Default: 9864379 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                    Result:

                                    live_matches

                                    Get live baseball matches that are currently taking place.

                                    Try it

                                      Result:

                                      match_odds

                                      Get the odds for a specific baseball match using the match ID.

                                      Try it

                                      The ID of the match for which you want to get the odds. Default: 9864379 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                          Result:

                                          match_h2_hduel

                                          Get the head-to-head duel for a specific baseball match using the match ID.

                                          Try it

                                          The ID of the match for which you want to get the head-to-head duel. Default: 9864379 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                              Result:

                                              match_votes

                                              Get the votes for a specific baseball match using the match ID.

                                              Try it

                                              The ID of the match for which you want to get the votes. Default: 9864379 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                  Result:

                                                  head_to_head_matches

                                                  Get head-to-head match data for a specific baseball match using its custom ID.

                                                  Try it

                                                  The custom ID of the match for which you want to get the head-to-head matches.

                                                      Result:

                                                      pre_match_form

                                                      Get the pre-match form for a specific baseball match using the match ID.

                                                      Try it

                                                      The ID of the match for which you want to get the pre-match form. Default: 9864379 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                          Result:

                                                          player_near_matches

                                                          Get the near matches for a specific baseball player using the player ID.

                                                          Try it

                                                          The player ID for which you want to retrieve the near matches. Default: 977489 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                              Result:

                                                              player_regular_season_statistics

                                                              Get the regular season statistics for a specific baseball player using the player ID, tournament ID, and season ID.

                                                              Try it

                                                              The player ID for which you want to retrieve the statistics. Default: 977489 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                The unique tournament ID for which you want to retrieve the player's statistics. Default: 11205 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                  The season ID for which you want to retrieve the player's statistics. Default: 29168 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                      Result:

                                                                      player_statistics_seasons

                                                                      Get the statistics seasons for a specific baseball player using the player ID.

                                                                      Try it

                                                                      The player ID for which you want to retrieve the statistics seasons. Default: 977489 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                          Result:

                                                                          player_last_matches

                                                                          Get the last matches played by a specific Baseball player by providing the player ID and page number.

                                                                          Try it

                                                                          The ID of the player for which you want to retrieve the last matches. Default: 1195558 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                            Zero-based page number. Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                Result:

                                                                                player_image

                                                                                Get the image for a specific baseball player using the player ID. Generates a PNG image.

                                                                                Try it

                                                                                The player ID for which you want to retrieve the image. Default: 977489 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                    Result:

                                                                                    player_details

                                                                                    Get the details for a specific baseball player using the player ID.

                                                                                    Try it

                                                                                    The player ID for which you want to retrieve the details. Default: 977489 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                        Result:

                                                                                        team_standings_seasons

                                                                                        Get the team standings for different seasons for a given team by providing its ID.

                                                                                        Try it

                                                                                        The ID of the team for which you want to retrieve the team standings for different seasons. Default: 3633 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                            Result:

                                                                                            team_tournaments

                                                                                            Get the tournaments in which a specific baseball team participates.

                                                                                            Try it

                                                                                            The ID of the team for which you want to retrieve the tournaments. Default: 3633 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                Result:

                                                                                                team_logo_image

                                                                                                Get the logo image for a specific baseball team using the team ID. Generates a PNG image.

                                                                                                Try it

                                                                                                The team ID for which you want to retrieve the logo image. Default: 3633 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                    Result:

                                                                                                    team_next_matches

                                                                                                    Get upcoming baseball matches for a specific team.

                                                                                                    Try it

                                                                                                    The ID of the team for which you want to retrieve upcoming matches. Default: 3633 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                      The page number (zero-based) of the results you want to retrieve. Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                          Result:

                                                                                                          team_details

                                                                                                          Get the details for a specific baseball team using the team ID.

                                                                                                          Try it

                                                                                                          The team ID for which you want to retrieve the details. Default: 3633 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                              Result:

                                                                                                              team_near_matches

                                                                                                              Get the near matches for a specific baseball team using the team ID.

                                                                                                              Try it

                                                                                                              The team ID for which you want to retrieve the near matches. Default: 3633 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                  Result:

                                                                                                                  team_last_matches

                                                                                                                  Get the last matches for a specific baseball team by providing its ID and page number.

                                                                                                                  Try it

                                                                                                                  The ID of the baseball team for which you want to retrieve the last matches. Default: 3633 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                    The zero-based page number of the results you want to retrieve. Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                        Result:

                                                                                                                        team_media

                                                                                                                        Get the media for a specific baseball team using the team ID.

                                                                                                                        Try it

                                                                                                                        The team ID for which you want to retrieve the media. Default: 3633 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                            Result:

                                                                                                                            team_players

                                                                                                                            Get the players for a specific baseball team using the team ID.

                                                                                                                            Try it

                                                                                                                            The team ID for which you want to retrieve the players. Default: 3633 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                Result:

                                                                                                                                league_away_standings

                                                                                                                                Get the away standings of a specific baseball league for a specific season.

                                                                                                                                Try it

                                                                                                                                The unique tournament ID for which you want to retrieve the away standings. Default: 19442 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                  The ID of the season for which you want to retrieve the away standings. Default: 49349 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                      Result:

                                                                                                                                      league_details

                                                                                                                                      Get the details of a specific baseball league using the unique tournament ID.

                                                                                                                                      Try it

                                                                                                                                      The unique tournament ID for which you want to retrieve the league's details. Default: 11205 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                          Result:

                                                                                                                                          league_home_standings

                                                                                                                                          Get the home standings of a specific baseball league for a specific season.

                                                                                                                                          Try it

                                                                                                                                          The unique tournament ID for which you want to retrieve the home standings. Default: 19442 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                            The ID of the season for which you want to retrieve the home standings. Default: 49349 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                Result:

                                                                                                                                                league_total_standings

                                                                                                                                                Get the total standings of a specific baseball league for a specific season.

                                                                                                                                                Try it

                                                                                                                                                The unique tournament ID for which you want to retrieve the total standings. Default: 11205 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                  The ID of the season for which you want to retrieve the total standings. Default: 29168 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                      Result:

                                                                                                                                                      league_next_matches

                                                                                                                                                      Get the next matches for a specific baseball league using the tournament ID, season ID, and page.

                                                                                                                                                      Try it

                                                                                                                                                      The unique tournament ID for which you want to retrieve the league's next matches. Default: 11205 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                        The season ID for which you want to retrieve the league's next matches. Default: 39143 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                          Zero-based page. Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                              Result:

                                                                                                                                                              league_media

                                                                                                                                                              Get the media for a specific baseball league using the unique tournament ID.

                                                                                                                                                              Try it

                                                                                                                                                              The unique tournament ID for which you want to retrieve the league media. Default: 11205 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                  Result:

                                                                                                                                                                  league_total_team_events

                                                                                                                                                                  This endpoint retrieves the last 5 matches for a specific league in a given season for both home and away events.

                                                                                                                                                                  Try it

                                                                                                                                                                  The unique tournament ID for which you want to retrieve the total team events. Default: 19442 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                    The ID of the season for which you want to retrieve the total team events. Default: 49349 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                        Result:

                                                                                                                                                                        league_cup_trees

                                                                                                                                                                        Get the cup trees for a specific baseball league using the tournament ID and season ID.

                                                                                                                                                                        Try it

                                                                                                                                                                        The unique tournament ID for which you want to retrieve the league cup trees. Default: 11205 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                          The season ID for which you want to retrieve the league cup trees. Default: 29168 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                              Result:

                                                                                                                                                                              category_tournaments

                                                                                                                                                                              Get a list of all leagues from a specific baseball category using the category ID.

                                                                                                                                                                              Try it

                                                                                                                                                                              The category ID for which you want to retrieve all leagues. Default: 1374 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                  Result:

                                                                                                                                                                                  league_away_team_events

                                                                                                                                                                                  This endpoint retrieves the last 5 matches for a specific league in a given season for away events.

                                                                                                                                                                                  Try it

                                                                                                                                                                                  The unique tournament ID for which you want to retrieve the away team events. Default: 19442 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                    The ID of the season for which you want to retrieve the away team events. Default: 49349 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                        Result:

                                                                                                                                                                                        league_seasons

                                                                                                                                                                                        Get the seasons for a specific baseball league using the unique tournament ID.

                                                                                                                                                                                        Try it

                                                                                                                                                                                        The unique tournament ID for which you want to retrieve the league's seasons. Default: 11205 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                            Result:

                                                                                                                                                                                            category_schedules

                                                                                                                                                                                            Get the baseball match schedules for a specific day and category using the category ID, day, month, and year.

                                                                                                                                                                                            Try it

                                                                                                                                                                                            The category ID for which you want to retrieve the schedules. Default: 1374 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                              The day for which you want to retrieve the schedules. Default: 1 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                                The month for which you want to retrieve the schedules. Default: 8 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                                  The year for which you want to retrieve the schedules. Default: 2022 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                                      Result:

                                                                                                                                                                                                      league_logo_image

                                                                                                                                                                                                      Get the logo image for a specific baseball league using the unique tournament ID. Generates a PNG image.

                                                                                                                                                                                                      Try it

                                                                                                                                                                                                      The unique tournament ID for which you want to retrieve the league logo image. Default: 11205 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                                          Result:

                                                                                                                                                                                                          league_last_matches

                                                                                                                                                                                                          Get the last matches for a league by providing the unique tournament ID, season ID, and the page number (0-based).

                                                                                                                                                                                                          Try it

                                                                                                                                                                                                          The unique tournament ID for which you want to retrieve the last matches. Default: 11205 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                                            The season ID for which you want to retrieve the last matches. Default: 39143 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                                              The 0-based page number for which you want to retrieve the last matches. Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                                                  Result:

                                                                                                                                                                                                                  league_home_team_events

                                                                                                                                                                                                                  This endpoint retrieves the last 5 matches for a specific league in a given season for home events.

                                                                                                                                                                                                                  Try it

                                                                                                                                                                                                                  The unique tournament ID for which you want to retrieve the home team events. Default: 19442 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                                                    The ID of the season for which you want to retrieve the home team events. Default: 49349 Minimum: -9223372036854776000 Maximum: 9223372036854776000

                                                                                                                                                                                                                        Result:

                                                                                                                                                                                                                        categories

                                                                                                                                                                                                                        Get a list of all baseball categories.

                                                                                                                                                                                                                        Try it

                                                                                                                                                                                                                          Result: