# SiteCheck Trade & Energy Airport Lookup by IATA/ICAO Code

> SiteCheck Trade & Energy Airport Lookup by IATA/ICAO Code is a paid API for AI agents from api.tradeenergy-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Returns airport details (name, type, coordinates, elevation, country, municipality, scheduled-service flag) for a given IATA or ICAO code, sourced from OurAirports open data.

## Facts

- Endpoint: GET https://api.tradeenergy-api.workers.dev/api/logistics/airport-iata-icao?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-trade-energy-airport-lookup-by-iata-icao-code-17854930
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NP7K7YzVnmntULERDXCtb

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 sitecheck-trade-energy-airport-lookup-by-iata-icao-code-17854930
```

Example prompt: Can you look up the airport with IATA code HEL — I need its full name, coordinates, country, and whether it has scheduled commercial service?

## When to prefer this

Choose this endpoint when you need fast, structured lookups of airport identity and location data from a known IATA or ICAO code. It is ideal for enriching logistics records, validating airport codes, or obtaining coordinates and country info for aviation planning. Prefer this over general web search when you need machine-readable, structured output and know the airport code. Note: it does not provide runway, frequency, or real-time operational data.

## Known failure modes

- Unknown or invalid code returns no result or an error
- Codes for very small or private airstrips may not be in OurAirports data
- IATA and ICAO code confusion (e.g. passing a 4-letter code as IATA) may yield no match
- No runway or frequency data is available — requests expecting that will be unfulfilled
- Rate limiting or payment failure returns 402 or 429 status

## How this service works

Airport record by IATA (3-letter) or ICAO (4-letter) code from OurAirports open data: name, type, coordinates, elevation, country, municipality, scheduled-service flag. No runway or frequency data.

## Output

A JSON object containing the airport's IATA and ICAO codes, full name, type (e.g. large_airport), latitude, longitude, elevation in feet, ISO country code, region, municipality, scheduled service boolean, a link to the OurAirports source CSV, a Wikipedia URL, and a checkedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "IATA code like HEL or ICAO code like EFHK"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "iata": "HEL",
  "icao": "EFHK",
  "name": "Helsinki Vantaa Airport",
  "type": "large_airport",
  "ident": "EFHK",
  "region": "FI-18",
  "source": "https://davidmegginson.github.io/ourairports-data/airports.csv",
  "country": "FI",
  "latitude": 60.318363,
  "checkedAt": "2026-10-23T09:37:56.763Z",
  "longitude": 24.963341,
  "wikipedia": "https://en.wikipedia.org/wiki/Helsinki_Airport",
  "elevationFt": 179,
  "municipality": "Helsinki (Vantaa)",
  "scheduledService": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-trade-energy-airport-lookup-by-iata-icao-code-17854930/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeenergy-api.workers.dev](https://www.zero.xyz/host/api.tradeenergy-api.workers.dev/llms.txt)
