Operator Logos ​

We provide high-quality and up to date names and logos for our inventory. Journeys state the train operator, and in many cases also a train service brand, such as DB's ICE or Renfe's AVE.

We provide these assets in both vector and bitmap formats, as well as in both light mode and dark mode versions. They are correctly sized, by design, to match in size with each other.

Using logos ​

See the image field on Operator and on ServiceBrand. An operator appears on the Segment both on timetable journeys and on a priced journeyOffer, as well as on its parts, booked offer parts, and the segments of a JourneyOrderItem on an order.

image returns a FileResource: the logo url, its MIME type, and a name to use as alt text.

  • Please use the URL directly and don't build your own version. The URL is stable and safe to cache.
  • The logos have different widths, but always the same height. Use a fixed height in your layouts.
  • If a logo returns null, show its name instead.

Formats ​

Pass in a specific format, defaulting to svg. Supported formats are: svg, png, webp, avif and jpg.

Light and dark versions ​

To show a logo created for use in dark mode, pass in variant: DARK_MODE. The default is LIGHT_MODE.

LIGHT_MODE
  • DB
  • SJ
  • Vy
  • ICE
DARK_MODE
  • DB
  • SJ
  • Vy
  • ICE
Example: Both logo versions for the operator and brand of each segment
graphql
query Journeys {
  journeys(
    origin: { uid: "TfjI48oe" }
    destination: { uid: "MeUscqzG" }
    date: "2026-11-05"
  ) {
    id
    itinerary {
      ... on SegmentCollection {
        segments {
          operator {
            name
            image {
              url
            }
            darkMode: image(variant: DARK_MODE) {
              url
            }
          }
          serviceBrand {
            name
            image(format: "png") {
              url
            }
            darkMode: image(format: "png", variant: DARK_MODE) {
              url
            }
          }
        }
      }
    }
  }
}
query Journeys {
  journeys(
    origin: { uid: "TfjI48oe" }
    destination: { uid: "MeUscqzG" }
    date: "2026-11-05"
  ) {
    id
    itinerary {
      ... on SegmentCollection {
        segments {
          operator {
            name
            image {
              url
            }
            darkMode: image(variant: DARK_MODE) {
              url
            }
          }
          serviceBrand {
            name
            image(format: "png") {
              url
            }
            darkMode: image(format: "png", variant: DARK_MODE) {
              url
            }
          }
        }
      }
    }
  }
}
json
{
  "data": {
    "journeys": [
      {
        "id": "add0a1e0-cc6f-4df5-adbe-1b1b9bae176b",
        "itinerary": [
          {
            "segments": [
              {
                "operator": {
                  "name": "Deutsche Bahn",
                  "image": {
                    "url": "https://assets.allaboard.eu/image/operator/db.svg"
                  },
                  "darkMode": {
                    "url": "https://assets.allaboard.eu/image/operator/db.dark.svg"
                  }
                },
                "serviceBrand": {
                  "name": "InterCity Express",
                  "image": {
                    "url": "https://assets.allaboard.eu/image/service_brand/db_intercity-express.png"
                  },
                  "darkMode": {
                    "url": "https://assets.allaboard.eu/image/service_brand/db_intercity-express.dark.png"
                  }
                }
              }
            ]
          }
        ]
      }
    ]
  }
}
{
  "data": {
    "journeys": [
      {
        "id": "5595aa7d-b0b3-4f0d-ac8e-762b8a4b0ddd",
        "itinerary": [
          {
            "segments": [
              {
                "operator": {
                  "name": "Deutsche Bahn",
                  "image": {
                    "url": "https://assets.allaboard.eu/image/operator/db.svg"
                  },
                  "darkMode": {
                    "url": "https://assets.allaboard.eu/image/operator/db.dark.svg"
                  }
                },
                "serviceBrand": {
                  "name": "InterCity Express",
                  "image": {
                    "url": "https://assets.allaboard.eu/image/service_brand/db_intercity-express.png"
                  },
                  "darkMode": {
                    "url": "https://assets.allaboard.eu/image/service_brand/db_intercity-express.dark.png"
                  }
                }
              }
            ]
          }
        ]
      }
    ]
  }
}