# StableTravel Nearby Airports Finder

> StableTravel Nearby Airports Finder is a paid API for AI agents from StableTravel at stabletravel.dev, paid per call via x402 or MPP, $0.008/call, status unknown (last checked 2026-10-12).

Find airports near a given latitude/longitude coordinate, returning details like airport codes, distance, heading, and type

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/nearby?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402, MPP
- 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-nearby-a6611501
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SS5zVeheAaAZAEx52kU6b

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-nearby-a6611501
```

Example prompt: What airports are within 100 miles of coordinates 40.7128° N, 74.0060° W? I only want commercial airports if possible.

## When to prefer this

Use this endpoint when you need to discover airports near a geographic point defined by coordinates, especially when building travel itineraries, suggesting flight options for a given location, or enriching location data with nearby aviation infrastructure. Prefer this over a text-based airport search when you have precise lat/lng coordinates. The only_iap flag is useful when you want to filter to instrument-approach-procedure airports only.

## Known failure modes

- Missing required latitude or longitude returns a 400 validation error
- Invalid coordinate values (out of range) may return empty results or an error
- No airports found within the specified radius returns an empty airports array
- Pagination cursor mismatch returns an error or unexpected results
- Network timeout or upstream FlightAware outage returns a 503 or 5xx error

## How this service works

Find airports near a given latitude/longitude coordinate

## Output

Returns a paginated list of airports near the given coordinates, each with airport code, name, city, state, country, distance from the query point, compass heading, IATA/ICAO/LID codes, timezone, elevation, coordinates, and a URL for flight data. Also includes alternative airport names and a link to the next page of results.

## Example request

```json
{
 "radius": 100,
 "latitude": 40.7128,
 "only_iap": true,
 "longitude": -74.006
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "latitude",
  "longitude"
 ],
 "properties": {
  "cursor": {
   "type": "string"
  },
  "radius": {
   "type": "number"
  },
  "latitude": {
   "type": "number"
  },
  "only_iap": {
   "type": "boolean"
  },
  "longitude": {
   "type": "number"
  },
  "max_pages": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "airports"
 ],
 "properties": {
  "links": {
   "type": "object",
   "properties": {
    "next": {
     "anyOf": [
      {
       "type": "string"
      },
      {
       "type": "null"
      }
     ]
    }
   },
   "additionalProperties": false
  },
  "airports": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "airport_code",
     "name",
     "distance",
     "heading"
    ],
    "properties": {
     "city": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "name": {
      "type": "string"
     },
     "type": {
      "type": "string"
     },
     "state": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "heading": {
      "type": "number"
     },
     "code_lid": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "distance": {
      "type": "number"
     },
     "latitude": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "timezone": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "wiki_url": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "code_iata": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "code_icao": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "elevation": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "longitude": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "airport_code": {
      "type": "string"
     },
     "alternatives": {
      "anyOf": [
       {
        "type": "array",
        "items": {
         "type": "object",
         "required": [
          "airport_code"
         ],
         "properties": {
          "city": {
           "type": "string"
          },
          "name": {
           "type": "string"
          },
          "airport_code": {
           "type": "string"
          }
         },
         
… (truncated)
```

## More

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