跳转到主要内容
POST
Search One-Way Fares

请求规范

  • 方法与路径: POST /apis/v1/ignav-flights/search-one-way-fares
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/ignav-flights/search-one-way-fares
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.0023 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
departure_date
string<date>
必填

Departure date in YYYY-MM-DD format; cannot be in the past.

示例:

"2026-11-09"

destination
string
必填

Arrival airport or supported metro IATA code, such as JFK or PAR.

Required string length: 3
Pattern: ^[A-Z]{3}$
示例:

"JFK"

market
enum<string>
必填

Supported country market controlling fare availability and currency.

可用选项:
US
origin
string
必填

Departure airport or supported metro IATA code, such as SFO or LON.

Required string length: 3
Pattern: ^[A-Z]{3}$
示例:

"SFO"

adults
integer
默认值:1

Number of adult passengers; total passengers across all categories cannot exceed 9.

必填范围: x >= 1
airlines_exclude
string[]

Exclude these 2-character uppercase airline codes; cannot overlap airlines_include.

Minimum array length: 1
示例:
airlines_include
string[]

Only include these 2-character uppercase airline codes; cannot overlap airlines_exclude.

Minimum array length: 1
示例:
allow_self_transfer
boolean
默认值:true

Allow identifiable self-transfers. False is a best-effort filter, not a guarantee of a protected through-ticket.

cabin_class
enum<string>
默认值:economy

Requested cabin class.

可用选项:
economy,
premium_economy,
business,
first
children
integer
默认值:0

Number of child passengers.

必填范围: x >= 0
departure_time_range
object

Optional local-hour bounds. Departure hours use origin local time and arrival hours use destination local time.

infants_in_seat
integer
默认值:0

Number of infants occupying seats.

必填范围: x >= 0
infants_on_lap
integer
默认值:0

Number of lap infants; cannot exceed the adult count.

必填范围: x >= 0
max_price
integer

Strict maximum total price in the selected market's currency.

必填范围: x >= 0
max_stops
integer

Maximum stops; omit to allow any number.

必填范围: 0 <= x <= 2
min_carry_on_bags
integer

Minimum included carry-on bags.

必填范围: x >= 0
min_checked_bags
integer

Minimum included checked bags.

必填范围: x >= 0

响应

Tool result data

departure_date
string
必填
destination
string
必填
itineraries
object[]
必填
origin
string
必填
cache_hit
boolean | null
observed_at
string | null