APIs / Omio / Search

Omio: Search

Search from Omio as JSON. 1 credit per successful call.

GET /v1/omio/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
origin_idintegerRequiredAny
destination_idintegerRequiredAny
adultsintegerOptionalAny
childrenintegerOptionalAny
infantsintegerOptionalAny
travel_mode[]list of stringOptionaltrain, bus, flight
currencystringOptionalEUR, USD, GBP, CHF, PLN, CZK, SEK, NOK, DKK, HUF, RON
datestringRequiredAny
sortstringOptionalsmart, price, duration, departure, arrival
limitintegerOptionalAny
pageintegerOptionalAny

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/omio/search" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.