# iRail (Belgian railways) API

> iRail (Belgian railways) API on Apizie: 2 endpoints (Connections, Liveboard) returned as clean JSON through one API key. 2 endpoints are live now. Call it over REST at https://apizie.tech/v1/transport:irail/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `transport:irail`
- Category: Transport
- Status: live
- Source: https://docs.irail.be
- Page: https://apizie.tech/api/transport/irail
- OpenAPI: https://apizie.tech/api/transport/irail/openapi.json

Belgian train connections, liveboards and stations.

## Endpoints

### Connections
`GET https://apizie.tech/v1/transport:irail/connections`

| Parameter | Type | Required | Description |
|---|---|---|---|
| from | string | yes |  |
| to | string | yes |  |

### Liveboard
`GET https://apizie.tech/v1/transport:irail/liveboard`

| Parameter | Type | Required | Description |
|---|---|---|---|
| station | string | yes |  |

## Example
```
curl "https://apizie.tech/v1/transport:irail/connections" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the iRail (Belgian railways) API?
Create a free Apizie key, then send GET https://apizie.tech/v1/transport:irail/connections with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the iRail (Belgian railways) 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 iRail (Belgian railways) 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 transport:irail.

### What is the status of the iRail (Belgian railways) API?
Live: works with just an Apizie key
