Geo Autocomplete Mock Server
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 mock server 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* | ea consectetur deserunt |
category | RAIL |
limit | 27.228447588900043 |
clientId | consequat dolor ullamco incididunt dolore |
{
"grouped": {
"category:AIR": {
"doclist": {
"docs": [
{
"category": "RAIL",
"city": "Dubai",
"confidenceFactor": "0.9",
"country": "US",
"countryName": "Canada",
"dataset": "AIR",
"datasource": "INNOVATA",
"iataCityCode": "PAR",
"id": "DXB",
"latitude": "49.009691",
"longitude": "-73.778137",
"name": "Dallas/Fort Worth Intl",
"ranking": 250,
"state": "NY",
"stateName": "Ontario"
},
{
"category": "CITY",
"city": "Los Angeles",
"confidenceFactor": "1",
"country": "CA",
"countryName": "United States Of America",
"dataset": "RAIL",
"datasource": "INNOVATA",
"iataCityCode": "SIN",
"id": "JFK",
"latitude": "35.549393",
"longitude": "-97.041111",
"name": "Singapore Changi",
"ranking": 500,
"state": "NY",
"stateName": "Dubai"
}
],
"numFound": 79,
"start": 0
},
"matches": 20
},
"category:CITY": {
"doclist": {
"docs": [
{
"category": "AIR",
"city": "Dubai",
"confidenceFactor": "1",
"country": "NL",
"countryName": "United States Of America",
"dataset": "RAIL",
"datasource": "GEONAMES",
"iataCityCode": "LAX",
"id": "CDG",
"latitude": "51.470020",
"longitude": "2.547925",
"name": "John F. Kennedy Intl",
"ranking": 100,
"state": "ENG",
"stateName": "California"
}
],
"numFound": 64,
"start": 0
},
"matches": 21
},
"category:POI": {
"doclist": {
"docs": [
{
"category": "RAIL",
"city": "Frankfurt",
"confidenceFactor": "1",
"country": "AU",
"countryName": "United States Of America",
"dataset": "RAIL",
"datasource": "GEONAMES",
"iataCityCode": "DFW",
"id": "LHR",
"latitude": "33.941589",
"longitude": "-0.454296",
"name": "Dubai Intl",
"ranking": 500,
"state": "NSW",
"stateName": "Hesse"
},
{
"category": "RAIL",
"city": "Tokyo",
"confidenceFactor": "1",
"country": "GB",
"countryName": "Australia",
"dataset": "RAIL",
"datasource": "INNOVATA",
"iataCityCode": "FRA",
"id": "JFK",
"latitude": "32.896111",
"longitude": "8.562159",
"name": "Heathrow Airport",
"ranking": 100,
"state": "KTO",
"stateName": "New South Wales"
}
],
"numFound": 1,
"start": 0
},
"matches": 20
},
"category:RAIL": {
"doclist": {
"docs": [
{
"category": "CITY",
"city": "Dallas",
"confidenceFactor": "0.9",
"country": "US",
"countryName": "United Arab Emirates",
"dataset": "AIR",
"datasource": "INNOVATA",
"iataCityCode": "TYO",
"id": "AMS",
"latitude": "25.253168",
"longitude": "103.991531",
"name": "Charles de Gaulle",
"ranking": 750,
"state": "KTO",
"stateName": "Dubai"
},
{
"category": "RAIL",
"city": "Frankfurt",
"confidenceFactor": "0.9",
"country": "NL",
"countryName": "United Kingdom",
"dataset": "RAIL",
"datasource": "INNOVATA",
"iataCityCode": "NYC",
"id": "FRA",
"latitude": "1.364420",
"longitude": "103.991531",
"name": "Dallas/Fort Worth Intl",
"ranking": 100,
"state": "ON",
"stateName": "Ile-de-France"
},
{
"category": "AIR",
"city": "Singapore",
"confidenceFactor": "0.9",
"country": "FR",
"countryName": "United Kingdom",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "SIN",
"id": "HND",
"latitude": "51.470020",
"longitude": "-0.454296",
"name": "John F. Kennedy Intl",
"ranking": 500,
"state": "NSW",
"stateName": "New South Wales"
}
],
"numFound": 30,
"start": 0
},
"matches": 2
},
"categpry:LOCATION": {
"doclist": {
"docs": [
{
"category": "AIR",
"city": "London",
"confidenceFactor": "0.8",
"country": "GB",
"countryName": "United Arab Emirates",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "DXB",
"id": "LHR",
"latitude": "49.009691",
"longitude": "103.991531",
"name": "Heathrow Airport",
"ranking": 100,
"state": "NSW",
"stateName": "Hesse"
},
{
"category": "AIR",
"city": "Dubai",
"confidenceFactor": "1",
"country": "DE",
"countryName": "United Kingdom",
"dataset": "RAIL",
"datasource": "GEONAMES",
"iataCityCode": "AMS",
"id": "DFW",
"latitude": "49.009691",
"longitude": "-73.778137",
"name": "Dubai Intl",
"ranking": 100,
"state": "NY",
"stateName": "New York"
},
{
"category": "RAIL",
"city": "Frankfurt",
"confidenceFactor": "0.9",
"country": "CA",
"countryName": "United Arab Emirates",
"dataset": "AIR",
"datasource": "INNOVATA",
"iataCityCode": "LON",
"id": "JFK",
"latitude": "25.253168",
"longitude": "139.779839",
"name": "Tokyo Haneda",
"ranking": 750,
"state": "TX",
"stateName": "New South Wales"
},
{
"category": "RAIL",
"city": "Los Angeles",
"confidenceFactor": "0.8",
"country": "GB",
"countryName": "Germany",
"dataset": "AIR",
"datasource": "OSM",
"iataCityCode": "SIN",
"id": "JFK",
"latitude": "51.470020",
"longitude": "8.562159",
"name": "Tokyo Haneda",
"ranking": 100,
"state": "IDF",
"stateName": "Dubai"
}
],
"numFound": 52,
"start": 0
},
"matches": 23
}
},
"responseHeader": {
"QTime": 0.478,
"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