4D Lottery API
Place 4D bets for your players through FortuneX and read back the official results, your balance and your weekly statements.
What the API does
- Lists the open pools, the next draw dates with their closing times and the limits.
- Places bets in the same line format as the FortuneX bet slip: Big, Small, A, 3D, prize positions and box bets.
- Reads back each bet and its result: pending, open, awaiting result, settled with the winning amount, or void.
- Gives the official numbers of each draw date per pool, together with your own bets of that date.
How the money works
- You use either a prepaid balance or an agreed credit term.
- A win is recorded, not paid automatically. Prepaid accounts are credited by FortuneX staff and credit accounts settle on the weekly statement.
- Every bet carries your reference and your sub-account, so you can match each sale against the supplier's record.
Good to know
- Bets for a draw close at 18:59 Malaysian time on the draw day.
- You poll for status and results, there are no webhooks.
- All amounts are whole sen in MYR.
Frequently asked questions
Which 4D games are supported?
Magnum, Damacai, Sports Toto, Singapore, Sabah, Sarawak, Grand Dragon and 9Lotto. The API lists what is open at any time.
When do bets close?
At 18:59 Malaysian time on the draw day.
Are winnings paid automatically?
No. A win is recorded for reconciliation. Prepaid accounts are credited by hand weekly and credit accounts settle the net on the weekly statement.
Where can players see the results?
The public 4D results pages are updated about every 10 minutes at /4d-results.
Talk to us
Tell us your market, the products you want and your expected volume. We reply with terms and sandbox access.
Contact