v1

latestOpenAPI 3.1.0Public2026-07-1316041.2 KB
Lottery

Get site stats

Returns live stats for the selected lottery game, including draw number, jackpot, and next draw timestamp. Supports ?chain=polygon or ?chain=base.

get/api/stats.php

Query parameters

chain'polygon' | 'base'

Lottery chain to query. Use polygon for Polygon Fortune Ledger or base for Base Future Ledger.

Response

Site statistics

draw_numberinteger

Upcoming draw number

jackpot_polnumber

Current jackpot in the selected chain currency

next_draw_timestampinteger

Unix timestamp of next draw (Saturdays 15:00 UTC)

status'ok' | 'error'

Example response

{
  "draw_number": 8,
  "jackpot_pol": 142.5,
  "next_draw_timestamp": 1745589600
}