Skip to main content
GET
/
v2
/
offers
/
schedule
Get schedule for a city pair on a date
curl --request GET \
  --url https://staging.api.prexsell.com/v2/offers/schedule
{
  "data": {
    "source": "PrexSell",
    "total": 7,
    "currency": "UAH",
    "passengers": 1,
    "departures": [
      {
        "id": "eyJ...",
        "company": {
          "id": "clco1",
          "name": "Ecolines",
          "slug": "ecolines",
          "logoUrl": "https://example.com/logo.png"
        },
        "departureDateTime": "2026-06-10T06:30:00+03:00",
        "arrivalDateTime": "2026-06-11T08:45:00+02:00",
        "travelTimeMinutes": 1575,
        "routeName": "ΠšΠΈΡ—Π² β€” Π’Π°Ρ€ΡˆΠ°Π²Π°",
        "price": {
          "amount": 1450,
          "currency": "UAH"
        },
        "seatsLeft": 22
      }
    ]
  }
}

Query Parameters

departureCitySlug
string
required

URL-friendly slug of the departure city.

Minimum string length: 1
Example:

"kyiv"

arrivalCitySlug
string
required

URL-friendly slug of the arrival city.

Minimum string length: 1
Example:

"warsaw"

date
string<date>
required

Travel date in ISO YYYY-MM-DD format.

Example:

"2026-06-10"

passengers
integer
default:1

Number of passengers (1–10).

Required range: 1 <= x <= 10
Example:

1

currency
enum<string>
default:UAH

Currency code for prices.

Available options:
UAH,
PLN,
CZK,
EUR,
USD
Example:

"UAH"

language
enum<string>
default:UK

Language code for city name translations.

Available options:
UK,
PL,
CS,
EN,
RU
Example:

"UK"

take
integer
default:50

Maximum number of departures to return (1–100).

Required range: 1 <= x <= 100
Example:

50

skip
integer | null
default:0

Number of departures to skip for offset pagination.

Required range: x >= 0
Example:

0

Response

Schedule of departures for the given city pair and date.

data
object
required