Logo Random Data

Logo Random Data

NEW

API doc (version 0.9.0)

Description
- Api to generate random data
- Only suppports GET request.
- Limit : 10 request per seconds. Once reached subsequent requests will result in error 429 (too many requests) until your quota is cleared.
Endpoint - Get Random Integers
http Request :
GET https://api.codetabs.com/v1/random/integer?range=X-Y
Examples
Get random number between 1-10 both inclusive
https://api.codetabs.com/v1/random/integer?min=1&max=10
You can also specify how many times you want the result with the parameter times.
Default is 1 and there is no need to specify it. Max times = 10.000
https://api.codetabs.com/v1/random/integer?min=1&max=10&times=50>
Endpoint - List with randomized order
http Request :
GET https://api.codetabs.com/v1/random/list?len=X
Max list elements : 10.000
Examples
Get random order numbers for a list of 1000 elements
https://api.codetabs.com/v1/random/list?len=1000