Great Circle Mapper

FREEMIUM
By marcusgoede
Updated 5 months ago
Travel
8/10
Popularity Score
128ms
Latency
92%
Success Rate

Great Circle Mapper API Documentation

Use Great Circle Mapper to calculate the air distance and flight time between all airports worldwide.

View API Details
Aviation
GETAir Route Calculation
GETAircraft Type Read
GETAirport Read
GETAirport Search
GETAir Route Calculation

calculate distance and flight time for any airports and any speed

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
speedSTRING
REQUIREDSpeed in kts
routeSTRING
REQUIREDICAO airport cides, separated by hyphens
Code Snippet
unirest.get("https://greatcirclemapper.p.rapidapi.com/airports/route/EGLL-KJFK/510")
.header("X-RapidAPI-Host", "greatcirclemapper.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://greatcirclemapper.p.rapidapi.com/airports/route/{route}/{speed}
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://greatcirclemapper.p.rapidapi.com/airports/route/EGLL-KJFK/510")
.header("X-RapidAPI-Host", "greatcirclemapper.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