Skip to content

Airport Nearest Relevant API

by amadeus.com

No authHTTPSTransportation
Open documentation ↗

Overview

Before using this API, we recommend you read our **[Authorization Guide](https://developers.amadeus.com/self-service/apis-docs/guides/authorization-262)** for more information on how to generate an access token. Please also be aware that our test environment is based on a subset of the production, this API in test only returns a few selected cities. You can find the list in our **[data collection](https://github.com/amadeus4dev/data-collection)**.

Airport Nearest Relevant is a transportation API from amadeus.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 1 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Base URL
https://test.api.amadeus.com/v1
Version
1.1.2
Endpoints
1
Spec updated
2023-03-24

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://test.api.amadeus.com/v1/reference-data/locations/airports" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://test.api.amadeus.com/v1/reference-data/locations/airports", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://test.api.amadeus.com/v1/reference-data/locations/airports",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/reference-data/locations/airportsReturns a list of relevant airports near to a given point.

Questions

Does the Airport Nearest Relevant API need an API key?

No. The Airport Nearest Relevant API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the Airport Nearest Relevant API support HTTPS?

Yes, the Airport Nearest Relevant API is served over HTTPS.

How many endpoints does the Airport Nearest Relevant API have?

Its OpenAPI description lists 1 endpoint in version 1.1.2. All of them are shown on this page.

What are alternatives to the Airport Nearest Relevant API?

Other Transportation APIs include airportsapi, Transport for London, England, Uber, Transport for Spain, Amadeus for Developers.

Compare alternatives →

Listed from APIs.guru (CC0).