# StableTravel Locations Search

> StableTravel Locations Search is a paid API for AI agents from StableTravel at stabletravel.dev, paid per call via x402 or MPP, $0.0054/call, status unknown (last checked 2026-10-12).

Search for airports and cities by keyword, returning matching location records filterable by sub-type and country

## Facts

- Endpoint: GET https://stabletravel.dev/api/reference/locations?utm_source=zero.xyz
- Price: $0.0054/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Provider: StableTravel
- Docs: https://stabletravel.dev
- Website: https://stabletravel.dev
- Tags: amadeus, flightaware, flights, hotels, activities, transfers, travel, data, web
- Canonical page: https://www.zero.xyz/c/stabletravel-locations-00f3507d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ThQqiTbDr3sfP0B-w55XG

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 stabletravel-locations-00f3507d
```

Example prompt: Search for airports and cities matching 'Charles de Gaulle' — filter by AIRPORT,CITY subtype and limit results to 5.

## When to prefer this

Use this endpoint when you need to resolve a human-readable city or airport name into structured travel location data (e.g., IATA codes) before booking flights, hotels, or transfers. Prefer this over generic geocoding APIs when the downstream action involves Amadeus-powered travel services on StableTravel.

## Known failure modes

- Missing required 'keyword' or 'subType' parameters returns a 400 error
- No results found for obscure or misspelled keywords returns empty data array
- Invalid countryCode returns error or empty results
- Rate limiting or payment failure (402) if USDC balance is insufficient

## How this service works

Search locations (airports, cities) by keyword

## Output

An array of location objects matching the keyword, each containing location name, IATA/ICAO codes, sub-type (airport or city), country, and analytics metadata. Pagination metadata is also returned.

## Example request

```json
{
 "view": "LIGHT",
 "keyword": "New York",
 "subType": "AIRPORT,CITY",
 "page[limit]": 5
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-locations-00f3507d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stabletravel.dev](https://www.zero.xyz/host/stabletravel.dev/llms.txt)
