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
Day-to-day
One prompt, multiple tool calls, one answer. NYC Transit Live is one block in a broader agent flow.
40.7525, -73.9725 and McCarren Park → 40.7202, -73.9520 from the agent's own context. No API call.
transit402.dev/subway/nearest + /citibike/nearest at origin in parallel. Filter bike results to ebikes_available > 0.
transit402.dev/subway/nearest + /citibike/dock at destination in parallel.
ebikes_available ≥ 1.
stableemail.dev/send with the top pick + subway fallback.
"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
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.
Endpoints
All endpoints: lat required · lng required · limit optional (default 3, max 10)