# x402 Gateway Hotel Search

> x402 Gateway Hotel Search is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.020000/call, status unknown (last checked 2026-10-10, last successful call 2026-06-29).

Search hotels via Google Hotels (SerpApi) and return properties with prices, ratings, and amenities.

## Facts

- Endpoint: GET https://x402-gateway-production.up.railway.app/api/travel/hotels?utm_source=zero.xyz
- Price: $0.020000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Last successful call: 2026-06-29
- Success rate: 57% of calls made through Zero
- Rating: 3.3 / 5 from 1 review
- Activations on Zero: 24
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-production-up-railway-app-6ea0e603
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WeScqllMisnHMQXPLJPEe

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 x402-gateway-production-up-railway-app-6ea0e603
```

Example prompt: Can you find hotels in Paris for 2 guests checking in June 15 and checking out June 20? I'd like to see prices, ratings, and what amenities each place has.

## When to prefer this

Choose this endpoint when you need structured hotel search results with prices, ratings, and amenities sourced from Google Hotels. It is ideal for travel planning agents that need to present accommodation options to users without building a direct SerpApi integration. Prefer this over generic web search when you need consistently structured hotel data.

## Known failure modes

- Missing or invalid destination returns no results or an error
- SerpApi rate limit or quota exceeded returns a 429 or error response
- Invalid date format causes a bad request error
- No hotels found for obscure or misspelled destination
- Network timeout from upstream SerpApi call

## How this service works

Search hotels via Google Hotels (SerpApi). Returns properties with prices, ratings, and amenities.

## Output

A list of hotel properties with their nightly prices, star ratings, guest review scores, available amenities (e.g. pool, free breakfast, Wi-Fi), and property details pulled from Google Hotels via SerpApi.

## 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": [
      "q",
      "checkInDate",
      "checkOutDate"
     ],
     "properties": {
      "q": {
       "type": "string",
       "example": "hotels in Paris",
       "description": "Search query — city name or hotel name"
      },
      "adults": {
       "type": "string",
       "default": "2",
       "description": "Number of adults"
      },
      "sortBy": {
       "type": "string",
       "description": "3=Lowest price, 8=Highest rating, 13=Most reviewed"
      },
      "children": {
       "type": "string",
       "description": "Number of children"
      },
      "currency": {
       "type": "string",
       "default": "USD",
       "description": "Currency code (e.g. USD, EUR)"
      },
      "maxPrice": {
       "type": "string",
       "description": "Maximum price per night"
      },
      "minPrice": {
       "type": "string",
       "description": "Minimum price per night"
      },
      "hotelClass": {
       "type": "string",
       "description": "Star rating (2-5)"
      },
      "checkInDate": {
       "type": "string",
       "example": "2026-04-15",
       "description": "Check-in date (YYYY-MM-DD)"
      },
      "checkOutDate": {
       "type": "string",
       "example": "2026-04-18",
       "description": "Check-out date (YYYY-MM-DD)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-production-up-railway-app-6ea0e603/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production.up.railway.app](https://www.zero.xyz/host/x402-gateway-production.up.railway.app/llms.txt)
