All API tools

Generators

Random Number Generator API

GET/v1/random-number-generator Free tier1 credit / call

Authentication

Send your API key as a bearer token. Create one free in the dashboard.

Authorization: Bearer $TOOLSXPO_KEY

Parameters

Passed as query-string parameters. Example values shown.

NameExample
min1
max100
count1
allowDuplicatestrue

Example request

curl "https://api.toolsxpo.com/v1/random-number-generator?min=1&max=100&count=1&allowDuplicates=true" \
  -H "Authorization: Bearer $TOOLSXPO_KEY"

Response

A standard JSON envelope: { ok, data, meta }. The result is in data (text); meta.credits reports what the call cost.