Sign Up

Log In

Numbers

FREE
By divad12
Updated an hour ago
Education
9.6/10
Popularity Score
174ms
Latency
98%
Success Rate

Numbers API Documentation

数に関する興味深い事実についてのAPI。 数字に関するトリビア、数学、日付、および年についての事実を提供します。

たとえば、「5は正多面体の数」、「42はマイクロソフトのWindows 98ロゴの左側を形成する小さな四角の数」、「2月27日は、1964年にイタリア政府がピサの塔の崩壊を防ぐための支援を求めた日」等。

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

GETGet date fact
GETGet math fact
GETGet random fact
GETGet trivia fact
GETGet year fact
GETGet date fact

日付についての事実を取得します。

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
monthSTRING
REQUIREDThe 1-indexed month (eg. 6 for June)
daySTRING
REQUIREDThe day of the month
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.
Request Snippet
unirest.get("https://numbersapi.p.rapidapi.com/{month}/{day}/date?fragment=undefined&json=undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

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://numbersapi.p.rapidapi.com/{month}/{day}/date?fragment=undefined&json=undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard