API Bouncer

Buy me a coffee

Numbers

Number of the day, random number, number facts and anything else you want to do with numbers

Science & MathAuth: API KeyHTTPS: YesCORS: noStatus: alive

Last verified: November 12, 2026

Reliability

100% uptime: the documentation responded in 5 of 5 checks over the last 30 days. Median response time: 1.1 s.

How we check, and the most reliable APIs →

At a glance

# Convert a given number from one base to another base (add your API key; see the docs for where it goes) curl "https://api.math.tools/numbers/base"

API reference

From Numbers's OpenAPI specification (version 1.5), spec updated June 21, 2021, via APIs.guru.

All about Numbers. REST access with json/xml/jsonp result support. Below is the documentation for the Numbers API. You can try them out right here. Find more information and subscribe at math.tools
  • Base URL: https://api.math.tools
  • Endpoints: 26
  • Machine-readable spec: OpenAPI JSON (import into Postman, Insomnia or a code generator)
MethodPathWhat it does
GET/numbers/baseConvert a given number from one base to another base
GET/numbers/base/binaryConvert a given number to binary
GET/numbers/base/hexConvert a given number to hexadecimal
GET/numbers/base/octalConvert a given number to octal
GET/numbers/cardinalGet the cardinal of the given number
GET/numbers/currencySpells out the number as a currency
GET/numbers/factGet a random fact about a number
GET/numbers/is-cubeChecks whether a given number is a cube number or not.
GET/numbers/is-palindromeChecks whether a given number is a palindrome number or not.
GET/numbers/is-squareChecks whether a given number is a square number or not.
GET/numbers/is-triangleChecks whether a given number is a triangle number or not.
GET/numbers/nodGet the number of the day for current day
GET/numbers/numeral/chineseConvert base 10 representation of a given number to chinese numeral.
GET/numbers/numeral/egyptianConvert base 10 representation of a given number to egyptian numeral.
GET/numbers/numeral/romanConvert base 10 representation of a given number to roman numeral.
GET/numbers/ordinalGet the ordinal of the given number
GET/numbers/piGet digits of pi (Ï€)
GET/numbers/prime/factorsGet the prime factors of a given number.
GET/numbers/prime/is-fermat-primeChecks whether a given number is a known fermat prime number or not.
GET/numbers/prime/is-fibonacci-primeChecks whether a given number is a known fibonacci prime number or not.
GET/numbers/prime/is-mersenne-primeChecks whether a given number is a known mersenne prime number or not.
GET/numbers/prime/is-partition-primeChecks whether a given number is a known partition prime number or not.
GET/numbers/prime/is-pell-primeChecks whether a given number is a known pell prime number or not.
GET/numbers/prime/is-perfectChecks whether a given number is a perfect number or not.
GET/numbers/prime/is-primeChecks whether a given number is a known prime number or not.

Showing 25 of 26 endpoints. The full list is in the spec above.

History

  • November 12, 2026: last health check, responding

See every change to the directory →