REST API: Trails/Nearby

The Set endpoint returns the 10 nearest trails to the arg trail.

Resource URI

only the set is used

Resource Properties

Parameter

Format

Description

Allows Null

acctCategory String Trail category, such as "R" No 
trailID Number unique ID for the trail No
detailurl String portion of the traillink URL of the trail no 
imagethumb Number Image ID of the trail thumbnail no 
lat Decimal Latitude for a single point on the trail no
length Number Length in miles no 
lon decimal Longitude for a single point on the trail no
miles decimal distance in miles between the two trails no
states String States the trail is in. no 
surfaces String Surfaces the trail has no 
trailName String The trail name. No 

Error Responses

Trail ID is required.

REST API: Trails/Nearby Set

Returns the 10 closest trails to the arg trail.

Resource URI

/Trails/6683560/Nearby/?api_key=

Set Filters