생성된 연도
브라우저에서 생성됩니다. 스페이스 키로 다시 생성하세요.
원하는 두 연도 사이에서 랜덤 연도를 골라요 — 역사 퀴즈, 이야기 배경, '그해에 무슨 일이 있었을까?' 게임에.
브라우저에서 생성됩니다. 스페이스 키로 다시 생성하세요.
랜덤 연도 결과를 JSON으로 받아 보세요. 읽기 전용이고, 가볍게 쓸 때는 API 키가 필요 없으며, 교차 출처 요청을 지원해요.
/api/v1/tools/random-yearcurl https://randnext.com/api/v1/tools/random-year?min=1990&max=2030&count=3&unique=true| 매개변수 | 유형 | 설명 (영어) | 기본값 / 허용 값 |
|---|---|---|---|
min | integer | Earliest year that may be returned, inclusive. | 기본값: 19001~9999 |
max | integer | Latest year that may be returned, inclusive. | 기본값: 20261~9999 |
unique | boolean | When true, the response will not contain the same year twice. | 기본값: truetrue 또는 false |
sort | boolean | When true, return the selected years in ascending order. | 기본값: falsetrue 또는 false |
count | integer | Number of results to return. | 기본값: 11~50 |
네, 시작 연도와 끝 연도 모두 뽑힐 수 있어요.
네. 값은 브라우저의 암호학적으로 안전한 난수에서 나오며, 모든 값의 확률이 같아요.