You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

关于Amadeus自助REST API(flight-offers/flight-dates)price.total是否含税费的问询

Amadeus Flight Offers & Flight Dates API: Price Field Breakdown

Great question—let’s break this down clearly for you:

1. Does price.total include all taxes?

Your observation is spot-on: No, price.total does not cover all taxes in the Amadeus v1/shopping/flight-offers and flight-dates APIs.

The total field represents the sum of the base fare plus mandatory taxes only, while totalTaxes captures the full amount of all taxes (both mandatory and any applicable optional ones). That’s why adding these two values together gives you the final all-in price that matches what airlines display directly.

Using your example data:

"price": { 
  "total": "259.91", 
  "totalTaxes": "185.91" 
}

The actual total cost to the passenger would be 259.91 + 185.91 = 445.82—this is the full amount they’d pay.

2. Where to find detailed field documentation?

You can find the exact field definitions in the official Amadeus self-service API docs, right within the "Response Schema" section for each API:

  • For flight-offers: Expand the Price object in the response schema to see that total is defined as "Base fare plus mandatory taxes", and totalTaxes is "Total amount of all taxes".
  • For flight-dates: The price structure follows the same logic, so the same field definitions apply.

These details are embedded directly in the API documentation pages you referenced—keep an eye out for the schema expanders, they’re easy to miss if you’re scrolling quickly!

内容的提问来源于stack exchange,提问作者Chris Han

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.13 06:28:18