Fantasy Baseball API Documentation

Auction Values

Retrieve fantasy baseball auction values for the current season

Endpoint:
https://api.fantasynerds.com/v1/mlb/auction?apikey=TEST&budget=

Variable Value Description
apikey Your API Key
budget The league budget.

Default integer value if not passed: 260

Depth Charts

Retrieve the current depth charts for all MLB teams

Endpoint:
https://api.fantasynerds.com/v1/mlb/depth?apikey=TEST

Variable Value Description
apikey Your API Key

Draft Projections

Retrieve draft projections for the upcoming season

Endpoint:
https://api.fantasynerds.com/v1/mlb/draft-projections?apikey=TEST

Variable Value Description
apikey Your API Key

Draft Rankings

Retrieve draft rankings for the current MLB season

Endpoint:
https://api.fantasynerds.com/v1/mlb/draft-rankings?apikey=TEST

Variable Value Description
apikey Your API Key

Lineups

Retrieve the confirmed/expected lineups for a given date. If no date passed, the current date will be retrieved.

Endpoint:
https://api.fantasynerds.com/v1/mlb/lineups?apikey=TEST&date=

Variable Value Description
apikey Your API Key
date Retrieve lineups for a specific date in YYYY-MM-DD format.

Leave empty to retrieve the current day.

You can pass tomorrow's date to get anticipate lineups if known.

MLB Teams

Retrieve list of all MLB teams

Endpoint:
https://api.fantasynerds.com/v1/mlb/teams?apikey=TEST

Variable Value Description
apikey Your API Key

News

Retrieve current player and team news along with fantasy analysis from around the industry.

Endpoint:
https://api.fantasynerds.com/v1/mlb/news?apikey=TEST

Variable Value Description
apikey Your API Key

Player Rater

In-season fantasy baseball rankings

Endpoint:
https://api.fantasynerds.com/v1/mlb/player-rater?apikey=TEST

Variable Value Description
apikey Your API Key

Players

Retrieve list of currently active MLB players.

Endpoint:
https://api.fantasynerds.com/v1/mlb/players?apikey=TEST&inactive=

Variable Value Description
apikey Your API Key
inactive OPTIONAL: To retrieve all players regardless of active status, send the additional variable of "inactive" set to 1.

Schedule

Get the current MLB season schedule including scores and game winners

Endpoint:
https://api.fantasynerds.com/v1/mlb/schedule?apikey=TEST

Variable Value Description
apikey Your API Key

Weather

Retrieve the weather forecasts for today's games

Endpoint:
https://api.fantasynerds.com/v1/mlb/weather?apikey=TEST

Variable Value Description
apikey Your API Key