MLB provides scores, schedules and game details for one date or up to seven days, regular-season division standings defaulting to the current year, and player profiles with regular-season stats for a selected season and career.
Your information
Baseball player name, for example Shohei Ohtani.
MLB season year, for example 2025. Defaults to the current season if the player has stats, otherwise the latest season.
Example results
2025 hitting
- Games
- 158
- At bats
- 611
- Hits
- 172
- Stolen bases
- 20
- On-base percentage
- 0.392
- Slugging percentage
- 0.622
2025 pitching
- Losses
- 1
- Innings pitched
- 47.0
- Walks
- 9
- Saves
- 0
Career hitting
- Games
- 1,172
- At bats
- 4,253
- Hits
- 1,194
- Home runs
- 310
- Runs batted in
- 750
- Batting average
- 0.281
- On-base percentage
- 0.375
- Slugging percentage
- 0.574
- OPS
- 0.949
- Stolen bases
- 176
Career pitching
- Wins
- 47
- Losses
- 22
- ERA
- 2.83
- Innings pitched
- 614.1
- Strikeouts
- 765
- Walks
- 208
- WHIP
- 1.06
- Saves
- 0
Player details
- Team
- Los Angeles Dodgers
- Position
- Two-Way Player
- Age
- 32
- Bats
- Left
- Throws
- Right
About the MLB tool
MLB returns scores and scheduled games through Get scores, using a date, days, optional team, and time zone.
Get standings returns MLB regular-season division standings for a season, defaulting to the current year.
Get player stats returns a player profile and regular-season stats, using a player name and optional season.
Built from mlb.com and statsapi.mlb.com. Last checked Sep 29, 2026.
Actions
Get player stats
1 creditGet a baseball player’s profile and MLB regular-season hitting and pitching statistics for a selected season and career. If no season is given, uses the current season when available, otherwise the latest MLB season.
Uses statsapi.mlb.com.
What you provide
| Field | Type | Required | Description |
|---|---|---|---|
Playerplayer | Text | Required | Baseball player name, for example Shohei Ohtani.Example: Shohei Ohtani |
Seasonseason | Number | Optional | MLB season year, for example 2025. Defaults to the current season if the player has stats, otherwise the latest season.Example: 2025 |
What you get
| Field | Type | Description |
|---|---|---|
Ageage | Number | Age listed in the MLB player profile.Example: 32 |
Batsbats | Text | Batting side.Example: Left |
Namename | Text | Player name.Example: Shohei Ohtani |
Teamteam | Text | Season team, or listed team when the selected season has no stats.Example: Los Angeles Dodgers |
Seasonseason | Number | Season used for season statistics.Example: 2025 |
Throwsthrows | Text | Throwing hand.Example: Right |
Positionposition | Text | Player position.Example: Two-Way Player |
Player IDplayer_id | Number | MLB player ID.Example: 660271 |
Player Linkplayer_link | Text | MLB.com player page.Example: https://www.mlb.com/player/shohei-ohtani-660271 |
Career Hittingcareer_hitting | Details | MLB regular-season stats, or null when the player has none in this category. |
Hitscareer_hitting.hits | Number | Hits.Example: 1194 |
Gamescareer_hitting.games | Number | Games.Example: 1172 |
At Batscareer_hitting.at_bats | Number | At bats.Example: 4253 |
Home Runscareer_hitting.home_runs | Number | Home runs.Example: 310 |
Stolen Basescareer_hitting.stolen_bases | Number | Stolen bases.Example: 176 |
Runs Batted incareer_hitting.runs_batted_in | Number | Runs batted in.Example: 750 |
Batting Averagecareer_hitting.batting_average | Number | Batting average.Example: 0.281 |
On Base Percentagecareer_hitting.on_base_percentage | Number | On base percentage.Example: 0.375 |
Slugging Percentagecareer_hitting.slugging_percentage | Number | Slugging percentage.Example: 0.574 |
On Base Plus Sluggingcareer_hitting.on_base_plus_slugging | Number | On base plus slugging.Example: 0.949 |
Season Hittingseason_hitting | Details | MLB regular-season stats, or null when the player has none in this category. |
Hitsseason_hitting.hits | Number | Hits.Example: 172 |
Gamesseason_hitting.games | Number | Games.Example: 158 |
At Batsseason_hitting.at_bats | Number | At bats.Example: 611 |
Home Runsseason_hitting.home_runs | Number | Home runs.Example: 55 |
Stolen Basesseason_hitting.stolen_bases | Number | Stolen bases.Example: 20 |
Runs Batted inseason_hitting.runs_batted_in | Number | Runs batted in.Example: 102 |
Batting Averageseason_hitting.batting_average | Number | Batting average.Example: 0.282 |
On Base Percentageseason_hitting.on_base_percentage | Number | On base percentage.Example: 0.392 |
Slugging Percentageseason_hitting.slugging_percentage | Number | Slugging percentage.Example: 0.622 |
On Base Plus Sluggingseason_hitting.on_base_plus_slugging | Number | On base plus slugging.Example: 1.014 |
Career Pitchingcareer_pitching | Details | MLB regular-season stats, or null when the player has none in this category. |
Winscareer_pitching.wins | Number | Wins.Example: 47 |
Savescareer_pitching.saves | Number | Saves.Example: 0 |
Walkscareer_pitching.walks | Number | Walks.Example: 208 |
Lossescareer_pitching.losses | Number | Losses.Example: 22 |
Strikeoutscareer_pitching.strikeouts | Number | Strikeouts.Example: 765 |
Innings Pitchedcareer_pitching.innings_pitched | Text | Baseball innings notation (for example 47.1 means 47 innings and one out).Example: 614.1 |
Earned Run Averagecareer_pitching.earned_run_average | Number | Earned run average.Example: 2.83 |
Walks Plus Hits Per Inning Pitchedcareer_pitching.walks_plus_hits_per_inning_pitched | Number | Walks plus hits per inning pitched.Example: 1.06 |
Season Pitchingseason_pitching | Details | MLB regular-season stats, or null when the player has none in this category. |
Winsseason_pitching.wins | Number | Wins.Example: 1 |
Savesseason_pitching.saves | Number | Saves.Example: 0 |
Walksseason_pitching.walks | Number | Walks.Example: 9 |
Lossesseason_pitching.losses | Number | Losses.Example: 1 |
Strikeoutsseason_pitching.strikeouts | Number | Strikeouts.Example: 62 |
Innings Pitchedseason_pitching.innings_pitched | Text | Baseball innings notation (for example 47.1 means 47 innings and one out).Example: 47.0 |
Earned Run Averageseason_pitching.earned_run_average | Number | Earned run average.Example: 2.87 |
Walks Plus Hits Per Inning Pitchedseason_pitching.walks_plus_hits_per_inning_pitched | Number | Walks plus hits per inning pitched.Example: 1.04 |
Headshot Image Linkheadshot_image_link | Text | Player headshot image link.Example: https://img.mlbstatic.com/mlb-photos/image/upload/v1/people/660271/headshot/67/… |
Example result
For Player: Shohei Ohtani, Season: 2025
{
"age": 32,
"bats": "Left",
"name": "Shohei Ohtani",
"team": "Los Angeles Dodgers",
"season": 2025,
"throws": "Right",
"position": "Two-Way Player",
"player_id": 660271,
"player_link": "https://www.mlb.com/player/shohei-ohtani-660271",
"career_hitting": {
"hits": 1194,
"games": 1172,
"at_bats": 4253,
"home_runs": 310,
"stolen_bases": 176,
"runs_batted_in": 750,
"batting_average": 0.281,
"on_base_percentage": 0.375,
"slugging_percentage": 0.574,
"on_base_plus_slugging": 0.949
},
"season_hitting": {
"hits": 172,
"games": 158,
"at_bats": 611,
"home_runs": 55,
"stolen_bases": 20,
"runs_batted_in": 102,
"batting_average": 0.282,
"on_base_percentage": 0.392,
"slugging_percentage": 0.622,
"on_base_plus_slugging": 1.014
},
"career_pitching": {
"wins": 47,
"saves": 0,
"walks": 208,
"losses": 22,
"strikeouts": 765,
"innings_pitched": "614.1",
"earned_run_average": 2.83,
"walks_plus_hits_per_inning_pitched": 1.06
},
"season_pitching": {
"wins": 1,
"saves": 0,
"walks": 9,
"losses": 1,
"strikeouts": 62,
"innings_pitched": "47.0",
"earned_run_average": 2.87,
"walks_plus_hits_per_inning_pitched": 1.04
},
"headshot_image_link": "https://img.mlbstatic.com/mlb-photos/image/upload/v1/people/660271/headshot/67/current"
}Get scores
1 creditGet MLB scores and scheduled games for a date or up to seven days, optionally for one team. Start times use the requested time zone; unannounced times and unavailable game details are null.
Uses statsapi.mlb.com.
What you provide
| Field | Type | Required | Description |
|---|---|---|---|
Datedate | Date | Optional | First calendar date to show, for example 2026-09-29. Defaults to today.Example: 2026-09-29 |
Daysdays | Number | Optional | Number of consecutive calendar days to show, for example 7.Example: 1 |
Teamteam | Text | Optional | Team name to include, for example New York Yankees or Yankees.Example: Yankees |
Time Zonetime_zone | Text | Optional | Time zone for game start times, for example US Eastern or America/Los_Angeles.Example: America/Los_Angeles |
What you get
| Field | Type | Description |
|---|---|---|
Gamesgames | List | Games in start-time order. |
Dategames[].date | Date | Official game date.Example: 2026-09-29 |
Inninggames[].inning | Text | Current half-inning for live games. |
Statusgames[].status | Text | Scheduled, live, final, postponed or cancelled.Example: Scheduled |
Game IDgames[].game_id | Number | MLB game ID.Example: 849845 |
Ballparkgames[].ballpark | Text | Example: Truist Park |
Away Runsgames[].away_runs | Number | Example: 4 |
Away Teamgames[].away_team | Text | Example: Philadelphia Phillies |
Game Linkgames[].game_link | Link | Example: https://www.mlb.com/gameday/849845 |
Home Runsgames[].home_runs | Number | Example: 6 |
Home Teamgames[].home_team | Text | Example: Atlanta Braves |
Start Timegames[].start_time | Text | Scheduled start in the selected time zone; null when not announced.Example: 2026-09-29T14:00:00-04:00 |
Tv Channelsgames[].tv_channels | List | |
Losing Pitchergames[].losing_pitcher | Text | Example: Sean Manaea |
Winning Pitchergames[].winning_pitcher | Text | Example: Will Dion |
Away Probable Pitchergames[].away_probable_pitcher | Text | Example: Jesús Luzardo |
Home Probable Pitchergames[].home_probable_pitcher | Text | Example: Chris Sale |
Example result
For Date: 2026-09-29, Days: 1
{
"games": [
{
"date": "2026-09-29",
"inning": null,
"status": "scheduled",
"game_id": 849845,
"ballpark": "Truist Park",
"away_runs": null,
"away_team": "Philadelphia Phillies",
"game_link": "https://www.mlb.com/gameday/849845",
"home_runs": null,
"home_team": "Atlanta Braves",
"start_time": "2026-09-29T14:00:00-04:00",
"tv_channels": [
"NBC/Peacock",
"Universo/ Peacock"
],
"losing_pitcher": null,
"winning_pitcher": null,
"away_probable_pitcher": "Jesús Luzardo",
"home_probable_pitcher": "Chris Sale"
},
{
"date": "2026-09-29",
"inning": null,
"status": "scheduled",
"game_id": 849849,
"ballpark": "Daikin Park",
"away_runs": null,
"away_team": "Chicago White Sox",
"game_link": "https://www.mlb.com/gameday/849849",
"home_runs": null,
"home_team": "Houston Astros",
"start_time": "2026-09-29T17:00:00-04:00",
"tv_channels": [
"Peacock/NBCSN",
"Universo/ Peacock"
],
"losing_pitcher": null,
"winning_pitcher": null,
"away_probable_pitcher": "Hagen Smith",
"home_probable_pitcher": "AJ Blubaugh"
},
{
"date": "2026-09-29",
"inning": null,
"status": "scheduled",
"game_id": 849851,
"ballpark": "Yankee Stadium",
"away_runs": null,
"away_team": "Boston Red Sox",
"game_link": "https://www.mlb.com/gameday/849851",
"home_runs": null,
"home_team": "New York Yankees",
"start_time": "2026-09-29T20:00:00-04:00",
"tv_channels": [
"NBC/Peacock",
"Universo/ Peacock"
],
"losing_pitcher": null,
"winning_pitcher": null,
"away_probable_pitcher": "Payton Tolle",
"home_probable_pitcher": "Cam Schlittler"
}
]
}Get standings
1 creditGet MLB regular-season division standings for a season, including team records, streaks, last 10 games, and wild-card games back when available. Defaults to the current year.
Uses MLB and statsapi.mlb.com.
What you provide
| Field | Type | Required | Description |
|---|---|---|---|
Seasonseason | Number | Optional | MLB season year, for example 2025. Defaults to the current year.Example: 2025 |
What you get
| Field | Type | Description |
|---|---|---|
Teamsteams | List | Teams ordered by league, division, and division rank. |
Rankteams[].rank | Number | Example: 1 |
Teamteams[].team | Text | Example: Toronto Blue Jays |
Winsteams[].wins | Number | Example: 94 |
Leagueteams[].league | Text | Example: American League |
Lossesteams[].losses | Number | Example: 68 |
Streakteams[].streak | Text | Example: Won 4 |
Last 10teams[].last_10 | Text | Example: 5-5 |
Divisionteams[].division | Text | Example: AL East |
Page URLteams[].page_url | Text | Example: https://www.mlb.com/bluejays |
Games Backteams[].games_back | Text | Example: - |
Win Percentageteams[].win_percentage | Number | Example: 0.58 |
Wild Card Games Backteams[].wild_card_games_back | Text | Example: +7.0 |
Seasonseason | Number | Standings season year.Example: 2025 |
Example result
For Season: 2025
{
"teams": [
{
"rank": 1,
"team": "Toronto Blue Jays",
"wins": 94,
"league": "American League",
"losses": 68,
"streak": "Won 4",
"last_10": "5-5",
"division": "AL East",
"page_url": "https://www.mlb.com/bluejays",
"games_back": "-",
"win_percentage": 0.58,
"wild_card_games_back": null
},
{
"rank": 2,
"team": "New York Yankees",
"wins": 94,
"league": "American League",
"losses": 68,
"streak": "Won 8",
"last_10": "9-1",
"division": "AL East",
"page_url": "https://www.mlb.com/yankees",
"games_back": "-",
"win_percentage": 0.58,
"wild_card_games_back": "+7.0"
},
{
"rank": 3,
"team": "Boston Red Sox",
"wins": 89,
"league": "American League",
"losses": 73,
"streak": "Won 1",
"last_10": "6-4",
"division": "AL East",
"page_url": "https://www.mlb.com/redsox",
"games_back": "5.0",
"win_percentage": 0.549,
"wild_card_games_back": "+2.0"
}
],
"season": 2025
}For developers
Call it from your code with one request. Change the values in input to run it on new data. To get an API key, open Developers at the bottom of Studio, turn on Developer mode and go to API keys.
curl 'https://api.fous.com/v1/query' \
--fail-with-body --silent --show-error --max-time 180 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"api": "@mlb",
"visibility": "public",
"operation": "get_player_stats",
"version": 1,
"input": {
"player": "Shohei Ohtani",
"season": 2025
},
"response": {
"format": "json"
}
}'What you can do with it
- Track scores and scheduled games by date or team
- Review division standings for a selected season
- Compare team records, streaks, and recent results
- Look up a player's season and career stats
Questions about MLB
Can I run it with my own inputs?
Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.
Can I call this MLB tool as an API?
Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.
How much does it cost?
Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.
Do I need a MLB account?
No. You only need a Fous account.
How current is the data?
Fous gets the data from mlb.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.
What are today's scores and scheduled games?
Get scores returns scores and scheduled games for a date or up to seven days, optionally filtered by team.
How are teams ranked in a season?
Get standings returns regular-season division rankings and team records for a selected season.
What are a player's hitting and pitching stats?
Get player stats returns a player's profile and regular-season hitting and pitching statistics for a selected season and career.