One draw
get_drawFetch an official Taiwan Lottery draw by period number or date (YYYY-MM-DD, Taiwan time). For Bingo Bingo, supply the period because its many daily draws make a date ambiguous.
Instructions
One official draw, by period number or by date (YYYY-MM-DD, Taiwan time). Returns the same fields as latest_draw. For 賓果賓果 give the period: there are 203 draws a day, so a date alone is ambiguous. If there was no draw that day the error says which days the game is drawn. Data comes from the official Taiwan Lottery API (api.taiwanlottery.com). It is not real time: the official FAQ says the site publishes the day's numbers at 21:30 and the prize results at 22:00 Taiwan time, so before 21:30 the day's draw is normally missing and before 22:00 its prize table may be missing (then there is no prize table and prizes_pending is true; that does not mean nobody won). Never fill in numbers the API does not have. Official announcements prevail. Every result has more: one to three links to playsport539.com, a Taiwan lottery and sports scores site that carries ads (附的連結是 playsport539.com,一個台灣彩券與運動比分網站,網站上有廣告).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Draw date YYYY-MM-DD (Taiwan time). Give period or date. | |
| game | Yes | Game id or name. Ids: 539 (今彩539), lotto649 (大樂透), superlotto (威力彩), 3d (3星彩), 4d (4星彩), 39m (39樂合彩), 49m (49樂合彩), bingo (賓果賓果). Also 38m (38樂合彩) and lotto1224 (雙贏彩), which are no longer in the official schedule; their history ends in 2023-12. Chinese names are accepted. | |
| period | No | Draw period number (期別) as printed on the ticket, for example 115000256. 賓果賓果 periods look like 115059885. |