Skip to content
المشاريع

حول

Automation fetching data for Vietlott. Just for fun.

البيانات والتحليلات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
التحديث متأخر

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Vietlott Data

Python License Data Updated GitHub Pages

Automated Vietnamese Lottery Data Collection & Analysis

This project crawls and analyzes Vietnamese lottery data from vietlott.vn, providing statistics and insights for all major lottery products.

Dữ liệu kết quả xổ số Vietlott đầy đủ, miễn phí, cập nhật hàng ngày (Power 6/55, Mega 6/45, Power 5/35, Keno, Max 3D, Max 3D Pro, Bingo18) - open historical Vietlott draw results in NDJSON, from the first draw, MIT licensed. Raw files live in data/; each line has the fields date, id, result, process_time. See llms.txt for a machine-readable summary.

Links

Supported Lottery Products

Product Link Description
Power 6/55 Results Choose 6 numbers from 1-55
Power 6/45 Results Choose 6 numbers from 1-45
Power 5/35 Results Choose 5 numbers from 1-35
Keno Results Fast-pace number game
Max 3D Results 3-digit lottery game
Max 3D Pro Results Enhanced 3D lottery
Bingo18 Results 3 numbers from 0-9 game

Table of Contents

Predictions

Prediction models are at /src/machine_learning.

For background on these models, see the Machine Learning README.

Data Statistics

Product Total Draws Start Date End Date Total Records First ID Latest ID
Power 655 1432 2017-08-01 2026-12-03 1432 00001 01432
Power 645 1399 2017-10-25 2026-12-02 1399 00198 01596
Power 535 523 2025-06-29 2026-12-03 1046 00001 01046
Keno 757 2022-12-04 2026-12-04 94252 #0110271 #0305263
3D 1166 2019-04-22 2026-12-02 1166 00001 01166
3D Pro 813 2021-09-14 2026-12-03 813 00001 00813
Bingo18 730 2024-12-03 2026-12-04 103410 0083123 0199246

Power 6/55 Analysis

Recent Results (Last 10 draws)

date id result process_time
2026-12-03 01432 [2, 8, 9, 11, 28, 37, 19] 2026-12-04T00:00:04Z
2026-12-01 01431 [13, 16, 38, 40, 49, 52, 30] 2026-12-01T12:00:06Z
2026-11-28 01430 [4, 27, 37, 39, 42, 49, 23] 2026-11-28T12:00:15Z
2026-11-26 01429 [14, 18, 24, 28, 34, 55, 32] 2026-11-26T12:00:05Z
2026-11-24 01428 [36, 40, 43, 46, 50, 55, 15] 2026-11-24T12:00:05Z
2026-11-21 01427 [7, 29, 44, 45, 50, 54, 39] 2026-11-21T12:00:05Z
2026-11-19 01426 [3, 13, 21, 23, 38, 43, 16] 2026-11-19T12:00:05Z
2026-11-17 01425 [6, 20, 36, 41, 49, 52, 34] 2026-11-18T00:00:05Z
2026-11-14 01424 [5, 28, 36, 42, 45, 47, 51] 2026-11-14T12:00:05Z
2026-11-12 01423 [17, 25, 33, 34, 35, 36, 48] 2026-11-12T12:00:05Z

Number Frequency (All Time)

result count % -1 1result 1count 1% -2 2result 2count 2%
1 194 1.94 21 179 1.79 41 211 2.11
2 166 1.66 22 210 2.1 42 185 1.85
3 191 1.91 23 194 1.94 43 202 2.02
4 149 1.49 24 184 1.84 44 185 1.85
5 186 1.86 25 165 1.65 45 187 1.87
6 149 1.49 26 170 1.7 46 185 1.85
7 165 1.65 27 170 1.7 47 181 1.81
8 197 1.97 28 165 1.65 48 193 1.93
9 199 1.99 29 193 1.93 49 179 1.79
10 169 1.69 30 165 1.65 50 185 1.85
11 191 1.91 31 192 1.92 51 201 2.01
12 184 1.84 32 189 1.89 52 184 1.84
13 180 1.8 33 182 1.82 53 192 1.92
14 185 1.85 34 202 2.02 54 172 1.72
15 169 1.69 35 173 1.73 55 184 1.84
16 179 1.79 36 174 1.74
17 164 1.64 37 163 1.63
18 186 1.86 38 178 1.78
19 177 1.77 39 178 1.78
20 194 1.94 40 197 1.97

Frequency Analysis by Period

Last 30 Days

result count % -1 1result 1count 1% -2 2result 2count 2%
1 1 1.1 23 2 2.2 44 2 2.2
2 2 2.2 24 1 1.1 45 2 2.2
3 1 1.1 25 1 1.1 46 1 1.1
4 1 1.1 26 1 1.1 47 1 1.1
5 2 2.2 27 1 1.1 48 1 1.1
6 2 2.2 28 3 3.3 49 4 4.4
7 1 1.1 29 1 1.1 50 2 2.2
8 1 1.1 30 1 1.1 51 2 2.2
9 1 1.1 32 1 1.1 52 3 3.3
11 1 1.1 33 1 1.1 53 1 1.1
12 1 1.1 34 4 4.4 54 1 1.1
13 2 2.2 35 1 1.1 55 2 2.2
14 1 1.1 36 5 5.49
15 1 1.1 37 2 2.2
16 2 2.2 38 3 3.3
17 1 1.1 39 4 4.4
18 1 1.1 40 2 2.2
19 2 2.2 41 2 2.2
20 3 3.3 42 2 2.2
21 2 2.2 43 2 2.2

Last 60 Days

