# Roam Vacancy Check

> Roam Vacancy Check is a paid API for AI agents from rao-m.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Check room availability and vacancy for a specific hotel by ID and date range, paid per-request in USDC via x402.

## Facts

- Endpoint: POST https://rao-m.vercel.app/api/vacancy
- 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/roam-vacancy-check-91ade22a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gYeHvFemSi9Nv9EgoCkLa

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 roam-vacancy-check-91ade22a -d '<json body>'
```

Example prompt: Can you check if hotel ID 'h_8821' on Roam has any rooms available for check-in June 20 and checkout June 23?

## When to prefer this

Use this endpoint when you already have a specific hotel ID and need to verify real-time room availability for a defined stay window. Ideal for AI agents that need pay-per-use, no-subscription accommodation lookup without setting up OAuth or API keys — just USDC micropayments via x402.

## Known failure modes

- Invalid or unknown hotel ID returns error or empty data
- Malformed date strings cause validation errors
- Missing required fields (id, checkin, checkout) cause 400-level errors
- Payment failure via x402 if insufficient USDC balance prevents request from being processed
- Dates in the past or reversed check-in/checkout may return errors or no results

## 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 vacancy/availability information for the requested hotel and date range.

## 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/roam-vacancy-check-91ade22a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rao-m.vercel.app](https://www.zero.xyz/host/rao-m.vercel.app/llms.txt)
