Skip to content

TransitFeeds API API

by transitfeeds.com

No authHTTPSGeocoding
Open documentation ↗

Overview

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

TransitFeeds API is a geocoding API from transitfeeds.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 4 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Geocoding
Base URL
https://api.transitfeeds.com/v1
Version
1.0.0
Endpoints
4
Spec updated
2021-06-21

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.transitfeeds.com/v1/getFeedVersions" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://api.transitfeeds.com/v1/getFeedVersions", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://api.transitfeeds.com/v1/getFeedVersions",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/getFeedVersionsRetrieve a list of versions of specified (or all) feeds.
GET/getFeedsRetrieve a list of feeds.
GET/getLatestFeedVersionRetrieve the download URL for the latest version of a feed.
GET/getLocationsRetrieve a list of locations.

Questions

Does the TransitFeeds API API need an API key?

No. The TransitFeeds API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the TransitFeeds API API support HTTPS?

Yes, the TransitFeeds API API is served over HTTPS.

How many endpoints does the TransitFeeds API API have?

Its OpenAPI description lists 4 endpoints in version 1.0.0. All of them are shown on this page.

What are alternatives to the TransitFeeds API API?

Other Geocoding APIs include Bing Maps, ip-api, OpenStreetMap, GeographQL, IP Address Details.

Compare alternatives →

Listed from APIs.guru (CC0).