Walk Score

FREE
By theapiguy
Updated 3 months ago
Mapping
-/10
Popularity Score
-
Latency
-
Success Rate

Walk Score API Documentation

This API returns the Walk Score, Transit Score and Bike Score for any location.

View API Details
GETWalk Score
GETWalk Score

Get Walk Score

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
lonSTRING
REQUIRED The longitude of the requested location.
latSTRING
REQUIRED The latitude of the requested location.
addressSTRING
REQUIREDThe URL encoded address.
wsapikeySTRING
REQUIREDYour Walk Score API Key. https://www.walkscore.com/professional/api-sign-up.php
Optional Parameters
transitSTRING
OPTIONALSet transit=1 to request Transit Score (if available).
bikeSTRING
OPTIONAL Set bike=1 to request Bike Score (if available).
formatSTRING
OPTIONALType of result to return: (movie, series, episode)
Code Snippet
unirest.get("https://walk-score.p.rapidapi.com/score")
.header("X-RapidAPI-Host", "walk-score.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://walk-score.p.rapidapi.com/score
Request Method: GET
Response Headers
Response Body

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://walk-score.p.rapidapi.com/score")
.header("X-RapidAPI-Host", "walk-score.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