result count % -1 1result 1count 1% -2 2result 2count 2%
1 4 2.2 21 3 1.65 41 3 1.65
2 3 1.65 22 2 1.1 42 4 2.2
3 1 0.55 23 5 2.75 43 3 1.65
4 2 1.1 24 4 2.2 44 3 1.65
5 2 1.1 25 2 1.1 45 5 2.75
6 5 2.75 26 3 1.65 46 2 1.1
7 5 2.75 27 5 2.75 47 1 0.55
8 1 0.55 28 5 2.75 48 2 1.1
9 3 1.65 29 2 1.1 49 4 2.2
10 2 1.1 30 3 1.65 50 6 3.3
11 3 1.65 31 4 2.2 51 3 1.65
12 4 2.2 32 1 0.55 52 4 2.2
13 3 1.65 33 2 1.1 53 4 2.2
14 5 2.75 34 5 2.75 54 2 1.1
15 1 0.55 35 2 1.1 55 4 2.2
16 3 1.65 36 5 2.75
17 2 1.1 37 4 2.2
18 5 2.75 38 4 2.2
19 3 1.65 39 6 3.3
20 5 2.75 40 3 1.65

Last 90 Days

result count % -1 1result 1count 1% -2 2result 2count 2%
1 6 2.2 21 5 1.83 41 5 1.83
2 5 1.83 22 4 1.47 42 4 1.47
3 2 0.73 23 7 2.56 43 4 1.47
4 5 1.83 24 7 2.56 44 3 1.1
5 4 1.47 25 6 2.2 45 6 2.2
6 6 2.2 26 4 1.47 46 3 1.1
7 8 2.93 27 8 2.93 47 4 1.47
8 2 0.73 28 7 2.56 48 3 1.1
9 5 1.83 29 2 0.73 49 5 1.83
10 3 1.1 30 3 1.1 50 8 2.93
11 10 3.66 31 6 2.2 51 4 1.47
12 4 1.47 32 3 1.1 52 7 2.56
13 7 2.56 33 3 1.1 53 5 1.83
14 7 2.56 34 6 2.2 54 5 1.83
15 3 1.1 35 3 1.1 55 5 1.83
16 4 1.47 36 7 2.56
17 4 1.47 37 5 1.83
18 8 2.93 38 6 2.2
19 3 1.1 39 6 2.2
20 5 1.83 40 3 1.1

Top 10 Numbers by Days Since Last Appearance

result last_date days_since
10 2026-11-03 30
22 2026-11-03 30
31 2026-11-03 30
26 2026-11-07 26
53 2026-11-07 26
1 2026-11-10 23
12 2026-11-10 23
17 2026-11-12 21
25 2026-11-12 21
33 2026-11-12 21

Days Since Last Appearance - All Numbers

result last_date days_since
1 2026-11-10 23
2 2026-12-03 0
3 2026-11-19 14
4 2026-11-28 5
5 2026-11-14 19
6 2026-11-17 16
7 2026-11-21 12
8 2026-12-03 0
9 2026-12-03 0
10 2026-11-03 30
11 2026-12-03 0
12 2026-11-10 23
13 2026-12-01 2
14 2026-11-26 7
15 2026-11-24 9
16 2026-12-01 2
17 2026-11-12 21
18 2026-11-26 7
19 2026-12-03 0
20 2026-11-17 16
21 2026-11-19 14
22 2026-11-03 30
23 2026-11-28 5
24 2026-11-26 7
25 2026-11-12 21
26 2026-11-07 26
27 2026-11-28 5
28 2026-12-03 0
29 2026-11-21 12
30 2026-12-01 2
31 2026-11-03 30
32 2026-11-26 7
33 2026-11-12 21
34 2026-11-26 7
35 2026-11-12 21
36 2026-11-24 9
37 2026-12-03 0
38 2026-12-01 2
39 2026-11-28 5
40 2026-12-01 2
41 2026-11-17 16
42 2026-11-28 5
43 2026-11-24 9
44 2026-11-21 12
45 2026-11-21 12
46 2026-11-24 9
47 2026-11-14 19
48 2026-11-12 21
49 2026-12-01 2
50 2026-11-24 9
51 2026-11-14 19
52 2026-12-01 2
53 2026-11-07 26
54 2026-11-21 12
55 2026-11-26 7

How It Works

Vietlott blocks non-Vietnam IPs (issue #13), so crawling runs on a scheduled local runner (bin/github_data.sh) and commits updated data back to GitHub.

For architecture and runner setup, see docs/DEPLOYMENT.md.

Installation & Usage

Go crawler (recommended)

Requires Go 1.27+. Vietlott only answers Vietnamese IPs, so run it from Vietnam.

make build-crawler                       # builds bin/vietlott-crawler
./bin/vietlott-crawler status            # existing vs latest draw per product
./bin/vietlott-crawler sync --all        # fetch latest draws and backfill gaps
./bin/vietlott-crawler sync --product keno --max-draws 100
./bin/vietlott-crawler render-readme     # regenerate readme.md
./bin/vietlott-crawler render-docs       # regenerate docs/index.html

# Products: power655, power645, power535, keno, bingo18, 3d, 3d_pro

Python CLI (legacy, deprecated)

The Python crawler stays available through the PyPI package and will be removed in a future release.

# Crawl latest data
uv run vietlott-crawl keno

# Backfill missing data
uv run vietlott-missing power_655

# Available products: power_655, power_645, power_535, keno, 3d, 3d_pro, bingo18

Development Setup

git clone https://github.com/vietvudanh/vietlott-data.git
cd vietlott-data
uv sync --dev
uv run pytest

License

This project is licensed under the MIT License - see LICENSE.


If you find this project useful, please consider giving it a star!

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…