TransitFeeds API
TA
TransitFeeds API
/getFeeds

Retrieve a list of feeds.

Used this API to retrieve a list of feeds in the system. Doing so can be usedful to discover feed IDs that can be used in other API calls.

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 /getFeeds for me.

Input

FieldTypeDescription
key*stringYour personal API key, used for authentication. default "YOUR_API_KEY"
locationintegerThis is the unique ID of a location. If specified, feeds will only be returned that belong to this location (and perhaps sub-locations too, depending on the `descendants` value). You can use the `/get default null
descendantsinteger (0 | 1)If a location is specified in `location`, this flag can be used to control if returned feeds must be assigned directly to the location, or if feeds belonging to sub-locations can also be returned. If default 1
pageintegerThe page number of results to return. For example, if you specify a `page` of `2` with a `limit` of 10, then results 11-20 are returned. The number of pages available is included in the response. default 1
limitintegerThe maximum number of results to return.. default 10
typestring (gtfs | gtfsrealtime)The type of feeds to return. If unspecified, feeds of all types are returned. default null

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":"/getFeeds","input":{"key":"YOUR_API_KEY","location":1,"descendants":1,"page":1,"limit":10,"type":"gtfs"}}'
cli
npx cracked-ai run -p oa-transitfeeds-com -e /getFeeds -i '{"key":"YOUR_API_KEY","location":1,"descendants":1,"page":1,"limit":10,"type":"gtfs"}'
mcp
run_tool({ provider: "oa-transitfeeds-com", endpoint: "/getFeeds", input: {"key":"YOUR_API_KEY","location":1,"descendants":1,"page":1,"limit":10,"type":"gtfs"} })

Try it

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