1 credit per call6 endpoints20 datapointsChecked working 6 Dec 2026
Omio API
Omio API for trip search, date-range summaries, places, single trips, providers and route pages as JSON. Six endpoints, 1 credit per successful call.
{
"success": true,
"data": {
"query": "berlin",
"results_count": 3,
"results": [
{
"position_id": 376217,
"type": "location",
"name": "Berlin",
"default_name": "Berlin",
"canonical_name": "Berlin",
"city_name": "Berlin",
"city_code": "BER",
"country_code": "DE",
"country_name": "Germany",
"latitude": 52.52437,
"longitude": 13.41053,
"time_zone": "Europe/Berlin",
"population": 100,
"score": 6236.293,
"search_volume": 190991,
"location_position_id": 376217,
"in_europe": true,
"station_counts": {
"train_stations": 160,
"bus_stations": 18,
"airports": 1,
"ferry_terminals": 0
},
"popular_destination_ids": [
388252,
398202,
376367
],
"children": [
{
"position_id": 334196,
"type": "station",
"name": "Berlin Hbf",
"default_name": "Berlin Hbf",
"canonical_name": "Berlin-Hauptbahnhof",
"city_name": "Berlin",
"country_code": "DE",
"country_name": "Germany",
"latitude": 52.525102698597905,
"longitude": 13.369429982803336,
"time_zone": "Europe/Berlin",
"population": 100,
"score": 25.289928,
"search_volume": 111150,
"location_position_id": 376217,
"in_europe": true,
"popular_destination_ids": [
328437,
331128,
329503
]
},
{
"position_id": 334167,
"type": "station",
"name": "Berlin-Gesundbrunnen station",
"default_name": "Berlin Gesundbrunnen",
"canonical_name": "Berlin-Gesundbrunnen-Germany",
"city_name": "Berlin",
"country_code": "DE",
"country_name": "Germany",
"latitude": 52.548752230683284,
"longitude": 13.388952535345538,
"time_zone": "Europe/Berlin",
"population": 100,
"score": 4.010113,
"search_volume": 25169,
"location_position_id": 376217,
"in_europe": true,
"popular_destination_ids": [
334030,
398422,
334213
]
},
{
"position_id": 334174,
"type": "station",
"name": "Berlin Südkreuz station",
"default_name": "Berlin Südkreuz",
"canonical_name": "Berlin-Südkreuz",
"city_name": "Berlin",
"country_code": "DE",
"country_name": "Germany",
"latitude": 52.47515,
"longitude": 13.364991,
"time_zone": "Europe/Berlin",
"population": 100,
"score": 0.8888731,
"search_volume": 1995,
"location_position_id": 376217,
"in_europe": true,
"popular_destination_ids": [
329652,
333855,
333937
]
}
]
},
{
"position_id": 16894579,
"type": "location",
"name": "Berlin, CT",
"default_name": "Berlin",
"canonical_name": "Berlin-CT-USA",
"city_name": "Berlin",
"country_code": "US",
"country_name": "USA",
"latitude": 41.621488,
"longitude": -72.7456519,
"time_zone": "America/New_York",
"population": 19866,
"score": 0.7527444,
"search_volume": 26,
"location_position_id": 16894579,
"in_europe": false,
"station_counts": {
"train_stations": 1,
"bus_stations": 0,
"airports": 0,
"ferry_terminals": 0
},
"popular_destination_ids": [
410804,
465820,
411327
],
"children": [
{
"position_id": 16894650,
"type": "station",
"name": "Berlin Station, CT",
"default_name": "Berlin Station",
"canonical_name": "Berlin-Station",
"city_name": "Berlin",
"country_code": "US",
"country_name": "USA",
"latitude": 41.6359603,
"longitude": -72.7650084,
"time_zone": "America/New_York",
"population": 19866,
"score": 2,
"search_volume": 17,
"location_position_id": 16894579,
"in_europe": false,
"popular_destination_ids": [
16897167,
16893823,
16894640
]
}
]
},
{
"position_id": 465663,
"type": "location",
"name": "Berlin, NH",
"default_name": "Berlin",
"canonical_name": "Berlin-NH-USA",
"city_name": "Berlin",
"city_code": "BML",
"country_code": "US",
"country_name": "USA",
"latitude": 44.46867,
"longitude": -71.18508,
"time_zone": "America/New_York",
"population": 10051,
"score": 0.1900633,
"search_volume": 0,
"location_position_id": 465663,
"in_europe": false,
"station_counts": {
"train_stations": 1,
"bus_stations": 0,
"airports": 0,
"ferry_terminals": 0
},
"popular_destination_ids": [
376329,
376371,
422648
]
}
]
},
"meta": {
"endpoint_family": "place_autocomplete"
}
}Sample data
What one call returns
A recorded run of places: the fields and shapes you will get, shortened to 3 items.
| # | position_idinteger | typestring | namestring | default_namestring | canonical_namestring | city_namestring | city_codestring | country_codestring | country_namestring | latitudenumber | longitudenumber | time_zonestring | populationinteger | scorenumber | search_volumeinteger | location_position_idinteger | in_europeboolean | station_countsobject | popular_destination_idsnumber[] | childrenobject[] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 376217 | location | Berlin | Berlin | Berlin | Berlin | BER | DE | Germany | 52.52437 | 13.41053 | Europe/Berlin | 100 | 6236.293 | 190991 | 376217 | true | {4 fields} | [3 items] | [3 items] |
| 2 | 16894579 | location | Berlin, CT | Berlin | Berlin-CT-USA | Berlin | — | US | USA | 41.621488 | -72.7456519 | America/New_York | 19866 | 0.7527444 | 26 | 16894579 | false | {4 fields} | [3 items] | [1 item] |
| 3 | 465663 | location | Berlin, NH | Berlin | Berlin-NH-USA | Berlin | BML | US | USA | 44.46867 | -71.18508 | America/New_York | 10051 | 0.1900633 | 0 | 465663 | false | {4 fields} | [3 items] | — |
[
{
"position_id": 376217,
"type": "location",
"name": "Berlin",
"default_name": "Berlin",
"canonical_name": "Berlin",
"city_name": "Berlin",
"city_code": "BER",
"country_code": "DE",
"country_name": "Germany",
"latitude": 52.52437,
"longitude": 13.41053,
"time_zone": "Europe/Berlin",
"population": 100,
"score": 6236.293,
"search_volume": 190991,
"location_position_id": 376217,
"in_europe": true,
"station_counts": {
"train_stations": 160,
"bus_stations": 18,
"airports": 1,
"ferry_terminals": 0
},
"popular_destination_ids": [
388252,
398202,
376367
],
"children": [
{
"position_id": 334196,
"type": "station",
"name": "Berlin Hbf",
"default_name": "Berlin Hbf",
"canonical_name": "Berlin-Hauptbahnhof",
"city_name": "Berlin",
"country_code": "DE",
"country_name": "Germany",
"latitude": 52.525102698597905,
"longitude": 13.369429982803336,
"time_zone": "Europe/Berlin",
"population": 100,
"score": 25.289928,
"search_volume": 111150,
"location_position_id": 376217,
"in_europe": true,
"popular_destination_ids": [
328437,
331128,
329503
]
},
{
"position_id": 334167,
"type": "station",
"name": "Berlin-Gesundbrunnen station",
"default_name": "Berlin Gesundbrunnen",
"canonical_name": "Berlin-Gesundbrunnen-Germany",
"city_name": "Berlin",
"country_code": "DE",
"country_name": "Germany",
"latitude": 52.548752230683284,
"longitude": 13.388952535345538,
"time_zone": "Europe/Berlin",
"population": 100,
"score": 4.010113,
"search_volume": 25169,
"location_position_id": 376217,
"in_europe": true,
"popular_destination_ids": [
334030,
398422,
334213
]
},
{
"position_id": 334174,
"type": "station",
"name": "Berlin Südkreuz station",
"default_name": "Berlin Südkreuz",
"canonical_name": "Berlin-Südkreuz",
"city_name": "Berlin",
"country_code": "DE",
"country_name": "Germany",
"latitude": 52.47515,
"longitude": 13.364991,
"time_zone": "Europe/Berlin",
"population": 100,
"score": 0.8888731,
"search_volume": 1995,
"location_position_id": 376217,
"in_europe": true,
"popular_destination_ids": [
329652,
333855,
333937
]
}
]
},
{
"position_id": 16894579,
"type": "location",
"name": "Berlin, CT",
"default_name": "Berlin",
"canonical_name": "Berlin-CT-USA",
"city_name": "Berlin",
"country_code": "US",
"country_name": "USA",
"latitude": 41.621488,
"longitude": -72.7456519,
"time_zone": "America/New_York",
"population": 19866,
"score": 0.7527444,
"search_volume": 26,
"location_position_id": 16894579,
"in_europe": false,
"station_counts": {
"train_stations": 1,
"bus_stations": 0,
"airports": 0,
"ferry_terminals": 0
},
"popular_destination_ids": [
410804,
465820,
411327
],
"children": [
{
"position_id": 16894650,
"type": "station",
"name": "Berlin Station, CT",
"default_name": "Berlin Station",
"canonical_name": "Berlin-Station",
"city_name": "Berlin",
"country_code": "US",
"country_name": "USA",
"latitude": 41.6359603,
"longitude": -72.7650084,
"time_zone": "America/New_York",
"population": 19866,
"score": 2,
"search_volume": 17,
"location_position_id": 16894579,
"in_europe": false,
"popular_destination_ids": [
16897167,
16893823,
16894640
]
}
]
},
{
"position_id": 465663,
"type": "location",
"name": "Berlin, NH",
"default_name": "Berlin",
"canonical_name": "Berlin-NH-USA",
"city_name": "Berlin",
"city_code": "BML",
"country_code": "US",
"country_name": "USA",
"latitude": 44.46867,
"longitude": -71.18508,
"time_zone": "America/New_York",
"population": 10051,
"score": 0.1900633,
"search_volume": 0,
"location_position_id": 465663,
"in_europe": false,
"station_counts": {
"train_stations": 1,
"bus_stations": 0,
"airports": 0,
"ferry_terminals": 0
},
"popular_destination_ids": [
376329,
376371,
422648
]
}
]position_id,type,name,default_name,canonical_name,city_name,city_code,country_code,country_name,latitude,longitude,time_zone,population,score,search_volume,location_position_id,in_europe,station_counts,popular_destination_ids,children
376217,location,Berlin,Berlin,Berlin,Berlin,BER,DE,Germany,52.52437,13.41053,Europe/Berlin,100,6236.293,190991,376217,true,"{""train_stations"":160,""bus_stations"":18,""airports"":1,""ferry_terminals"":0}","[388252,398202,376367]","[{""position_id"":334196,""type"":""station"",""name"":""Berlin Hbf"",""default_name"":""Berlin Hbf"",""canonical_name"":""Berlin-Hauptbahnhof"",""city_name"":""Berlin"",""country_code"":""DE"",""country_name"":""Germany"",""latitude"":52.525102698597905,""longitude"":13.369429982803336,""time_zone"":""Europe/Berlin"",""population"":100,""score"":25.289928,""search_volume"":111150,""location_position_id"":376217,""in_europe"":true,""popular_destination_ids"":[328437,331128,329503]},{""position_id"":334167,""type"":""station"",""name"":""Berlin-Gesundbrunnen station"",""default_name"":""Berlin Gesundbrunnen"",""canonical_name"":""Berlin-Gesundbrunnen-Germany"",""city_name"":""Berlin"",""country_code"":""DE"",""country_name"":""Germany"",""latitude"":52.548752230683284,""longitude"":13.388952535345538,""time_zone"":""Europe/Berlin"",""population"":100,""score"":4.010113,""search_volume"":25169,""location_position_id"":376217,""in_europe"":true,""popular_destination_ids"":[334030,398422,334213]},{""position_id"":334174,""type"":""station"",""name"":""Berlin Südkreuz station"",""default_name"":""Berlin Südkreuz"",""canonical_name"":""Berlin-Südkreuz"",""city_name"":""Berlin"",""country_code"":""DE"",""country_name"":""Germany"",""latitude"":52.47515,""longitude"":13.364991,""time_zone"":""Europe/Berlin"",""population"":100,""score"":0.8888731,""search_volume"":1995,""location_position_id"":376217,""in_europe"":true,""popular_destination_ids"":[329652,333855,333937]}]"
16894579,location,"Berlin, CT",Berlin,Berlin-CT-USA,Berlin,,US,USA,41.621488,-72.7456519,America/New_York,19866,0.7527444,26,16894579,false,"{""train_stations"":1,""bus_stations"":0,""airports"":0,""ferry_terminals"":0}","[410804,465820,411327]","[{""position_id"":16894650,""type"":""station"",""name"":""Berlin Station, CT"",""default_name"":""Berlin Station"",""canonical_name"":""Berlin-Station"",""city_name"":""Berlin"",""country_code"":""US"",""country_name"":""USA"",""latitude"":41.6359603,""longitude"":-72.7650084,""time_zone"":""America/New_York"",""population"":19866,""score"":2,""search_volume"":17,""location_position_id"":16894579,""in_europe"":false,""popular_destination_ids"":[16897167,16893823,16894640]}]"
465663,location,"Berlin, NH",Berlin,Berlin-NH-USA,Berlin,BML,US,USA,44.46867,-71.18508,America/New_York,10051,0.1900633,0,465663,false,"{""train_stations"":1,""bus_stations"":0,""airports"":0,""ferry_terminals"":0}","[376329,376371,422648]",Recorded 12 Nov 2026 · 3 items shown · 20 datapoints per itemGET /v1/omio/places?query=berlin&locale=en
20 datapoints
Identity
- position_idinteger
- typestring
- namestring
- default_namestring
- canonical_namestring
- popular_destination_idsnumber[]
Location
- city_namestring
- city_codestring
- country_codestring
- country_namestring
- latitudenumber
- longitudenumber
- populationinteger
- location_position_idinteger
Reputation
- scorenumber
Other
- time_zonestring
- search_volumeinteger
- in_europeboolean
- station_countsobject
- childrenobject[]
Playground
Run this API
curl "https://api.perceptlayer.com/v1/omio/places?query=berlin&locale=en" \
-H "X-API-Key: $API_KEY"Omio · 6 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/omio/places | none+4 optional | position_idtypenamedefault_namecanonical_namecity_name+14 more | 1 credit |
GET/v1/omio/providers | none+2 optional | service_providerlogo_urlcards | 1 credit |
GET/v1/omio/route-page | origindestination+1 optional | modeorigindestinationratingreviewsprice_ladder+2 more | 1 credit |
GET/v1/omio/search | origin_iddestination_iddate+9 optional | origin_iddestination_iddatetrip_typepassengerscurrency+7 more | 1 credit |
GET/v1/omio/search-summary | origin_iddestination_iddate_startdate_end+6 optional | origin_iddestination_iddate_startdate_endmodescurrency+2 more | 1 credit |
GET/v1/omio/trip | search_idtrip_id | search_idcurrencytripsearch_meta | 1 credit |
Overview
About the Omio API
What you can get
The Omio API returns Omio travel data as JSON through 6 endpoints.
- Places:
placestakes aquery,idordeparture_id, withlocale(en, de, fr, es, it, nl, pt or pl). - Search:
searchtakes anorigin_id,destination_idanddate, withreturn_date,adults,children,infants,travel_mode[],currency(EUR, USD, GBP, CHF, PLN, CZK, SEK, NOK, DKK, HUF or RON),sort(smart, price, duration, departure or arrival),limitandpage. - Date ranges:
search-summarytakes anorigin_id,destination_id,date_startanddate_end, with the same passenger,travel_mode[]andcurrencyparams pluscalendar. - Trips:
triptakes asearch_idandtrip_id;providerstakes asearch_id, withlang. - Routes:
route-pagetakes anoriginanddestinationby name, withmode(trains, buses or flights).
How a call works
Start with a place lookup: GET /v1/omio/places?query=...&locale=en with your key in the X-API-Key header. search and search-summary take places as numeric origin_id and destination_id, and trip and providers take a search_id; the param names match across endpoints. search pages with page and limit. Every successful call costs 1 credit; failed calls cost nothing.
More travel APIs
Use cases
Compare trips between two places on a date, sorted by price, duration, departure or arrival
Use the Omio API to compare trips between two places on a date, sorted by price, duration, departure or arrivalCheck a route across a date range with `search-summary` before picking a day
Use the Omio API to check a route across a date range with `search-summary` before picking a dayPrice the same route in different currencies for different markets
Use the Omio API to price the same route in different currencies for different marketsFilter a search to trains, buses or flights with `travel_mode[]`
Use the Omio API to filter a search to trains, buses or flights with `travel_mode[]`FAQ
Questions
Do I need an Omio API key?
No. You call this Omio API with your Perceptlayer key in the `X-API-Key` header, so there's no separate Omio key or partner account to set up.
How much does the Omio API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Can I search for families or groups?
Yes. `search` and `search-summary` both take `adults`, `children` and `infants`, so one call covers a whole party.
Is this the official Omio API?
No. Perceptlayer is an independent service and is not affiliated with Omio. It returns Omio data as JSON with a Perceptlayer key, so there is no Omio developer account, app review or partner approval to get first. It only reads data: if Omio has an official API and you need to act on your own Omio account, such as posting, managing orders or reading private data, use that one.
Should I build an Omio scraper instead?
You can, but an Omio scraper is code you maintain: page changes break it, requests get blocked, and Omio's terms govern how you collect data. The Omio API gives you 6 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Omio API with 100 free credits
No credit card. Failed calls are never billed.