Switch to dark mode

Blueprints / Curated routes

A Blueprint is a journey itinerary that you define once and reuse. Blueprints suit tour operators and travel agents who sell the same journeys again and again, for example as part of a package with accommodation.

A Blueprint fixes:

  • The train routes and departure times
  • The stopovers (overnight stays or longer connections)

When a customer wants to book, you use the Blueprint to get tickets for exactly that itinerary, instead of searching for journeys each time.

Creating Blueprints

Blueprints are created in the Dashboard, not through the API. A Blueprint can be a short connection from one place to another, or a longer journey with several legs and overnight stopovers.

Once created, a Blueprint can be booked manually in the Dashboard or fetched through the API. Contact team@allaboard.eu to get access to the Dashboard, or for help with your first Blueprints.

Finding Blueprint journeys

When searching for journeys, filter on the BLUEPRINT type to get only BlueprintJourney results. You can search any origin and destination this way, to see whether there is a Blueprint between them.

Origin and destination have to match

A BlueprintJourney is only returned when its origin and destination are an exact match for the ones you search for.

Example: Get all Blueprints from Copenhagen to Prague

graphql
query BlueprintJourneys {
  journeys(
    origin: { uid: "jOYDyOgW" }
    destination: { uid: "5BZEWWng" }
    date: "2026-12-23"
    filter: { types: [BLUEPRINT] }
  ) {
    id
    status
    itinerary {
      ... on SegmentCollection {
        segments {
          departureAt
          identifier
        }
      }
    }
  }
}

Getting a specific Blueprint

If you know which Blueprint you want, get it by its id with getJourneyForBlueprint. To find the id, open the route under Curated Routes in the Dashboard and use Copy route ID at the top of the page.

Example: Get Blueprint by id

graphql
query GetBlueprintJourney {
  getJourneyForBlueprint(
    blueprint: "7ad8f9a4-b406-4417-b203-9152b0dc2957"
    date: "2026-12-23"
  ) {
    id
    status
    itinerary {
      ... on SegmentCollection {
        segments {
          departureAt
          identifier
        }
      }
    }
  }
}

Booking a Blueprint journey

Once you have the journey, book it like any other journey: get offers for it and continue with Booking Tickets.