# StayAPI Amenities Search

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

Search for accommodations by filtering on a list of desired amenities, returning matching property data

## Facts

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

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-amenities-search-b8aa2b4c -d '<json body>'
```

Example prompt: Can you find me accommodations that have a pool, free WiFi, and a gym — I need places that offer all three of those amenities?

## When to prefer this

Use this endpoint when you need to filter or discover accommodations by specific amenity requirements and want a pay-per-request model with no subscription or auth setup. Ideal for AI agents needing on-demand lodging search with crypto micropayments via x402.

## Known failure modes

- Empty amenities array returns validation error
- Unknown or misspelled amenity names may return empty results
- Payment failure via x402 results in 402 response with no data
- Malformed request body returns 400 error
- Service unavailability returns 5xx errors

## 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 flag and a data object containing accommodation listings or property results that match the provided list of amenities.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "amenities"
 ],
 "properties": {
  "amenities": {
   "type": "array",
   "description": "List of amenities to search for"
  }
 }
}
```

## 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-amenities-search-b8aa2b4c/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)
