BlaBlaCar Bus API · JSON Structure

Blablacar Bus Api Ticket Structure

Electronic ticket for a passenger on a BlaBlaCar Bus trip

Type: object Properties: 9 Required: 3
BookingBusCoachEuropeMobilityTicketingTransportationTravel

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

Properties

ticket_id booking_id passenger_name departure_datetime from_station to_station seat_number status qr_code

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-ticket-structure.json",
  "name": "Ticket",
  "description": "Electronic ticket for a passenger on a BlaBlaCar Bus trip",
  "required": [
    "ticket_id",
    "booking_id",
    "passenger_name"
  ],
  "type": "object",
  "properties": {
    "ticket_id": {
      "description": "Unique ticket identifier",
      "type": "string",
      "example": "ticket-500123"
    },
    "booking_id": {
      "description": "Associated booking identifier",
      "type": "string",
      "example": "booking-500123"
    },
    "passenger_name": {
      "description": "Full name of the ticket holder",
      "type": "string",
      "example": "Jane Smith"
    },
    "departure_datetime": {
      "description": "Departure date and time",
      "type": "datetime",
      "example": "2025-06-15T07:00:00Z"
    },
    "from_station": {
      "description": "Departure station name",
      "type": "string",
      "example": "Paris Bercy"
    },
    "to_station": {
      "description": "Arrival station name",
      "type": "string",
      "example": "Lyon Perrache"
    },
    "seat_number": {
      "description": "Assigned seat number",
      "type": "string",
      "example": "14A"
    },
    "status": {
      "description": "Current ticket status",
      "enum": [
        "valid",
        "used",
        "cancelled"
      ],
      "type": "string",
      "example": "valid"
    },
    "qr_code": {
      "description": "Base64-encoded QR code image",
      "type": "string",
      "example": "data:image/png;base64,abc123"
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/blablacar-bus-api-ticket-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.