MLB Players

Query Parameters

ParameterTypeRequiredDescription
league_levelstringNoFilter by level (majors, minors, etc.).
namestringNoFilter by player name.

Attributes

Top-Level Fields

FieldTypeDescription
FreeAgentsarrayPlayers not currently rostered on any team
TeamsarrayArray of team objects

FreeAgents Object

FieldTypeDescription
IdintegerUnique RotoWire identifier
FirstNamestringPlayer's first name
LastNamestringPlayer's last name
PositionstringPlayer's eligible position(s) (e.g. SP, RP, CP, C, 1B, 2B, 3B, SS, LF, CF, RF, OF, DH)
LinkstringURL to the player's RotoWire profile page

Teams Object

FieldTypeDescription
IdintegerUnique RotoWire identifier
CodestringShort team code or abbreviation (e.g. NYY, LAL, NE)
NamestringFull name
NicknamestringTeam or player nickname
PlayersarrayArray of player objects

Players Object

FieldTypeDescription
IdintegerUnique RotoWire identifier
FirstNamestringPlayer's first name
LastNamestringPlayer's last name
PositionstringPlayer's eligible position(s) (e.g. SP, OF, QB, G, F)
LinkstringURL to the player's RotoWire profile page


Example Response

{"FreeAgents":[{"FirstName":"Fernando","LastName":"Abad","Position":"P","LeagueLevel":"FOREIGN","Minors":0,"Profile":{"Gender":"M","Birth":{"Date":"1985-12-17","City":"","State":"","Country":""}},"Link":"https://www.rotowire.com/baseball/player/fernando-abad-11285","Id":"11285"},{"FirstName":"Cory","LastName":"Abbott","Position":"P","LeagueLevel":"FREE AGENT","Minors":0,"Profile":{"Gender":"M","Birth":{"Date":"1995-09-20","City":"","State":"","Country":""}},"Link":"https://www.rotowire.com/baseball/player/cory-abbott-14996","Id":"14996"}],"Teams":[{"Name":"Arizona Diamondbacks","Nickname":"Diamondbacks","Players":[{"FirstName":"Philip","LastName":"Abner","Position":"P","LeagueLevel":"AAA","Minors":1,"Profile":{"Gender":"M","Birth":{"Date":"2002-05-05","City":"","State":"","Country":""}},"Link":"https://www.rotowire.com/baseball/player/philip-abner-17401","Id":"17401"},{"FirstName":"Jose","LastName":"Alpuria","Position":"OF","LeagueLevel":"ROOKIE","Minors":1,"Profile":{"Gender":"M","Birth":{"Date":"2005-02-12","City":"","State":"","Country":""}},"Link":"https://www.rotowire.com/baseball/player/jose-alpuria-19788","Id":"19788"}],"Id":"30","Code":"AZ"}]}
Query Params
string

Filter by level (majors, minors, etc.).

string

Filter by player name.

string
enum
required
Defaults to json

Response format. Always json.

Allowed:
Response

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json