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* | tempor cillum labore non |
category | CITY |
limit | 13.078555542461718 |
clientId | laboris adipisicing ut ipsum velit |
{
"grouped": {
"category:AIR": {
"doclist": {
"docs": [
{
"category": "AIR",
"city": "New York",
"confidenceFactor": "1",
"country": "CA",
"countryName": "United Arab Emirates",
"dataset": "RAIL",
"datasource": "INNOVATA",
"iataCityCode": "LON",
"id": "JFK",
"latitude": "52.308601",
"longitude": "-118.408530",
"name": "John F. Kennedy Intl",
"ranking": 900,
"state": "HES",
"stateName": "Hesse"
}
],
"numFound": 69,
"start": 0
},
"matches": 20
},
"category:CITY": {
"doclist": {
"docs": [
{
"category": "RAIL",
"city": "Amsterdam",
"confidenceFactor": "1",
"country": "CA",
"countryName": "Japan",
"dataset": "CITY",
"datasource": "OSM",
"iataCityCode": "DFW",
"id": "HND",
"latitude": "1.364420",
"longitude": "8.562159",
"name": "Los Angeles Intl",
"ranking": 250,
"state": "KTO",
"stateName": "Ontario"
}
],
"numFound": 98,
"start": 0
},
"matches": 44
},
"category:POI": {
"doclist": {
"docs": [
{
"category": "AIR",
"city": "London",
"confidenceFactor": "0.9",
"country": "US",
"countryName": "Japan",
"dataset": "CITY",
"datasource": "INNOVATA",
"iataCityCode": "NYC",
"id": "JFK",
"latitude": "52.308601",
"longitude": "4.763889",
"name": "Amsterdam Schiphol",
"ranking": 100,
"state": "NY",
"stateName": "Hesse"
},
{
"category": "AIR",
"city": "Dallas",
"confidenceFactor": "0.8",
"country": "NL",
"countryName": "Singapore",
"dataset": "CITY",
"datasource": "OSM",
"iataCityCode": "FRA",
"id": "HND",
"latitude": "1.364420",
"longitude": "-97.041111",
"name": "Amsterdam Schiphol",
"ranking": 750,
"state": "ON",
"stateName": "Dubai"
},
{
"category": "RAIL",
"city": "Tokyo",
"confidenceFactor": "0.8",
"country": "NL",
"countryName": "Australia",
"dataset": "RAIL",
"datasource": "GEONAMES",
"iataCityCode": "FRA",
"id": "JFK",
"latitude": "52.308601",
"longitude": "-97.041111",
"name": "Heathrow Airport",
"ranking": 750,
"state": "DB",
"stateName": "California"
},
{
"category": "RAIL",
"city": "Dallas",
"confidenceFactor": "0.9",
"country": "FR",
"countryName": "United Arab Emirates",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "AMS",
"id": "HND",
"latitude": "32.896111",
"longitude": "103.991531",
"name": "Los Angeles Intl",
"ranking": 750,
"state": "ENG",
"stateName": "New York"
},
{
"category": "AIR",
"city": "Paris",
"confidenceFactor": "0.8",
"country": "FR",
"countryName": "Australia",
"dataset": "CITY",
"datasource": "OSM",
"iataCityCode": "NYC",
"id": "JFK",
"latitude": "52.308601",
"longitude": "-0.454296",
"name": "Dallas/Fort Worth Intl",
"ranking": 900,
"state": "ON",
"stateName": "California"
}
],
"numFound": 78,
"start": 0
},
"matches": 39
},
"category:RAIL": {
"doclist": {
"docs": [
{
"category": "AIR",
"city": "Paris",
"confidenceFactor": "0.9",
"country": "GB",
"countryName": "Germany",
"dataset": "RAIL",
"datasource": "INNOVATA",
"iataCityCode": "LAX",
"id": "FRA",
"latitude": "1.364420",
"longitude": "2.547925",
"name": "Los Angeles Intl",
"ranking": 250,
"state": "KTO",
"stateName": "New South Wales"
},
{
"category": "CITY",
"city": "Singapore",
"confidenceFactor": "0.8",
"country": "AE",
"countryName": "Japan",
"dataset": "CITY",
"datasource": "OSM",
"iataCityCode": "DFW",
"id": "SIN",
"latitude": "51.470020",
"longitude": "-73.778137",
"name": "Dallas/Fort Worth Intl",
"ranking": 250,
"state": "KTO",
"stateName": "England"
},
{
"category": "CITY",
"city": "Frankfurt",
"confidenceFactor": "0.8",
"country": "AU",
"countryName": "Germany",
"dataset": "RAIL",
"datasource": "OSM",
"iataCityCode": "LON",
"id": "SIN",
"latitude": "52.308601",
"longitude": "-118.408530",
"name": "Singapore Changi",
"ranking": 250,
"state": "ON",
"stateName": "New York"
},
{
"category": "AIR",
"city": "Singapore",
"confidenceFactor": "0.9",
"country": "JP",
"countryName": "France",
"dataset": "AIR",
"datasource": "INNOVATA",
"iataCityCode": "DFW",
"id": "LHR",
"latitude": "52.308601",
"longitude": "8.562159",
"name": "Los Angeles Intl",
"ranking": 900,
"state": "KTO",
"stateName": "Ontario"
}
],
"numFound": 90,
"start": 0
},
"matches": 19
},
"categpry:LOCATION": {
"doclist": {
"docs": [
{
"category": "AIR",
"city": "Amsterdam",
"confidenceFactor": "0.8",
"country": "US",
"countryName": "France",
"dataset": "RAIL",
"datasource": "OSM",
"iataCityCode": "DXB",
"id": "LAX",
"latitude": "40.641311",
"longitude": "139.779839",
"name": "Singapore Changi",
"ranking": 250,
"state": "CA",
"stateName": "Texas"
},
{
"category": "RAIL",
"city": "Tokyo",
"confidenceFactor": "0.8",
"country": "JP",
"countryName": "Netherlands",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "DXB",
"id": "CDG",
"latitude": "35.549393",
"longitude": "4.763889",
"name": "Frankfurt Airport",
"ranking": 750,
"state": "CA",
"stateName": "Kanto"
},
{
"category": "CITY",
"city": "Paris",
"confidenceFactor": "0.9",
"country": "GB",
"countryName": "Singapore",
"dataset": "RAIL",
"datasource": "INNOVATA",
"iataCityCode": "LAX",
"id": "LHR",
"latitude": "32.896111",
"longitude": "55.365662",
"name": "Frankfurt Airport",
"ranking": 250,
"state": "NY",
"stateName": "Dubai"
},
{
"category": "AIR",
"city": "Dubai",
"confidenceFactor": "0.9",
"country": "DE",
"countryName": "United Arab Emirates",
"dataset": "AIR",
"datasource": "GEONAMES",
"iataCityCode": "PAR",
"id": "HND",
"latitude": "35.549393",
"longitude": "-118.408530",
"name": "John F. Kennedy Intl",
"ranking": 900,
"state": "HES",
"stateName": "New York"
},
{
"category": "RAIL",
"city": "Dubai",
"confidenceFactor": "1",
"country": "CA",
"countryName": "United Arab Emirates",
"dataset": "CITY",
"datasource": "INNOVATA",
"iataCityCode": "FRA",
"id": "HND",
"latitude": "51.470020",
"longitude": "55.365662",
"name": "Dubai Intl",
"ranking": 250,
"state": "IDF",
"stateName": "Texas"
}
],
"numFound": 12,
"start": 0
},
"matches": 30
}
},
"responseHeader": {
"QTime": 0.379,
"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