Amadeus · Arazzo Workflow

Amadeus City Hotels with Ratings

Version 1.0.0

List hotels in a city, then fetch aggregated guest sentiment ratings for 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

city-hotels-with-ratings
List a city's hotels and fetch their guest sentiment ratings.
Resolves hotels in a city to property codes, then fetches the sentiment rating for the first property.
2 steps inputs: cityCode outputs: hotelCount, overallRating
1
listHotels
List hotels in the destination city to obtain Amadeus property codes.
2
getRating
Retrieve the aggregated guest sentiment rating for the first matched property.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amadeus City Hotels with Ratings
  summary: List hotels in a city, then fetch aggregated guest sentiment ratings for them.
  description: >-
    Enriches a city hotel list with reputation data. The workflow lists hotels
    in a destination city to collect property codes, then retrieves the
    aggregated guest sentiment ratings for the first matched property so results
    can be sorted or filtered by reputation. Each request is inlined so the
    list-then-rate flow can be read and executed without opening the underlying
    OpenAPI descriptions.
  version: 1.0.0
sourceDescriptions:
- name: hotelRatingsApi
  url: ../openapi/amadeus-hotel-ratings-api-openapi.yml
  type: openapi
- name: hotelsApi
  url: ../openapi/amadeus-hotels-api-openapi.yml
  type: openapi
workflows:
- workflowId: city-hotels-with-ratings
  summary: List a city's hotels and fetch their guest sentiment ratings.
  description: >-
    Resolves hotels in a city to property codes, then fetches the sentiment
    rating for the first property.
  inputs:
    type: object
    required:
    - cityCode
    properties:
      cityCode:
        type: string
        description: Destination city or airport IATA code (3 chars, e.g. NCE).
  steps:
  - stepId: listHotels
    description: >-
      List hotels in the destination city to obtain Amadeus property codes.
    operationId: get-shopping-hotels-by-city
    parameters:
    - name: cityCode
      in: query
      value: $inputs.cityCode
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstHotelId: $response.body#/data/0/hotelId
      hotelCount: $response.body#/meta/count
  - stepId: getRating
    description: >-
      Retrieve the aggregated guest sentiment rating for the first matched
      property.
    operationId: getSentimentsByHotelIds
    parameters:
    - name: hotelIds
      in: query
      value: $steps.listHotels.outputs.firstHotelId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      overallRating: $response.body#/data/0/overallRating
      sentiments: $response.body#/data/0/sentiments
  outputs:
    hotelCount: $steps.listHotels.outputs.hotelCount
    overallRating: $steps.getRating.outputs.overallRating

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-city-hotels-with-ratings-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.