# StayAPI Itinerary Search

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

Searches for accommodation options and generates a stay itinerary for a given destination city and number of days, billed per request in USDC via x402.

## Facts

- Endpoint: POST https://stayapi-jet.vercel.app/api/itinerary
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stayapi-itinerary-search-415102c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P-GUopO4URf05X1aqn6ba

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-itinerary-search-415102c0 -d '<json body>'
```

Example prompt: Search StayAPI for accommodation options in Kyoto for 5 days and show me what's available.

## When to prefer this

Choose this endpoint when an AI agent needs frictionless, pay-per-use accommodation search without API keys or subscriptions — ideal for lightweight travel planning workflows where the agent handles crypto micropayments via x402 and needs quick lodging options for a specific city and trip length.

## Known failure modes

- Missing required 'destination' field returns a 400 validation error
- Payment failure or insufficient USDC balance results in a 402 Payment Required response
- Unknown or unsupported destination may return empty results or a 404
- Invalid 'days' type (non-integer) triggers schema validation error
- Network timeout or server error on Vercel returns a 500

## 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 boolean and a data object containing accommodation options or an itinerary for the requested destination and duration.

## Example request

```json
{
 "days": 3,
 "destination": "Paris"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "destination"
 ],
 "properties": {
  "days": {
   "type": "integer",
   "description": "Number of days"
  },
  "destination": {
   "type": "string",
   "description": "Destination city"
  }
 }
}
```

## 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-itinerary-search-415102c0/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)
