REST API for developers

Thai lottery results, in one API

Fetch results and check tickets in a single request. Data is updated automatically from the Government Lottery Office every draw.

Just THB 119 per month

Example request
$ curl https://lottery.thiti.dev/api/v1/latest \
  -H "X-API-Key: YOUR_API_KEY"

{
  "success": true,
  "data": {
    "resultDate": "2026-12-01",
    "results": [{
      "fieldName": "first",
      "numbers": [{ "value": "272375" }]
    }, …]
  }
}

Latest draw

The same data the API returns to you.

Draw date 1 December 2026View all prizes (PDF)
First prize
272375
Next to first prize272374 272376
First 3 digits276 866
Last 3 digits417 792
Last 2 digits83

Why use this API

No scraper to write and no draw day to watch. Call the API and get the results.

Always up to date

Results are fetched from the Lottery Office automatically on draw days, so you never update them by hand.

Check 100 tickets at once

Send many ticket numbers in one request and get back which prizes they won and how much.

Past draws

Fetch any stored draw by date, as clean JSON with complete documentation.

Simple and secure

Authenticate with an API key in one header. Issue and revoke keys yourself from the member page.

Get started in 3 steps

  1. Sign up

    Sign in with Google or email. It takes less than a minute.

  2. Choose the monthly plan

    Pay by credit or debit card through Stripe. Cancel any time.

  3. Issue a key and call the API

    Send the key in the X-API-Key header and fetch results or check tickets right away.

One price, every feature

Billed monthly, no commitment.

THB 119 per month

  • Latest draw, past draws and ticket checks
  • Up to 100 numbers per check
  • Up to 5 API keys
  • Cancel any time, use it until the period ends
Get an API key

Frequently asked questions

Where do the results come from?

Straight from the Government Lottery Office website.

When do new results arrive?

On draw days the system checks every 5 minutes from about 15:00 (Bangkok time) and saves the results as soon as the Lottery Office publishes them.

How do I pay?

Monthly, by credit or debit card through Stripe. Your card details are never stored by us.

Can I cancel?

Any time, from the member page. You keep access until the end of the period you paid for.

How many API keys can I have?

Up to 5 active keys at once. Revoke the ones you no longer use yourself.