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.
number
required
Number
| Name | Required | Default | Description |
|---|---|---|---|
number |
Yes | - | Number |
curl https://nordapi.ee/api/v1/fun/number/42
curl https://nordapi.ee/api/v1/fun/number/42
curl https://nordapi.ee/api/v1/fun/number/7
curl https://nordapi.ee/api/v1/fun/number/1000
HTTP 502: {
"error": "numbersapi returned 404",
"success": false
}