Skip to content
Alpha — Headcode is currently in alpha. APIs and data may change without notice.

Headcode

Normalised, enriched UK rail data through one API instead of twelve raw feeds.

Headcode combines open UK rail datasets from the Rail Data Marketplace, Network Rail Open Data, NaPTAN, ORR, Darwin and related sources into clean JSON endpoints.

  • Unified station identity across CRS, TIPLOC, STANOX, NLC, ATCO, UIC and slugs.
  • Live and historic service intelligence.
  • Platform train order, calling points and disruption information.
  • British English descriptions, metric units and OpenAPI-first contracts.
https://api.headcode.dev/

Headcode is currently in active development. API access is available by request: email [email protected] to discuss access and receive an auth token.

Authenticated requests use a bearer token:

Authorization: Bearer hc_...