# Airports Reference – List Airports by Country or Region

> Airports Reference – List Airports by Country or Region is a paid API for AI agents from airports-reference.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Returns a filtered list of airports in a given country or ISO region, including IATA/ICAO codes, size, location, and scheduled service status.

## Facts

- Endpoint: GET https://airports-reference.x402tookit.com/airports-in?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/airports-reference-list-airports-by-country-or-region-16d670c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1oSTPvcemMKCy3SD43k1d

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 airports-reference-list-airports-by-country-or-region-16d670c8
```

Example prompt: Can you list all large airports in Colorado that have scheduled service? I need their names and IATA codes.

## When to prefer this

Use this endpoint when you need to enumerate or survey airports across an entire country or sub-national region, optionally filtered by size category or scheduled service. Prefer this over the single-airport lookup endpoint when the goal is discovery or inventory rather than looking up a known airport. Ideal for building dropdown lists, coverage maps, or routing tables.

## Known failure modes

- Missing required 'country' parameter returns an error
- Invalid ISO country code or region code returns empty results or an error
- Limit out of range (not 1–100) may return default or error
- No airports match the filters — returns empty airports array with count 0
- Payment not fulfilled — x402 payment required error before data is returned

## How this service works

List airports in a country or ISO region (like US-CO) filtered by size and scheduled service, with codes.

## Output

A JSON object containing a list of airports matching the query, each with IATA code, ICAO code, name, type/size, latitude, longitude, elevation in feet and meters, municipality, region, country, and scheduled service flag. Also includes a summary count of large, medium, and small airports found and a total count.

## 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": [
      "country"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "any (default), large, medium or small: that size or bigger"
      },
      "limit": {
       "type": "integer",
       "description": "Results 1 to 100 (default 25)"
      },
      "region": {
       "type": "string",
       "description": "Optional ISO 3166-2 region, e.g. US-CO"
      },
      "country": {
       "type": "string",
       "description": "ISO country code or name, e.g. NZ or New Zealand"
      },
      "scheduled": {
       "type": "string",
       "description": "true to list only airports with scheduled service"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "total": {
       "type": [
        "null",
        "number"
       ]
      },
      "counts": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "large": {
         "type": [
          "null",
          "number"
         ]
        },
        "small": {
         "type": [
          "null",
          "number"
         ]
        },
        "medium": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "region": {},
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "country": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "airports": {
       "type": [
        "array",
        "null"
       ]
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/airports-reference-list-airports-by-country-or-region-16d670c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from airports-reference.x402tookit.com](https://www.zero.xyz/host/airports-reference.x402tookit.com/llms.txt)
