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* | irure aliquip |
category | AIR |
limit | 17.489240887325035 |
clientId | Lorem in sit nisi |
{
"grouped": {
"category:AIR": {
"doclist": {
"docs": [
{
"category": "AIR",
"city": "Amsterdam",
"confidenceFactor": "1",
"country": "JP",
"countryName": "Japan",
"dataset": "AIR",
"datasource": "GEONAMES",
"iataCityCode": "PAR",
"id": "AMS",
"latitude": "51.470020",
"longitude": "4.763889",
"name": "Dubai Intl",
"ranking": 500,
"state": "KTO",
"stateName": "Kanto"
}
],
"numFound": 75,
"start": 0
},
"matches": 12
},
"category:CITY": {
"doclist": {
"docs": [
{
"category": "CITY",
"city": "New York",
"confidenceFactor": "1",
"country": "FR",
"countryName": "Canada",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "PAR",
"id": "DFW",
"latitude": "51.470020",
"longitude": "4.763889",
"name": "Amsterdam Schiphol",
"ranking": 900,
"state": "ON",
"stateName": "New South Wales"
}
],
"numFound": 72,
"start": 0
},
"matches": 12
},
"category:POI": {
"doclist": {
"docs": [
{
"category": "CITY",
"city": "Los Angeles",
"confidenceFactor": "0.9",
"country": "NL",
"countryName": "United Kingdom",
"dataset": "RAIL",
"datasource": "GEONAMES",
"iataCityCode": "SIN",
"id": "HND",
"latitude": "1.364420",
"longitude": "-118.408530",
"name": "John F. Kennedy Intl",
"ranking": 100,
"state": "HES",
"stateName": "Texas"
}
],
"numFound": 69,
"start": 0
},
"matches": 41
},
"category:RAIL": {
"doclist": {
"docs": [
{
"category": "RAIL",
"city": "Singapore",
"confidenceFactor": "0.8",
"country": "CA",
"countryName": "United Arab Emirates",
"dataset": "AIR",
"datasource": "INNOVATA",
"iataCityCode": "TYO",
"id": "JFK",
"latitude": "51.470020",
"longitude": "-97.041111",
"name": "Dubai Intl",
"ranking": 500,
"state": "CA",
"stateName": "New York"
},
{
"category": "AIR",
"city": "New York",
"confidenceFactor": "0.9",
"country": "GB",
"countryName": "Canada",
"dataset": "CITY",
"datasource": "OSM",
"iataCityCode": "TYO",
"id": "SIN",
"latitude": "1.364420",
"longitude": "8.562159",
"name": "Singapore Changi",
"ranking": 250,
"state": "ENG",
"stateName": "Ontario"
},
{
"category": "RAIL",
"city": "Frankfurt",
"confidenceFactor": "0.8",
"country": "JP",
"countryName": "Germany",
"dataset": "CITY",
"datasource": "OSM",
"iataCityCode": "SIN",
"id": "DXB",
"latitude": "50.037933",
"longitude": "103.991531",
"name": "Dallas/Fort Worth Intl",
"ranking": 500,
"state": "ENG",
"stateName": "Ile-de-France"
},
{
"category": "RAIL",
"city": "New York",
"confidenceFactor": "0.9",
"country": "US",
"countryName": "Germany",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "LON",
"id": "DXB",
"latitude": "49.009691",
"longitude": "4.763889",
"name": "Tokyo Haneda",
"ranking": 250,
"state": "ON",
"stateName": "New York"
}
],
"numFound": 11,
"start": 0
},
"matches": 1
},
"categpry:LOCATION": {
"doclist": {
"docs": [
{
"category": "CITY",
"city": "Dubai",
"confidenceFactor": "0.9",
"country": "GB",
"countryName": "United Kingdom",
"dataset": "RAIL",
"datasource": "GEONAMES",
"iataCityCode": "LON",
"id": "SIN",
"latitude": "35.549393",
"longitude": "103.991531",
"name": "Charles de Gaulle",
"ranking": 100,
"state": "NY",
"stateName": "New South Wales"
},
{
"category": "AIR",
"city": "Dallas",
"confidenceFactor": "0.8",
"country": "JP",
"countryName": "Germany",
"dataset": "AIR",
"datasource": "GEONAMES",
"iataCityCode": "NYC",
"id": "DXB",
"latitude": "35.549393",
"longitude": "4.763889",
"name": "Frankfurt Airport",
"ranking": 750,
"state": "HES",
"stateName": "England"
},
{
"category": "AIR",
"city": "Tokyo",
"confidenceFactor": "0.8",
"country": "GB",
"countryName": "Canada",
"dataset": "RAIL",
"datasource": "OSM",
"iataCityCode": "SIN",
"id": "CDG",
"latitude": "33.941589",
"longitude": "4.763889",
"name": "Amsterdam Schiphol",
"ranking": 900,
"state": "TX",
"stateName": "Hesse"
},
{
"category": "RAIL",
"city": "Frankfurt",
"confidenceFactor": "0.9",
"country": "DE",
"countryName": "United States Of America",
"dataset": "AIR",
"datasource": "INNOVATA",
"iataCityCode": "LAX",
"id": "HND",
"latitude": "32.896111",
"longitude": "55.365662",
"name": "Amsterdam Schiphol",
"ranking": 750,
"state": "ENG",
"stateName": "New York"
},
{
"category": "CITY",
"city": "Amsterdam",
"confidenceFactor": "0.9",
"country": "US",
"countryName": "Australia",
"dataset": "CITY",
"datasource": "GEONAMES",
"iataCityCode": "DXB",
"id": "DFW",
"latitude": "35.549393",
"longitude": "139.779839",
"name": "Tokyo Haneda",
"ranking": 500,
"state": "HES",
"stateName": "Dubai"
}
],
"numFound": 13,
"start": 0
},
"matches": 27
}
},
"responseHeader": {
"QTime": 0.04,
"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