# StayAPI Availability Check

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

Checks room availability for a specific hotel across given check-in and check-out dates, returning availability data per request for $0.02 USDC via x402.

## Facts

- Endpoint: POST https://stayapi-jet.vercel.app/api/availability
- 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-availability-check-8cc07a00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LW4qVNH19uaEb-fc9NN-l

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-availability-check-8cc07a00 -d '<json body>'
```

Example prompt: Check if hotel ID 'HTL-48291' has availability from June 14th to June 18th — I want to know if rooms are open for those dates before I book.

## When to prefer this

Use this endpoint when you already have a specific hotel ID and need to verify room availability for defined dates without needing to search across properties. Ideal for agents that have already identified a candidate hotel and need to confirm vacancy before presenting options or proceeding to booking. The pay-per-request model (no subscription) makes it suitable for low-volume or on-demand agentic workflows.

## Known failure modes

- Missing required field (id, checkin, or checkout) returns a 400 error
- Invalid hotel ID returns an error or empty data
- Malformed date format causes a 400 bad request
- Payment not provided or insufficient USDC triggers a 402 payment required response
- Hotel not found in the system returns a failed success flag or empty data object

## 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 the hotel's availability details for the requested date range, such as room types, open inventory, or pricing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id",
  "checkin",
  "checkout"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "Hotel ID"
  },
  "checkin": {
   "type": "string",
   "description": "Check-in date"
  },
  "checkout": {
   "type": "string",
   "description": "Check-out date"
  }
 }
}
```

## 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-availability-check-8cc07a00/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)
