Sign Up

Log In

TrailAPI

FREEMIUM
By trailapi
Updated 10 hours ago
Travel
8.4/10
Popularity Score
544ms
Latency
97%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
Nijland:8 days ago
0 Answers

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

KasperKloster:2 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:2 years ago
0 Answers

Are there plans to add data for Hungary?

Ja5onny:2 years ago
1 Answer

swift request example

nguyenvyl:2 years ago
1 Answer

Trail locations?

Automatic365:2 years ago
2 Answers

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

giladarad:2 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

Installing

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

unirest.get("https://trailapi-trailapi.p.rapidapi.com/trails/explore/?page=undefined&per_page=undefined&radius=undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard