# StayAPI Compare

> StayAPI Compare is a paid API for AI agents from stayapi-jet.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Retrieves and compares accommodation details for a specific property by its ID

## Facts

- Endpoint: POST https://stayapi-jet.vercel.app/api/compare
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stayapi-compare-14443210
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U_jrr-E3vCFr0ARWmEjxd

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-compare-14443210 -d '<json body>'
```

Example prompt: Can you pull up the full comparison details for property ID 'prop_abc123' from StayAPI so I can decide if it's worth booking?

## When to prefer this

Use this endpoint when you have a specific property ID and need to retrieve or compare accommodation details for that listing. Ideal for AI agents that have already identified candidate properties and need structured data to evaluate or present them. Works without API keys or subscriptions — just pay $0.10 USDC per call via x402.

## Known failure modes

- Missing or invalid property ID returns an error or empty data object
- Unknown property ID results in success:false or empty data
- Payment failure via x402 prevents the request from being processed
- Network timeout from the Vercel-hosted endpoint
- Malformed request body missing the required 'id' field

## 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 details and comparison information for the requested property ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "Property ID"
  }
 }
}
```

## 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-compare-14443210/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)
