Endpoint Playground
Returns a team's players, jersey numbers, positions, and roster status. The roster_type parameter accepts every value in the live MLB value set returned by mlb_discovery.
14 Oct 2026: 40 players; 5 fields had a value in every checked item.
Sample value profiles: position: Pitcher (20), Outfielder (7), Catcher (3) and 5 more; jersey_number: 11 to 99, median 40.
curl 'https://api.crawlora.net/api/v1/mlb/team-roster?team_id=147&roster_type=40Man' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| team_id | string | Yes | 147 | Numeric MLB team id |
| season | integer | No | Four-digit season; defaults to current year | |
| roster_type | string | No | 40Man | Roster type |
{
"code": 200,
"msg": "OK",
"data": {
"team_id": 147,
"season": 2026,
"roster_type": "active",
"count": 26,
"players": [
{
"person": {
"id": 592450,
"name": "Aaron Judge"
},
"jersey_number": "99",
"position": "Right Field"
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.