BlaBlaCar Bus API · Schema

Route

A coach route between two stations in the BlaBlaCar Bus network

BookingBusesCoachEuropeMobilityTicketingTransportationTravel

Properties

Name Type Description
id string Unique route identifier
from_station_id string Origin station identifier
to_station_id string Destination station identifier
duration_minutes integer Typical route duration in minutes
distance_km integer Route distance in kilometers
View JSON Schema on GitHub

JSON Schema

blablacar-bus-api-route-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blablacar-bus-api/refs/heads/main/json-schema/blablacar-bus-api-route-schema.json",
  "title": "Route",
  "description": "A coach route between two stations in the BlaBlaCar Bus network",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique route identifier",
      "example": "route-paris-lyon"
    },
    "from_station_id": {
      "type": "string",
      "description": "Origin station identifier",
      "example": "FRTLS"
    },
    "to_station_id": {
      "type": "string",
      "description": "Destination station identifier",
      "example": "FRLYO"
    },
    "duration_minutes": {
      "type": "integer",
      "description": "Typical route duration in minutes",
      "example": 180
    },
    "distance_km": {
      "type": "integer",
      "description": "Route distance in kilometers",
      "example": 465
    }
  },
  "required": [
    "id",
    "from_station_id",
    "to_station_id"
  ]
}