# StableTravel Airport Info by Code

> StableTravel Airport Info by Code is a paid API for AI agents from stable-travel-hkd3tku0j-merit-systems.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-13).

Returns detailed information about a specific airport identified by its ICAO/IATA code, including location, coordinates, timezone, and metadata

## Facts

- Endpoint: GET https://stable-travel-hkd3tku0j-merit-systems.vercel.app/api/flightaware/airports/KJFK
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stabletravel-airport-info-by-code-297692b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MK9flrWZutd0YpHce9oDe

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-airport-info-by-code-297692b1
```

Example prompt: Can you look up the details for JFK airport — I need its full name, city, timezone, coordinates, and any alternative nearby airports?

## When to prefer this

Use this endpoint when you need authoritative, structured airport metadata — including geolocation, timezone, and alternative airports — given a known ICAO or IATA airport code. Prefer this over general web search when you need machine-readable structured data about an airport for routing, scheduling, or enrichment purposes.

## Known failure modes

- Invalid or unrecognized airport code returns an error or empty result
- Airport code not found in FlightAware database
- Payment not processed (x402 payment required before response)
- Network timeout or upstream FlightAware API unavailability
- Malformed airport code (e.g. wrong length or format) may return 400 or empty data

## How this service works

Get detailed information for a specific airport by its code

## Output

A JSON object containing the airport's full name, city, state, country code, ICAO and IATA codes, LID code, latitude, longitude, elevation, timezone, Wikipedia URL, a FlightAware flights page URL, and an array of alternative nearby airports (each with code, name, and city). Fields may be null if not available.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "airport_code",
      "name"
     ],
     "properties": {
      "city": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "name": {
       "type": "string"
      },
      "type": {
       "type": "string"
      },
      "state": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "code_lid": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "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"
        }
       ]
      }
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-airport-info-by-code-297692b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stable-travel-hkd3tku0j-merit-systems.vercel.app](https://www.zero.xyz/host/stable-travel-hkd3tku0j-merit-systems.vercel.app/llms.txt)
