# Bali Bar x402 — Venue Search

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

Returns a list of bookable bars and beach clubs in Bali, Indonesia with available time slots, capacity, and pricing, accessible via x402 micropayments.

## Facts

- Endpoint: GET https://bali-bar-x402-production.up.railway.app/venues
- Price: $0.001/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-venue-search-0b7105dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B4e8oYmbKwr6D_8X9NkTd

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-venue-search-0b7105dc
```

Example prompt: Can you find me bookable beach clubs in Canggu, Bali for a group of 4 people — show me what's available with time slots and prices?

## When to prefer this

Use this endpoint when an agent needs to discover and browse bookable beach clubs or bars in Bali, Indonesia before committing to a reservation. It is the right first step in an agentic booking flow that uses x402 micropayments (USDC on Base or Solana). Prefer this over generic travel APIs when the user specifically wants Bali venue discovery with real-time slot availability and crypto-native payment.

## Known failure modes

- Payment required (402) if x402 micropayment header is missing or invalid USDC funds
- No venues returned if filters are too restrictive or no slots are available
- Service unavailable if the Railway-hosted backend is down
- Stale availability if venue data is not real-time synced

## How this service works

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

## Output

A JSON array of venue objects, each containing a venue id, name, area (e.g. Canggu), available time slots (e.g. ['15:00','17:00','19:00']), capacity range (e.g. '2-6 people'), and price in USD per reservation. The agent can use venue ids from this response to proceed with a booking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "venues": [
   {
    "id": "finns-beach-club",
    "area": "Canggu",
    "name": "Finns Beach Club",
    "slots": [
     "15:00",
     "17:00",
     "19:00"
    ],
    "capacity": "2-6 orang",
    "priceUsd": 4
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bali-bar-x402-venue-search-0b7105dc/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)
