Geo Autocomplete Virtual Sandbox
Retrieve location predictions for text-based geographic search queries.
The Geo Autocomplete API provides a list of location predictions based on user input. It is designed to power search bars and location selection interfaces in travel applications by returning relevant geographic entities.
Use this hosted sandbox to simulate Geo Autocomplete APIs without authentication, API keys, or extra dependencies. Point your code or SDK to the Beeceptor base URL, preferably through an environment variable or feature flag, and switch back to the production API when ready.
This keeps your integration code consistent across local development, QA, demos, and production.
Use cases:
Use this sandbox to verify reference-data mapping, autocomplete behavior, invalid-code handling, and fallback logic for travel metadata such as airports, airlines, countries, or equipment codes.
General
GET
| Query Parameter Name | Example |
|---|---|
query* | cupidatat in occaecat adipisicing eiusmod |
category | POI |
limit | 7.079169857463903 |
clientId | qui consequat eu |
{
"grouped": {
"category:AIR": {
"doclist": {
"docs": [
{
"category": "AIR",
"city": "Dubai",
"confidenceFactor": "1",
"country": "JP",
"countryName": "United States Of America",
"dataset": "AIR",
"datasource": "GEONAMES",
"iataCityCode": "TYO",
"id": "AMS",
"latitude": "50.037933",
"longitude": "4.763889",
"name": "Charles de Gaulle",
"ranking": 750,
"state": "ENG",
"stateName": "New York"
},
{
"category": "AIR",
"city": "Dubai",
"confidenceFactor": "0.8",
"country": "NL",
"countryName": "Canada",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "TYO",
"id": "HND",
"latitude": "52.308601",
"longitude": "-0.454296",
"name": "Amsterdam Schiphol",
"ranking": 100,
"state": "CA",
"stateName": "New South Wales"
},
{
"category": "CITY",
"city": "Singapore",
"confidenceFactor": "1",
"country": "SG",
"countryName": "United Arab Emirates",
"dataset": "RAIL",
"datasource": "GEONAMES",
"iataCityCode": "LAX",
"id": "LHR",
"latitude": "35.549393",
"longitude": "2.547925",
"name": "Heathrow Airport",
"ranking": 900,
"state": "DB",
"stateName": "England"
}
],
"numFound": 35,
"start": 0
},
"matches": 33
},
"category:CITY": {
"doclist": {
"docs": [
{
"category": "CITY",
"city": "Paris",
"confidenceFactor": "0.9",
"country": "JP",
"countryName": "Japan",
"dataset": "CITY",
"datasource": "INNOVATA",
"iataCityCode": "TYO",
"id": "SIN",
"latitude": "50.037933",
"longitude": "-0.454296",
"name": "Amsterdam Schiphol",
"ranking": 250,
"state": "NY",
"stateName": "Dubai"
},
{
"category": "AIR",
"city": "Paris",
"confidenceFactor": "0.9",
"country": "JP",
"countryName": "United Kingdom",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "NYC",
"id": "AMS",
"latitude": "52.308601",
"longitude": "4.763889",
"name": "Dubai Intl",
"ranking": 750,
"state": "DB",
"stateName": "Texas"
},
{
"category": "CITY",
"city": "Los Angeles",
"confidenceFactor": "0.9",
"country": "NL",
"countryName": "United Kingdom",
"dataset": "CITY",
"datasource": "GEONAMES",
"iataCityCode": "NYC",
"id": "FRA",
"latitude": "40.641311",
"longitude": "-73.778137",
"name": "Charles de Gaulle",
"ranking": 750,
"state": "HES",
"stateName": "Ile-de-France"
}
],
"numFound": 85,
"start": 0
},
"matches": 22
},
"category:POI": {
"doclist": {
"docs": [
{
"category": "CITY",
"city": "Amsterdam",
"confidenceFactor": "0.9",
"country": "GB",
"countryName": "United Kingdom",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "SIN",
"id": "DXB",
"latitude": "52.308601",
"longitude": "4.763889",
"name": "Dubai Intl",
"ranking": 900,
"state": "IDF",
"stateName": "Kanto"
},
{
"category": "AIR",
"city": "Dallas",
"confidenceFactor": "0.9",
"country": "GB",
"countryName": "Canada",
"dataset": "CITY",
"datasource": "INNOVATA",
"iataCityCode": "TYO",
"id": "JFK",
"latitude": "32.896111",
"longitude": "-97.041111",
"name": "Dallas/Fort Worth Intl",
"ranking": 250,
"state": "NSW",
"stateName": "Dubai"
},
{
"category": "RAIL",
"city": "Paris",
"confidenceFactor": "0.8",
"country": "DE",
"countryName": "Netherlands",
"dataset": "CITY",
"datasource": "GEONAMES",
"iataCityCode": "LAX",
"id": "CDG",
"latitude": "51.470020",
"longitude": "-118.408530",
"name": "Dallas/Fort Worth Intl",
"ranking": 250,
"state": "NSW",
"stateName": "England"
},
{
"category": "RAIL",
"city": "Dubai",
"confidenceFactor": "1",
"country": "NL",
"countryName": "Canada",
"dataset": "CITY",
"datasource": "GEONAMES",
"iataCityCode": "TYO",
"id": "LHR",
"latitude": "25.253168",
"longitude": "-73.778137",
"name": "John F. Kennedy Intl",
"ranking": 500,
"state": "NSW",
"stateName": "Texas"
}
],
"numFound": 77,
"start": 0
},
"matches": 42
},
"category:RAIL": {
"doclist": {
"docs": [
{
"category": "RAIL",
"city": "Singapore",
"confidenceFactor": "1",
"country": "NL",
"countryName": "United Arab Emirates",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "DFW",
"id": "LHR",
"latitude": "35.549393",
"longitude": "8.562159",
"name": "John F. Kennedy Intl",
"ranking": 250,
"state": "TX",
"stateName": "England"
},
{
"category": "RAIL",
"city": "Singapore",
"confidenceFactor": "1",
"country": "CA",
"countryName": "United States Of America",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "PAR",
"id": "HND",
"latitude": "1.364420",
"longitude": "-97.041111",
"name": "Frankfurt Airport",
"ranking": 250,
"state": "NY",
"stateName": "New York"
}
],
"numFound": 99,
"start": 0
},
"matches": 47
},
"categpry:LOCATION": {
"doclist": {
"docs": [
{
"category": "CITY",
"city": "Dallas",
"confidenceFactor": "1",
"country": "US",
"countryName": "Japan",
"dataset": "RAIL",
"datasource": "INNOVATA",
"iataCityCode": "FRA",
"id": "CDG",
"latitude": "51.470020",
"longitude": "-0.454296",
"name": "Heathrow Airport",
"ranking": 250,
"state": "DB",
"stateName": "Texas"
},
{
"category": "CITY",
"city": "Frankfurt",
"confidenceFactor": "0.9",
"country": "FR",
"countryName": "United Kingdom",
"dataset": "CITY",
"datasource": "GEONAMES",
"iataCityCode": "SIN",
"id": "DXB",
"latitude": "25.253168",
"longitude": "2.547925",
"name": "Singapore Changi",
"ranking": 100,
"state": "TX",
"stateName": "California"
},
{
"category": "AIR",
"city": "London",
"confidenceFactor": "0.8",
"country": "SG",
"countryName": "United States Of America",
"dataset": "RAIL",
"datasource": "GEONAMES",
"iataCityCode": "LON",
"id": "SIN",
"latitude": "33.941589",
"longitude": "103.991531",
"name": "Amsterdam Schiphol",
"ranking": 100,
"state": "KTO",
"stateName": "England"
}
],
"numFound": 44,
"start": 0
},
"matches": 46
}
},
"responseHeader": {
"QTime": 0.448,
"status": 200
}
}Missing schema or example in the OpenAPI spec.
Update the definition and recreate the mock server.Service Homepage: developer.sabre.com/rest-api/geo-autocomplete/v2
sabretravelgeoautocompletelocation