zwift-data
    Preparing search index...

    Interface Route

    interface Route {
        distance: number;
        elevation: number;
        eventOnly: boolean;
        experience?: number;
        id?: number;
        lap: boolean;
        leadInDistance?: number;
        leadInDistanceFreeRide?: number;
        leadInDistanceMeetups?: number;
        leadInElevation?: number;
        leadInElevationFreeRide?: number;
        leadInElevationInMeetups?: number;
        levelLocked: boolean;
        name: string;
        segments: readonly string[];
        segmentsOnRoute: readonly { from: number; segment: string; to: number }[];
        slug: string;
        sports: readonly Sport[];
        stravaSegmentId?: number;
        stravaSegmentUrl?: string;
        supportsMeetups: boolean;
        supportsTT: boolean;
        whatsOnZwiftUrl?: string;
        world: WorldSlug;
        zwifterBikesUrl?: string;
        zwiftInsiderUrl?: string;
    }
    Index

    Properties

    distance: number

    Distance of the route in kilometers

    elevation: number

    Total elevation gain on the route in meters

    eventOnly: boolean

    true, if the route can not be selected in the start screen and can only be ridden in events

    experience?: number

    Experience points you gain when finishing the route

    id?: number

    Zwift internal route id. Optional as the id is not present for all routes

    lap: boolean

    true, if the route is a lap

    leadInDistance?: number

    Distance of the lead in

    leadInDistanceFreeRide?: number

    Distance of the lead in during free ride or meetups

    leadInDistanceMeetups?: number

    Distance of the lead in during meetups

    leadInElevation?: number

    Elevation gain of the lead in

    leadInElevationFreeRide?: number

    Elevation gain of the lead in during free ride or meetups

    leadInElevationInMeetups?: number

    Elevation gain of the lead in during meetups

    levelLocked: boolean

    true, if the route can only be ridden from a certain level

    name: string

    Name of the route

    segments: readonly string[]

    Segments on the route. Segments are listed only listed once if they appear multiple times.

    segmentsOnRoute: readonly { from: number; segment: string; to: number }[]

    Segments on the route sorted by appearance including exact position. Segments may occur multiple times if they are ridden multiple times.

    slug: string

    Unique url-safe string to reference the route

    sports: readonly Sport[]

    Types of sport that can complete this route

    stravaSegmentId?: number

    Id of the corresponding strava segment

    stravaSegmentUrl?: string

    Url of the corresponding strava segment

    supportsMeetups: boolean

    true, if the route is available for meetups

    supportsTT: boolean

    true, if the route supports time trial events

    whatsOnZwiftUrl?: string

    Url of the route on What's on Zwift

    world: WorldSlug

    The world the route is in

    zwifterBikesUrl?: string

    Url of the route on Zwifter Bikes

    zwiftInsiderUrl?: string

    Url of the Zwift insiders page