MLB Stats API Docs

Type to search endpoints by name, path, or keyword.

GET/api/v1/transactions

Transactions

Roster moves over a date range.

On this page

Try it

Query
https://statsapi.mlb.com/api/v1/transactions?teamId=119&startDate=2026-06-01&endDate=2026-06-29
const res = await fetch('https://statsapi.mlb.com/api/v1/transactions?teamId=119&startDate=2026-06-01&endDate=2026-06-29')
const data = await res.json()
curl -s 'https://statsapi.mlb.com/api/v1/transactions?teamId=119&startDate=2026-06-01&endDate=2026-06-29'

Reference

Query parameters

NameTypeRequiredDescription
teamIdnumberno

Restrict to a team.

playerIdnumberno

Restrict to a player.

startDatedateno

Range start, YYYY-MM-DD.

endDatedateno

Range end, YYYY-MM-DD.

Response

Type: TransactionsResponse

/** `GET /api/v1/transactions` */
export interface TransactionsResponse extends WithCopyright {
	transactions: Transaction[]
}

Build with it

Live examples powered by this endpoint with real data. Inspiration — restyle and remix freely.

Transactions feed

A dated feed of league-wide roster moves over the last 10 days.

Loading transactions…

Example URLs

  • Dodgers transactions this month: https://statsapi.mlb.com/api/v1/transactions?teamId=119&startDate=2026-06-01&endDate=2026-06-29