MLB Stats API Docs

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

GET/api/v1/jobs/{jobType}

Jobs

People holding a job type (umpires, datacasters, …).

On this page

Try it

Path
Query
https://statsapi.mlb.com/api/v1/jobs/umpires?sportId=1
const res = await fetch('https://statsapi.mlb.com/api/v1/jobs/umpires?sportId=1')
const data = await res.json()
curl -s 'https://statsapi.mlb.com/api/v1/jobs/umpires?sportId=1'

Reference

Path parameters

NameTypeRequiredDescription
jobTypestringyes

Job type, e.g. umpires, datacasters, officialScorers.

Query parameters

NameTypeRequiredDescription
sportIdnumberno

Sport id. 1 is MLB.

datedateno

As of a specific day.

Response

Type: RosterResponse

/** Shared roster wrapper for `/roster`, `/coaches`, and `/jobs/{jobType}`. */
export interface RosterResponse extends WithCopyright {
	roster: RosterEntry[]
	link: string
	teamId?: number
	rosterType?: string
}

Notes

  • Shares the roster wrapper used by team /roster and /coaches.

Build with it

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

Umpire directory

People holding a job type (here, umpires) as a headshot grid.

Loading umpires…

Example URLs

  • Umpires: https://statsapi.mlb.com/api/v1/jobs/umpires?sportId=1