✳ RandomKit

REST API दस्तावेज़

REST API दस्तावेज़ · सेटिंग · परिणाम · RandomKit

POST /api/v1/generate

Send a JSON body with Content-Type: application/json. This example generates integers.

ParameterDescription
toolGenerator name. Use integers for whole numbers.
input.min / input.maxInclusive bounds from −10¹² to 10¹². Defaults: 1 and 100.
input.count1–10,000. Default: 1.
input.uniqueSet true to sample without replacement. Default: false.
input.sortSet true for ascending order. Default: generation order.
localeOptional. With a locale, the response includes formatted. en, ru, zh-TW, zh-CN, hi, ja, ko, es

curl

curl -X POST "https://randomkit.tech/api/v1/generate" -H "Content-Type: application/json" -d '{"tool":"integers","locale":"hi","input":{"min":1,"max":100,"count":5,"unique":true,"sort":true}}'

fetch

const response = await fetch('/api/v1/generate', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({"tool":"integers","locale":"hi","input":{"min":1,"max":100,"count":5,"unique":true,"sort":true}})
})
const data = await response.json()
if (!response.ok) throw new Error(data.error)
console.log(data.values, data.formatted)
console.log(response.headers.get('RateLimit-Remaining'))

Response and quota

Successful responses contain tool and values. With locale, they also include locale, label and formatted. Formatted integers have number and text fields.

400: invalid request. 429: quota exhausted, with Retry-After in seconds. 503: quota service unavailable. Requests rejected with 400 also count toward the quota.

Verifiable draws and Seed

Use the browser tools for Seed and drand. On the draw page you can select a winner and download a JSON proof. Open verifiable draw

API Playground

उपकरण

CORE
Web CryptoSeeddrand
यादृच्छिक पूर्णांकOpen tool
CORE
Web CryptoSeed
यादृच्छिक क्रमOpen tool
SOCIAL
Web CryptoSeed
सूची फेरबदलOpen tool
GAMES
Web CryptoSeed
ऑनलाइन पासाOpen tool
GAMES
Web CryptoSeed
सिक्का उछालेंOpen tool
GAMES
Web CryptoSeed
ताश फेरबदलOpen tool
GAMES
Web CryptoSeed
लॉटरी नंबरOpen tool
SECURITY
Web Crypto
पासवर्ड जनरेटरOpen tool
SECURITY
Web CryptoSeed
यादृच्छिक स्ट्रिंगOpen tool
CORE
Web CryptoSeed
सामान्य वितरणOpen tool
DATA
Web CryptoSeed
यादृच्छिक रंगOpen tool
DATA
Web CryptoSeed
यादृच्छिक निर्देशांकOpen tool
SECURITY
Web CryptoSeed
यादृच्छिक बाइटOpen tool
DATA
Web CryptoSeed
यादृच्छिक तारीख और समयOpen tool
CORE
Web CryptoSeed
उन्नत पूर्णांकOpen tool
WIDGETS
Web CryptoSeed
पूर्णांक विजेटOpen tool
WIDGETS
drand
ड्रॉ विजेटOpen tool
SOCIAL
drand
चैरिटी ड्रॉOpen tool
SOCIAL
Web CryptoSeed
नामों का पहियाOpen tool
SOCIAL
Web CryptoSeed
यादृच्छिक नामOpen tool
SOCIAL
Web CryptoSeed
यादृच्छिक समूहOpen tool
CORE
Web CryptoSeed
यादृच्छिक नंबर चुनेंOpen tool
DATA
Web CryptoSeed
यादृच्छिक अक्षरOpen tool
DATA
Web CryptoSeed
यादृच्छिक शब्दOpen tool
DATA
Web CryptoSeed
यादृच्छिक जन्मदिनOpen tool
DATA
Web Crypto
यादृच्छिक चित्रOpen tool
SOCIAL
Web CryptoSeed
टिप्पणी ड्रॉOpen tool
CORE
Seed
पुनरुत्पाद्य नमूनाOpen tool
SOCIAL
Web CryptoSeed
दर्शक पहियाOpen tool
DATA
Web CryptoSeed
परीक्षण डेटाOpen tool
SECURITY
Web CryptoSeed
नेटवर्क पहचानकर्ताOpen tool
DATA
Web CryptoSeed
यादृच्छिक इमोजीOpen tool
SOCIAL
Web CryptoSeed
यादृच्छिक टीमेंOpen tool
CORE
Web CryptoSeed
यादृच्छिक दशमलवOpen tool
SOCIAL
Web CryptoSeed
यादृच्छिक निर्णयOpen tool
SOCIAL
drand
सत्यापन योग्य ड्रॉOpen tool