Skip to content

TRX Result Query API

[TOC]

Brief Description
  • TRX Result Query API
Request URL
  • http://xxxx.com/api/GetK3Result
Request Method
  • POST
Parameters
ParameterRequiredTypeDescription
PageSizeYesintNumber of items per page
PageIndexYesintPage number
TypeIdYesintGame type
TimeYesdateDate
Request Example
{
"PageSize": 2,
"PageIndex": 1,
"TypeId": 13,
"Time": "2024-07-31"
}
TypeId
  1. Wingo Game
  • 1 = 1-minute lottery
  • 2 = 2-minute lottery
  • 3 = 3-minute lottery
  • 4 = 5-minute lottery
  • 30 = 30-second lottery
  1. 5D Game
  • 5 = 1-minute lottery
  • 6 = 2-minute lottery
  • 7 = 3-minute lottery
  • 8 = 5-minute lottery
  1. K3 Game
  • 9 = 1-minute lottery
  • 10 = 2-minute lottery
  • 11 = 3-minute lottery
  • 12 = 5-minute lottery
  1. TRX Game
  • 13 = 1-minute lottery
  • 14 = 2-minute lottery
  • 15 = 3-minute lottery
  • 16 = 5-minute lottery
Response Example
{
"totalPage": 329,
"totalCount": 657,
"data": [
{
"issueNumber": "20240731130657",
"premium": "",
"number": "",
"colour": "",
"blockID": null,
"blockNumber": null,
"blockTime": null,
"typeID": 13,
"dayDate": "2024-07-31T00:00:00",
"endTime": "2024-07-31T10:57:00",
"state": 0,
"intervalM": 1.0,
"expireSeconds": 0
},
{
"issueNumber": "20240731130656",
"premium": "82456",
"number": "6",
"colour": "red",
"blockID": "0000000003cf54c030584c4b9126531dd4ec359bfc5a61eb7c4da469c82d45c6",
"blockNumber": 63919296,
"blockTime": "2024-07-31T10:55:54",
"typeID": 13,
"dayDate": "2024-07-31T00:00:00",
"endTime": "2024-07-31T10:56:00",
"state": 1,
"intervalM": 1.0,
"expireSeconds": 0
}
],
"pageIndex": 1,
"pageSize": 2
}
Response Parameter Description
ParameterTypeDescription
dataobjectSee table below for data details
totalPageintTotal pages
totalCountintTotal records
pageIndexstringPage number
pageSizedatetimeNumber of items per page
Data Details
ParameterTypeDescription
issueNumberstringIssue number
premiumstringResult
numberstringTail number
colourstringColor
blockIDstringBlock ID
blockNumberstringBlock number
blockTimedatetimeBlock timestamp
typeIDintSee request parameters above
dayDatedatetimeDraw date
endTimedatetimeDraw specific time
stateint0 = Not drawn, 1 = Drawn
intervalMdecimalDraw interval time
expireSecondsdecimalTime remaining for next draw