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 Locations API

Train geolocation operations

Chicago Transit Authority Locations 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 Locations. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, 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.

1 operations 1 paths 2 schemas 1 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 Locations 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 1

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

Locations 1

Train geolocation operations

GET
/ttpositions.aspx
Locations
getPositions 3 params → 200

Schemas 2

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

PositionsResponse
object
1 property
Position
object
13 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chicago-transit-authority-locations-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 Predictions API
Chicago Transit Authority Routes API
Chicago Transit Authority Stops API
Chicago Transit Authority System API
Chicago Transit Authority Vehicles API