# Airport Lookup by IATA/ICAO Code, Name, City, or Coordinates

> Airport Lookup by IATA/ICAO Code, Name, City, or Coordinates is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Look up airport details (codes, name, city, country, coordinates, elevation, size, scheduled service) by IATA/ICAO code, name, city, or nearest location for ~9,500 airports worldwide.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/airport/lookup?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-airport-lookup-by-iata-icao-1a9554e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_41WEJtgGn6LJ_RU7bXW8L

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 agent-data-tools-revmesh2074-workers-dev-airport-lookup-by-iata-icao-1a9554e5
```

Example prompt: What are the full details for the airport with IATA code CDG — give me the ICAO code, city, country, coordinates, elevation, and whether it has scheduled passenger service?

## When to prefer this

Use this endpoint when you need fast, structured airport metadata — IATA/ICAO codes, coordinates, country, elevation, and scheduled service status — without calling a full flight data API. It is ideal for enriching flight records with airport details, geocoding airport codes to coordinates, or finding nearby airports given a lat/lon. Prefer it over general web search or geocoding APIs when the entity of interest is specifically an airport and you need aviation-standard identifiers.

## Known failure modes

- No matching airport found for the given query (empty airports array with count 0)
- Invalid or unknown IATA/ICAO code returns no results
- Missing lon when lat is provided (or vice versa) may return empty or error response
- Limit out of range (outside 1-25) may be clamped or cause an error
- Country filter with unrecognized code or name returns no results

## How this service works

Look up airports by IATA or ICAO code, name or city (Paris, JFK, EGLL, Heathrow): codes, full name, city, country, region, coordinates, elevation, size, scheduled service and Wikipedia link, for ~9,500 airports worldwide; or give lat and lon for the nearest airports with distances. Data: OurAirports (public domain), committed snapshot, answers in milliseconds. Use for travel tools, flight data enrichment and geocoding airport codes.

## Output

Returns a list of matching airports (up to 25), each with IATA code, ICAO code, full name, city, country name, region, latitude, longitude, elevation in feet, airport type/size, scheduled service flag, homepage URL, and Wikipedia link, plus a count of results and data snapshot date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string",
   "description": "IATA code, ICAO code, airport name or city"
  },
  "lat": {
   "type": "number",
   "description": "Latitude, for the nearest airports (with lon)"
  },
  "lon": {
   "type": "number",
   "description": "Longitude, for the nearest airports (with lat)"
  },
  "limit": {
   "type": "integer",
   "description": "Number of airports (1-25, default 5)"
  },
  "country": {
   "type": "string",
   "description": "Only airports in this country (code or name)"
  },
  "scheduled": {
   "type": "string",
   "description": "true: only airports with scheduled passenger service"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "number"
  },
  "source": {
   "type": "string"
  },
  "airports": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "lat": {
      "type": "number"
     },
     "lon": {
      "type": "number"
     },
     "city": {
      "type": "string"
     },
     "iata": {
      "type": "string"
     },
     "icao": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "type": {
      "type": "string"
     },
     "ident": {
      "type": "string"
     },
     "region": {
      "type": "string"
     },
     "country": {
      "type": "string"
     },
     "homepage": {
      "type": "string"
     },
     "wikipedia": {
      "type": "string"
     },
     "countryName": {
      "type": "string"
     },
     "elevationFt": {
      "type": "number"
     },
     "scheduledService": {
      "type": "boolean"
     }
    }
   }
  },
  "dataDate": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-airport-lookup-by-iata-icao-1a9554e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
