# StayAPI Accommodation Search

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

Searches for accommodation deals at a given city or destination, returning results for AI agents without requiring auth or subscriptions.

## Facts

- Endpoint: POST https://stayagent.vercel.app/api/deals
- Price: $0.05/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-47e5212e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J74BqxFC8MKKJBQNHXa_p

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-47e5212e -d '<json body>'
```

Example prompt: Find me accommodation deals in Lisbon — I want to see what's available and how much it costs.

## When to prefer this

Choose this endpoint when an AI agent needs to quickly search hotel or accommodation deals for a city without setting up API keys or subscriptions — ideal for pay-per-use travel lookup at $0.05 USDC per call via x402 micropayment.

## Known failure modes

- Missing required 'location' field returns validation error
- Invalid or unrecognized destination may return empty results
- Payment failure (insufficient USDC) results in 402 response blocking access
- Vercel cold-start may cause occasional latency spikes
- Vague location strings may return ambiguous or no results

## How this service works

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

## Output

A JSON object with a success boolean and a data object containing accommodation deal listings for the requested destination, including options, pricing, and availability details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "location"
 ],
 "properties": {
  "location": {
   "type": "string",
   "description": "City or destination"
  }
 }
}
```

## 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-47e5212e/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)
