# WhatChUNeed Accommodation Search

> WhatChUNeed Accommodation Search is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Search for available accommodations in a specified city or destination with optional filters for dates, budget, and number of guests

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/accommodation/search
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-accommodation-search-79b9bd66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0FbeNiX3KX5d38Lm-jqKk

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 whatchuneed-accommodation-search-79b9bd66 -d '<json body>'
```

Example prompt: Find me available hotels in Barcelona for 2 adults checking in on June 10 and checking out on June 15, with a max budget of $150 per night — show me up to 10 options.

## When to prefer this

Choose this endpoint when you need pay-per-call accommodation search without a subscription, especially in an agentic workflow using the x402 micropayment protocol. Ideal for one-off travel queries, AI agents that need to search hotels programmatically at $0.05 per call, or when building travel planning flows that combine accommodation search with other services on the same platform.

## Known failure modes

- Missing required 'location' field returns validation error
- Invalid date format (not YYYY-MM-DD) may cause parsing failure
- No results found for highly specific filters (tight budget in expensive city)
- Service unavailability returns non-success response
- Invalid numeric values for adults or budget may cause errors

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a JSON object with a success flag and a data array containing accommodation listings matching the search criteria, including details about available properties in the requested destination.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "location"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "description": "Max results"
  },
  "adults": {
   "type": "integer",
   "description": "Number of adults"
  },
  "budget": {
   "type": "number",
   "description": "Max budget per night in USD"
  },
  "checkin": {
   "type": "string",
   "description": "Check-in date (YYYY-MM-DD)"
  },
  "checkout": {
   "type": "string",
   "description": "Check-out date (YYYY-MM-DD)"
  },
  "location": {
   "type": "string",
   "description": "City or destination name"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-accommodation-search-79b9bd66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
