# Saylor Innovations Data Desk – Airport Lookup

> Saylor Innovations Data Desk – Airport Lookup is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Looks up airports by ICAO, IATA, or local code, by name or city, or finds the nearest airports to given coordinates, returning type, elevation, scheduled service, and links

## Facts

- Endpoint: GET https://saylorinnovations.com/api/aviation/airports?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-airport-lookup-9e328471
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QTAPMnFd1TxnyyBjVjz4x

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 saylor-innovations-data-desk-airport-lookup-9e328471
```

Example prompt: Can you pull up the details for Heathrow Airport — I need its ICAO and IATA codes, what type of airport it is, its elevation, and whether it has scheduled service?

## When to prefer this

Choose this endpoint when you need structured airport metadata (type, elevation, scheduled service, geographic coordinates, website, Wikipedia) keyed by ICAO, IATA, or local code, or when searching by city/name or nearest airports to coordinates. It is ideal when OurAirports-sourced data is acceptable and you need a low-cost ($0.01 USDC) lookup without requiring a full aviation data subscription.

## Known failure modes

- Invalid or unknown airport code returns empty airports array
- Malformed coordinates return an error or empty result
- Missing required 'code' query parameter returns a 400-level error
- Ambiguous city name may return multiple or unexpected airports
- Non-existent airport name yields zero results

## How this service works

Airport lookup from OurAirports by ICAO, IATA or local code, by name or city, or the nearest airports to coordinates - type, elevation, scheduled service and links

## Output

Returns a JSON object with a mode field indicating how the query was interpreted, a count of results, the interpreted query string, the data source (OurAirports), and an array of airport objects each containing ICAO code, IATA code, OurAirports identifier, name, type, city, country, region, latitude, longitude, elevation in feet, scheduled service flag, airport website URL, and Wikipedia article URL. In nearest mode, distance is also included.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "ICAO, IATA or local code, e.g. EGLL or LHR"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "mode",
      "airports"
     ],
     "properties": {
      "mode": {
       "type": "string",
       "description": "Mode used"
      },
      "count": {
       "type": "number",
       "description": "Number of items returned"
      },
      "query": {
       "type": [
        "string",
        "null"
       ],
       "description": "The query as the server interpreted it"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "airports": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "lat": {
          "description": "Latitude in decimal degrees"
         },
         "lon": {
          "description": "Longitude in decimal degrees"
         },
         "city": {
          "description": "City"
         },
         "iata": {
          "type": [
           "string",
           "null"
          ],
          "description": "IATA code"
         },
         "icao": {
          "type": [
           "string",
           "null"
          ],
          "description": "ICAO code"
         },
         "name": {
          "description": "Name"
         },
         "type": {
          "description": "Type or kind"
         },
         "ident": {
          "type": [
           "string",
           "null"
          ],
          "description": "OurAirports identifier"
         },
         "region": {
          "description": "Region"
         },
         "country": {
          "description": "Country name"
         },
         "website": {
          "type": [
           "string",
           "null"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-airport-lookup-9e328471/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
