Airports API v2
    Airports API v2
    • All airports
      GET
    • Airport(s) by country code.
      GET
    • Nearest airport(s) by geo coordinates.
      GET
    • Nearest airport(s) by airport id.
      GET
    • Airport by id.
      GET

      Nearest airport(s) by airport id.

      GET
      /nearest/{id}
      Retrieve nearest airports by station 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

      Query Params

      Responses

      🟢200OK
      application/json
      Body

      🟠400BadRequest
      🔴500InternalServerError
      Modified at 2023-08-15 05:48:08
      Previous
      Nearest airport(s) by geo coordinates.
      Next
      Airport by id.
      Built with