Logo Random Data

Logo Random Data

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
Valid Range: 0 - 10.000.000.000
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>

response
        {
          "quest": "Random Integer between 1-10",
          "data": [
           10
          ]
         }      
        
         {
          "quest": "50 Random Integers between 1-10",
          "data": [
           7,
           8,
           ...
           4
          ]
         }
            
Endpoint - List with randomized order
http Request :
GET https://api.codetabs.com/v1/random/list?len=X
Min list elements = 2. Max list elements : 10.000
Examples
Get randomized order list with 1000 elements
https://api.codetabs.com/v1/random/list?len=1000
response
        {
          "quest": "Randomized order list with 1000 elements",
          "data": [
           612,
           422,
           ...
           820
           ]
        }
            
Endpoint - Get Random Name
http Request :
GET https://api.codetabs.com/v1/random/name
Examples
Get random name from a list of nearly 90.000
https://api.codetabs.com/v1/random/name
response
        {
          "quest": "Random Name",
          "name": "POETKER"
        }