search-help
If you have a ticket with an open date: Use the button to set the date for the return trip.

API methods

Method: routes ( Flight schedule between cities )

countrycitystationdiscountroutes_dayroutesorder_neworder_confirmorder_cancelorder_ticket_returnorder_ticket_cancelorder_restoreorder_infoorder_stat
Returns accessible flights between the selected cities on a set date.
For the work with this method the API access key is required.

For example:


Acceptable parameters:

KeyTypeDescription
keycharAPI access key
fromintId of city of departure
tointId of city of arrival
crccharUnits of money ( eur, uah, auto – default route value )
dateDD-MM-YYYYDate (ISO 8601)

Return values:

KeyTypeDescription
idcharUnique identifier ( id ) of flight
buscharBus
placesintNumber of seats
freeintNumber of free seats
pricedoublePrice of tickets
currencycharUnits of money ( EUR, UAH, PLN )
transferbooleanTransfer ( 1 - yes, 0 - no )
departurearrayDeparture
KeyTypeDescription
city_idintId of city
citycharName of city
namecharBus terminal
station_idcharBus terminal Id
timeDD.MM.YYYY hh:mmTime of departure (ISO 8601)
stoppingarrayBus terminal
KeyTypeDescription
city_idintId of city
citycharName of city
namecharBus terminal
station_idcharBus terminal Id
time_inDD.MM.YYYY hh:mmTime of arrival (ISO 8601)
time_outDD.MM.YYYY hh:mmTime of departure (ISO 8601)
transferintТочка пересадки ( 1 - Да, 0 - Нет )
arrivalarrayArrival
KeyTypeDescription
city_idintId of city
citycharName of city
namecharBus terminal
station_idcharBus terminal Id
timeDD.MM.YYYY hh:mmTime of arrival (ISO 8601)
errorintCode of error ( 0 – no error, 1 – incorrect API access key, 101 – between the selected cities on a set date the bus trip is not found, 102 – incorrect Id of city, 103 – the date is not specified, 104 – the date does not correspond with the format or is less than the current date + 1 day )


Our contacts