# Fahrplan-Free API

> Fahrplan-Free API on Apizie: 4 endpoints (Get arrival board of a location, Get departure board of a location, Get details about a single journey, Get location information) returned as clean JSON through one API key. 4 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/transport:deutschebahn-fahrplan/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `transport:deutschebahn-fahrplan`
- Category: Transport
- Status: live
- Source: https://developer.deutschebahn.com/store/
- Page: https://zieapi.vercel.app/api/transport/deutschebahn-fahrplan
- OpenAPI: https://zieapi.vercel.app/api/transport/deutschebahn-fahrplan/openapi.json

A RESTful webservice to request a railway journey - FREE plan with restricted access (max. 10 requests per minute). Please ignore the message in the API Console about the access token. Register to use an less…

## Endpoints

### Get arrival board of a location
`GET https://zieapi.vercel.app/v1/transport:deutschebahn-fahrplan/get-arrival-board-id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Id of location. Use attribute 'id' from the result of 'location' |
| date | string | yes | Date and time in ISO-8601 format, yyyy-mm-ddThh:mm:ss, example: 2017-04-01 or 2017-04-01T10:30 |

### Get departure board of a location
`GET https://zieapi.vercel.app/v1/transport:deutschebahn-fahrplan/get-departure-board-id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Id of a location. Use attribute 'id' from the result of 'location' |
| date | string | yes | Date and time in ISO-8601 format, yyyy-mm-ddThh:mm:ss, example: 2017-04-01 or 2017-04-01T10:30 |

### Get details about a single journey
`GET https://zieapi.vercel.app/v1/transport:deutschebahn-fahrplan/get-journey-details-id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Id of a journey. Use attribute 'detailsId' from the result of 'arrivalBoard' or 'departureBoard' |

### Get location information
`GET https://zieapi.vercel.app/v1/transport:deutschebahn-fahrplan/get-location-name`

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Name or name fragment of a location |

## Example
```
curl "https://zieapi.vercel.app/v1/transport:deutschebahn-fahrplan/get-arrival-board-id" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Fahrplan-Free API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/transport:deutschebahn-fahrplan/get-arrival-board-id with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Fahrplan-Free 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 Fahrplan-Free 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 transport:deutschebahn-fahrplan.

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