Amadeus · Arazzo Workflow

Amadeus City Safety and Livability

Version 1.0.0

Resolve a city to coordinates, score its safety ranking, then rate its area by category.

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

Provider

amadeus

Workflows

city-safety-and-livability
Resolve a city's coordinates, score its safety, and rate its area.
Looks up a city's coordinates, retrieves its safety ranking, and fetches its category-rated area scores.
3 steps inputs: cityKeyword outputs: categoryScores, safetyScores
1
resolveCity
Resolve the city keyword to coordinates via the locations reference data, matching on CITY subtype.
2
getSafetyRanking
Retrieve the Safe Place safety ranking around the resolved city coordinates.
3
getAreaScore
Fetch the category-rated area scores for the same coordinates to assess livability themes.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amadeus City Safety and Livability
  summary: Resolve a city to coordinates, score its safety ranking, then rate its area by category.
  description: >-
    Helps a traveller judge a destination before booking. The workflow resolves
    a city keyword to coordinates via the locations reference data, retrieves the
    Safe Place safety ranking around those coordinates, then fetches the
    category-rated area scores (such as sightseeing, restaurants and shopping)
    for the same point. Each request is inlined so the safety-and-livability
    flow can be read and executed without opening the underlying OpenAPI
    descriptions.
  version: 1.0.0
sourceDescriptions:
- name: categoryRatedAreasApi
  url: ../openapi/amadeus-category-rated-areas-api-openapi.yml
  type: openapi
- name: locationApi
  url: ../openapi/amadeus-location-api-openapi.yml
  type: openapi
- name: searchApi
  url: ../openapi/amadeus-search-api-openapi.yml
  type: openapi
workflows:
- workflowId: city-safety-and-livability
  summary: Resolve a city's coordinates, score its safety, and rate its area.
  description: >-
    Looks up a city's coordinates, retrieves its safety ranking, and fetches its
    category-rated area scores.
  inputs:
    type: object
    required:
    - cityKeyword
    properties:
      cityKeyword:
        type: string
        description: Free-text keyword for the city (e.g. Madrid).
  steps:
  - stepId: resolveCity
    description: >-
      Resolve the city keyword to coordinates via the locations reference data,
      matching on CITY subtype.
    operationId: getAirportCitySearch
    parameters:
    - name: subType
      in: query
      value: CITY
    - name: keyword
      in: query
      value: $inputs.cityKeyword
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      latitude: $response.body#/data/0/geoCode/latitude
      longitude: $response.body#/data/0/geoCode/longitude
  - stepId: getSafetyRanking
    description: >-
      Retrieve the Safe Place safety ranking around the resolved city
      coordinates.
    operationId: getSafetyRanking
    parameters:
    - name: latitude
      in: query
      value: $steps.resolveCity.outputs.latitude
    - name: longitude
      in: query
      value: $steps.resolveCity.outputs.longitude
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      safetyScores: $response.body#/data/0/safetyScores
  - stepId: getAreaScore
    description: >-
      Fetch the category-rated area scores for the same coordinates to assess
      livability themes.
    operationId: get-category-rated-areas
    parameters:
    - name: latitude
      in: query
      value: $steps.resolveCity.outputs.latitude
    - name: longitude
      in: query
      value: $steps.resolveCity.outputs.longitude
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      categoryScores: $response.body#/data/0/categoryScores
  outputs:
    safetyScores: $steps.getSafetyRanking.outputs.safetyScores
    categoryScores: $steps.getAreaScore.outputs.categoryScores

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-safety-and-livability-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.