The CycleStreets API (v2) is a modern JSON interface to the routing engine and other CycleStreets components.
Our API is used in a range of mobile apps and websites and we are keen to encourage wide usage.
Apply for an API key for use in your mobile/website application. The API is also available under a Commercial SLA.
The examples assume an API key is specified – see how to specify an API key.
Plans fastest / quietest / balanced cycle journeys in the UK (and some other areas), knows Sustrans routes, avoids hills, and supports waypoints.
The leisure routing API will suggest circular leisure routes based on a specified distance or time, optionally via points of interest.
This API provides a listing of the journeys of a specified user, having regard to any privacy settings.
The nearest point API returns the nearest point to a given longitude/latitude. (Not normally needed for journey planning.)
Create a batch routes matrix job, setting the parameters for a job which can then be started/controlled.
With the geocoder API you can get suggested best-location matches for streets, towns and cities, places, postcodes, and stations.
The Photomap locations API provides a data interface to the Photomap, enabling you to retrieve photos of cycling-related infrastructure.
The Photomap categories API enables clients to retrieve the list of Photomap categories.
The Points of Interest (POIs) API provides locations of places of interest, both utility and practical locations.
The collisions data API provides locations and details of every reported road traffic collision in the UK from 2005.
The traffic counts data API provides traffic counts, for all types of vehicles, on main roads around Great Britain, from 2000.
Suggested popup cycleway infrastructure, arising from research work at Leeds University.
Streets, marked as no through-traffic (LTNs), through-traffic (rat run), or through-route but traffic-calmed.
The Galleries Get API enables clients to retrieve an specified gallery.
List of map download files in Mapsforge format, for use as offline map packs in the CycleStreets Android app.
The Status API provides an overview of details about the journey planner API, such as the maximum journey length and countries covered.
The Feedback addition API enables users to send feedback on planned cycle journeys, helping us continually provide better routes.
* Items marked with an asterisk [*] are required fields and must be fully completed.
A project originating from Cambridge Cycling Campaign // Hosting kindly helped by Mythic Beasts
Short link: https://cycle.st/api/