Numbers

FREE
By divad12
Updated 5 months ago
Education
9.7/10
Popularity Score
361ms
Latency
99%
Success Rate

Numbers API Overview

An API for interesting facts about numbers. Provides trivia, math, date, and year facts about numbers.

For example, "5 is the number of platonic solids", "42 is the number of little squares forming the left side trail of Microsoft's Windows 98 logo", "February 27th is the day in 1964 that the government of Italy asks for help to keep the Leaning Tower of Pisa from toppling over"

Contact API Provider
star-blueRate

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://numbersapi.p.rapidapi.com/6/21/date?fragment=true&json=true")
.header("X-RapidAPI-Host", "numbersapi.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