# balldontlie API

> balldontlie API on Apizie: 7 endpoints (all games (example parameters), specific game, all players (search), specific player, …) returned as clean JSON through one API key. 7 endpoints are live now. Call it over REST at https://www.apizie.tech/v1/open-data:balldontlie/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:balldontlie`
- Category: Open Data
- Status: live
- Source: https://balldontlie.io
- Page: https://www.apizie.tech/api/open-data/balldontlie
- OpenAPI: https://www.apizie.tech/api/open-data/balldontlie/openapi.json



## Endpoints

### all games (example parameters)
`GET https://www.apizie.tech/v1/open-data:balldontlie/all-games-example-parameters`

| Parameter | Type | Required | Description |
|---|---|---|---|
| seasons[] | string | no |  |
| team_ids[] | string | no |  |

### specific game
`GET https://www.apizie.tech/v1/open-data:balldontlie/specific-game`

### all players (search)
`GET https://www.apizie.tech/v1/open-data:balldontlie/all-players-search`

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

### specific player
`GET https://www.apizie.tech/v1/open-data:balldontlie/specific-player`

### all stats (example parameters)
`GET https://www.apizie.tech/v1/open-data:balldontlie/all-stats-example-parameters`

| Parameter | Type | Required | Description |
|---|---|---|---|
| season[] | string | no |  |
| player_ids[] | string | no |  |

### all teams
`GET https://www.apizie.tech/v1/open-data:balldontlie/all-teams`

### specific team
`GET https://www.apizie.tech/v1/open-data:balldontlie/specific-team`

## Example
```
curl "https://www.apizie.tech/v1/open-data:balldontlie/all-games-example-parameters" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the balldontlie API?
Create a free Apizie key, then send GET https://www.apizie.tech/v1/open-data:balldontlie/all-games-example-parameters with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the balldontlie 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 balldontlie API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:balldontlie.

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