Lottery API logo
EntertainmentMAINTAINED1 token / callBy: World Lotto Results

Lottery API

Lottery providers and historical draw results with winning numbers, jackpots and prize tiers, searchable

Structured lottery data: browse lottery providers (game format, draw schedule, number ranges, currency, country) and their historical draw results — winning main and bonus numbers, jackpot amounts, rollovers, total winners, and per-tier prize breakdowns. Filter and search draws by provider, country, date range, or a specific drawn number.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 1 token per call, so the free plan covers about 500 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "success": true,
  "data": {
    "id": 1,
    "slug": "co-baloto",
    "name": "Baloto",
    "countryCode": "CO",
    "region": null,
    "currency": "COP",
    "timezone": "America/Bogota",
    "website": "https://www.baloto.com",
    "mainNumbersCount": 5,
    "mainNumbersMax": 43,
    "bonusNumbersCount": 1,
    "bonusNumbersMax": 16,
    "bonusLabel": "Súper Balota",
    "description": "Lotería nacional. Acierta 5 números del 1 al 43 más la Súper Balota del 1 al 16. Sorteos miércoles y sábado.",
    "isActive": true,
    "schedule": {
      "days": [
        "Wed",
        "Sat"
      ],
      "time": "23:00"
    },
    "drawsCount": 11,
    "lastDrawnAt": "2026-06-20T23:00:00Z"
  }
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Lottery API

  • Show the latest draw and prize breakdown for a game on a results site or app.

  • Let users check whether their numbers appeared in past draws.

  • Chart jackpot history and rollovers for a lottery.

  • Power number-frequency statistics from the full draw archive.

Lottery API endpoints

Every endpoint with its parameters and a real example response.

GETGet Draw

https://api-lottery.dataandapis.com/v1/draws/{id}

Path parameters

ParameterExample
id131124Required

Example request

curl "https://api-lottery.dataandapis.com/v1/draws/131124" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "success": true,
  "data": {
    "id": 34,
    "providerId": 1,
    "drawNumber": "2672",
    "drawnAt": "2026-06-20T23:00:00Z",
    "drawnDate": "2026-06-20",
    "mainNumbers": [
      31,
      34,
      37,
      38,
      43
    ],
    "bonusNumbers": [
      14
    ],
    "multiplier": null,
    "jackpotAmount": null,
    "jackpotCurrency": "COP",
    "totalWinners": null,
    "totalPayout": null,
    "rollover": false,
    "providerSlug": "co-baloto",
    "providerName": "Baloto",
    "prizeTiers": []
  }
…
Show full response
{
  "success": true,
  "data": {
    "id": 34,
    "providerId": 1,
    "drawNumber": "2672",
    "drawnAt": "2026-06-20T23:00:00Z",
    "drawnDate": "2026-06-20",
    "mainNumbers": [
      31,
      34,
      37,
      38,
      43
    ],
    "bonusNumbers": [
      14
    ],
    "multiplier": null,
    "jackpotAmount": null,
    "jackpotCurrency": "COP",
    "totalWinners": null,
    "totalPayout": null,
    "rollover": false,
    "providerSlug": "co-baloto",
    "providerName": "Baloto",
    "prizeTiers": []
  }
}

GETGet Provider

https://api-lottery.dataandapis.com/v1/providers/{slug}

Path parameters

ParameterExample
slugco-balotoRequired

Example request

curl "https://api-lottery.dataandapis.com/v1/providers/co-baloto" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "success": true,
  "data": {
    "id": 1,
    "slug": "co-baloto",
    "name": "Baloto",
    "countryCode": "CO",
    "region": null,
    "currency": "COP",
    "timezone": "America/Bogota",
    "website": "https://www.baloto.com",
    "mainNumbersCount": 5,
    "mainNumbersMax": 43,
    "bonusNumbersCount": 1,
    "bonusNumbersMax": 16,
    "bonusLabel": "Súper Balota",
    "description": "Lotería nacional. Acierta 5 números del 1 al 43 más la Súper Balota del 1 al 16. Sorteos miércoles y sábado.",
    "isActive": true,
    "schedule": {
      "days": [
        "Wed",
        "Sat"
      ],
      "time": "23:00"
    },
    "drawsCount": 11,
    "lastDrawnAt": "2026-06-20T23:00:00Z"
  }
…
Show full response
{
  "success": true,
  "data": {
    "id": 1,
    "slug": "co-baloto",
    "name": "Baloto",
    "countryCode": "CO",
    "region": null,
    "currency": "COP",
    "timezone": "America/Bogota",
    "website": "https://www.baloto.com",
    "mainNumbersCount": 5,
    "mainNumbersMax": 43,
    "bonusNumbersCount": 1,
    "bonusNumbersMax": 16,
    "bonusLabel": "Súper Balota",
    "description": "Lotería nacional. Acierta 5 números del 1 al 43 más la Súper Balota del 1 al 16. Sorteos miércoles y sábado.",
    "isActive": true,
    "schedule": {
      "days": [
        "Wed",
        "Sat"
      ],
      "time": "23:00"
    },
    "drawsCount": 11,
    "lastDrawnAt": "2026-06-20T23:00:00Z"
  }
}

