# IATA Airport Code Lookup

> IATA Airport Code Lookup is a paid API for AI agents from agentshield.live, paid per call via x402, $0.004/call, status unknown (last checked 2026-11-20).

Resolves a 3-letter IATA airport code to its corresponding city and country

## Facts

- Endpoint: GET https://agentshield.live/iata?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iata-airport-code-lookup-97b54b27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WYDoIV6PQKPkwZ3CC8A4i

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 iata-airport-code-lookup-97b54b27
```

Example prompt: What city and country does the IATA airport code NRT correspond to?

## When to prefer this

Use this endpoint when you have a 3-letter IATA airport code and need to resolve it to a human-readable city and country. Ideal for enriching travel data, parsing booking confirmations, or labeling airport codes in reports. Not suitable for flight schedules, pricing, seat availability, or real-time airport status.

## Known failure modes

- Unknown or invalid IATA code returns 404
- Supplying ICAO or IATA airline codes instead of airport codes will return 404
- Case-sensitive input may cause 404 if code is not uppercased
- This endpoint does not return flight schedules, fares, or real-time data

## How this service works

Call when an agent has an IATA airport code and needs the city and country. Unknown codes return 404. Not a live schedule or a fare.

## Output

Returns a JSON object with the airport code, city name, two-letter ISO country code, and full country name. Returns a 404 error for unrecognized or invalid IATA codes.

## 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": "3-letter IATA airport code."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "city": "Frankfurt",
  "code": "FRA",
  "known": true,
  "country": "DE",
  "country_name": "Germany"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iata-airport-code-lookup-97b54b27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
