location
Returns a specific airports or cities based on its id.
get/reference-data/locations/{locationId}
Request
- Base URLhttps://test.api.amadeus.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
locationIdstring required
identifier of the location
Response
Successful Operation
Example response
{
"meta": {
"links": {
"self": "https://test.api.amadeus.com/v1/reference-data/locations/CMUC"
}
},
"data": {
"type": "location",
"subType": "CITY",
"name": "MUNICH INTERNATIONAL",
"detailedName": "MUNICH/DE:MUNICH INTERNATIONAL",
"id": "CMUC",
"self": {
"href": "https://test.api.amadeus.com/v1/reference-data/locations/CMUC",
"methods": [
"GET"
]
},
"timeZoneOffset": "+02:00",
"iataCode": "MUC",
"geoCode": {
"latitude": 48.35378,
"longitude": 11.78609
},
"address": {
"cityName": "MUNICH",
"cityCode": "MUC",
"countryName": "GERMANY",
"countryCode": "DE",
"regionCode": "EUROP"
},
"analytics": {
"travelers": {
"score": 27
}
}
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.