Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Chicago Transit Authority Routes API

The Routes API from Chicago Transit Authority — 3 operation(s) for routes.

Chicago Transit Authority Routes API is one of 11 APIs that Chicago Transit Authority publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Routes. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 3 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, http://www.ctabustracker.com/bustime/api/v2.

3 operations 3 paths 2 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Base URL
http://lapi.transitchicago.com/api/1.0
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Chicago Transit Authority Routes API declares 1 security scheme for authenticating requests. An API key is passed in the query as key (apiKey). By default, every request must be authenticated.

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Routes 3
GET
/getroutes
Get Routes
getRoutes 2 params → 200
GET
/getdirections
Get Directions
getDirections 3 params → 200
GET
/getpatterns
Get Patterns
getPatterns 3 params → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Route (4 properties), RoutesResponse (1 property). Each schema is shown below with its type and property counts.

RoutesResponse
object
1 property
Route
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chicago-transit-authority-routes-api-openapi.yml Raw ↑

Other APIs Chicago Transit Authority publishes across the network.

CTA Customer Alerts API
CTA GTFS Schedule Feed
Chicago Transit Authority Arrivals API
Chicago Transit Authority Bulletins API
Chicago Transit Authority Follow API
Chicago Transit Authority Locations API
Chicago Transit Authority Predictions API
Chicago Transit Authority Stops API
Chicago Transit Authority System API
Chicago Transit Authority Vehicles API