REST API: Trails/Popular

Returns the popular trails that are closest to a given city

Resource URI

/Trails/Popular

Resource Properties

ParameterFormatDescriptionAllows Null
xxx xxx xxx xxx

Error Responses

HTTP GET

Returns the closest popular trails to given city. Defaults to 8 trails. Parameters are: city state limit (optional)

JSON Request:

JSON Response:

[
{
"trailID": 6017236,
"miles": 21.4937203923613,
"trailName": "Washington and Old Dominion Railroad Regional Park (W&OD)",
"lon": -77.08580878,
"lat": 38.844180059,
"length": 45,
"states": "Virginia",
"acctCategory": "R",
"detailurl": "washington-and-old-dominion-railroad-regional-park-(wod)",
"surfaces": "Asphalt, Crushed Stone",
"activities": "Bike, Inline Skating, Wheelchair Accessible, Horseback Riding, Walking, Cross Country Skiing",
"imagethumb": 139327,
"nearbyDescription": "

The Washington and Old Dominion Trail (W&OD), one of suburban Washington, D.C.’s most popular rail-­trails, is a fantastic link between the state’s rural and historical past and the nation’s capital. The trail serves as an important spine in the developing 800-mile Capital Trails Coalition network, a Rails-to-Trails Conservancy TrailNation project connecting the greater Washington, D.C., metropolitan region. Along with the Four Mile Run Trail, the Mount Vernon Trail, and the Custis Trail, the W&OD Trail contributes to the Arlington Loop. The W&OD was inducted into the national Rail-Trail Hall of Fame in 2008.

\r\n

The W&OD Railroad was built in 1859, shortly before the Civil War, and went into disuse in 1968. NOVA Parks opened the first few miles of paved trail in Falls Church in 1974 through an agreement with Virginia Electric and Power Company, which owned the right-of way, and in 1977 began purchasing the land. The trail was completed in 1988. Today, NOVA Parks maintains the trail with the help of volunteers from Friends of the W&OD.

\r\n

A crushed-stone trail parallels the paved W&OD for 32 miles and is favored by mountain bikers, equestrians, and joggers. Horses are restricted to this gravel trail, though you’ll rarely see one east of Vienna. The trail is exceptionally well marked, with mileposts every 0.5 mile and interpretive signs telling the story of the people and places a",
"ratingAverage": 5,
"ratingCount": 28,
"reviewCount": 44
},
etc.

XML Request:

XML Response:

HTTP POST

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP PUT

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP DELETE

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:


REST API: Trails/Popular Set

N/A

Resource URI

Set Filters

ParameterFormatDescriptionAllows Null
xxx xxx xxx xxx

HTTP GET

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP POST

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP PUT

N/A

JSON Request:

JSON Response:

XML Request:

XML Response:

HTTP DELETE

N/A

JSON Request:

JSON Response:

XML Request:

XML Response: