Draft

View MLB Draft Prospects

get/api/v1/draft/prospects

Request

  • Base URL: https://statsapi.mlb.com
  • URL: https://statsapi.mlb.com/api/v1/draft/prospects
  • Auth: none declared

Path parameters

yearinteger required

Year the player was drafted. Format: 2000

Query parameters

limitinteger

Number of results to return

offsetinteger

The pointer to start for a return set; used for pagination

fieldsstring[]

Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute

order'ASC' | 'DESC'

The order of sorting, ascending or descending

sortBystring

Sort the set of data by the specified field

draftedboolean

Whether or not the players been drafted

roundstring

Round in which a player was drafted

namestring

Filter players by the first letter of their name using using the specific character

schoolstring

Filter players by the first letter of their school using using the specific character

position'PITCHER' | 'CATCHER' | 'FIRST_BASE' | 'SECOND_BASE' | 'THIRD_BASE' | 'SHORTSTOP' | 'LEFT_FIELD' | 'CENTER_FIELD' | 'RIGHT_FIELD' | 'DESIGNATED_HITTER' | 'PINCH_HITTER' | 'PINCH_RUNNER' | 'EXTRA_HITTER' | 'BASE_RUNNER' | 'OUTFIELD' | 'INFIELD' | 'STARTING_PITCHER' | 'RELIEF_PITCHER' | 'CLOSER' | 'UTLITY' | 'UTLITY_INFIELDER' | 'UTLITY_OUTFIELDER' | 'RIGHT_HANDED_PITCHER' | 'LEFT_HANDED_PITCHER' | 'RIGHT_HANDED_STARTER' | 'LEFT_HANDED_STARTER' | 'LEFT_HANDED_RELIEVER' | 'RIGHT_HANDED_RELIEVER' | 'TWO_WAY_PITCHER_INFIELDER' | 'TWO_WAY_PITCHER_OUTFIELDER' | 'TWO_WAY_PITCHER_UTILITY' | 'TWO_WAY_PLAYER' | 'BATTER' | 'UNKNOWN' | 'RUNNER_ON_FIRST' | 'RUNNER_ON_SECOND' | 'RUNNER_ON_THIRD'

Position number. Format: 1, 2, 3, etc

teamstring

Unique Team Code. Format: tor, nya, etc

teamIdinteger

Unique Team Identifier. Format: 141, 147, etc

statestring

State where the venue is located. Format: Ohio

countrystring

Filter players by their home country

playerIdinteger

A unique identifier for a player

bisPlayerIdinteger

A unique identifier for a player in the EBIS system

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.