> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Search One-Way Fares

> 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 定义](https://aisa.one/docs/openapi/zh/ignav-flights.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "ignav-flights.search-one-way-fares",
  "method": "POST",
  "path": "/apis/v1/ignav-flights/search-one-way-fares",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "adults": {
              "default": 1,
              "description": "Number of adult passengers; total passengers across all categories cannot exceed 9.",
              "minimum": 1,
              "type": "integer"
            },
            "airlines_exclude": {
              "description": "Exclude these 2-character uppercase airline codes; cannot overlap airlines_include.",
              "examples": [
                [
                  "F9"
                ]
              ],
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            },
            "airlines_include": {
              "description": "Only include these 2-character uppercase airline codes; cannot overlap airlines_exclude.",
              "examples": [
                [
                  "UA",
                  "AA"
                ]
              ],
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            },
            "allow_self_transfer": {
              "default": true,
              "description": "Allow identifiable self-transfers. False is a best-effort filter, not a guarantee of a protected through-ticket.",
              "type": "boolean"
            },
            "cabin_class": {
              "default": "economy",
              "description": "Requested cabin class.",
              "enum": [
                "economy",
                "premium_economy",
                "business",
                "first"
              ],
              "type": "string"
            },
            "children": {
              "default": 0,
              "description": "Number of child passengers.",
              "minimum": 0,
              "type": "integer"
            },
            "departure_date": {
              "description": "Departure date in YYYY-MM-DD format; cannot be in the past.",
              "examples": [
                "2026-11-09"
              ],
              "format": "date",
              "type": "string"
            },
            "departure_time_range": {
              "additionalProperties": false,
              "description": "Optional local-hour bounds. Departure hours use origin local time and arrival hours use destination local time.",
              "properties": {
                "arrival_earliest_hour": {
                  "description": "Earliest acceptable local arrival hour (0-23).",
                  "maximum": 23,
                  "minimum": 0,
                  "type": "integer"
                },
                "arrival_latest_hour": {
                  "description": "Latest acceptable local arrival hour (0-23).",
                  "maximum": 23,
                  "minimum": 0,
                  "type": "integer"
                },
                "earliest_hour": {
                  "description": "Earliest acceptable local departure hour (0-23).",
                  "maximum": 23,
                  "minimum": 0,
                  "type": "integer"
                },
                "latest_hour": {
                  "description": "Latest acceptable local departure hour (0-23).",
                  "maximum": 23,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "destination": {
              "description": "Arrival airport or supported metro IATA code, such as JFK or PAR.",
              "examples": [
                "JFK"
              ],
              "maxLength": 3,
              "minLength": 3,
              "pattern": "^[A-Z]{3}$",
              "type": "string"
            },
            "infants_in_seat": {
              "default": 0,
              "description": "Number of infants occupying seats.",
              "minimum": 0,
              "type": "integer"
            },
            "infants_on_lap": {
              "default": 0,
              "description": "Number of lap infants; cannot exceed the adult count.",
              "minimum": 0,
              "type": "integer"
            },
            "market": {
              "description": "Supported country market controlling fare availability and currency.",
              "enum": [
                "US"
              ],
              "type": "string"
            },
            "max_price": {
              "description": "Strict maximum total price in the selected market's currency.",
              "minimum": 0,
              "type": "integer"
            },
            "max_stops": {
              "description": "Maximum stops; omit to allow any number.",
              "maximum": 2,
              "minimum": 0,
              "type": "integer"
            },
            "min_carry_on_bags": {
              "description": "Minimum included carry-on bags.",
              "minimum": 0,
              "type": "integer"
            },
            "min_checked_bags": {
              "description": "Minimum included checked bags.",
              "minimum": 0,
              "type": "integer"
            },
            "origin": {
              "description": "Departure airport or supported metro IATA code, such as SFO or LON.",
              "examples": [
                "SFO"
              ],
              "maxLength": 3,
              "minLength": 3,
              "pattern": "^[A-Z]{3}$",
              "type": "string"
            }
          },
          "required": [
            "departure_date",
            "destination",
            "market",
            "origin"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

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


## OpenAPI

````yaml openapi/zh/ignav-flights.json POST /apis/v1/ignav-flights/search-one-way-fares
openapi: 3.1.0
info:
  description: ''
  title: Ignav Flights
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    ignav-flights:
      description: ''
      title: Ignav Flights
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 409a5cc699368723aa03cc1aa98096f9361fe3f453fa90923b5d89360b65123a
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/ignav-flights/get-booking-links
    - /apis/v1/ignav-flights/search-airports
    - /apis/v1/ignav-flights/search-flexible-fares
    - /apis/v1/ignav-flights/search-one-way-fares
    - /apis/v1/ignav-flights/search-round-trip-fares
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:8b5c91c7b9fa7d58cc4d8439aa1990f48768b3e38616a577a9462c2b95def96d
    facts_hash: 409a5cc699368723aa03cc1aa98096f9361fe3f453fa90923b5d89360b65123a
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: ignav-flights
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/ignav-flights/search-one-way-fares:
    post:
      tags:
        - Ignav Flights
      summary: Search One-Way Fares
      operationId: ignav-flights.search-one-way-fares
      requestBody:
        content:
          application/json:
            schema:
              properties:
                adults:
                  default: 1
                  description: >-
                    Number of adult passengers; total passengers across all
                    categories cannot exceed 9.
                  minimum: 1
                  type: integer
                airlines_exclude:
                  description: >-
                    Exclude these 2-character uppercase airline codes; cannot
                    overlap airlines_include.
                  examples:
                    - - F9
                  items:
                    type: string
                  minItems: 1
                  type: array
                airlines_include:
                  description: >-
                    Only include these 2-character uppercase airline codes;
                    cannot overlap airlines_exclude.
                  examples:
                    - - UA
                      - AA
                  items:
                    type: string
                  minItems: 1
                  type: array
                allow_self_transfer:
                  default: true
                  description: >-
                    Allow identifiable self-transfers. False is a best-effort
                    filter, not a guarantee of a protected through-ticket.
                  type: boolean
                cabin_class:
                  default: economy
                  description: Requested cabin class.
                  enum:
                    - economy
                    - premium_economy
                    - business
                    - first
                  type: string
                children:
                  default: 0
                  description: Number of child passengers.
                  minimum: 0
                  type: integer
                departure_date:
                  description: Departure date in YYYY-MM-DD format; cannot be in the past.
                  examples:
                    - '2026-11-09'
                  format: date
                  type: string
                departure_time_range:
                  additionalProperties: false
                  description: >-
                    Optional local-hour bounds. Departure hours use origin local
                    time and arrival hours use destination local time.
                  properties:
                    arrival_earliest_hour:
                      description: Earliest acceptable local arrival hour (0-23).
                      maximum: 23
                      minimum: 0
                      type: integer
                    arrival_latest_hour:
                      description: Latest acceptable local arrival hour (0-23).
                      maximum: 23
                      minimum: 0
                      type: integer
                    earliest_hour:
                      description: Earliest acceptable local departure hour (0-23).
                      maximum: 23
                      minimum: 0
                      type: integer
                    latest_hour:
                      description: Latest acceptable local departure hour (0-23).
                      maximum: 23
                      minimum: 0
                      type: integer
                  type: object
                destination:
                  description: >-
                    Arrival airport or supported metro IATA code, such as JFK or
                    PAR.
                  examples:
                    - JFK
                  maxLength: 3
                  minLength: 3
                  pattern: ^[A-Z]{3}$
                  type: string
                infants_in_seat:
                  default: 0
                  description: Number of infants occupying seats.
                  minimum: 0
                  type: integer
                infants_on_lap:
                  default: 0
                  description: Number of lap infants; cannot exceed the adult count.
                  minimum: 0
                  type: integer
                market:
                  description: >-
                    Supported country market controlling fare availability and
                    currency.
                  enum:
                    - US
                  type: string
                max_price:
                  description: >-
                    Strict maximum total price in the selected market's
                    currency.
                  minimum: 0
                  type: integer
                max_stops:
                  description: Maximum stops; omit to allow any number.
                  maximum: 2
                  minimum: 0
                  type: integer
                min_carry_on_bags:
                  description: Minimum included carry-on bags.
                  minimum: 0
                  type: integer
                min_checked_bags:
                  description: Minimum included checked bags.
                  minimum: 0
                  type: integer
                origin:
                  description: >-
                    Departure airport or supported metro IATA code, such as SFO
                    or LON.
                  examples:
                    - SFO
                  maxLength: 3
                  minLength: 3
                  pattern: ^[A-Z]{3}$
                  type: string
              required:
                - departure_date
                - destination
                - market
                - origin
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__public_data
          description: Tool result data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__2c1063e0baf3380b
    Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__2c1063e0baf3380b:
      properties:
        cache_hit:
          anyOf:
            - type: boolean
            - type: 'null'
        departure_date:
          type: string
        destination:
          type: string
        itineraries:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__e9c26c32d8fae131
          type: array
        observed_at:
          anyOf:
            - type: string
            - type: 'null'
        origin:
          type: string
      required:
        - origin
        - destination
        - departure_date
        - itineraries
      type: object
    Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__e9c26c32d8fae131:
      properties:
        bags:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__df18d747414d18a9
            - type: 'null'
        cabin_class:
          anyOf:
            - type: string
            - type: 'null'
        ignav_id:
          type: string
        outbound:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__acb3c7c68319474c
        price:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__19d637ecc7f0bbe1
        requires_self_transfer:
          anyOf:
            - type: boolean
            - type: 'null'
      required:
        - price
        - outbound
        - ignav_id
      type: object
    Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__df18d747414d18a9:
      properties:
        carry_on:
          anyOf:
            - type: integer
            - type: 'null'
        checked:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__acb3c7c68319474c:
      properties:
        carrier:
          anyOf:
            - type: string
            - type: 'null'
        duration_minutes:
          anyOf:
            - type: integer
            - type: 'null'
        segments:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__87e02d166f1a7b7b
          type: array
      required:
        - segments
      type: object
    Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__19d637ecc7f0bbe1:
      properties:
        amount:
          type: number
        currency:
          examples:
            - USD
          type: string
        status:
          enum:
            - verified
            - unverified
          type: string
      required:
        - amount
        - currency
        - status
      type: object
    Response576A0Ea506F3_connect_IGNAV_FLIGHTS_SEARCH_ONE_WAY_FARES__output__87e02d166f1a7b7b:
      properties:
        aircraft:
          anyOf:
            - type: string
            - type: 'null'
        arrival_airport:
          type: string
        arrival_time_local:
          type: string
        arrival_time_utc:
          anyOf:
            - type: string
            - type: 'null'
        arrival_timezone:
          anyOf:
            - type: string
            - type: 'null'
        departure_airport:
          type: string
        departure_time_local:
          type: string
        departure_time_utc:
          anyOf:
            - type: string
            - type: 'null'
        departure_timezone:
          anyOf:
            - type: string
            - type: 'null'
        duration_minutes:
          type: integer
        flight_number:
          anyOf:
            - type: string
            - type: 'null'
        marketing_carrier_code:
          anyOf:
            - type: string
            - type: 'null'
        operating_carrier_name:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - departure_airport
        - departure_time_local
        - arrival_airport
        - arrival_time_local
        - duration_minutes
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.