# Japanese Onsen Destination Guide API

> Japanese Onsen Destination Guide API is a paid API for AI agents from jp-data-api-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns a guide to famous Japanese hot spring (onsen) towns including prefecture, water type, features, and nearest access points

## Facts

- Endpoint: GET https://jp-data-api-production.up.railway.app/travel/onsen
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/japanese-onsen-destination-guide-api-3ebcc2ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V7IbqNcjO-t8xupuoEP46

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 japanese-onsen-destination-guide-api-3ebcc2ea
```

Example prompt: Can you show me famous Japanese hot spring towns in Nagano prefecture, including what type of water they have and how to get there?

## When to prefer this

Use this endpoint when a user wants to discover or research Japanese hot spring (onsen) destinations for travel planning, wellness tourism, or itinerary building — especially when they need structured data on water types, features, and access logistics rather than general web search results

## Known failure modes

- Query keyword returns no matching onsen — empty result set
- Invalid or misspelled prefecture/onsen name yields no results
- API returns 402 if payment header is missing or invalid
- Service downtime on Railway hosting yields 5xx error

## How this service works

Japanese hot spring (onsen) destination guide: famous onsen towns, prefecture, water type, features, nearest access. For inbound travel planners and wellness tourism.

## Output

A list of famous onsen destinations in Japan, each with the onsen town name, prefecture, water/spring type, notable features (e.g. outdoor baths, historic ryokan), and nearest transportation access point for travelers

## 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": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "q": {
       "type": "string",
       "description": "onsen or prefecture keyword, or omit for all"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/japanese-onsen-destination-guide-api-3ebcc2ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jp-data-api-production.up.railway.app](https://www.zero.xyz/host/jp-data-api-production.up.railway.app/llms.txt)
