Amadeus · Capability
Flight Price Analysis API — Price Metrics
Flight Price Analysis API — Price Metrics. 1 operation(s). Lead operation: Amadeus GET Itinerary Price Metric. Self-contained Naftiko capability covering one Amadeus business surface.
What You Can Do
GET
Get itinerary price metrics
— Amadeus GET Itinerary Price Metric
/v1/analytics/itinerary-price-metrics
MCP Tools
get-itinerary-price-metric
Amadeus GET Itinerary Price Metric
read-only
idempotent
Capability Spec
naftiko: "1.0.0-alpha2"
info:
label: "Flight Price Analysis API — Price Metrics"
description: 'Flight Price Analysis API — Price Metrics. 1 operation(s). Lead operation: Amadeus GET Itinerary Price Metric. Self-contained Naftiko capability covering one Amadeus business surface.'
tags:
- Amadeus
- Travel
- Price Metrics
created: "2026-05-29"
modified: "2026-05-29"
binds:
- namespace: env
keys:
AMADEUS_TOKEN: AMADEUS_TOKEN
capability:
consumes:
- type: http
namespace: flight-price-analysis-price-metrics
baseUri: https://test.api.amadeus.com/v1
description: Flight Price Analysis API — Price Metrics business capability. Self-contained, no shared references.
authentication:
type: bearer
token: '{{env.AMADEUS_TOKEN}}'
resources:
- name: analytics-itinerary-price-metrics
path: /analytics/itinerary-price-metrics
operations:
- name: get-itinerary-price-metrics
method: GET
description: Amadeus GET Itinerary Price Metric
inputParameters:
- name: originIataCode
in: query
type: string
required: true
description: "airport code, following [IATA standard](http://www.iata.org/publications/Pages/code-search.aspx), from which the traveler will depart\n"
- name: destinationIataCode
in: query
type: string
required: true
description: airport code, following [IATA standard](http://www.iata.org/publications/Pages/code-search.aspx), to which the traveler is going.
- name: departureDate
in: query
type: string
required: true
description: "The date on which the traveler will depart from the origin to go to the destination. \n\nDates are specified in the[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format."
- name: currencyCode
in: query
type: string
required: false
description: the preferred currency for display. Currency is specified in the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format, e.g. EUR for Euro
- name: oneWay
in: query
type: boolean
required: false
description: "true to get price metrics for a one way trip,\nfalse to get price metrics for a round trip"
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
exposes:
- type: rest
namespace: flight-price-analysis-price-metrics-rest
port: 8080
description: REST adapter for Flight Price Analysis API — Price Metrics. One Spectral-compliant resource per consumed operation, prefixed with /v1.
resources:
- path: /v1/analytics/itinerary-price-metrics
name: analytics-itinerary-price-metrics
description: REST surface for analytics-itinerary-price-metrics.
operations:
- method: GET
name: get-itinerary-price-metrics
description: Amadeus GET Itinerary Price Metric
call: flight-price-analysis-price-metrics.get-itinerary-price-metrics
with:
originIataCode: rest.originIataCode
destinationIataCode: rest.destinationIataCode
departureDate: rest.departureDate
currencyCode: rest.currencyCode
oneWay: rest.oneWay
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: flight-price-analysis-price-metrics-mcp
port: 9090
transport: http
description: MCP adapter for Flight Price Analysis API — Price Metrics. One tool per consumed operation, routed inline through this capability's consumes block.
tools:
- name: get-itinerary-price-metric
description: Amadeus GET Itinerary Price Metric
hints:
readOnly: true
destructive: false
idempotent: true
call: flight-price-analysis-price-metrics.get-itinerary-price-metrics
with:
originIataCode: tools.originIataCode
destinationIataCode: tools.destinationIataCode
departureDate: tools.departureDate
currencyCode: tools.currencyCode
oneWay: tools.oneWay
outputParameters:
- type: object
mapping: $.