# Stationsdatenbereitstellung API

> Stationsdatenbereitstellung API on Apizie: 4 endpoints (This operation provides the master data for german railway stations., This operation provides the master data for a german railway station selected by its station-id., This operation provides the master data for 3-S-Zentralen., This operation provides the master data for 3-S-Zentralen select by its id.) 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-stada/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

An API providing master data for German railway stations by DB Station&Service AG.

## Endpoints

### This operation provides the master data for german railway stations.
`GET https://zieapi.vercel.app/v1/transport:deutschebahn-stada/get-stations`

| Parameter | Type | Required | Description |
|---|---|---|---|
| offset | integer | no | Offset of the first hit returned in the QueryResult object with respect to all hits returned by the query. If this parameter is omitted,… |
| limit | integer | no | The maximum number of hits to be returned by that query. If 'limit' is set greater than 10000, it will be reset to 10000 internally and… |
| searchstring | string | no | String to search for a station name. The wildcards * (indicating an arbitrary number of characters) and ? (indicating one single… |
| category | string | no | Filter by station category. Category ranges are supported as well as lists of categories (e.g. category=2-4 or category=1,3-5). The… |
| federalstate | string | no | Filter by German federal state. Lists of federal states are also supported (e.g. federalstate=bayern,hamburg). Wildcards are not allowed… |
| eva | integer | no | Filter by EVA number. Wildcards are not allowed here. |
| ril | string | no | Filter by Ril100-identifier. Wildcards are not allowed here. |
| logicaloperator | string | no | Logical operator to combine query parameters (default=AND). See above for further details. Allowed values: or, and |

### This operation provides the master data for a german railway station selected by its station-id.
`GET https://zieapi.vercel.app/v1/transport:deutschebahn-stada/get-stations-id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | integer | yes | Station ID (Bahnhofsnummer) |

### This operation provides the master data for 3-S-Zentralen.
`GET https://zieapi.vercel.app/v1/transport:deutschebahn-stada/get-szentralen`

| Parameter | Type | Required | Description |
|---|---|---|---|
| offset | integer | no | Offset of the first hit returned in the QueryResult object with respect to all hits returned by the query. If this parameter is omitted,… |
| limit | integer | no | The maximum number of hits to be returned by that query. If 'limit' is set greater than 10000, it will be reset to 10000 internally and… |

### This operation provides the master data for 3-S-Zentralen select by its id.
`GET https://zieapi.vercel.app/v1/transport:deutschebahn-stada/get-szentralen-id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | integer | yes | id of the 3-S-Zentrale. |

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

## FAQ

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

### Is the Stationsdatenbereitstellung 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 Stationsdatenbereitstellung 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-stada.

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