> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /omio/stations

> Get details for an Omio station by its station page path. Returns the station id, name, type, address, coordinates, distance to the city centre, IATA code (airports), phone numbers, public transport connections, ticket office opening hours and a full facilities breakdown (wifi, ATMs, parking, taxi, toilets, accessibility, dining, luggage storage, shops, hotels, lounges, ticket and information desks, bike and car services and more) with descriptive details where available. The station path is the link returned by the route and journey endpoints, e.g. train-stations/spain/barcelona/barcelona-sants.

**Price:** 10 credits

**⚠️ Common errors:** 412: No station found for the given station page path



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/omio/stations
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/omio/stations:
    post:
      tags:
        - /omio
      summary: /omio/stations
      description: >-
        Get details for an Omio station by its station page path. Returns the
        station id, name, type, address, coordinates, distance to the city
        centre, IATA code (airports), phone numbers, public transport
        connections, ticket office opening hours and a full facilities breakdown
        (wifi, ATMs, parking, taxi, toilets, accessibility, dining, luggage
        storage, shops, hotels, lounges, ticket and information desks, bike and
        car services and more) with descriptive details where available. The
        station path is the link returned by the route and journey endpoints,
        e.g. train-stations/spain/barcelona/barcelona-sants.


        **Price:** 10 credits


        **⚠️ Common errors:** 412: No station found for the given station page
        path
      operationId: __api_omio_stations_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OmioStationsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OmioStation'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OmioStationsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        station:
          type: string
          minLength: 1
      type: object
      required:
        - station
    OmioStation:
      properties:
        '@type':
          type: string
          default: OmioStation
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        distance_to_center_km:
          anyOf:
            - type: integer
            - type: 'null'
        iata_code:
          anyOf:
            - type: string
            - type: 'null'
        phones:
          items:
            type: string
          type: array
          default: []
        public_transport_connections:
          items:
            type: string
          type: array
          default: []
        ticket_office_hours:
          items:
            type: string
          type: array
          default: []
        link:
          anyOf:
            - type: string
            - type: 'null'
        facilities:
          anyOf:
            - $ref: '#/components/schemas/OmioStationFacilities'
            - type: 'null'
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    OmioStationFacilities:
      properties:
        '@type':
          type: string
          default: OmioStationFacilities
        has_wifi:
          anyOf:
            - type: boolean
            - type: 'null'
        wifi:
          items:
            type: string
          type: array
          default: []
        has_atm:
          anyOf:
            - type: boolean
            - type: 'null'
        atm:
          items:
            type: string
          type: array
          default: []
        has_parking:
          anyOf:
            - type: boolean
            - type: 'null'
        parking:
          items:
            type: string
          type: array
          default: []
        has_taxi:
          anyOf:
            - type: boolean
            - type: 'null'
        has_toilet:
          anyOf:
            - type: boolean
            - type: 'null'
        has_accessibility:
          anyOf:
            - type: boolean
            - type: 'null'
        accessibility:
          items:
            type: string
          type: array
          default: []
        has_dining:
          anyOf:
            - type: boolean
            - type: 'null'
        dining:
          items:
            type: string
          type: array
          default: []
        has_luggage_storage:
          anyOf:
            - type: boolean
            - type: 'null'
        luggage_storage:
          items:
            type: string
          type: array
          default: []
        has_shopping:
          anyOf:
            - type: boolean
            - type: 'null'
        shopping:
          items:
            type: string
          type: array
          default: []
        has_hotel:
          anyOf:
            - type: boolean
            - type: 'null'
        hotel:
          items:
            type: string
          type: array
          default: []
        has_lounge:
          anyOf:
            - type: boolean
            - type: 'null'
        has_ticket_office:
          anyOf:
            - type: boolean
            - type: 'null'
        ticket_office:
          items:
            type: string
          type: array
          default: []
        has_information_desk:
          anyOf:
            - type: boolean
            - type: 'null'
        information_desk:
          items:
            type: string
          type: array
          default: []
        has_waiting_room:
          anyOf:
            - type: boolean
            - type: 'null'
        has_lost_and_found_office:
          anyOf:
            - type: boolean
            - type: 'null'
        has_businesses:
          anyOf:
            - type: boolean
            - type: 'null'
        businesses:
          items:
            type: string
          type: array
          default: []
        has_shower:
          anyOf:
            - type: boolean
            - type: 'null'
        has_bike_parking:
          anyOf:
            - type: boolean
            - type: 'null'
        has_bike_rental:
          anyOf:
            - type: boolean
            - type: 'null'
        has_car_rental:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````