Using Blueprints
Finding Blueprints
When searching for journeys you can apply a filter to only look for results of the type BlueprintJourney
. This allows you to use any combination of origin
and destination
to see if there's a matching Blueprint available.
Origin and destination have to match
Only an exact match of origin and destination will yield a BlueprintJourney
result.
Example: Get all Blueprints from Copenhagen to Prague
graphql
query GetBlueprintJourneys {
getJourneys(
origin: "jOYDyOgW"
destination: "5BZEWWng"
date: "2025-09-04"
filter: { type: [BLUEPRINT] }
) {
id
status
itinerary {
... on SegmentCollection {
segments {
departureAt
identifier
}
}
}
}
}
query GetBlueprintJourneys {
getJourneys(
origin: "jOYDyOgW"
destination: "5BZEWWng"
date: "2025-09-04"
filter: { type: [BLUEPRINT] }
) {
id
status
itinerary {
... on SegmentCollection {
segments {
departureAt
identifier
}
}
}
}
}
Get Specific Blueprint
If you know beforehand the exact Blueprint you are looking for, you can get it directly by its id
using getJourneyForBlueprint
.
Example: Get Blueprint by id
graphql
query GetBlueprintJourney {
getJourneyForBlueprint(
blueprint: "521a9e15-54d2-48db-aced-7a2e2a50fd76"
date: "2025-09-04"
) {
id
status
itinerary {
... on SegmentCollection {
segments {
departureAt
identifier
}
}
}
}
}
query GetBlueprintJourney {
getJourneyForBlueprint(
blueprint: "06482be4-824e-4195-acee-d7f65cf4b3a6"
date: "2025-09-04"
) {
id
status
itinerary {
... on SegmentCollection {
segments {
departureAt
identifier
}
}
}
}
}