QRNG@ANU JSON API documentation

The QRNG@ANU JSON API supports three parameters. These are:

https://qrng.anu.edu.au/API/jsonI.php?length=[array length]&type=[data type]&size=[block size]
If the request is successful, the random numbers are returned in a JSON encoded array named 'data'.

Examples

Requesting 10 random numbers between 0–255

https://qrng.anu.edu.au/API/jsonI.php?length=10&type=uint8

Requesting 5 random numbers between 0–65535

https://qrng.anu.edu.au/API/jsonI.php?length=5&type=uint16

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

Try it out

Data type
Array length (max 1024)
Block size (max 1024)