✳ 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":"ko","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":"ko","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