Skip to main content

Random Number Generator API

Generate random numbers with customizable ranges, bulk generation, and statistical analysis. Perfect for simulations, games, testing, and any application requiring random number generation.

Features

  • Customizable Range: Set minimum and maximum values
  • Bulk Generation: Generate multiple numbers in a single request (up to 10,000)
  • Unique Numbers: Option to generate unique random numbers
  • Secure Random: Choose between standard and cryptographically secure random generation
  • Sorting Options: Sort results in ascending or descending order
  • Statistics: Get comprehensive statistics including sum, average, min, max
  • No Rate Limits: Unlimited requests

Quick Start

Generate a single random number between 1 and 100:
curl "https://api.sinaty.business/random/"
Generate 10 unique random numbers between 1 and 50, sorted:
curl "https://api.sinaty.business/random/?min=1&max=50&count=10&unique=true&sorted=true"

Use Cases

  • Gaming: Dice rolls, card shuffling, random events
  • Simulations: Monte Carlo simulations, statistical modeling
  • Testing: Generate test data, random inputs
  • Lotteries: Random number selection
  • Cryptography: Secure random number generation
  • Data Analysis: Random sampling, A/B testing

Number Range Examples

RangeDescriptionExample
min=1, max=6Dice roll[3, 1, 6, 4, 2]
min=1, max=100Percentage[42, 87, 13, 95, 31]
min=0, max=1Binary choice[0, 1, 0, 0, 1]
min=-100, max=100Signed numbers[-45, 23, -78, 91, -12]

Statistics Available

When generating multiple numbers, you get comprehensive statistics:
  • Sum: Total of all generated numbers
  • Average: Mean value
  • Min/Max: Lowest and highest values
  • Unique Count: Number of unique values (when using unique=true)

Next Steps

I