A random number generator creates synthetic numeric values for test data, validation workflows and parser QA. It can return expanded number profiles, integers, floats, BigInt-compatible strings, binary values, hexadecimal values, octal values and roman numerals from one endpoint.Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Generate sample number data at
spotzee.com/tools/random-number-generator.
Why this matters
Numeric fixtures look harmless until a parser, validator or import job sees a value outside the path you tested. One hand-written number will not cover ranges, decimal precision, base-number conversion, BigInt serialisation or roman numeral display states. Synthetic number data gives you controlled variation. Use it as an Excel random number generator for spreadsheet QA, a hex number generator for parser checks or a binary number generator for conversion tests. And a numeric seed lets you reproduce the same records after a failure without keeping throwaway numbers in fixture files forever. Generated numbers are test data only. They are not real balances, scores, limits or production metrics. Each Extended API call deducts a small per-call amount from your Spotzee credit balance. See the Spotzee pricing page for live per-tool pricing.How it works
Send the request
POST to
/generic/data/generate/number with count. The count is a string
from 1 to 100.Choose a method
Use
method=profile for expanded number records, or choose one scalar
method: int, float, bigInt, binary, hex, octal or
romanNumeral.Set numeric controls
Send range, multiple, decimal-place and BigInt parameters only when the
selected method supports them.
Set repeatability
Send
locale where supported and an optional numeric seed when the same
output needs to repeat in tests.Method reference
| Method | Output | Main parameters |
|---|---|---|
profile | Expanded number record | count, locale, seed |
int | Integer | count, locale, seed, min, max, multipleOf |
float | Floating-point number | count, locale, seed, min, max, multipleOf, fractionDigits |
bigInt | BigInt-compatible string | count, locale, seed, bigIntMin, bigIntMax, bigIntMultipleOf |
binary | Binary number string | count, locale, seed, min, max |
hex | Lowercase hexadecimal string | count, locale, seed, min, max |
octal | Octal number string | count, locale, seed, min, max |
romanNumeral | Roman numeral string | count, locale, seed, min, max |
profile when you need many numeric fields together. Use a scalar method when your form, parser or import job only expects one number shape.
What to watch for
- Count outside
1to100. One request generates up to 100 number records. For more rows, call the endpoint again and vary the seed when you need a different batch. - Range on profile output. Minimum and maximum controls are for scalar methods only. Do not send them with
method=profile. - Only one range bound set. Send both
minandmax, or leave both blank. - Multiple on the wrong method. Send
multipleOfonly withintorfloat. - Decimal places on non-float output. Send
fractionDigitsonly withmethod=float, and keep it between0and10. - BigInt options on scalar methods. Send
bigIntMin,bigIntMaxandbigIntMultipleOfonly withmethod=bigInt.
FAQs
What is a random number generator?
What is a random number generator?
A random number generator creates numeric values within the method and
option set you choose. Spotzee returns synthetic integers, floats, BigInt
strings, binary, hexadecimal, octal and roman numeral output for test data
and fixture workflows.
Can I use this random number generator online for test data?
Can I use this random number generator online for test data?
Yes. Enter a count, choose a method and generate sample numeric data in the
browser. Use the same numeric seed when the same random number generator
online output must repeat across test runs.
Can I generate integers and floats in a range?
Can I generate integers and floats in a range?
Yes. Choose
method=int or method=float, then set min and max.
Integer output also supports a positive integer multipleOf, while float
output supports decimal places and positive numeric multiples.Can I generate BigInt values?
Can I generate BigInt values?
Yes. Choose
method=bigInt to generate BigInt-compatible values serialised
as strings for JSON compatibility. You can also set bigIntMin,
bigIntMax and bigIntMultipleOf.Can I generate hexadecimal, binary and octal numbers?
Can I generate hexadecimal, binary and octal numbers?
Yes. Choose
method=hex, method=binary or method=octal to generate
base-number strings for parser and conversion tests. Use optional minimum
and maximum controls when you need a bounded range.Where can I learn more about random number generation?
Where can I learn more about random number generation?
Read the random number generator
guide
for endpoint options, response fields and integration patterns. The guide
also shows where number fixture data fits beside string, developer fixture,
finance and word generators.