TransitFeeds API
TA
TransitFeeds API
/getLocations

Retrieve a list of locations.

Retrieve a list of locations. Each location (except for the root) has a parent location, and each location has zero or more child locations. This hierarchy is generally structured so countries contain states, states contain cities (although this typically depends on the country).

liveunknown~3s typical
transitfeeds
$0.0020
per call
plus $0.001 platform fee per run
Public API, no upstream charge
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run oa-transitfeeds-com /getLocations for me.

Input

FieldTypeDescription
key*stringYour personal API key, used for authentication. default "YOUR_API_KEY"

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"oa-transitfeeds-com","endpoint":"/getLocations","input":{"key":"YOUR_API_KEY"}}'
cli
npx cracked-ai run -p oa-transitfeeds-com -e /getLocations -i '{"key":"YOUR_API_KEY"}'
mcp
run_tool({ provider: "oa-transitfeeds-com", endpoint: "/getLocations", input: {"key":"YOUR_API_KEY"} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.