In real time. MTA subway, MTA bus, and Citi Bike — one API for any NYC agent.
Prompts you can ask your agent
Pre-cached from live MTA and Lyft feeds. For fresh data in your agent: GET /subway/nearest?lat=&lng= · OpenAPI · skill.md
Get started
Creates a wallet and shows your USDC deposit address — fund with at least $0.10 before the next step.
$ npx agentcash onboard
Hits a live endpoint for $0.02 and prints the response — confirms your wallet pays end-to-end.
$ npx agentcash try https://transit402.dev
Registers the API in your agent's config so it can pay automatically on every call.
$ npx agentcash add https://transit402.dev
Privy's skill agent sets up a wallet and handles x402 payments automatically — no CLI needed.
SETUP PROMPT
Set up https://agents.privy.io/skill.md
Creates a Tempo smart wallet, funds it with USDC, and enables x402 payments on any supported API.
SETUP PROMPT
Read https://tempo.xyz/SKILL.md and set up a Tempo Wallet. Fund it with USDC.
Day-to-day
One prompt, multiple tool calls, one answer. transit402 is one block in a broader agent flow.
"E-bike wins by 3 min. Pick up at E 47 St & 3rd Ave (4 e-bikes, 1 min walk), ride the Williamsburg Bridge, dock at N 12 St & Bedford Ave (8 open docks). Total 18 min. Subway fallback: 7 to Grand Central → L from Union Sq to Bedford, next train in 3 min."
transit402.dev · 4 calls · $0.08
stableemail.dev · 1 email · $0.04
Total: $0.12
Mix and match with any x402-paid service. Directory: x402scan · AgentCash
Endpoints
All endpoints: lat required · lng required · limit optional (default 5, max 10)
Transparency
Source code verified. The binary running on our server is cryptographically linked to a specific commit of the open-source repository. Audit the exact provenance on EigenCloud.
Runs on an EigenCloud vTPM-attested VM. Verified boot, KMS-sealed secrets released only to the measured boot image, public logs. Every paid call emits [PAY] x402 verified amount=0.02 network=eip155:8453 route=/subway/nearest and [PAY] x402 settled ... tx=0x... once the on-chain transfer to our merchant wallet lands. See dual402.js for the verification code.