# MLB API v5 is deprecated

Sportradar API deprecated /mlb/trial/v5*, /mlb/production/v5* without giving a shutdown date yet.

Sportradar deprecated the MLB API v5 without a shutdown date as part of efforts to simplify and modernize delivery infrastructure. This change affects calls to /mlb/trial/v5*. Affected requests will eventually fail.

## What to use instead

Move to the current MLB API version at /mlb/trial/v8/..., as Sportradar supports one current and two previous versions.

- API: Sportradar API (api.sportradar.com)
- Kind: Version retirement
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/mlb/trial/v5*`, `/mlb/production/v5*`
- Source: [Announcement](https://developer.sportradar.com/sportradar-updates/changelog/upcoming-deprecations-july-2025)
- Verified: November 6, 2026, against Sportradar API's own pages
- Page: https://www.okapi.bot/providers/sportradar-api/breaking-changes/mlb-api-v5-is-deprecated/

## Sportradar API's words

> As part of our ongoing efforts to simplify and modernize our delivery infrastructure, we will be deprecating the following API versions within the next 90 days.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
