# Bali Bar x402 — Sky Garden Rooftop Reservation

> Bali Bar x402 — Sky Garden Rooftop Reservation is a paid API for AI agents from bali-bar-x402-production.up.railway.app, paid per call via x402, $3/call, status unknown (last checked 2026-09-15).

Books a table at Sky Garden Rooftop in Kuta, Bali for a specified time slot and party size, paid via x402 micropayment (USDC).

## Facts

- Endpoint: POST https://bali-bar-x402-production.up.railway.app/reserve/sky-garden
- Price: $3/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bali-bar-x402-sky-garden-rooftop-reservation-4fd9d8c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vb9bNRYK8Wv1Bmoa1LNKg

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 bali-bar-x402-sky-garden-rooftop-reservation-4fd9d8c8 -d '<json body>'
```

Example prompt: Book me a table at Sky Garden Rooftop in Kuta for 4 people at 21:00 — the reservation should be under the name 'Sarah Collins'.

## When to prefer this

Choose this endpoint when the user explicitly wants to book Sky Garden Rooftop in Kuta, Bali — particularly useful for AI agents with crypto/USDC wallets that can pay x402 micropayments autonomously. Prefer this over generic booking platforms when operating in an agentic, crypto-native context or when the user is already in a Bali-focused nightlife workflow.

## Known failure modes

- Invalid or unavailable time slot (only 21:00 and 23:00 are supported)
- Missing required fields (name, pax, or slot) returns a validation error
- Payment failure via x402 USDC micropayment causes reservation not to be created
- Venue fully booked for the requested slot returns an error or unavailable status
- Invalid pax count (e.g. 0 or extremely large group) may be rejected

## How this service works

Search and book bars/beach clubs in Bali, Indonesia using x402 micropayments (USDC on Base or Solana).

## Output

A confirmed reservation object including a unique bookingId, the venue name ('Sky Garden Rooftop'), area ('Kuta'), party size, guest name, and confirmed time slot — e.g. {bookingId: 'sky-garden-1234567890', status: 'confirmed', venue: 'Sky Garden Rooftop', area: 'Kuta', slot: '21:00', pax: 2, name: 'John Doe'}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name",
      "pax",
      "slot"
     ],
     "properties": {
      "pax": {
       "type": "number",
       "description": "Number of guests"
      },
      "name": {
       "type": "string",
       "description": "Name for the reservation"
      },
      "slot": {
       "type": "string",
       "description": "Time slot, one of: 21:00, 23:00"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pax": 2,
  "area": "Kuta",
  "name": "John Doe",
  "slot": "21:00",
  "venue": "Sky Garden Rooftop",
  "status": "confirmed",
  "bookingId": "sky-garden-1234567890"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bali-bar-x402-sky-garden-rooftop-reservation-4fd9d8c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bali-bar-x402-production.up.railway.app](https://www.zero.xyz/host/bali-bar-x402-production.up.railway.app/llms.txt)
