# StayAPI Accommodation Search

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

Searches for accommodation deals at a given destination, returning hotel/stay options with no subscription required, billed per request in USDC.

## Facts

- Endpoint: POST https://stay402.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-2cdda17b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_skUzeNUzfY5C9TsEsO9IQ

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-2cdda17b -d '<json body>'
```

Example prompt: Can you search for accommodation deals in Lisbon for me — I want to see what hotels or stays are available there?

## When to prefer this

Use this endpoint when an AI agent needs to quickly find accommodation options for a given city or destination without requiring API keys or subscriptions — paying only $0.05 USDC per search via x402. Ideal for travel planning agents operating in a pay-per-use model.

## Known failure modes

- Missing required 'location' field returns validation error
- Invalid or unrecognized city name may return empty results
- Payment failure via x402 (insufficient USDC balance) blocks the request
- Network or server errors on the Vercel deployment return 5xx
- Ambiguous location string may return results for wrong city

## 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 deals and listings for the requested destination, including available stays and relevant pricing or property 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-2cdda17b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stay402.vercel.app](https://www.zero.xyz/host/stay402.vercel.app/llms.txt)
