math.tools

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

🔑 apikey 26 endpoints open_data
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (5 total)

pip install math-sdk
npm install math-js-sdk
# Maven: see https://github.com/selvypen/math-recognition-example-android
dotnet add package math-recognition-example-windows-wpf
dotnet add package OneNoteMathType
curl examples
Get digits of pi (Ï€)
curl \
  -H "X-Mathtools-Api-Secret: $API_KEY" \
  https://api.math.tools/numbers/pi
Get the number of the day for current day
curl \
  -H "X-Mathtools-Api-Secret: $API_KEY" \
  https://api.math.tools/numbers/nod
Convert a given number from one base to another base
curl \
  -H "X-Mathtools-Api-Secret: $API_KEY" \
  https://api.math.tools/numbers/base
Endpoints (26 total)
GET
/numbers/pi
Get digits of pi (Ï€)
GET
/numbers/nod
Get the number of the day for current day
GET
/numbers/base
Convert a given number from one base to another base
GET
/numbers/fact
Get a random fact about a number
GET
/numbers/random
Generate random number(s)
GET
/numbers/is-cube
Checks whether a given number is a cube number or not.
GET
/numbers/ordinal
Get the ordinal of the given number
GET
/numbers/base/hex
Convert a given number to hexadecimal
GET
/numbers/cardinal
Get the cardinal of the given number
GET
/numbers/currency
Spells out the number as a currency
GET
/numbers/is-square
Checks whether a given number is a square number or not.
GET
/numbers/base/octal
Convert a given number to octal
At a glance
Total SDKs5
Languages4
Endpoints26
Authapikey
Categories1
https://api.math.tools