RapidAPI logo


By trailapi
Updated 4 months ago
Popularity Score
Success Rate
Hi Developer, feel free to ask your question:
Nijland:4 months ago
0 Answers

What is the url string for using it in swift and alamofire

KasperKloster:6 months ago
0 Answers

Does this work with other countries?

cavealix:2 years ago
4 Answers

Same results regardless of query location

AlexBai:2 years ago
1 Answer

Don't show responses

dmeyer:2 years ago
0 Answers

Is there a way to retrieve information for a specific trail?

zimm218:2 years ago
0 Answers

Example Response Model

jjmu15:3 years ago
0 Answers

Are there plans to add data for Hungary?

Ja5onny:3 years ago
1 Answer

swift request example

nguyenvyl:3 years ago
1 Answer

Trail locations?

Automatic365:3 years ago
2 Answers

Searching just by specific trail or park does not seem to be working

giladarad:3 years ago
3 Answers

GPX download - Mobile App

nikitazernov:3 years ago
1 Answer

Error 503

nathangruber:3 years ago
1 Answer

what are the api's rate limits?

rodrigomf24:3 years ago
1 Answer

Is there a way to get the list of available activities?

eyald:3 years ago
3 Answers

Looks like the example returns empty

iHeartEvent:4 years ago
0 Answers

how can use the api?

Log inSign up

Install SDK for NodeJS


To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

.header("X-RapidAPI-Host", "trailapi-trailapi.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication