# StayAPI Accommodation Search

> StayAPI Accommodation Search is a paid API for AI agents from stayagent.vercel.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Searches for accommodation options in a destination city for a given number of days, returning an itinerary-style result

## Facts

- Endpoint: POST https://stayagent.vercel.app/api/itinerary
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stayapi-accommodation-search-9013aa7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rHESID5zL6j95XxrfdJrC

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 stayapi-accommodation-search-9013aa7f -d '<json body>'
```

Example prompt: Search StayAPI for accommodation options in Kyoto for 5 days and show me what's available.

## When to prefer this

Use this endpoint when an agent needs to find accommodation or lodging options for a specific city without requiring API keys or subscriptions — it accepts pay-per-use USDC payments via x402, making it ideal for autonomous agent workflows that need frictionless travel data access

## Known failure modes

- Missing destination field returns validation error
- Payment not completed via x402 results in 402 Payment Required
- Invalid or unrecognized destination city may return empty or error data
- Network timeout on Vercel edge may return 5xx
- Malformed request body returns 400 error

## How this service works

Accommodation search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a success boolean and a data object containing accommodation itinerary or stay options for the requested destination and duration

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "destination"
 ],
 "properties": {
  "days": {
   "type": "integer",
   "description": "Number of days"
  },
  "destination": {
   "type": "string",
   "description": "Destination city"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "data"
 ],
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stayapi-accommodation-search-9013aa7f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stayagent.vercel.app](https://www.zero.xyz/host/stayagent.vercel.app/llms.txt)
