Find the best way around the city

In real time. MTA subway, MTA bus, and Citi Bike — one API for any NYC agent.

$0.02 per check
Source Code Verified Deployed on EigenCloud

Real-time MTA + Citi Bike, answered from one API

496subway stations
2,400+Citi Bike stations
2,229bus stops
All 5 boroughs · live MTA GTFS-RT + SIRI + Lyft GBFS
Click a prompt to see the response.

Pre-cached from live MTA and Lyft feeds. For fresh data in your agent: GET /subway/nearest?lat=&lng= · OpenAPI · skill.md

1

Set up AgentCash

Creates a wallet and shows your USDC deposit address — fund with at least $0.10 before the next step.

$ npx agentcash onboard
2

Make a test call

Hits a live endpoint for $0.02 and prints the response — confirms your wallet pays end-to-end.

$ npx agentcash try https://transit402.dev
3

Add to your agent

Registers the API in your agent's config so it can pay automatically on every call.

$ npx agentcash add https://transit402.dev
1

Paste into your AI assistant

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
1

Paste into your AI assistant

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.

How an agent chains this with other services

One prompt, multiple tool calls, one answer. transit402 is one block in a broader agent flow.

Prompt
Heading home from 45th & 3rd Ave to McCarren Park in 5 min. Put me on an e-bike if one's close. Email me the plan.
Email sent · 34 seconds after prompt

"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

Citi Bike
$0.02
/citibike/nearest
/citibike/dock

Real-time bike availability via GBFS. Find available bikes or open docks with walking time estimates.

Subway
$0.02
/subway/nearest
/subway/alerts

496 stations. GTFS-RT feeds from the MTA, updated every 30 seconds. Live arrivals with line, direction, and ETA — plus active service alerts with severity, direction, and estimated delay minutes.

1 2 3 4 5 6 7 A C E B D F M G J Z L N Q R W S SIR
Bus
$0.02
/bus/nearest

Real-time arrival predictions via MTA SIRI. Routes, destinations, and ETAs for nearby bus stops.

All endpoints: lat required · lng required · limit optional (default 5, max 10)

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.

Verify for yourself → or read the source →