# OpenF1 API

> OpenF1 API on Apizie: 3 endpoints (Sessions, Drivers, Positions) returned as clean JSON through one API key. 3 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/entertainment:openf1/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `entertainment:openf1`
- Category: Entertainment
- Status: live
- Source: https://openf1.org
- Page: https://zieapi.vercel.app/api/entertainment/openf1
- OpenAPI: https://zieapi.vercel.app/api/entertainment/openf1/openapi.json

Live and historical Formula 1 timing: sessions, drivers, laps and positions.

## Endpoints

### Sessions
`GET https://zieapi.vercel.app/v1/entertainment:openf1/sessions`

| Parameter | Type | Required | Description |
|---|---|---|---|
| year | integer | no |  |
| country | string | no |  |
| sessionName | string | no |  |

### Drivers
`GET https://zieapi.vercel.app/v1/entertainment:openf1/drivers`

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

### Positions
`GET https://zieapi.vercel.app/v1/entertainment:openf1/positions`

| Parameter | Type | Required | Description |
|---|---|---|---|
| sessionKey | string | no |  |
| driverNumber | integer | no |  |

## Example
```
curl "https://zieapi.vercel.app/v1/entertainment:openf1/sessions" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the OpenF1 API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/entertainment:openf1/sessions with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the OpenF1 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 OpenF1 API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key entertainment:openf1.

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