# MLB Stats API

> MLB Stats API on Apizie: 3 endpoints (Schedule, Teams, Standings) returned as clean JSON through one API key. 3 endpoints are live now. Call it over REST at https://apizie.tech/v1/entertainment:mlb-stats/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `entertainment:mlb-stats`
- Category: Entertainment
- Status: live
- Source: https://statsapi.mlb.com
- Page: https://apizie.tech/api/entertainment/mlb-stats
- OpenAPI: https://apizie.tech/api/entertainment/mlb-stats/openapi.json

Major League Baseball schedules, scores, teams and standings.

## Endpoints

### Schedule
`GET https://apizie.tech/v1/entertainment:mlb-stats/schedule`

| Parameter | Type | Required | Description |
|---|---|---|---|
| date | string | no |  |

### Teams
`GET https://apizie.tech/v1/entertainment:mlb-stats/teams`

| Parameter | Type | Required | Description |
|---|---|---|---|
| season | integer | no |  |

### Standings
`GET https://apizie.tech/v1/entertainment:mlb-stats/standings`

| Parameter | Type | Required | Description |
|---|---|---|---|
| season | integer | no |  |
| leagueId | string | no |  |

## Example
```
curl "https://apizie.tech/v1/entertainment:mlb-stats/schedule" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the MLB Stats API?
Create a free Apizie key, then send GET https://apizie.tech/v1/entertainment:mlb-stats/schedule with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the MLB Stats API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the MLB Stats API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key entertainment:mlb-stats.

### What is the status of the MLB Stats API?
Live: works with just an Apizie key
