Amadeus · Arazzo Workflow

Amadeus Nearest Airport Flights

Version 1.0.0

Find the nearest relevant airport to a coordinate, then search flight offers departing from it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket InsightsArazzoWorkflows

Provider

amadeus

Workflows

nearest-airport-flights
Resolve nearest airport to a coordinate and search departing flights.
Looks up the nearest relevant airport to a coordinate then searches flight offers from that airport to the destination.
2 steps inputs: adults, departureDate, destinationLocationCode, latitude, longitude outputs: nearestCode, offerCount
1
findNearestAirport
Find the nearest relevant airport to the supplied coordinate, ordered by relevance and distance.
2
searchOffers
Run a flight offers search from the nearest airport to the requested destination for the supplied date and adult count.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amadeus Nearest Airport Flights
  summary: Find the nearest relevant airport to a coordinate, then search flight offers departing from it.
  description: >-
    Turns a geographic coordinate into a flight search. The workflow finds the
    nearest relevant airport to a supplied latitude/longitude using the airport
    nearest relevant reference data, then searches flight offers departing from
    that airport to the requested destination. Useful for "flights from where I
    am now" experiences. Each request is inlined so the geo-to-flights flow can
    be read and executed directly.
  version: 1.0.0
sourceDescriptions:
- name: locationApi
  url: ../openapi/amadeus-location-api-openapi.yml
  type: openapi
- name: shoppingApi
  url: ../openapi/amadeus-shopping-api-openapi.yml
  type: openapi
workflows:
- workflowId: nearest-airport-flights
  summary: Resolve nearest airport to a coordinate and search departing flights.
  description: >-
    Looks up the nearest relevant airport to a coordinate then searches flight
    offers from that airport to the destination.
  inputs:
    type: object
    required:
    - latitude
    - longitude
    - destinationLocationCode
    - departureDate
    - adults
    properties:
      latitude:
        type: number
        description: Latitude of the reference point.
      longitude:
        type: number
        description: Longitude of the reference point.
      destinationLocationCode:
        type: string
        description: IATA city/airport code the traveller is going to.
      departureDate:
        type: string
        description: Departure date in ISO 8601 YYYY-MM-DD format.
      adults:
        type: integer
        description: Number of adult travellers (1-9).
  steps:
  - stepId: findNearestAirport
    description: >-
      Find the nearest relevant airport to the supplied coordinate, ordered by
      relevance and distance.
    operationId: getNearestRelevantAirports
    parameters:
    - name: latitude
      in: query
      value: $inputs.latitude
    - name: longitude
      in: query
      value: $inputs.longitude
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      nearestCode: $response.body#/data/0/iataCode
      airportCount: $response.body#/meta/count
  - stepId: searchOffers
    description: >-
      Run a flight offers search from the nearest airport to the requested
      destination for the supplied date and adult count.
    operationId: getFlightOffers
    parameters:
    - name: originLocationCode
      in: query
      value: $steps.findNearestAirport.outputs.nearestCode
    - name: destinationLocationCode
      in: query
      value: $inputs.destinationLocationCode
    - name: departureDate
      in: query
      value: $inputs.departureDate
    - name: adults
      in: query
      value: $inputs.adults
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      offerCount: $response.body#/meta/count
  outputs:
    nearestCode: $steps.findNearestAirport.outputs.nearestCode
    offerCount: $steps.searchOffers.outputs.offerCount

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amadeus-nearest-airport-flights-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.