# TransitFeeds API API

> TransitFeeds API API on Apizie: 4 endpoints (Retrieve a list of versions of specified (or all) feeds., Retrieve a list of feeds., Retrieve the download URL for the latest version of a feed., Retrieve a list of locations.) returned as clean JSON through one API key. 4 endpoints are live now. Call it over REST at https://www.apizie.tech/v1/places:transitfeeds/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `places:transitfeeds`
- Category: Places
- Status: live
- Source: https://transitfeeds.com/issues
- Page: https://www.apizie.tech/api/places/transitfeeds
- OpenAPI: https://www.apizie.tech/api/places/transitfeeds/openapi.json

API to view feed information and download feeds from TransitFeeds.com

## Endpoints

### Retrieve a list of versions of specified (or all) feeds.
`GET https://www.apizie.tech/v1/places:transitfeeds/get-feed-versions`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes | Your personal API key, used for authentication. |
| feed | string | no | If you only want to retrieve feed versions for a particular feed, include its ID here. You can use the `/getFeeds` call to discover feed… |
| page | integer | no | The 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.… |
| limit | integer | no | The maximum number of results to return.. |
| err | integer | no | To include any errors detected when importing this feed in the response, specify a valud of `1`. |
| warn | integer | no | To include any warnings detected when importing this feed in the response, specify a valud of `1`. |

### Retrieve a list of feeds.
`GET https://www.apizie.tech/v1/places:transitfeeds/get-feeds`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes | Your personal API key, used for authentication. |
| location | integer | no | This is the unique ID of a location. If specified, feeds will only be returned that belong to this location (and perhaps sub-locations… |
| descendants | integer | no | 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… |
| page | integer | no | The 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.… |
| limit | integer | no | The maximum number of results to return.. |
| type | string | no | The type of feeds to return. If unspecified, feeds of all types are returned. |

### Retrieve the download URL for the latest version of a feed.
`GET https://www.apizie.tech/v1/places:transitfeeds/get-latest-feed-version`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes | Your personal API key, used for authentication. |
| feed | string | yes | The ID of the feed to retrieve the latest feed version for. You can use the `/getFeeds` call to discover feed IDs. |

### Retrieve a list of locations.
`GET https://www.apizie.tech/v1/places:transitfeeds/get-locations`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes | Your personal API key, used for authentication. |

## Example
```
curl "https://www.apizie.tech/v1/places:transitfeeds/get-feed-versions" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the TransitFeeds API API?
Create a free Apizie key, then send GET https://www.apizie.tech/v1/places:transitfeeds/get-feed-versions with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the TransitFeeds API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the TransitFeeds API API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key places:transitfeeds.

### What is the status of the TransitFeeds API API?
Live: works with just an Apizie key
