# StableTravel FlightAware Flight Search Count

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

Returns the count of flights matching a FlightAware-style search query string

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/flights/search/count?utm_source=zero.xyz
- Price: $0.04/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-count-165ac277
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_okjGgmz8ITy06vuq9IInU

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-count-165ac277
```

Example prompt: How many flights are there matching origin KJFK and destination KLAX according to FlightAware data?

## When to prefer this

Use this endpoint when you need to know the volume or prevalence of flights matching specific criteria (origin, destination, operator, etc.) without needing the full list of flight records. Ideal for analytics, feasibility checks, or pre-filtering before fetching detailed flight data.

## Known failure modes

- Invalid query syntax returns an error — query must follow FlightAware search query format (e.g. 'origin:KJFK destination:KLAX')
- Missing required 'query' parameter returns a 400 or validation error
- Unrecognized airport codes or operator identifiers may return a count of zero
- Service unavailability may return a 5xx error

## How this service works

Count the number of flights matching a search query

## Output

A single numeric count representing how many flights in the FlightAware database match the given search query string.

## Example request

```json
{
 "query": "origin:KJFK destination:KLAX"
}
```

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "count"
 ],
 "properties": {
  "count": {
   "type": "number"
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-count-165ac277/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)
