{"uid":"cap_0IC2sRXomPMNYJMmYsqbk","slug":"japan-transit-api-alternative-routes-x402-f0ecf9a5","name":"Japan Transit API — Alternative Routes (x402)","description":"Real-time Tokyo train delays, line disruptions, route planning and delay-aware alternative routes (ODPT data). Pay per call with USDC via x402 — no API key.","url":"https://transit.agentic-jp.com/alternative-routes","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"Destination station (Japanese)"},"from":{"type":"string","description":"Origin station (Japanese)"},"departure_time":{"type":"string"},"max_alternatives":{"type":"number"}}},"responseSchema":{"type":"json","example":{"primary":{"delay_status":"delayed","duration_minutes":14},"alternatives":[{"rank":1,"delay_status":"normal","duration_minutes":18}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FbiX6fPPQQ29BfLjVI2DP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns delay-aware alternative train routes between two Tokyo stations, comparing the primary route delay status against ranked alternatives using real-time ODPT data.","exampleAgentPrompt":"My usual line looks delayed — can you check if there's a better way to get from 新宿 (Shinjuku) to 渋谷 (Shibuya) right now, and show me up to 3 alternative routes ranked by how likely they are to be on time?","exampleUseCases":[{"title":"Morning commute disruption workaround","prompt":"My train from 池袋 (Ikebukuro) to 東京 (Tokyo) station is delayed this morning — can you find me the top 2 alternative routes that are currently running normally?"},{"title":"Meeting arrival time planning","prompt":"I need to get from 新宿 (Shinjuku) to 品川 (Shinagawa) by 14:00 today — can you check if the primary route is delayed and suggest alternatives so I'm not late?"},{"title":"Real-time disruption comparison for tourists","prompt":"We're trying to get from 浅草 (Asakusa) to 原宿 (Harajuku) — are there any delays on the main route and what's the quickest unaffected alternative right now?"}],"resultDescription":"A JSON object containing the primary route's delay status and travel duration in minutes, followed by a ranked list of alternative routes each with their own delay status, duration, and rank number — allowing the agent to compare on-time probability and travel time across options.","failureModes":["Missing required 'from' or 'to' fields returns a validation error","Station names not in Japanese characters may fail to resolve to ODPT station identifiers","Payment failure or insufficient USDC balance blocks the request via x402 protocol","Stale or unavailable ODPT feed may return outdated delay information","No alternatives found if only one viable route exists between stations"],"whenToPreferThis":"Choose this endpoint when you need real-time, delay-aware route comparison for Tokyo train travel specifically, and want pay-per-call access without API key registration. It is ideal for agents handling live commute disruptions or time-sensitive navigation in the Tokyo rail network. Prefer it over generic mapping APIs when ODPT-sourced accuracy and alternative ranking by delay status matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:21.765Z","isFirstParty":false}