Lottery Winning Result Verification
Supports popular lottery types like Double Color Ball, Seven Happy Lottery, and Super Lotto. Input the lottery type, issue number, and user's purchased numbers to quickly retrieve the official winning numbers for that issue and a preliminary prize verification result. This API is for informational auxiliary queries only.
Documentation
API Capabilities
This API provides an auxiliary verification function for winning results of common lottery types such as Double Color Ball, Seven Happy Lottery, and Super Lotto. Developers can quickly obtain the official winning numbers for a specific issue by passing in the designated lottery type, issue number, and the user's purchased numbers. The system then compares these to provide preliminary winning details (e.g., prize level, number of matching red/blue balls). This interface only provides historical drawing information and number comparison services; it does not offer any prediction or number recommendation functions, nor does it encourage any betting behavior.
Request and Response
When making a request, three core parameters must be provided: type (lottery code, e.g., ssq for Double Color Ball), expect (issue number, e.g., 2026082), and lotteryNo (user's numbers, red and blue balls are typically separated by a specific symbol like @). The returned result will include: name (lottery name), expect (issue number), openCode (actual winning numbers for that issue), resultDesc (match status, e.g., 0+1), and resultDetails (specific prize level or a 'no win' message). If resultList is empty, it usually indicates no corresponding prize was won.
Integration Examples
Includes ready-to-use Shell, Python, Go, Java, and PHP examples for direct integration.
Request Example
{
"type": "ssq",
"expect": "2026082",
"lotteryNo": "05,07,10,14,21,28@04"
}Response Example
{
"resultDetails": "未中奖",
"resultDesc": "0+1",
"openCode": "05,07,10,14,21,28+04",
"expect": "2026082",
"type": "ssq",
"name": "双色球",
"resultList": []
}Request Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| type | string | ssq |
| expect | string | 2026082 |
| lotteryNo | string | 05,07,10,14,21,28@04 |
Response Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| resultDetails | string | 未中奖 |
| resultDesc | string | 0+1 |
| openCode | string | 05,07,10,14,21,28+04 |
| expect | string | 2026082 |
| type | string | ssq |
| name | string | 双色球 |
| resultList | array | [] |