The Neighbourly Trail API returns trail segments from the Ontario Trail Network as GeoJSON lines. Each segment has its trail name, the organization that manages it, permitted uses (hiking, cycling, cross-country skiing, snowshoeing and more), length and a description. Query a map viewport and filter by use, organization or on-road sections.
It is a REST API for the trails people walk, ride, ski and paddle in Ontario. It serves Ontario Trail Network segments as map lines. Each segment names the trail and the organization responsible for it, from the Bruce Trail Conservancy and Ontario Parks to cities and conservation authorities. It also lists permitted uses, length in kilometres, whether the segment runs on a road and a written description.
Find segments open to hiking, cycling, cross-country skiing, snowshoeing, horseback riding, ATVs, snowmobiles or paddling and portaging with permitted_use=.
Each segment names its trail association and, where published, its website. Filter by association= to get one organization's network.
Segments come back as GeoJSON MultiLineStrings with a positional accuracy flag. Add on_road=false to skip road sections.
These are the fields the API returns for this layer. Field names match the JSON response exactly.
| Field | Type | Description |
|---|---|---|
| trail_name | string | Trail name |
| trail_association | string | Managing organization |
| trail_association_website | string | Organization website |
| permitted_uses | string | Comma-separated uses, e.g. Hiking or Walking, Cycling |
| trail_length_km | float | Trail length in km |
| on_road_flg | string | Yes if the segment runs on a road |
| description | text | Trail description |
| location_accuracy | string | e.g. Within 10 metres |
| province_id | integer | Province |
| geom | GeoJSON | MultiLineString geometry |
All requests go to https://api.neighbourly.io and send your key in the Api-Key header. A viewport is a JSON bounding box, {"southWestLat":…,"southWestLon":…,"northEastLat":…,"northEastLon":…}, URL-encoded.
Live response, trimmed.
{
"id": 5672,
"trail_name": "9 km Trail",
"trail_association": "Hardy Lake Provincial Park",
"trail_association_website": "www.ontarioparks.com/park/hardylake",
"permitted_uses": "Hiking or Walking",
"trail_length_km": 9,
"on_road_flg": "No",
"location_accuracy": "Within 10 metres",
"description": "Hardy Lake Provincial Park Trails provide hiking access to the shores of both Hardy Lake and Lake Muskoka. …",
"geom_geojson": {
"type": "MultiLineString",
"coordinates": […]
}
}
Show the hiking, cycling and ski trails within walking distance of a listing. It is a strong lifestyle signal in suburban and cottage markets.
Let users find trails by activity and see who maintains them, with a link to the organization.
Map off-road cycling and walking routes across municipal boundaries to find gaps.
Build regional guides for hiking, snowshoeing or cross-country skiing from one source.
Every environmental layer shares the same API key, coordinate system and response conventions. Combine them in one integration.
Common questions about the Trail Data API.
Ontario Trail Network segments as GeoJSON lines, with trail name, managing organization and website, permitted uses, length, an on-road flag, a description and positional accuracy.
Any listed use, including hiking or walking, cycling, cross-country skiing, snowshoeing, equestrian, portage, paddling, ATVs, snowmobiling and wheelchair-accessible trails.
The Ontario Trail Network (OTN) segment dataset published through Ontario GeoHub, with trails contributed by organizations such as the Bruce Trail Conservancy, Ontario Parks, municipalities and conservation authorities.
Not always. trail_length_km is the published length of the trail, and for long trails that can be the whole route: a Bruce Trail section record carries 900 km. Measure the geometry if you need the length of one segment.
Not today. This layer is Ontario's trail network.
Request an API key from the dashboard or book a demo. Every request sends the key in the Api-Key header. Pricing is usage-based.
Neighbourly normalizes public open data into one schema. Source licences and attribution apply; see our terms.
Get an API key and query this layer today, or talk to us about coverage and volume.