Amadeus · Arazzo Workflow

Amadeus Resolve Locations and Search Flights

Version 1.0.0

Resolve origin and destination IATA codes from keywords, then search flight offers between them.

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

resolve-locations-and-search-flights
Resolve two place keywords to IATA codes and search flights between them.
Looks up the origin and destination keywords in the locations reference data, extracts their IATA codes, and runs a flight offers search.
3 steps inputs: adults, departureDate, destinationKeyword, originKeyword outputs: destinationCode, offerCount, originCode
1
resolveOrigin
Resolve the origin keyword to a city IATA code via the locations reference data, matching on CITY subtype.
2
resolveDestination
Resolve the destination keyword to a city IATA code via the locations reference data, matching on CITY subtype.
3
searchOffers
Run a flight offers search between the two resolved IATA codes for the requested date and adult count.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amadeus Resolve Locations and Search Flights
  summary: Resolve origin and destination IATA codes from keywords, then search flight offers between them.
  description: >-
    Bridges free-text place input to flight shopping. The workflow resolves an
    origin keyword and a destination keyword to their IATA codes via the airport
    and city search reference data, then runs a flight offers search using the
    resolved codes. This lets a user type "London" and "New York" and still get
    real flight offers. Each request is inlined so the resolve-then-search 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: resolve-locations-and-search-flights
  summary: Resolve two place keywords to IATA codes and search flights between them.
  description: >-
    Looks up the origin and destination keywords in the locations reference
    data, extracts their IATA codes, and runs a flight offers search.
  inputs:
    type: object
    required:
    - originKeyword
    - destinationKeyword
    - departureDate
    - adults
    properties:
      originKeyword:
        type: string
        description: Free-text keyword for the origin (e.g. London).
      destinationKeyword:
        type: string
        description: Free-text keyword for the destination (e.g. New York).
      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: resolveOrigin
    description: >-
      Resolve the origin keyword to a city IATA code via the locations
      reference data, matching on CITY subtype.
    operationId: getAirportCitySearch
    parameters:
    - name: subType
      in: query
      value: CITY
    - name: keyword
      in: query
      value: $inputs.originKeyword
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      originCode: $response.body#/data/0/iataCode
  - stepId: resolveDestination
    description: >-
      Resolve the destination keyword to a city IATA code via the locations
      reference data, matching on CITY subtype.
    operationId: getAirportCitySearch
    parameters:
    - name: subType
      in: query
      value: CITY
    - name: keyword
      in: query
      value: $inputs.destinationKeyword
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      destinationCode: $response.body#/data/0/iataCode
  - stepId: searchOffers
    description: >-
      Run a flight offers search between the two resolved IATA codes for the
      requested date and adult count.
    operationId: getFlightOffers
    parameters:
    - name: originLocationCode
      in: query
      value: $steps.resolveOrigin.outputs.originCode
    - name: destinationLocationCode
      in: query
      value: $steps.resolveDestination.outputs.destinationCode
    - name: departureDate
      in: query
      value: $inputs.departureDate
    - name: adults
      in: query
      value: $inputs.adults
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      offerCount: $response.body#/meta/count
      firstOffer: $response.body#/data/0
  outputs:
    originCode: $steps.resolveOrigin.outputs.originCode
    destinationCode: $steps.resolveDestination.outputs.destinationCode
    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-resolve-locations-and-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.