A

Agentic Jp · Route Plan

by Agentic Jp

POSTBaseSolanaPolygon

$0.01

per call · USD Coin on Base

Plan a route between two Japanese (JP) train stations — timetable-based, with transfers, duration, and fare. Standard planning without delay adjustment (cheaper). Use for ordinary trip planning.

Endpoint

POST https://transit.agentic-jp.com/route-plan

1

Calls / 30d

1

Unique payers / 30d

Aug 13

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://transit.agentic-jp.com/route-plan", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "from": "新宿",
    "to": "東京"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://transit.agentic-jp.com/route-plan" \
  -H "Content-Type: application/json" \
  -d '{"from":"新宿","to":"東京"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "duration_minutes": 14,
  "fare_jpy": 200,
  "transfers": 0
}

Payment details

Pay to0x38c9f689274e2fc3ae360744ef88ce212077a584
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Polygon
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Agentic Jp & similar services