Public transit providers lookup
travel-agent.forgemesh.io/api/transit-providers
Public transit providers lookup: transit agencies for a US metro area from a curated registry. Pass location (city or agency name); optional transportation_type (rail, metro, bus, ferry) and trip_style. Returns JSON with matches, each with provider_id, name, transportation modes and a verification URL. The registry is hand-curated and covers a limited set of US metro areas; it does not confirm dep
GET
https://travel-agent.forgemesh.io/api/transit-providersUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://travel-agent.forgemesh.io/api/transit-providers?location=Boston&transportation_type=rail&trip_style=car-light+day+trip");
console.log(await res.json());Example input
{
"location": "Boston",
"transportation_type": "rail",
"trip_style": "car-light day trip"
}