Numbers

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

Numbers API Documentation

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"

View API Details
GETGet date fact
GETGet math fact
GETGet random fact
GETGet trivia fact
GETGet year fact
GETGet math fact

Get a mathematical property about a number

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
numberSTRING
REQUIREDThe integer of interest
Optional Parameters
fragmentSTRING
OPTIONALAdd "?fragment=true" to return the fact as a sentence fragment that can be easily included as part of a larger sentence. This means that the first word is lowercase and ending punctuation is omitted. For trivia and math, a noun phrase is returned that can be used in a sentence like “We now have more users than [fact as fragment]!”.
jsonSTRING
OPTIONALSpecify "true" to return result as JSON instead of plaintext.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication