Offers

When a city pair next departs

Returns the earliest upcoming departure for the given city pair inside the sales horizon (45 days), as an ISO 8601 datetime carrying the departure city's UTC offset, or null when nothing is scheduled. It is derived from the routes' recurrence rules, not from a full offer-engine pass, so it is cheap to ask on every render; use it to decide which date to ask /schedule for when the coming week is empty.

GEThttps://api.prexsell.com/v2/offers/next-departure

Query Parameters

  • departureCitySlugstringrequired

    Slug of the departure city.

    Minimum string length: 1

  • arrivalCitySlugstringrequired

    Slug of the arrival city.

    Minimum string length: 1

Response 200

application/json

The pair's next departure.

  • dataobjectrequired

Response 404

application/json

Standard error response body.

  • errorsobject[]required

When a city pair next departs

curl --request GET \
  --url 'https://api.prexsell.com/v2/offers/next-departure?departureCitySlug=kyiv&arrivalCitySlug=warsaw'

To test first, swap https://api.prexsell.com for https://staging.api.prexsell.com.

{
  "data": {
    "nextDepartureAt": "2026-06-24T09:10:00+03:00"
  }
}