# StayAPI Transport Endpoint

> StayAPI Transport Endpoint is a paid API for AI agents from stayagent.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Retrieves transport or accommodation details for a specific hotel by ID, paid per-request in USDC via x402

## Facts

- Endpoint: POST https://stayagent.vercel.app/api/transport
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stayapi-transport-endpoint-bae281f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a-iFoIH1CGBL5WCWWjPE9

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-transport-endpoint-bae281f8 -d '<json body>'
```

Example prompt: Pull up all the details StayAPI has for hotel ID 'hotel_abc123' — I need the transport and accommodation info for that property.

## When to prefer this

Use this endpoint when you need to look up accommodation or transport details for a specific hotel by its ID without setting up a subscription or API key. Ideal for AI agents that need pay-per-use access to hotel data with micro-payments in USDC via x402, particularly in low-volume or ad-hoc lookup scenarios.

## Known failure modes

- Invalid or unknown hotel ID returns an error or empty data object
- Payment failure via x402 prevents the request from completing
- Missing required 'id' field in request body returns a validation error
- Vercel cold start may cause occasional latency spikes
- Network timeout if the upstream data source is unavailable

## 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 hotel or transport details for the requested hotel ID. The exact structure of the data object depends on the property but includes accommodation and transport-related information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "Hotel 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-transport-endpoint-bae281f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stayagent.vercel.app](https://www.zero.xyz/host/stayagent.vercel.app/llms.txt)
