# FlightAware Positions Search

> FlightAware Positions 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-12).

Search for flights with real-time position data using a query string, with optional filtering by flight state

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/flights/search/positions?utm_source=zero.xyz
- Price: $0.1/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-10-12
- 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-positions-a78525f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ihIVd0b1ZTW4D5EET4niu

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-positions-a78525f3
```

Example prompt: Search FlightAware for all airborne Delta flights right now — use the query 'DAL' and filter for airborne only, returning only unique flights.

## When to prefer this

Use this endpoint when you need to search for flights by a flexible query string (callsign, tail number, operator code, etc.) and also need position/location data alongside flight details. Prefer this over the airport-specific flights or scheduled arrivals endpoints when you don't have a specific airport context but want to match flights broadly and need their real-time state.

## Known failure modes

- Empty results if the query string matches no active flights
- Invalid filter value returns validation error
- Missing required 'query' parameter returns 400 error
- Upstream FlightAware API unavailability causes 502 or timeout
- Rate limiting or payment failure returns 402 if USDC payment not processed

## How this service works

Search for flights with position data

## Output

Returns an array of flights with rich detail including flight identifier (IATA/ICAO), operator, origin and destination airports (with city, codes, timezone), route, flight type (Airline/General_Aviation/Cargo), status, actual departure and arrival times, codeshares, and a pagination link for next results.

## Example request

```json
{
 "query": "United Airlines",
 "filter": "airborne",
 "unique_flights": true
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query string"
  },
  "filter": {
   "enum": [
    "airborne",
    "grounded"
   ],
   "type": "string",
   "description": "Filter by flight state"
  },
  "unique_flights": {
   "type": "boolean",
   "description": "Return only unique flights"
  }
 }
}
```

## 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-positions-a78525f3/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)
