Menu
Your Cart
Maths Enthusiast?
Make a galaxy of prime numbers your personal playground!
Primes Researcher?
From binary to repunits, find an explosion of useful data!
Security Expert?
You'll want to check out our isolated prime endpoint!
Maths is Universal
Enjoy our API responses in 9 different languages!
Database with > 8.1 bil. primes
From the first 200 bil. numbers
Over 100,000 Computer Hours
Equivalent to 10 full-time employees
Over 3000 human-hours
Project time more than 5 years
12 Active Servers
100% Green energy

image

Welcome to Prime Numbers API!

This is the largest commercial database of prime numbers in the world, with more than 8.1 billion curated primes from the first 200 billion composite numbers and counting!!

Whether you're a scientist, security expert, or simply love maths, Prime Numbers has something to offer you!

In the last 5 years, we've invested over 3 000 human-hours, over 100 000 computer-hours, with an average processing speed of 400 million composite numbers per day while using 100% green energy. We've taken the leg work out of finding primes, so you can focus on using them.

We've also translated the output into 8 of the most commonly used languages, including Mandarin Mandarin, Hindi Hindi, Spanish Spanish, France French, GermanGerman, Italian Italian, Japan Japanese, and Russian Russian, making the Prime Numbers the most accessible API for finding prime numbers in the world!

If you’re looking for help with encryption, gain access to our exclusive isolated primes endpoint and you can filter for rare primes that lie at least 200, and even up to 500+ numbers away from their closest neighbors! The average probability of finding one of the isolated prime numbers by accident is 1 in over 800,000 (or 0.000124565509%)! The chances of being struck by lightning are 1 in 500,000! Now that’s a strong password!

Our API conveniently translates the language of your smart devices. Every number is returned with its respective translation into binary, senary, and hexa values.

Furthermore, each prime number you receive from the API is home-grown, curated, and 100% genuine; and it even comes with its very own birth certificate! No copies, clones, or placeholders here!


Need More from Your Output?

The API results have a multitude of configurations. These range from simple and fast to incredibly verbose, with extensive explanations for each field. Whether you're looking for efficient server-to-server communication or you're in need of prime numbers for educational or research purposes, the results can be custom-tailored to suit your needs!

With these prime types outputs, you can determine:

  • Isolated: rare prime numbers with an average density of 0.000124565509% that are 200 to 500+ composite numbers away from each of their neighbours
  • Palindromes: primes which reads the same backwards as forwards (examples: 101, 373, 919)
  • Twins: primes that are no more than 2 composite numbers from each other (examples: (5, 7), (11, 13), (17, 19))
  • Cousins: primes that are no more than 4 composite numbers from each other (examples: (7, 11), (37, 41), (43, 47))
  • Sexys: primes that are no more than 6 composite numbers from each other (examples: (7,13), (13,19), (23,29))
  • Reversibles: primes that become a different prime when their decimal digits are reversed (examples: 37, 107, 149)
  • Pandigitals: primes in a base has at least one instance of each base digit (examples: 2143 (base 4), 7654321 (base 7))
  • Repunits: primes are positive integers in which every digit is one (examples: 11, 1111111111111111111)
  • Mersenne: primes that is of the form 2^n - 1 (one less than a power of two) for some integer n (examples: 3 (2^2 - 1), 7 (2^3 - 1), 31 (2^5 - 1) )
  • Fibonacci: primes that are also Fibonacci numbers (examples: 89, 233, 1597)
  • Prime type densities: how many prime type numbers in percentage can be found in every million composite numbers
  • ...and so much more!

image

For Our Developers

We have GitHub repositories with fully functional JavaScript, jQuery, React, Node, PHP, C, Java and Python code examples, showcasing how easy is to implement the API endpoints for multiple applications!






API Price Plans

API Plan Name Free Maths is Fun Scientist Expert
Price / month 0.00 £7.99 (approx. $12 or €11) £19.99 (approx. $31 or €28) £29.99 (approx. $47 or €43)
Description Ideal for Maths Enthusiasts or for an opportunity to test drive the system for free Ideal for Maths Enthusiasts and Educators alike. Ideal for Big Data, Machine Learning, Artificial Intelligence, Robotics, and Internet of Things Scientists as well as for Web and App Developers. Ideal for System Administrators and Security Experts.
FREE API Key refresh Automatically,
1st of every month
When you need it When you need it When you need it
Max calls limits
Maximum calls per day 100 1 000 3 000 5 000
Maximum calls per second 1 3 5 10
API Endpoints Available
get-random-prime included included included included
is-this-number-prime included included included included
prospect-primes-between-two-numbers excluded included included included
get-all-primes-between-two-numbers excluded excluded included included
get-isolated-random-prime excluded excluded excluded included
Support availability
Help Centre included included included included
Support Tickets excluded included included included
Details Details Details Details

API Documentation

Visit our documentation page to get more detailed information on our API. Documentation includes, but is not limited to: Overview of features; output explanation, definitions, and format; authentication and status code information; example request URLs, headers with explanations, and response bodies.

WordPress

#integration

Implementing the Prime Numbers API with your WordPress application is now as easy as clicking a button!