Transactions

View transaction info

This endpoint allows you to pull transactions.

get/api/v1/transactions

Request

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

Query parameters

leagueIdinteger[]

Comma delimited list of Unique league identifiers

sportIdinteger[]

Comma delimited list of top level organizations of a sport

teamIdinteger[]

Comma delimited list of Unique Team identifiers

playerIdinteger[]

A unique identifier for a player

datestring date

Date of Game. Format: YYYY-MM-DD

startDatestring date

Start date for range of data (must be used with end date). Format: MM/DD/YYYY

endDatestring date

End date for range of data (must be used with start date). Format: MM/DD/YYYY

transactionIdsinteger[]
transactionTypesstring[]
divisionIdsinteger[]
order'ASC' | 'DESC'
limitinteger
fieldsstring[]

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

Response

OK

Changes

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