BaseballData API
Data
Coverage
MLB seasons held129MLB 2026 games2,469Postseason line scores40WBC and Premier12 games242Czech box scores1,430
See all coverage
DocsPricingStatus

Documentation/Players

GET /v1/players | Baseball Data API

Find people in the US majors and Negro Leagues by name: players, managers, coaches and umpires.
GEThttps://api.baseballapi.net/v1/players

Try it

Run calls the API with your key.
// The answer appears here.

Parameters

NameTypeWhat it does
name requiredstringone or more words; each must start the last name or a first name
pageintegerpage number, from 1
per_pageintegerpeople a page, 50 unless set, at most 200

Returns

FieldWhat it holds
idstring: the person's id (pl_...)
namestring or null: the name they were known by
last_namestring or null
rolesarray: role (player, coach, manager or umpire), first_game and last_game in that role

Example answer

A real answer, taken 2026-11-03.

{
    "data": [
        {
            "id": "pl_s4szxhb0",
            "name": "Caruthers",
            "last_name": "Caruthers",
            "roles": [
                {
                    "role": "player",
                    "first_game": "1935-06-16",
                    "last_game": "1935-06-16"
                }
            ]
        },
        {
            "id": "pl_rmk7pcmn",
            "name": "Bob Caruthers",
            "last_name": "Caruthers",
            "roles": [
                {
                    "role": "player",
                    "first_game": "1884-09-07",
                    "last_game": "1893-05-19"
                },
                {
                    "role": "manager",
                    "first_game": "1892-08-20",
                    "last_game": "1892-10-15"
                },
                {
                    "role": "umpire",
                    "first_game": "1886-05-10",
                    "last_game": "1903-07-04"
                }
            ]
        }
    ],
    "meta": {
        "count": 2,
        "page": 1,
        "per_page": 2,
        "total": 10,
        "total_pages": 5,
        "next_page": 2,
        "prev_page": null
    }
}

Errors

Every endpoint can answer unauthorized, unknown_parameter, rate_limited, quota_exceeded and server_error. See Errors.