sportstoto.com.my APIsportstoto.com.my ↗
Access Sports Toto Malaysia lottery results, jackpot amounts, draw calendars, and 4D frequency stats via 4 structured endpoints.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/b3e69906-58b7-4987-8397-aed16c6ac631/get_latest_jackpots' \ -H 'X-API-Key: $PARSE_API_KEY'
Retrieve the current estimated jackpot amounts for all game types (Supreme Toto 6/58, Power Toto 6/55, Star Toto 6/50, 4D Jackpot) and the current draw number from the homepage.
No input parameters required.
{
"type": "object",
"fields": {
"draw_no": "string, current draw number (e.g. '6130/26')",
"jackpots": "array of objects with 'game' (string) and 'amount' (string, e.g. 'RM 30,469,755.99')"
},
"sample": {
"data": {
"draw_no": "6130/26",
"jackpots": [
{
"game": "Supreme Toto 6/58",
"amount": "RM 30,469,755.99"
},
{
"game": "Power Toto 6/55",
"amount": "RM 8,391,319.94"
},
{
"game": "Star Toto 6/50",
"amount": "RM 2,903,096.54"
},
{
"game": "4D Jackpot",
"amount": "RM 4,464,131.73"
}
]
},
"status": "success"
}
}About the sportstoto.com.my API
This API exposes 4 endpoints covering Sports Toto Malaysia lottery data, including live jackpot estimates, full draw results, monthly draw calendars, and 4D frequency statistics. The get_draw_results endpoint returns winning numbers and prize amounts across six game types — Toto 4D, 5D, 6D, 4D Jackpot, Power Toto 6/55, and Supreme Toto 6/58 — for any valid draw number.
Jackpots and Draw Results
get_latest_jackpots returns the current estimated jackpot amounts for all four jackpot game types (Supreme Toto 6/58, Power Toto 6/55, Star Toto 6/50, and 4D Jackpot), along with the current draw number in NNNN/NN format. That draw number can be passed directly to get_draw_results, which returns a structured breakdown of results for six game types in a single response. The toto_4d object includes 1st, 2nd, and 3rd prizes plus arrays of special and consolation prize numbers. The power_6_55 and supreme_6_58 objects return the drawn numbers as an array and the jackpot amount as a string.
Historical Draws and Calendars
get_past_results_calendar accepts year and month integer parameters and returns a list of draw objects, each containing a draw_no and a human-readable date string (e.g. 'May 2, 2026'). This is the primary way to enumerate valid draw numbers for any historical period before passing them to get_draw_results. Draw history coverage follows what Sports Toto publishes on its results pages.
4D Frequency Statistics
get_statistics_4d requires no parameters and returns a ranked array of 4-digit numbers ordered by how many times each has appeared as a winning number. Each entry includes rank, number, and times_hit as strings. This dataset covers aggregate historical frequency across all draws recorded by Sports Toto and is useful for pattern analysis or visualisation projects.
- Display live Sports Toto jackpot estimates on a lottery results dashboard using
get_latest_jackpots - Build a historical results archive by iterating
get_past_results_calendaracross months and fetching each draw viaget_draw_results - Analyse which 4-digit numbers appear most frequently using the ranked
times_hitdata fromget_statistics_4d - Send push notifications when jackpot amounts from
get_latest_jackpotscross a user-defined threshold - Compare prize structures across Toto 4D, 5D, and 6D games for a given draw using the structured prize fields in
get_draw_results - Generate a monthly draw schedule by parsing
drawsarrays fromget_past_results_calendarfor any target year and month
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Sports Toto have an official developer API?+
What does `get_draw_results` return and how do I get a valid draw number?+
draw_no string in NNNN/NN format. The response covers six game types: Toto 4D (with 1st, 2nd, 3rd prizes plus special and consolation arrays), Toto 5D, Toto 6D, Power Toto 6/55, Supreme Toto 6/58, and Toto 4D Jackpot amounts. Valid draw numbers can be obtained from get_latest_jackpots for the current draw or from get_past_results_calendar for any historical month.Does the API cover individual ticket checking or number lookup by prize tier?+
How current is the jackpot and results data?+
get_latest_jackpots reflect the estimated figures published on the Sports Toto homepage, which are updated ahead of each draw. Draw results via get_draw_results are available once Sports Toto publishes them after each draw event, typically on the same evening. There is no sub-minute streaming feed.