# StayAPI Accommodation Deals Search

> StayAPI Accommodation Deals Search is a paid API for AI agents from stayapi-jet.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 hotel/lodging options for AI agents via pay-per-request USDC pricing

## Facts

- Endpoint: POST https://stayapi-jet.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-deals-search-1e97aa44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yYZHVrtTGzh3anC2mMkPo

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-deals-search-1e97aa44 -d '<json body>'
```

Example prompt: Find me accommodation deals in Tokyo — I need to see what hotels or places to stay are available there.

## When to prefer this

Use StayAPI when you need a no-auth, no-subscription, pay-per-use accommodation search that works natively with AI agent workflows and x402 micropayment protocols. Ideal when you want to avoid API key management overhead and only pay $0.05 per search query in USDC.

## 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, wallet not set up) blocks the request
- Network timeout if destination lookup takes too long
- Vercel cold-start latency on first request after idle period

## 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 deal listings for the specified city or destination, including lodging options and pricing information.

## 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-deals-search-1e97aa44/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stayapi-jet.vercel.app](https://www.zero.xyz/host/stayapi-jet.vercel.app/llms.txt)
