Base URL
Authentication
All requests require anx-api-key header:
Key Test IDs
| Entity | Name | ID |
|---|---|---|
| Tournament | MLB, Preseason | 11527 |
| Season | 2026 Spring Training | 88263 |
| Team | Atlanta Braves | 3656 |
| Team | Tampa Bay Rays | 3653 |
| Match | Braves vs Rays | 15323741 |
Baseball-Specific Notes
- Scoring: 9 innings + extras. Score fields:
period1throughperiod9, plus additional for extra innings.current= total score. - Standings: 6 divisions — AL East/Central/West, NL East/Central/West.
- Playoffs: World Series bracket available via
/knockoutendpoint. - Positions: P, C, 1B, 2B, 3B, SS, LF, CF, RF, DH.
- Key Stats: BA, HR, RBI, ERA, OPS, K (strikeouts).
- Transfers: Trades, free agency, waivers, call-ups, DFA.
Endpoint Categories
| Category | Endpoints | Description |
|---|---|---|
| Live & Schedule | 14 | Live games, schedules, search, discovery |
| Match / Game | 27 | Game details, scores, stats, odds |
| Tournament / League | 25 | League info, standings, seasons |
| Team | 15 | Rosters, results, transactions |
| Player | 18 | Player stats, career history |
| Manager / Umpire / Venue | 15 | Managers, umpires, ballparks |
| Total | 114 |
Example Requests
UI Design Ideas
- Scoreboard: Show inning-by-inning linescore (R-H-E format) with current inning indicator
- Game stats: Hits, runs, errors, batting average, ERA, pitch counts
- Standings: Display as 6 division tables (AL East/Central/West, NL East/Central/West) with W-L-PCT-GB
- Playoff bracket: ALDS/NLDS → ALCS/NLCS → World Series
- Player profile: Show position, bats/throws (R/L/S), team, jersey number
- Roster view: Group by Pitchers (SP/RP/CL), Catchers, Infielders, Outfielders, DH
Roster Grouping
| Group | Positions |
|---|---|
| Pitchers | SP (Starting Pitcher), RP (Relief Pitcher), CL (Closer) |
| Catchers | C |
| Infielders | 1B, 2B, 3B, SS |
| Outfielders | LF, CF, RF |
| Designated Hitter | DH |
Sport Comparison — Baseball vs Football
| Feature | Baseball | Football (Soccer) |
|---|---|---|
| Match format | 9 innings + extras | 2 × 45 min |
| Score range | 3-8 runs per team typical | 0-5 goals typical |
| Score fields | period1-period9 (innings) + extras | period1-period2 |
| Key stats | BA, HR, RBI, ERA, OPS | Goals, assists, possession |
| Positions | P, C, 1B, 2B, 3B, SS, LF, CF, RF, DH | GK, D, M, F |
| Season | Feb-Oct (162 games + playoffs) | Aug-May |
| Standings | 6 divisions (AL/NL × East/Central/West) | Single league table |