Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man airport-code-lookup

/airport-code-lookup

agentutility / locale / airport-code-lookup
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
locale
CATEGORY
uncategorized
STATUS
live
NAME
airport-code-lookup airport code lookup api / iata airport info / icao airport metadata
synonym alias of iata-airport-info — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/airport-code-lookup
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Airport code lookup API / IATA airport info / ICAO airport metadata. Same OurAirports-backed handler as iata-airport-info, indexed for agents resolving airport codes to airport name, municipality, country, region, coordinates, elevation, scheduled-service flag, homepage, and Wikipedia link.

INPUTrequest schema
propertytypedescriptionreq?
codestringIATA-3 (e.g. 'SFO', 'JFK', 'LHR') or ICAO-4 (e.g. 'KSFO', 'KJFK', 'EGLL') airport code. Case-insensitive.required
OUTPUTresponse shape
fieldtypedescription
querystring
airportstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/airport-code-lookup \
  -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 airport-code-lookup tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
travelairportcodelookupairport-code-lookup
methods
POST
cluster
locale
price
$0.005 USDC per call
ADJACENTother endpoints in locale
endpointdescriptionprice
air-qualityAir quality API / AQI / US AQI / European AQI / PM2.5 / PM10 / ozone / nitrogen dioxide / sulphur dioxide / carbon monoxide / Open-Meteo…$0.005
climate-dataClimate data API / historical weather data / daily temperature, precipitation, humidity, wind, and solar radiation for latitude/longitude.$0.005
current-weatherCurrent weather lookup / live weather conditions / temperature, humidity, precipitation, wind, and WMO condition code for a latitude/long…$0.005
iata-airport-infoIATA airport code lookup / ICAO airport lookup / airport metadata / airport name resolver / airport coordinates / airport-to-city.$0.005
satellite-tileSatellite imagery tile / lat-lon to satellite PNG / Sentinel-2 tile API / cloud-free satellite snapshot / agent-callable satellite imagery.$0.005
vin-decodeVIN decoder / VIN lookup / decode VIN / vehicle identification number / NHTSA vPIC wrapper.$0.005
visa-requirementsVisa requirements / passport visa lookup / visa-free travel checker / e-visa + visa-on-arrival lookup / passport-index / travel eligibili…$0.005
weatherWeather API / weather forecast / current weather / hourly forecast.$0.005
SEE ALSO
agentutility · locale · x402 · mcp · llms.txt · registry.json · bazaar.x402.org