# Aviationstack Countries

> Aviationstack Countries is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns a list of countries supported by the Aviationstack aviation data API, with optional result limit control

## Facts

- Endpoint: GET https://gateway.apiosk.com/aviationstack/countries
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aviationstack-countries-2a2bdbd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QhGRa4gdELO-fG0dpN7ns

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 aviationstack-countries-2a2bdbd1
```

Example prompt: Can you pull the list of countries available in Aviationstack for me? Just get the first 50.

## When to prefer this

Use this endpoint when you need a reference list of countries recognized by the Aviationstack aviation data platform, particularly when building flight search UIs, validating country inputs against aviation data coverage, or enriching aviation datasets with standardized country records. Prefer this over generic country APIs when you specifically need countries as recognized within the aviation data ecosystem.

## Known failure modes

- Invalid or missing API credentials resulting in 401/403 errors
- Payment not processed (HTTP 402) if USDC balance is insufficient
- Exceeding rate limits causing 429 responses
- Invalid 'limit' parameter type causing a 400 bad request
- Empty result set if no countries are currently indexed

## How this service works

Country reference data.

## Output

A list of country records from the Aviationstack dataset, each typically including country name and country code, paginated or limited by the optional 'limit' parameter.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aviationstack-countries-2a2bdbd1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
