Fares
Read saved price history for a travel date
Returns the same saved price history as sailing-fare responses, without loading sailing status or alternative evidence. Include observation times and fare qualifications when quoting historical prices.
get/v1/fares/history
Request
- Base URL: https://sweetsaverfare.com
- URL: https://sweetsaverfare.com/v1/fares/history
- 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.
travel_datestring date required
Travel date in YYYY-MM-DD format.
departure_timestring
Optional departure time in 24-hour HH:MM format.
passenger'ADULT' | 'SENIOR_65_PLUS' | 'CHILD_0_4' | 'CHILD_5_11'
Optional passenger fare rule used for the fare calculation.
Response
Saved price history
Changes
No recorded changes to this operation across all 1 revision of this API.