Skip to main content
POST
Search Flexible Fares

Request contract

  • Method and path: POST /apis/v1/ignav-flights/search-flexible-fares
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/ignav-flights/search-flexible-fares
  • Runtime facts: 409a5cc699368723aa03cc1aa98096f9361fe3f453fa90923b5d89360b65123a
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.0023 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.0023
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Declared maximum count/units: 10000000
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

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

Body

application/json
legs
object[]
required

One or two ordered trip legs in chronological date order. Use airport or supported metro IATA codes. Itinerary segments identify concrete airports.

Required array length: 1 - 2 elements
market
enum<string>
required

Provider-supported ISO 3166-1 alpha-2 market controlling availability and currency.

Available options:
US
adults
integer
default:1

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

Required range: x >= 1
children
integer
default:0

Number of child passengers.

Required range: x >= 0
max_price
integer

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

Required range: x >= 0
cabin_class
enum<string>
default:economy

Requested cabin class.

Available options:
economy,
premium_economy,
business,
first
infants_on_lap
integer
default:0

Number of lap infants; cannot exceed the adult count.

Required range: x >= 0
infants_in_seat
integer
default:0

Number of infants occupying seats.

Required range: x >= 0
airlines_exclude
string[]

Non-empty list of 2-character uppercase airline codes to exclude; cannot overlap airlines_include.

Minimum array length: 1
Example:
airlines_include
string[]

Non-empty list of 2-character uppercase airline codes to include exclusively; cannot overlap airlines_exclude.

Minimum array length: 1
Example:
min_checked_bags
integer

Minimum number of included checked bags.

Required range: x >= 0
min_carry_on_bags
integer

Minimum number of included carry-on bags.

Required range: x >= 0
allow_self_transfer
boolean
default:true

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

Response

Tool result data

legs
object[]
required
itineraries
object[]
required
cache_hit
boolean | null
observed_at
string | null