Numbers API

Simple REST endpoints to analyze numbers and list concepts in JSON.

Base URL
/api/v1
Format
UTF-8 JSON
Limit
100 req/hour per IP
CORS
Enabled

What you get

API v1 returns mathematical properties, representations, divisors and concept collections without authentication.

Getting started

Analyze a number

Query a specific number and get primality, Fibonacci, divisors, binary, Roman numerals and more.

Limit fields

Trim the payload with ?fields=prime,fibonacci,square or any individual property.

List concepts

Use /api/v1/concepts to discover concept endpoints such as prime, square or composite.

Quick examples

https://webnumeri.com/api/v1/42
https://webnumeri.com/api/v1/42?fields=prime,fibonacci,square
https://webnumeri.com/api/v1/range/1/25?filter=prime
https://webnumeri.com/api/v1/concepts
https://webnumeri.com/api/v1/concepts/square?limit=12
JSON docs 42 /concepts

Available concepts

Prime Numbers

/api/v1/concepts/prime

JSON Concept page

Fibonacci Numbers

/api/v1/concepts/fibonacci

JSON Concept page

Perfect Numbers

/api/v1/concepts/perfect

JSON Concept page

Happy Numbers

/api/v1/concepts/happy

JSON Concept page

Palindrome Numbers

/api/v1/concepts/palindrome

JSON Concept page

Triangular Numbers

/api/v1/concepts/triangular

JSON Concept page

Abundant Numbers

/api/v1/concepts/abundant

JSON Concept page

Narcissistic Numbers

/api/v1/concepts/narcissistic

JSON Concept page

Powers of 2

/api/v1/concepts/power2

JSON Concept page

Square Numbers

/api/v1/concepts/square

JSON Concept page

Composite Numbers

/api/v1/concepts/composite

JSON Concept page