Nearest airport(s) by airport id.
GET
/nearest/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.transavia.com/v2/airports/nearest/'
Response Response Example
200 - Example 1
[
{
"city": "string",
"country": {
"code": "string",
"name": "string"
},
"distanceInKm": 0,
"geoCoordinates": {
"latitude": 0,
"longitude": 0
},
"id": "string",
"name": "string",
"self": {
"href": "string"
}
}
]
Request
Path Params
id
string
required
Query Params
maxDistanceInKm
string
optional
limit
string
optional
Responses
Modified at 2023-08-15 05:48:08