GET/api/v1/transactions
Transactions
Roster moves over a date range.
On this page
Try it
https://statsapi.mlb.com/api/v1/transactions?teamId=119&startDate=2026-06-01&endDate=2026-06-29const 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
| Name | Type | Required | Description |
|---|---|---|---|
teamId | number | no | Restrict to a team. |
playerId | number | no | Restrict to a player. |
startDate | date | no | Range start, |
endDate | date | no | Range end, |
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