Random.org has (among other things) a free HTTP API, and a new JSON API is currently (june 2016) in beta (keys on request).

The HTTP interface (using GET requests) has an Integer Generator, a Sequence Generator and a String Generator.

The JSON interface call names show what's available there:
generateIntegers, generateDecimalFractions, generateGaussians, generateStrings, generateUUIDs and generateBlobs.
With the JSON interface you can even...

...generate digitally signed random data, such that you can prove it really came from RANDOM.ORG (authenticity) and that your application has not tampered with it (integrity). This is useful if you want your application to implement non-repudiation.

Note that they use a quota system. This is based on IP:

RANDOM.ORG uses a simple quota system to make sure nobody hogs all the random numbers produced by the generator.

Answer from user416 on Stack Exchange
๐ŸŒ
Randommer
randommer.io
Generate Random Data API - Randommer
Generate free random numbers, phone numbers, names list, security numbers, validate telephones and everything that is random. Free API support is included
Card Generator
Generate random fake credit card numbers for Visa, Mastercard, American Express, and JVB. The issuer validates all credit cards, so they bypass any verification.
Phone number generator
Generate random phone numbers from all countries. These phone numbers are valid and ready to use. Get a USA random phone number for free.
Random Movies
Random movies picker can suggest movies by genres, release year and language. We have over 6000 best movies sorted by score and by popularity.
Humanize text
Humanize your text online. You can turn for free different type of texts: Camel Case, Pascal Case, Upper Case, Snake Case into human-readable content.
๐ŸŒ
Csrng
csrng.net โ€บ home โ€บ documentation โ€บ csrng lite
CSRNG Lite | Random Number Generator API
March 24, 2021 - CSRNG Lite documentation CSRNG Lite is a free API you can call to generate random numbers. It returns a standard JSON response containing a random number in a certain range. How to call the API The URL to call is https://csrng.net/csrng/csrng.php. Calling it without any parameters will return ...
๐ŸŒ
Csrng
csrng.net โ€บ home โ€บ documentation โ€บ csrng pro
CSRNG Pro | Random Number Generator API
March 24, 2021 - CSRNG Pro documentation CSRNG Pro is the subscription-based, full-featured cryptographically secure random number generator. It returns a standard JSON response containing random numbers, and a lot of useful information regarding your request. How to call the API The URL to call is ...
๐ŸŒ
GitHub
github.com โ€บ michaelprice232 โ€บ random-number-generator-api
GitHub - michaelprice232/random-number-generator-api: Simple REST microservice for serving random numbers
A simple Docker based microservice for generating random numbers via API requests and storing them in a Postgres Database for later retrieval. Returns a JSON response containing a positive integer value based on a defined range.
Author ย  michaelprice232
๐ŸŒ
Randomnumberapi
randomnumberapi.com
Random Number API
This is a simple api to generate random numbers, random strings and UUID's.
๐ŸŒ
Random
api.random.org โ€บ json-rpc โ€บ 2 โ€บ basic
Basic API (Release 2) - RANDOM.ORG
The following requests one random number from the [1,8] range and three from the [1,6]. Both sequences are generated with replacement. The numbers could be used as a 1d8+3d6 dice roll. In some fields (min and replacement), the caller gives an array of identical values and in another (base) a single value that will apply for all sequences. The two approaches are equivalent, and both are allowed by the API. { "jsonrpc": "2.0", "method": "generateIntegerSequences", "params": { "apiKey": "6b1e65b9-4186-45c2-8981-b77a9842c4f0", "n": 2, "length": [1, 3], "min": [1, 1], "max": [8, 6], "replacement": [true, true], "base": 10 }, "id": 4352 }
Top answer
1 of 2
4

Random.org has (among other things) a free HTTP API, and a new JSON API is currently (june 2016) in beta (keys on request).

The HTTP interface (using GET requests) has an Integer Generator, a Sequence Generator and a String Generator.

The JSON interface call names show what's available there:
generateIntegers, generateDecimalFractions, generateGaussians, generateStrings, generateUUIDs and generateBlobs.
With the JSON interface you can even...

...generate digitally signed random data, such that you can prove it really came from RANDOM.ORG (authenticity) and that your application has not tampered with it (integrity). This is useful if you want your application to implement non-repudiation.

Note that they use a quota system. This is based on IP:

RANDOM.ORG uses a simple quota system to make sure nobody hogs all the random numbers produced by the generator.

2 of 2
2

I'd like to recommend one more, a random number generator based on quantum fluctuations within a vacuum. It's called the ANU Quantum Random Numbers Server provided by the Austrian National University. This service provides an API that connects to their lab in real time.

The vacuum is described very differently in the quantum mechanical context than in the classical context. Traditionally, a vacuum is considered as a space that is empty of matter or photons. Quantum mechanically, however, that same space resembles a sea of virtual particles appearing and disappearing all the time. This result is due to the fact that the vacuum still possesses a zero-point energy. Consequently, the electromagnetic field of the vacuum exhibits random fluctuations in phase and amplitude at all frequencies. By carefully measuring these fluctuations, we are able to generate ultra-high bandwidth random numbers.

