Indietro

#baseball

2 APIs con questa etichetta

Baseball Stats API

Baseball sabermetrics as an API, computed locally and deterministically — turn raw counting numbers into the rate stats that actually rank players. The batting endpoint takes at-bats, hits, doubles, triples, home runs, walks, hit-by-pitch and sacrifice flies and returns the batting average (H/AB), on-base percentage ((H+BB+HBP)/(AB+BB+HBP+SF)), slugging percentage (total bases/AB), OPS (on-base plus slugging), isolated power (SLG−AVG) and, when strikeouts are supplied, BABIP — a classic .300/.366/.530 line comes straight out. The pitching endpoint takes innings pitched, earned runs, hits, walks, strikeouts and home runs and returns the earned run average (9·ER/IP), WHIP ((BB+H)/IP), strikeouts and walks per nine innings, the strikeout-to-walk ratio and FIP, the fielding-independent pitching estimator (13·HR + 3·(BB+HBP) − 2·K)/IP + constant. Innings pitched is a true decimal, with an exact "outs" input for the 6.1/6.2 box-score convention. Everything is computed locally and deterministically, so it is instant and private. Ideal for fantasy-baseball, sports-analytics, sabermetrics and box-score app developers, scouting and stat-line tools, and teaching material. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 2 compute endpoints. This computes the stats from your numbers; for live scores, standings, teams and players use a sports-data API.

api.oanor.com/baseball-api

MLB Baseball Stats API

Major League Baseball como API, desde la API oficial de MLB Stats. Obtén los 30 clubes, clasificaciones de división en vivo (victorias, derrotas, porcentaje de victorias, juegos de diferencia, racha actual, diferencial de carreras), el calendario completo y resultados finales para cualquier fecha, plantillas de equipos, perfiles de jugadores con estadísticas completas de bateo y lanzamiento de temporada (HR, AVG, OPS, RBI, ERA, ponches, W-L y más), y puntuaciones de entrada por entrada para cualquier juego. Resuelve equipos por abreviatura (NYY), id (147) o nombre (Yankees), y jugadores por nombre (Aaron Judge) o id de MLB. Perfecto para construir marcadores y widgets de clasificaciones, herramientas de béisbol de fantasía, paneles de estadísticas, bots de Discord/Slack y aplicaciones de datos deportivos. Sin clave para el upstream, sin cuentas que gestionar.

api.oanor.com/mlb-api