# Japan Train Station Fuzzy Search

> Japan Train Station Fuzzy Search is a paid API for AI agents from transit.agentic-jp.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Fuzzy-searches Japanese train stations by name (kanji, kana, or romaji), returning matching stations with their operators, lines, and coordinates.

## Facts

- Endpoint: GET https://transit.agentic-jp.com/stations/search?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/transit-agentic-jp-com-41f567af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qi0GCikwleqNTuOAuA2Ol

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 transit-agentic-jp-com-41f567af
```

Example prompt: Can you look up the Japanese train station 'Shinjuku' and tell me which rail lines and operators serve it, along with its station ID?

## When to prefer this

Use this endpoint when you need to resolve a Japanese station name (in any script — kanji, kana, or romaji) to a canonical station record with operator, line, and coordinate data. Prefer this over manual lookups or generic geocoding APIs when working with Japanese transit data, especially as a prerequisite step before querying real-time train delay or status endpoints on the same platform.

## Known failure modes

- Query too short (less than 2 characters) — likely returns empty results or validation error
- Obscure or misspelled station name with no fuzzy match — returns empty results array
- Ambiguous partial query returning many irrelevant stations — agent must filter by operator or line
- Network or payment failure — HTTP 402 or 5xx error

## How this service works

Fuzzy-search Japanese (JP) train stations by name — accepts kanji, kana, or romaji and tolerates the 駅/station suffix. Returns matching stations with their operators and lines. Use to resolve a station name to a canonical record.

## Output

Returns a list of matching station records, each with English and Japanese names, station ID, operator IDs, line IDs, and lat/lng coordinates. Count of results and the original query string are also included.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "q": "Shinjuku"
  }
 },
 "output": {
  "type": "object"
 }
}
```

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Station name query (kanji/kana/romaji, min 2 chars)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "新宿",
  "results": [
   {
    "name_en": "Shinjuku",
    "station_id": "shinjuku"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/transit-agentic-jp-com-41f567af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from transit.agentic-jp.com](https://www.zero.xyz/host/transit.agentic-jp.com/llms.txt)
