$ man iata-airport-info
/iata-airport-info
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
localeCATEGORY
uncategorized
STATUS
● live
NAME
iata-airport-info — looks up airport metadata from an iata or icao code
SYNOPSIS
POST https://x402.agentutility.ai/iata-airport-info
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Looks up airport metadata from an IATA or ICAO code. Resolves a 3-letter IATA code (SFO, JFK, LHR) or 4-letter ICAO code (KSFO, KJFK, EGLL) to airport name, type (large/medium/small/heliport/seaplane), latitude/longitude, elevation, continent, country, region, municipality, scheduled-service flag, home page URL, and Wikipedia link. Backed by the OurAirports CC0 public dataset covering ~75k airports worldwide; for live FAA delays/ground-stops see airport-delays. Use it as an IATA airport code lookup, ICAO airport lookup, airport name resolver, airport coordinates source, or airport-to-city mapper.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| code | string | IATA-3 (e.g. 'SFO', 'JFK', 'LHR') or ICAO-4 (e.g. 'KSFO', 'KJFK', 'EGLL') airport code. Case-insensitive. | required |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| airport | string | Airport record with IATA/ICAO codes, name, type, coordinates, country, region, municipality, scheduled-service flag, and links. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/iata-airport-info \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the iata-airport-info tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- localeairportiataicaoairport-codesairport-lookup
- methods
- POST
- cluster
- locale
- price
- $0.005 USDC per call
ADJACENT — other endpoints in locale
| endpoint | description | price |
|---|---|---|
| air-quality | Returns current air quality readings and AQI category for any latitude/longitude, with optional hourly forecast rows for the next 1-72 hours. | $0.005 |
| airport-code-lookup | Resolves airport codes to airport name, municipality, country, region, coordinates, elevation, scheduled-service flag, homepage, and Wiki… | $0.005 |
| astro-times | Sunrise sunset times. | $0.005 |
| climate-data | Returns historical daily temperature, precipitation, humidity, wind, and solar radiation for any latitude/longitude. | $0.005 |
| country-info | Country info lookup. | $0.005 |
| current-weather | Looks up current weather conditions for a latitude/longitude: temperature, humidity, precipitation, wind, and WMO condition code. | $0.005 |
| holiday-lookup | Holiday calendar. | $0.005 |
| satellite-tile | Returns a recent cloud-free satellite image (Sentinel-2, 10m) as a PNG centered on a lat/lon at a slippy-map zoom level. | $0.005 |
SEE ALSO