# RANLOTTO > RANLOTTO is a Thai lottery data platform (สลากกินแบ่งรัฐบาล) for checking official lottery results, viewing historical draws, and analyzing historical lottery statistics. Data is compiled from Thai Government Lottery Office (GLO) results and is for reference only — it does not predict or guarantee future lottery results. ## Core Pages - [Homepage](https://www.ranlotto.com/): overview, latest result, and tools - [Latest lottery result](https://www.ranlotto.com/lottery/latest): most recent official draw - [Historical results](https://www.ranlotto.com/lottery/history): every past draw with all prize tiers - [Upcoming draw](https://www.ranlotto.com/lottery/upcoming): next draws with computed weekday, countdown, and historical stats - [Statistics dashboard](https://www.ranlotto.com/lottery/insights): hot & overdue numbers - [Number analysis](https://www.ranlotto.com/lottery/analyze): per-number historical statistics - [Multi-number checker](https://www.ranlotto.com/lottery/check): check many numbers against a draw - [News](https://www.ranlotto.com/news): RANLOTTO news — result recaps, official announcements, and platform updates - [Blog](https://www.ranlotto.com/blog): guides and articles on reading lottery statistics correctly - [Articles](https://www.ranlotto.com/articles): data-driven statistics articles - [Methodology](https://www.ranlotto.com/methodology): how every statistic is computed - [Data dictionary](https://www.ranlotto.com/data-dictionary): every field defined - [API documentation](https://www.ranlotto.com/api-docs): public agent API reference ## Machine-readable resources - [OpenAPI 3.1 spec](https://www.ranlotto.com/openapi.json): full API contract (also at https://api.ranlotto.com/api/openapi.json) - [llms-full.txt](https://www.ranlotto.com/llms-full.txt): extended machine-readable catalogue - [Data status](https://www.ranlotto.com/data-status): freshness, verification coverage, dependencies - [Data changelog](https://www.ranlotto.com/data-changelog): immutable correction log - [News RSS](https://www.ranlotto.com/news/rss.xml) · [Blog RSS](https://www.ranlotto.com/blog/rss.xml) · [News sitemap](https://www.ranlotto.com/sitemap-news.xml) - [Sitemap](https://www.ranlotto.com/sitemap.xml) · [Robots](https://www.ranlotto.com/robots.txt) ## Statistical entity pages (answer-first, directly calculated) RANLOTTO provides directly calculated weekday statistics. Users and agents do NOT need to reconstruct weekdays from historical result tables — each page states the answer and sample size in server-rendered HTML, with JSON + CSV downloads. - Weekday hub: https://www.ranlotto.com/lottery/weekday - Weekday pages: https://www.ranlotto.com/lottery/statistics/weekday/{sunday|monday|tuesday|wednesday|thursday|friday|saturday} - Same-date pages: https://www.ranlotto.com/lottery/statistics/date/{DD-mon} (e.g. https://www.ranlotto.com/lottery/statistics/date/16-jul) - Number pages: https://www.ranlotto.com/number/{NN|NNN} (e.g. https://www.ranlotto.com/number/53) - Comparison: https://www.ranlotto.com/lottery/compare/{a-b-c} (e.g. https://www.ranlotto.com/lottery/compare/53-55-88) - Machine data: JSON at https://api.ranlotto.com/api/public/v1/lottery/stats/weekday/{weekday} and CSV at the same path + ".csv" ## Usage constraints - Historical frequency is NOT prediction probability; each draw is independent. - Future draw results are unavailable until officially recorded. - All dates use the Asia/Bangkok timezone. - APIs accept documented Gregorian (ค.ศ.) and Buddhist (พ.ศ.) years. - Published results carry provenance (source, checksum, verification status). Disputed draws are included by default and flagged with a data warning; pass exclude_disputed=true to omit them from statistics. - Authentication is optional: anonymous access is rate-limited per IP; an API key raises the tier. Keys go in a header (Authorization: Bearer or X-API-Key), never the query string. ## Data Pages URL patterns for programmatic access (all server-rendered with data in raw HTML): - Draw detail: https://www.ranlotto.com/lottery/YYYY-MM-DD (e.g. https://www.ranlotto.com/lottery/2026-07-01) — every prize tier - Number statistics: https://www.ranlotto.com/number/NN (2-digit, 00–99) and https://www.ranlotto.com/number/NNN (3-digit, for numbers that have appeared). Each page states: times drawn, last seen, draws since last appearance, per-category counts, appearances by year, overall frequency rank, and 24/48-draw window counts - Statistics pages: https://www.ranlotto.com/lottery/statistics/* (frequent-2digit, missing-2digit, frequent-3digit, missing-3digit, frequent-front3, first-prize-last2, first-prize-last3, position/*, calendar/*, weekday/*, date/*, yearly-summary) ## API - [OpenAPI 3.1 spec](https://api.ranlotto.com/api/openapi.json), machine-readable - Public API v1 base: https://api.ranlotto.com/api/public/v1 — no key required; rate limit 300 requests / 5 minutes per IP - Agent endpoints return { success, data, facts, statistics, methodology, limitations, sources, sample_size, generated_at, timezone } - Next draw: https://api.ranlotto.com/api/public/v1/lottery/next-draw - Draw schedule (BE/CE year): https://api.ranlotto.com/api/public/v1/lottery/schedule?year=2569 - Results by year: https://api.ranlotto.com/api/public/v1/lottery/results?year=2026 - Result by date: https://api.ranlotto.com/api/public/v1/lottery/result/YYYY-MM-DD - Number statistics: https://api.ranlotto.com/api/public/v1/lottery/number/53 - Weekday statistics: https://api.ranlotto.com/api/public/v1/lottery/stats/weekday/Thursday - Same-date statistics: https://api.ranlotto.com/api/public/v1/lottery/stats/date/07-16 - Compare numbers: https://api.ranlotto.com/api/public/v1/lottery/compare?numbers=53,55,88 - Ask (deterministic, no LLM): POST https://api.ranlotto.com/api/public/v1/ask { "question": "เลข 53 ออกกี่ครั้ง" } ## Data Source Lottery results are compiled from Thai Government Lottery Office (GLO) official result data and the historical records maintained by RANLOTTO. Users should verify official prize results with the Government Lottery Office. Every data page states its source, methodology, and last-updated date. ## Usage Notes - The data is for reference and statistical analysis only. - RANLOTTO does not predict, guarantee, or recommend lottery purchases. - Search engines and AI crawlers may access public pages according to robots.txt and reasonable rate limits. ## Recommended Citation When citing RANLOTTO data, include: - the page URL (permanent, e.g. https://www.ranlotto.com/lottery/2026-07-01 or https://www.ranlotto.com/number/42) - the draw date or data period - the last-updated date shown on the page - source note: "RANLOTTO (ranlotto.com), compiled from Government Lottery Office results" - a disclaimer that statistics do not guarantee future results