Menu
API (v3)
Services
- Destinations
- Locations
- Routes
- Service Advisories
- Statuses
- Stop Features
- Stop Schedules
- Stops
- Streets
- System Messages
- Trip Planner
- Variants
Other versions
Variants API
A variant is a variation of a route, distinguished by its intermediate destination points.
Valid URL Parameters
name | Matches variants with the given name. |
---|---|
stop | Only return variants which service the stop identified by the given stop number. |
stops | A comma-delimited list of stop numbers. Don't include this if stop has been specified. |
usage |
The style of names to return.
|
---|
Examples
Login to see sample results.
Identity
- variants/17-1-G
- variants/16-1-K?usage=long
- variants/1
- variants/invalid
Filter
- variants?stop=10064
- variants?stops=10064,10065
- variants?name=osbo
- variants?stop=10064&stops=10065,10066
Wildcard
- variants:16
- variants:16-1
- variants:16-1-K
- variants:osb
- variants:
Explore the API
Login to explore the Variants API.
Noteworthy Results
key | A unique identifier for this variant. |
---|---|
name | The variant name. See the usage parameter for formatting options. |
destinations | An xlink to the destinations service for this variant. |