Adventure On Foot
Adventure On Foot (adventureonfoot.co.uk) is a free, independent directory of the UK's named walking routes, built on OpenStreetMap's walking route relations. It is run by Ben Willis (User:BamAOF).
It lists every named walking route that a public body, charity or trail association promotes in the UK: the national trails, long-distance routes and short walks, about 4,700 in all. Each route is checked against its publisher's own page where one exists, and each gets a code of the directory's own (for example UK 001 for the Pennine Way). The codes are the directory's, not an official system.
How it uses OpenStreetMap
- Route lines come from relations with
type=routeandroute=hikingorroute=foot, plus shared-use routes that list walking. Member ways are joined into one line per route; alternatives, excursions and approaches are set aside. - Tags read:
name,operator,website(orurl),fromandto(for section names),roundtrip,wikidata. - Also from OSM: railway stations, bus stops and car parks near each section's ends, and place names.
- The data is refreshed from the Geofabrik UK extract, so fixes made in OSM appear at the next refresh.
- Every map and page credits "© OpenStreetMap contributors".
The directory does not add its codes or anything else to OpenStreetMap.
What it feeds back
Checking each route against its publisher turns up relations that are incomplete, off the official line or mistagged. These are reported to the community rather than only worked round:
- Walking route relations with large gaps: a list, if anyone fancies some (13 October 2026): long-distance relations with large gaps, two national trails off the official line, and three tagging slips.
The registry
The full list of codes is published as dated, citable releases, once a quarter (January, April, July and October):
- Registry releases: a CSV of every code with its route's name, kind, region, counties, length (and whether that is the publisher's figure or measured from the map), ends, ascent, managing body, the publisher check and its date, the OSM relation ids and the route's page, plus a changelog and a data package (frictionlessdata.io) describing the fields.
- Retired codes stay in each release, marked retired; a code is never reused.
- Where each field comes from: adventureonfoot.co.uk/registry/licence.
Mappers may find the check columns useful: a relation whose route its publisher no longer lists, or whose length is far from the publisher's, is often one worth a look.
The API
A free, read-only JSON API, with no key or sign-up, open to any site (CORS) and cached for a day:
GET /api/v1/trails: find routes near a point (lat,lon,withinin miles), or by name or code (q), length (min_miles,max_miles),shape,tieranddifficulty. For example, circular walks of up to 8 miles near Keswick.GET /api/v1/trails/<slug>: one route in full, with its sections, the nearest station or bus stop at each end, the publisher check and links to its page and a GPX file. For example, the Pennine Way.- How to use it, with examples: adventureonfoot.co.uk/data. OpenAPI 3.1 description: /api/v1/openapi.json.
Licence
The registry, its releases and the API are derived in part from OpenStreetMap and are published under the Open Database Licence 1.0. Credit: © OpenStreetMap contributors; Adventure On Foot.
Contact
ben@adventureonfoot.co.uk, or the "Propose an update" button on any route's page.