Along with the API, you also have the ability to see and listen to the results of the random numbers. They also have support for authenticated and secured connections for the live streams and random blocks.

There is even a C# library called "Quantum random number generator in C#" which can be found here.

ANU Quantum Random Numbers Server

๐ŸŒ
Google Cloud
cloud.google.com โ€บ workflows โ€บ generate a random number and return result in json
Generate a random number and return result in JSON | Workflows | Google Cloud Documentation
After receiving an HTTP request, this function generates a random number between 1 and 100, and then returns the number in JSON format. For detailed documentation that includes this code sample, see the following: Use Workflows with Cloud Run ...
Find elsewhere
๐ŸŒ
ProgrammableWeb
programmableweb.com โ€บ api โ€บ csrng-random-number-generator-rest-api-v10
CSRNG Random Number Generator REST API v1.0 | ProgrammableWeb
July 28, 2020 - The CSRNG Random Number Generator API generates random numbers in JSON format. Calling the "lite" version without any parameters will return a single random number ranging between 0 and 9,007,199,254,740,991 inside a JSON response.
๐ŸŒ
JSON Generator
json-generator.com
JSON Generator โ€“ Tool for generating random data
Returns random item from passed arguments list. ... Specifies number of repeats of array item. Repeatable array must contains only two items: first is repeat tag, second is item that must be repeated.
๐ŸŒ
GitHub
github.com โ€บ willfrew โ€บ node-random-org
GitHub - willfrew/node-random-org: Truly random numbers via Random.org's json-rpc api for Node.js
A lightweight wrapper around the Random.org json-rpc api for Node.js ยท Random.org is a truly random number generation service. According to their homepage, they're using 'atmospheric noise' to generate said random bits.
Starred by 30 users
Forked by 6 users
Languages ย  JavaScript 67.5% | TypeScript 32.5% | JavaScript 67.5% | TypeScript 32.5%
๐ŸŒ
Anu
qrng.anu.edu.au โ€บ contact โ€บ api-documentation
API documentation โ€“ ANU QRNG
Requesting 10 blocks of random numbers in hexadecimal format. Each block is between 0000โ€“ffff ยท https://qrng.anu.edu.au/API/jsonI.php?length=10&type=hex16&size=2
๐ŸŒ
APIVerve
apiverve.com โ€บ home โ€บ api directory โ€บ random data generator
Random Data Generator API - Fast & Reliable Data Generation API | APIVerve
Random Generator is a simple tool for generating random data. It returns random data such as numbers, strings, and more. The API returns structured data in JSON, XML, or YAML format, making it easy to integrate into any application or workflow.
๐ŸŒ
Csrng
csrng.net โ€บ home
Random Number Generator API | NIST Certified cryptographically secure random number generator
To try it, click or query the following URL to pick a random number between 0 and 100: https://csrng.net/csrng/csrng.php?min=0&max=100 ยท You can change the min and max values in the queried URL to change the scope of the number generator. Have fun! To get the full documentation of CSRNG Lite, CLICK HERE ยท For more intensive, live websites and custom needs, we offer a customizable API ...
๐ŸŒ
JSON API
discuss.jsonapi.org โ€บ t โ€บ random-number-between-two-number โ€บ 1462
Random Number between two number - JSON API
December 28, 2018 - Hi i search how to generate a random number between for exemple 6 and 10. Thanks
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 74726702 โ€บ generating-random-number-inside-json-file
Generating random number inside json file - Stack Overflow
You can create a variable outside and use it inside a dynamic string and assess it to your key. var rand = Math.ceil(Math.random()* 1000000000) "ssn": `${rand}` 2022-12-08T12:19:47.66Z+00:00 ... I tried this & working: In json file --> "ssn": "#(ssn)" & in Feature file defined this variable --> *def ssn = '<number>' 2022-12-12T04:42:15.7Z+00:00
๐ŸŒ
YouTube
youtube.com โ€บ watch
JSON Server Tutorial - 12 - Generate Random Data - YouTube
๐Ÿ“˜ Courses - https://learn.codevolution.dev/๐Ÿ’– Support UPI - https://support.codevolution.dev/๐Ÿ’– Support PayPal - https://www.paypal.me/Codevolution๐Ÿ’พ Github...
Published ย  November 17, 2021
๐ŸŒ
Play Fund Win
playfundwin.com โ€บ home โ€บ random number generator (rng) api
Random Number Generator API | Fair, Secure Draws & Competitions
March 5, 2025 - Generate random samples for statistical analysis or scientific experiments. ... Sign up on Play Fund Win, get your RNG API credentials. Submit a request specifying quantity, range, or distribution. Your system receives a JSON payload containing truly random values, alongside metadata for auditing.
๐ŸŒ
Generate Random
generate-random.org โ€บ home โ€บ api tokens
Random API Token Generator | Generate Secure API Tokens with Symbols - Generate-Random.org
14 hours ago - Perfect for authentication tokens, bearer tokens, access tokens, and secure random strings requiring maximum unpredictability. Generate tokens from 64-bit to 2048-bit with automatic Base64 encoding and symbol injection. All tokens use industry-standard CSPRNG to ensure cryptographic randomness. Export your API tokens as text, CSV, or JSON.