# StableTravel Hotel Search by Geocode

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

Returns a list of hotels near a given latitude/longitude coordinate, with optional filters for radius, amenities, ratings, and chain codes

## Facts

- Endpoint: GET https://stabletravel.dev/api/hotels/list/by-geocode?utm_source=zero.xyz
- Price: $0.0324/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 1
- 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-by-geocode-93241129
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TERzNkl4asnxpkkEBq7z0

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-by-geocode-93241129
```

Example prompt: Find me hotels within 5 kilometers of coordinates 48.8566° N, 2.3522° E — show up to 20 results, only 4 and 5 star properties, and filter for hotels with pools and free WiFi.

## When to prefer this

Use this endpoint when you have a precise geographic location (lat/lon) and need to discover available hotels nearby — ideal for 'hotels near me', 'hotels near a landmark', or location-aware travel planning. Prefer over city-name search when exact coordinates are available, especially for non-urban or precise geographic queries.

## Known failure modes

- Missing required latitude or longitude returns a 400 validation error
- Invalid coordinate values (out of range) return an error
- No hotels found within radius returns empty data array
- Invalid enum values for radiusUnit or hotelScore return validation errors
- Network or upstream Amadeus API errors return 5xx responses

## How this service works

List hotels by latitude/longitude

## Output

An array of hotel objects near the specified coordinates, each containing hotel identifiers and metadata. The response also includes a meta object with result context. Results can be filtered by distance radius, star ratings, amenities, hotel chain codes, and hotel score type (BEDBANK, DIRECTCHAIN, or ALL).

## Example request

```json
{
 "max": 20,
 "radius": 5,
 "ratings": "4,5",
 "latitude": 48.8566,
 "amenities": "pool,wifi",
 "longitude": 2.3522,
 "radiusUnit": "KM"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-by-geocode-93241129/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)
