4D Results (Malaysia, Singapore, Cambodia)

v1.0.0
io.github.oddsflowai-team/4dlivetoday Checked 3 days ago Published 2 months ago

Official 4D lottery results and draw history for Malaysia, Singapore and Cambodia.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_latest_results Latest 4D results

Returns the official newest 4D draw result for every operator (Magnum, Da Ma Cai, Sports Toto, Singapore 4D, Sabah 88, Sandakan STC, Sarawak Cash Sweep, Grand Dragon, Perdana including its afternoon draw, and 9 Lotto). Official results only; no number recommendations or forecasts.

get_results_by_date 4D results by date

Returns every operator's official 4D draw result for a given calendar date. Returns an empty result set with a note if no draws happened that date. Official results only; no number recommendations or forecasts.

ParameterTypeDescription
date *stringDraw date in YYYY-MM-DD format, Malaysia time (MYT).

get_operator_results One operator's recent 4D results

Returns one 4D operator's most recent official draw results (1st, 2nd, 3rd, special and consolation numbers), newest first. Official results only; no number recommendations or forecasts.

ParameterTypeDescription
operator *stringOperator id. One of: magnum, damacai, toto, sg, sabah88, stc, cashsweep, gd, perdana, 9lotto.
limitintegerHow many recent draws to return (1-30, default 10).

lookup_number 4D number history

Lists every official 4D draw in which a given 4-digit number appeared as a winning number, with its date, operator and prize tier. Past winning appearances only, not a ranking. Official results only; no number recommendations or forecasts.

ParameterTypeDescription
number *4-digit number, including any leading zeros (e.g. "0650").

get_other_game_results Other 4D-family game results

Returns official results for 4D-family games other than the main draw: Toto 5D/6D/Star/Power/Supreme, Magnum Life/Jackpot/Gold, Da Ma Cai 3+3D/Jackpot, and Singapore Toto, including numbers, bonus numbers and jackpot amounts. Official results only; no number recommendations or forecasts.

ParameterTypeDescription
game *stringGame slug. One of: magnum_jackpot, magnum_gold, magnum_life, damacai_jackpot, damacai_3p3d, toto_jackpot, toto_5d, toto_6d, toto_star, toto_power, toto_supreme, sg_toto.
limitintegerHow many recent draws to return (1-30, default 10).

get_draw_schedule Official 4D draw schedule

Returns the official upcoming 4D draw schedule (regular and special draw dates) and which operators draw on each date, from the site's calendar. Official results only; no number recommendations or forecasts.