# FlixBus Station Detail API Documentation

<p><strong>FlixBus Station Detail API Documentation</strong> Get one station by id: name, slug, street address, zip code, country, train flag and the owning city with both id formats.</p>

- **Documentation:** [https://scrappa.co/docs/flixbus-api/flixbus_station](https://scrappa.co/docs/flixbus-api/flixbus_station)
- **API group:** FlixBus API
- **Endpoint:** `GET https://scrappa.co/api/flixbus/station`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `station_id` | string | Yes | Station UUID from the stations endpoint. Example: dcbc32c3-9603-11e6-9066-549f350fcb0c. |

## Example response

```json
{
    "data": {
        "station": {
            "id": "dcbc32c3-9603-11e6-9066-549f350fcb0c",
            "city": {
                "id": "40d8f682-8646-11e6-9066-549f350fcb0c",
                "name": "Berlin",
                "slug": "berlin",
                "legacy_id": 88
            },
            "name": "Berlin Alexanderplatz",
            "slug": "berlin-alexanderplatz",
            "address": "Alexanderstra\u00dfe 3",
            "country": {
                "code": "DE",
                "name": "Germany"
            },
            "zipcode": "10178",
            "is_train": false,
            "legacy_id": 1224
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "station_detail"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required query parameter is missing or invalid. This response is not billable. |
| 404 | Resource Not Found | The station id is unknown. This response is not billable. |
| 503 | Service Unavailable | FlixBus could not be reached or answered with an unexpected shape. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
