# The Stall — City Lookup

> The Stall — City Lookup is a paid API for AI agents from the-stall.intuitek.ai, paid per call via x402, $0.034/call, status unknown (last checked 2026-09-13).

Searches for cities, airports, and locations by name, IATA/ICAO code, or keyword, returning matching city records with optional country filtering.

## Facts

- Endpoint: GET https://the-stall.intuitek.ai/cap/city-lookup
- Price: $0.034/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/the-stall-city-lookup-14a6532f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y9yRMtTJltd7NMEFOEKpt

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 the-stall-city-lookup-14a6532f
```

Example prompt: Look up cities matching 'London' in the United Kingdom and return up to 5 results — I need the city names and airport codes.

## When to prefer this

Use this endpoint when you need to resolve a city name, airport name, or IATA/ICAO code to structured location records — especially when building travel itineraries, flight search tools, or geolocation features. Prefer this over general geocoding APIs when airport code resolution is also needed. Ideal for no-account, pay-per-call workflows via x402/USDC.

## Known failure modes

- No results found for unrecognized keyword or code
- Invalid or misspelled country name returns empty or unfiltered results
- Exceeding max=20 causes validation error
- Missing required keyword parameter returns 400 error
- Payment failure (402) if USDC balance insufficient on Base mainnet

## How this service works

Search airports and cities by keyword, IATA code, or city name. Returns IATA/ICAO codes, coordinates, country, and timezone for each match — useful for travel planning, routing, and geographic enrichment.

## Output

Returns a list of up to 20 city or airport records matching the keyword, including city names, IATA/ICAO codes, country information, and related location metadata. Results are filtered by country if provided.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "max": 5,
   "country": "United Kingdom",
   "keyword": "London"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/the-stall-city-lookup-14a6532f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from the-stall.intuitek.ai](https://www.zero.xyz/host/the-stall.intuitek.ai/llms.txt)