GETLatest Draws

https://api-lottery.dataandapis.com/v1/draws/latest

Query parameters

ParameterExample
slugco-balotoOptional

Example request

curl "https://api-lottery.dataandapis.com/v1/draws/latest?slug=co-baloto" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "success": true,
  "data": [
    {
      "id": 1024,
      "providerSlug": "co-baloto",
      "providerName": "Baloto",
      "drawNumber": 2415,
      "drawnAt": "2026-06-17T20:00:00Z",
      "drawnDate": "2026-06-17",
      "mainNumbers": [
        4,
        11,
        23,
        35,
        42
      ],
      "bonusNumbers": [
        9
      ],
      "jackpotAmount": 5400000000,
      "jackpotCurrency": "COP",
      "rollover": true
    }
  ]
}

GETList Draws by Provider

https://api-lottery.dataandapis.com/v1/providers/{slug}/draws

Path parameters

ParameterExample
slugco-balotoRequired

Query parameters

ParameterExample
from2026-01-01Optional
limit20Optional
page1Optional
to2026-06-30Optional

Example request

curl "https://api-lottery.dataandapis.com/v1/providers/co-baloto/draws?from=2026-01-01&limit=20&page=1&to=2026-06-30" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "success": true,
  "data": [
    {
      "id": 1024,
      "providerId": 1,
      "providerSlug": "co-baloto",
      "providerName": "Baloto",
      "drawNumber": 2415,
      "drawnAt": "2026-06-17T20:00:00Z",
      "drawnDate": "2026-06-17",
      "mainNumbers": [
        4,
        11,
        23,
        35,
        42
      ],
      "bonusNumbers": [
        9
      ],
      "jackpotAmount": 5400000000,
      "jackpotCurrency": "COP",
      "totalWinners": 0,
      "rollover": true
    }
  ],
  "pagination": {
…
Show full response
{
  "success": true,
  "data": [
    {
      "id": 1024,
      "providerId": 1,
      "providerSlug": "co-baloto",
      "providerName": "Baloto",
      "drawNumber": 2415,
      "drawnAt": "2026-06-17T20:00:00Z",
      "drawnDate": "2026-06-17",
      "mainNumbers": [
        4,
        11,
        23,
        35,
        42
      ],
      "bonusNumbers": [
        9
      ],
      "jackpotAmount": 5400000000,
      "jackpotCurrency": "COP",
      "totalWinners": 0,
      "rollover": true
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 312
  }
}

GETList Providers

https://api-lottery.dataandapis.com/v1/providers

Query parameters

ParameterExample
activetrueOptional
countryCOOptional
limit20Optional
namebalotoOptional
page1Optional

Example request

curl "https://api-lottery.dataandapis.com/v1/providers?active=true&country=CO&limit=20&name=baloto&page=1" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "success": true,
  "data": [
    {
      "slug": "co-baloto",
      "name": "Baloto",
      "countryCode": "CO",
      "region": null,
      "currency": "COP",
      "timezone": "America/Bogota",
      "website": "https://baloto.com",
      "mainNumbersCount": 5,
      "mainNumbersMax": 43,
      "bonusNumbersCount": 1,
      "bonusNumbersMax": 16,
      "bonusLabel": "Super Balota",
      "schedule": {
        "days": [
          "Wed",
          "Sat"
        ]
      },
      "description": "National jackpot lottery: 5 main numbers plus one Super Balota.",
      "isActive": true
    }
  ],
  "pagination": {
    "page": 1,
…
Show full response
{
  "success": true,
  "data": [
    {
      "slug": "co-baloto",
      "name": "Baloto",
      "countryCode": "CO",
      "region": null,
      "currency": "COP",
      "timezone": "America/Bogota",
      "website": "https://baloto.com",
      "mainNumbersCount": 5,
      "mainNumbersMax": 43,
      "bonusNumbersCount": 1,
      "bonusNumbersMax": 16,
      "bonusLabel": "Super Balota",
      "schedule": {
        "days": [
          "Wed",
          "Sat"
        ]
      },
      "description": "National jackpot lottery: 5 main numbers plus one Super Balota.",
      "isActive": true
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 4
  }
}

Where the data comes from

Source
Self-hosted draw archive built from official lottery results.
Freshness
New draws added as they are published.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
5endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-lottery.dataandapis.com/v1/draws/{id}',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Lottery API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Path Parameters

id
import axios from 'axios';

const url = 'https://api-lottery.dataandapis.com/v1/draws/{id}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Lottery API

Ship Lottery API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.