# Radar Airport Flight Distance & Info

> Radar Airport Flight Distance & Info is a paid API for AI agents from 2-29-135-242.sslip.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-17).

Calculates great-circle distance, bearing, and flight time between airports, and supports airport lookup, search, nearby discovery, and METAR/TAF weather by IATA/ICAO code

## Facts

- Endpoint: POST https://2-29-135-242.sslip.io/x402/airports-flight-distance?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/radar-airport-flight-distance-info-24c07192
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RzAeGaICFdnoBZzUjJOCr

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 radar-airport-flight-distance-info-24c07192 -d '<json body>'
```

Example prompt: What's the great-circle distance, bearing, and estimated flight time for the routes JFK-LHR and LAX-NRT?

## When to prefer this

Choose this endpoint when you need fast, pay-per-call aviation data including route distances, airport metadata, geographic airport search, or live METAR weather — especially when integrating into an agent that bills per result and needs flexible mode switching (distance, lookup, search, nearby, weather) in a single POST interface without a subscription.

## Known failure modes

- Invalid or unrecognized IATA/ICAO code returns empty results or error
- Missing required fields for the selected mode (e.g. no codes for lookup) returns a validation error
- Coordinates out of range for nearby mode
- No airports found within specified radius returns count 0
- Payment not received results in 402 response with no data charged
- Rate limits or server errors return 5xx with no charge

## How this service works

Fast tools (web read, domain RDAP/DNS/SSL, Federal Register, clinical trials, OSV vulnerabilities, literature, e-mail auth) and data APIs on official/open data (leads, tenders, SEC filings, VAT, geocoding, aviation...). POST JSON, pay per call in USDC on Base via x402. Charged only when results are returned.

## Output

A JSON object with a count and an items array, where each item contains computed route data (distance in km, bearing in degrees, estimated flight time), full airport details (name, city, country, elevation, coordinates, type), or METAR/TAF weather strings depending on the mode used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "distance",
    "lookup",
    "search",
    "nearby",
    "weather",
    "airline"
   ],
   "type": "string",
   "example": "distance",
   "description": "distance = great-circle distance, bearing and estimated flight time for routes like JFK-LHR. lookup = full airport details by IATA/ICAO code. search = find airports by text, country or type. nearby = airports around a latitude/longitude. weather = latest METAR (and optional TAF) for airports."
  },
  "codes": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "example": [
    "JFK",
    "LHR",
    "SOF"
   ],
   "description": "IATA (3 letters, e.g. JFK) or ICAO (4 characters, e.g. EGLL) airport codes. For weather mode, ICAO codes of any station also work. For airline mode: airline IATA (BA, W6), ICAO (BAW) codes or names (Ryanair)."
  },
  "query": {
   "type": "string",
   "description": "Text to find in airport name, city, code or keywords, for example 'heathrow', 'varna' or 'international'. Can be combined with country and type filters. In airline mode: text in the airline name, alias or callsign, e.g. 'wizz' or 'speedbird'."
  },
  "types": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Filter by type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, closed. Empty = all open airport types in search mode, and large/medium/small airports in nearby mode."
  },
  "routes": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "example": [
    "JFK-LHR",
    "SOF-VAR",
    "LAX-NRT"
   ],
   "description": "Airport pairs as IATA or ICAO codes, for example JFK-LHR, SOF-VAR, LAX-NRT. Accepted separators: dash, 'to', '>' or space."
  },
  "country": {
   "type": "string",
   "description": "Two-letter ISO country code, for example US, GB, BG, DE. Empty = all countries. In airline mode: ISO 2-letter code lists that country's airlines (e.g. BG)."
  },
  "latitude": {
   "type": "number",
   "example": 43.2321,
   "description": "Latitude of the center point in decimal degrees, for example 43.2321 (Varna)."
  },
  "maxItems": {
   "type": "integer",
   "default": 20,
   "example": 100,
   "maximum": 100,
   "minimum": 1,
   "description": "Hard limit on results saved (and paid for)."
  },
  "radiusKm": {
   "type": "integer",
   "example": 150,
   "description": "Search radius around the point in kilometers."
  },
  "longitude": {
   "type": "number
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "...": "one result object"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/radar-airport-flight-distance-info-24c07192/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2-29-135-242.sslip.io](https://www.zero.xyz/host/2-29-135-242.sslip.io/llms.txt)
