GET/api/v1/jobs/{jobType}
Jobs
People holding a job type (umpires, datacasters, …).
On this page
Try it
https://statsapi.mlb.com/api/v1/jobs/umpires?sportId=1const 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
| Name | Type | Required | Description |
|---|---|---|---|
jobType | string | yes | Job type, e.g. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
sportId | number | no | Sport id. |
date | date | no | 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
/rosterand/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