Amadeus · Arazzo Workflow

Amadeus Direct Destinations Then Search Flights

Version 1.0.0

List direct destinations from an airport, then search flight offers to the first destination.

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

direct-destinations-search-flights
Discover non-stop destinations from an airport and price a flight to one.
Lists direct destinations from a departure airport, then searches flight offers to the first destination returned.
2 steps inputs: adults, departureAirportCode, departureDate outputs: destinationCount, firstDestination, offerCount
1
listDirectDestinations
List the destinations served non-stop from the departure airport.
2
searchOffers
Run a flight offers search from the departure airport to the first direct destination for the requested date and adult count.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amadeus Direct Destinations Then Search Flights
  summary: List direct destinations from an airport, then search flight offers to the first destination.
  description: >-
    Supports inspiration-style discovery grounded in real routes. The workflow
    lists the airports a departure airport flies to non-stop, then runs a flight
    offers search to the first direct destination for the requested date. This
    keeps results to genuinely bookable non-stop routes. Each request is inlined
    so the discover-then-search flow can be read and executed without opening
    the underlying OpenAPI descriptions.
  version: 1.0.0
sourceDescriptions:
- name: directDestinationsApi
  url: ../openapi/amadeus-direct-destinations-api-openapi.yml
  type: openapi
- name: shoppingApi
  url: ../openapi/amadeus-shopping-api-openapi.yml
  type: openapi
workflows:
- workflowId: direct-destinations-search-flights
  summary: Discover non-stop destinations from an airport and price a flight to one.
  description: >-
    Lists direct destinations from a departure airport, then searches flight
    offers to the first destination returned.
  inputs:
    type: object
    required:
    - departureAirportCode
    - departureDate
    - adults
    properties:
      departureAirportCode:
        type: string
        description: IATA code of the departure airport (e.g. MAD).
      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: listDirectDestinations
    description: >-
      List the destinations served non-stop from the departure airport.
    operationId: airport/direct-destinations
    parameters:
    - name: departureAirportCode
      in: query
      value: $inputs.departureAirportCode
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstDestination: $response.body#/data/0/iataCode
      destinationCount: $response.body#/meta/count
  - stepId: searchOffers
    description: >-
      Run a flight offers search from the departure airport to the first direct
      destination for the requested date and adult count.
    operationId: getFlightOffers
    parameters:
    - name: originLocationCode
      in: query
      value: $inputs.departureAirportCode
    - name: destinationLocationCode
      in: query
      value: $steps.listDirectDestinations.outputs.firstDestination
    - 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:
    firstDestination: $steps.listDirectDestinations.outputs.firstDestination
    destinationCount: $steps.listDirectDestinations.outputs.destinationCount
    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-direct-destinations-search-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.