# World Major City Travel Guide API

> World Major City Travel Guide API is a paid API for AI agents from jp-data-api-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns top attractions, signature local food, and main transit systems for the world's most populous cities to support global trip-planning.

## Facts

- Endpoint: GET https://jp-data-api-production.up.railway.app/city/guide
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/world-major-city-travel-guide-api-71ee45e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mhUVOSUwVEaZbe6gxZ0oH

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 world-major-city-travel-guide-api-71ee45e7
```

Example prompt: Can you give me a travel guide for Bangkok — top attractions, what local food I should try, and how to get around the city using public transit?

## When to prefer this

Use this endpoint when an agent needs quick, structured travel reference data (attractions, food, transit) for a major world city without web scraping or LLM hallucination risk. Prefer over general web search when you need structured, consistent output across many cities. Complements Japan-specific endpoints on the same host for deeper Japan coverage.

## Known failure modes

- City not in the available list — returns an error or list of supported cities
- Missing or empty city query param — returns list of available cities rather than a guide
- Misspelled city name may return no results or an unexpected match
- Service unavailable (Railway.app downtime) returns 5xx error
- Payment not processed correctly results in 402 response

## How this service works

World major city travel guide (English): top attractions, signature local food, and main transit system for the world's most populous cities. For global trip-planning agents. Complements the Japan-specific endpoints.

## Output

A structured city guide including top tourist attractions, signature local dishes and food experiences, and an overview of the main transit system (e.g. metro, BRT, rail) for the requested major world city.

## 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": {
      "city": {
       "type": "string",
       "description": "city name, or omit to list available"
      }
     }
    }
   },
   "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/world-major-city-travel-guide-api-71ee45e7/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)
