A

Agentic Jp · Lines

by Agentic Jp

GETBaseSolanaPolygon

$0.001

per call · USD Coin on Base

Directory of Japanese (JP) rail operators and their lines, with canonical ids and Japanese/English names. Use to discover valid line and operator identifiers for the other endpoints.

Endpoint

GET https://transit.agentic-jp.com/lines

8

Calls / 30d

5

Unique payers / 30d

Sep 1

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/lines", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://transit.agentic-jp.com/lines" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "operators": [
    {
      "lines": [],
      "name_en": "JR East",
      "operator_id": "jr-east"
    }
  ]
}

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