Fares
Compare the best saved fares across dates
Returns the latest comparable saved fare evidence across a requested date range, including unavailable dates and freshness metadata.
get/v1/fares/best
Request
- Base URL: https://sweetsaverfare.com
- URL: https://sweetsaverfare.com/v1/fares/best
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://sweetsaverfare.com/oauth/auth, token URL https://sweetsaverfare.com/oauth/token, scopes: fares:read)
Query parameters
route_id'TSA_SWB' | 'SWB_TSA' | 'TSA_DUK' | 'DUK_TSA' | 'TSA_NAN' | 'HSB_NAN' | 'NAN_HSB' | 'SWB_FUL' | 'FUL_SWB' | 'HSB_LNG' | 'LNG_HSB' | 'ERL_SLT' | 'SLT_ERL' | 'CMX_PWR' | 'PWR_CMX' required
Supported Sweet Saver Fare route identifier.
profile_id'ADULT_NO_VEHICLE' | 'ADULT_STANDARD_VEHICLE' | 'ADULT_OVERHEIGHT_VEHICLE' required
Traveller and vehicle profile used for comparable fare evidence.
fromstring date required
First travel date to compare, in YYYY-MM-DD format.
tostring date required
Last travel date to compare, in YYYY-MM-DD format.
passenger'ADULT' | 'SENIOR_65_PLUS' | 'CHILD_0_4' | 'CHILD_5_11'
Optional passenger fare rule used for the fare calculation.
Response
Best fares
Changes
No recorded changes to this operation across all 1 revision of this API.