Request any integer and get back useful facts and representations — primes, divisors,
bases, Roman numerals, English words, and more. Responses are deterministic, cached,
and calculated on demand. No API key. No signup.
Try it
Enter an integer and inspect the live JSON response.
Range: -1,000,000,000 … 1,000,000,000
GET /api/42
Response
Loading…
Endpoint documentation
One resource. A few helpers. All responses are JSON.
GET /api/{number}
Return properties and representations for a single integer.
Optional query parameter pretty=1
enables indented JSON.
https://numbers.dk/api/42?pretty=1
GET /api/random
Return data for a random integer within the supported range.
https://numbers.dk/api/random
GET /api
Basic API metadata: name, version, and endpoint pointers.