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.
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.
Retrieve an already-planned route.
Our 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.)
The Feedback addition API enables users to send feedback on planned cycle journeys, helping us continually provide better routes.
With the geocoder API you can get suggested best-location matches for streets, towns and cities, places, postcodes, and stations.
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.
This call retrieves a single collision data location.
With the GPS tracks API you can upload a GPS track to a user profile.
The Photomap locations API provides a data interface to our Photomap, enabling you to retrieve photos of cycling-related infrastructure.
The Photomap location API lets you retrieve an individual photo in the Photomap.
The Photomap categories API enables clients to retrieve the list of Photomap categories.
With the Add photo API you can add a photo to the Photomap.
With the Update photo API you can update a photo in the Photomap.
Enables users to Like a photo, to guage popularity.
The Galleries List API enables clients to retrieve the list of Galleries.
The Galleries Get API enables clients to retrieve an specified gallery.
The Galleries Create API enables clients to create a Gallery.
The Galleries Update API enables clients to update a Gallery.
The User authenticate API authenticate CycleStreets user account credentials.
The User create API enables the creation of a new CycleStreets user account.
The Status API provides an overview of details about the journey planner API, such as the maximum journey length and countries covered.
Runs a set of internal API tests
Runs a single internal API tests
Creates a listing of the tests available