# StableTravel Advanced Flight Search

> StableTravel Advanced Flight Search is a paid API for AI agents from StableTravel at stabletravel.dev, paid per call via MPP or x402, $0.1/call, status unknown (last checked 2026-10-10).

Search for flights using FlightAware's extended query syntax for complex, filtered flight lookups

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/flights/search/advanced?utm_source=zero.xyz
- Price: $0.1/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Provider: StableTravel
- Docs: https://stabletravel.dev
- Website: https://stabletravel.dev
- Tags: flightaware, flights, google-flights, seats-aero, travel, data, web
- Canonical page: https://www.zero.xyz/c/stabletravel-advanced-6245a80d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a78XZCbTmLb0kel-y42WZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stabletravel-advanced-6245a80d
```

Example prompt: Search for all United Airlines 737 flights currently en route from Chicago O'Hare to Los Angeles using FlightAware's advanced query — something like 'ident UA* orig KORD dest KLAX type Airline'.

## When to prefer this

Use this endpoint when you need complex, multi-criteria flight searches that go beyond simple origin/destination lookups — e.g., filtering by operator, flight type (Airline, General_Aviation, Cargo), status, or combining multiple conditions using FlightAware's extended query syntax. Prefer this over the basic search endpoint when you need expressive boolean or field-specific queries. Best for power users, developers, or agents that need precise flight data filtering.

## Known failure modes

- Invalid or malformed query string returns an error or empty results
- Query syntax not supported by FlightAware returns a 400 bad request
- No matching flights found returns an empty flights array
- Payment not provided or insufficient USDC balance returns a 402 Payment Required
- Rate limiting or service unavailability returns a 429 or 503 error
- Truncated response schema may omit some fields depending on data availability

## How this service works

Advanced flight search with extended query syntax

## Output

Returns an array of matching flight objects, each containing flight identifier (ident, IATA, ICAO), origin and destination airport details (code, city, name, timezone), flight status, route string, operator, flight type (Airline/General_Aviation/Cargo), actual and scheduled departure/arrival times, codeshare identifiers, and flags for blocked/diverted/cancelled status. Also includes pagination links for fetching additional results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Advanced search query string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "flights"
 ],
 "properties": {
  "links": {
   "anyOf": [
    {
     "type": "object",
     "properties": {
      "next": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      }
     },
     "additionalProperties": false
    },
    {
     "type": "null"
    }
   ]
  },
  "flights": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "type": {
      "anyOf": [
       {
        "enum": [
         "Airline",
         "General_Aviation",
         "Cargo"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "ident": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "route": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "origin": {
      "anyOf": [
       {
        "type": "object",
        "properties": {
         "city": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "code": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "name": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "code_lid": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "timezone": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "code_iata": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "code_icao": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "airport_info_url": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         }
        },
        "additio
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-advanced-6245a80d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stabletravel.dev](https://www.zero.xyz/host/stabletravel.dev/llms.txt)
