
Lotto Results
- 3.6k installs
- 6.5k repo stars
- Updated July 27, 2026
- nomadamas/k-skill
Authoritative Korean lottery draw results (winning numbers, payout tiers, round metadata) retrieved via official k-lotto package wrapping 동행복권 APIs and HTML sources.
About
The lotto-results skill leverages the k-lotto npm package to retrieve Korean lottery (동행복권) data. It supports fetching the latest round, querying specific draw rounds, retrieving detailed payout distributions, and matching user-provided numbers against winning combinations. The skill handles global package installation, exports NODE_PATH environment variables, and processes results through inline Node scripts. It does not persist user numbers and remains read-only, making it suitable for developers integrating lottery result queries into applications or CLI tools.
- Query latest Korean lottery round automatically
- Fetch detailed results with payout distributions by prize tier
- Match user ticket numbers against official winning combinations
- Global k-lotto npm package installation fallback handling
- Node.js 18+ compatibility with NODE_PATH environment setup
Lotto Results by the numbers
- 3,616 all-time installs (skills.sh)
- +127 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #37 of 1,136 Finance & Trading skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
lotto-results capabilities & compatibility
- Capabilities
- fetch latest lottery round number · retrieve winning numbers for specific round · parse detailed payout distributions by prize tie · validate user ticket against official results · global package installation with environment set
- Use cases
- data analysis · web scraping
npx skills add https://github.com/nomadamas/k-skill --skill lotto-resultsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 3.6k |
|---|---|
| repo stars | ★ 6.5k |
| Security audit | 1 / 3 scanners passed |
| Last updated | July 27, 2026 |
| Repository | nomadamas/k-skill ↗ |
What it does
Query Korean lottery draw results, check ticket matches, and retrieve payout details via k-lotto npm package.
Who is it for?
Developers building Korean lottery apps, bots, or dashboards; users checking recent results or validating tickets.
Skip if: Ticket purchasing, permanent record storage, or non-Korean lottery queries.
When should I use this skill?
User asks for lottery results, payout details, or ticket validation; latest round or specific round number provided.
What you get
User receives confirmed winning numbers, detailed prize distributions, matched prize tier for their ticket, or failure reason (upstream schema change, missing package).
- Latest or requested round winning numbers
- Detailed payout distribution by prize tier (if requested)
- Matched prize tier and matching numbers (if ticket provided)
By the numbers
- Supports 6-number ticket matching
- Handles multiple prize tiers (1-6th place + bonus)
Files
Lotto Results
What this skill does
k-lotto 패키지로 동행복권 로또 최신 회차, 특정 회차, 상세 당첨 결과, 번호 대조를 처리한다.
When to use
- "이번 주 로또 번호 뭐야"
- "1210회 당첨번호 알려줘"
- "내 번호가 몇 등인지 봐줘"
Prerequisites
- Node.js 18+
- 배포 후:
npm install -g k-lotto - 실행 전:
export NODE_PATH="$(npm root -g)" - 이 저장소에서 개발할 때: 루트에서
npm install
Inputs
- 회차 번호 또는 "latest"
- 선택 사항: 사용자가 가진 6개 번호
Workflow
0. Install the package globally when missing
node -e 'require("k-lotto")' 가 실패하면 다른 구현으로 우회하지 말고 전역 Node 패키지 설치를 먼저 시도한다.
npm install -g k-lotto
export NODE_PATH="$(npm root -g)"패키지가 없다는 이유로 HTML 파서를 다시 짜거나 다른 비공식 소스를 찾지 않는다.
1. Get the latest round when needed
NODE_PATH="$(npm root -g)" node - <<'JS'
const lotto = require("k-lotto");
lotto.getLatestRound().then((round) => console.log(round));
JS2. Fetch result or detailed payout data
NODE_PATH="$(npm root -g)" node - <<'JS'
const lotto = require("k-lotto");
lotto.getDetailResult(1216).then((result) => console.log(JSON.stringify(result, null, 2)));
JS3. Check user's numbers when provided
NODE_PATH="$(npm root -g)" node - <<'JS'
const lotto = require("k-lotto");
lotto.checkNumber(1216, ["3", "10", "14", "15", "23", "24"])
.then((result) => console.log(JSON.stringify(result, null, 2)));
JSDone when
- 최신 또는 요청 회차의 번호가 확인되어 있다
- 상세 요청이면 추첨일과 당첨금 분포가 정리되어 있다
- 번호 대조 요청이면 일치 번호와 등수가 확인되어 있다
Failure modes
- 최신 회차는 결과 페이지 HTML에서 읽기 때문에 upstream HTML 변경의 영향을 받을 수 있다
- 상세 회차 정보는 동행복권 JSON 응답 스키마 변경의 영향을 받을 수 있다
Notes
- 사용자 번호를 받아도 영구 저장하지 않는다
- 조회 전용 스킬이다
Related skills
How it compares
k-lotto is the official Korean lottery npm package; do not fall back to HTML parsing or unofficial APIs if package is missing.
FAQ
Does the skill store my lottery numbers?
No. Numbers are checked in-memory and never persisted to disk or database.
What happens if the upstream HTML schema changes?
Latest round queries may fail; update k-lotto package or switch to official JSON endpoints if available.
Does this work outside South Korea?
Yes, the k-lotto package is accessible globally; it queries 동행복권 (Dohwang Pokgyeok) data.
Is Lotto Results safe to install?
skills.sh reports 1 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.