RapidAPI logo

Sign Up

Log In

Great Circle Mapper

FREEMIUM
By marcusgoede
Updated 3 months ago
Travel
8.2/10
Popularity Score
212ms
Latency
96%
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
Request 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
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://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