freeapis

Transport for Chicago, US

Chicago Transit Authority (CTA)

Authentication
API Key
HTTPS
No
CORS
Unknown

Overview

Transport for Chicago (CTA) provides train/bus data — key-based (an invalid key returns HTTP 200 with errCd 101, verified).

Quick Start

Train positions (replace YOUR_KEY):

curl "http://www.transitchicago.com/api/1.0/ttpositions.aspx?key=YOUR_KEY&rt=Red"
<ctatt><tmst>20260825 18:09:27</tmst><errCd>101</errCd><errNm>Invalid API key.</errNm></ctatt>

Authentication

  • Register at transitchicago.com → API key.
  • Send it as the key query parameter.

⚠️ Gotcha (verified): an invalid key returns HTTP 200 with errCd 101 — check errCd/errNm.

Rate Limits & Notes

  • Key-based with a free tier (check the docs).
  • CTA train/bus data.

FAQ

Is Transport for Chicago free? Key-based with a free tier per the docs.

Why 200 with errCd 101? Invalid keys return 200 + errCd (verified) — check errCd.

What’s the auth style? key query parameter.

More in Transportation

APIAuthHTTPSCORS
ADS-B Exchange

Access real-time and historical data of any and all airborne aircraft

No authYesUnknown
airportsapi

Get name and website-URL for airports by ICAO code

No authYesUnknown
AIS Hub

Real-time data of any marine and inland vessel equipped with AIS tracking system

API KeyNoUnknown
Amadeus for Developers

Travel Search - Limited usage

OAuthYesUnknown
apilayer aviationstack

Real-time Flight Status & Global Aviation Data API

OAuthYesUnknown