BlaBlaCar Bus API · JSON Structure

Blablacar Bus Api Trip Structure

A specific coach departure on a route with pricing and availability

Type: object Properties: 6 Required: 3
BookingBusesCoachEuropeMobilityTicketingTransportationTravel

Trip is a JSON Structure definition published by BlaBlaCar Bus API, describing 6 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id route_id departure_datetime arrival_datetime available_seats price

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blablacar-bus-api/refs/heads/main/json-structure/blablacar-bus-api-trip-structure.json",
  "name": "Trip",
  "description": "A specific coach departure on a route with pricing and availability",
  "required": [
    "id",
    "route_id",
    "departure_datetime"
  ],
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique trip identifier",
      "type": "string",
      "example": "trip-500123"
    },
    "route_id": {
      "description": "Associated route identifier",
      "type": "string",
      "example": "route-paris-lyon"
    },
    "departure_datetime": {
      "description": "Departure date and time",
      "type": "datetime",
      "example": "2025-06-15T07:00:00Z"
    },
    "arrival_datetime": {
      "description": "Arrival date and time",
      "type": "datetime",
      "example": "2025-06-15T10:00:00Z"
    },
    "available_seats": {
      "description": "Number of seats currently available",
      "type": "int32",
      "example": 24
    },
    "price": {
      "description": "Price with amount and currency",
      "type": "object",
      "properties": {
        "amount": {
          "type": "int32",
          "example": 1299
        },
        "currency": {
          "type": "string",
          "example": "EUR"
        }
      }
    }
  }
}