← Entertainment

Number Fact

GET /fun/number/:number

Get a fun, interesting fact about any number. For example, 42 is 'the number of laws of cricket' or 'the answer to the ultimate question of life, the universe, and everything.' Returns a trivia fact from the Numbers API. Useful for educational math apps, number-of-the-day features, gamification elements, and adding delight to interfaces that display numbers.

Parameters

number required

Number

Example Requests

Basic usage
curl https://nordapi.ee/api/v1/fun/number/42
Fact about 42
curl https://nordapi.ee/api/v1/fun/number/42
Fact about 7
curl https://nordapi.ee/api/v1/fun/number/7
Fact about 1000
curl https://nordapi.ee/api/v1/fun/number/1000

Live Response

HTTP 502: {
  "error": "numbersapi returned 404",
  "success": false
}