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.
Use Cases
- Lottery Information Query Tool: Integrate into public information query websites or mini-programs to help users quickly compare past numbers.
- Personal Accounting and Management: Use in personally developed lottery tracking tools to easily review historical purchase records and verify drawing results.
Usage Instructions and Limitations
- Disclaimer: The verification results returned by this API are algorithmically calculated and may have discrepancies due to data synchronization delays or parsing errors. All results are for auxiliary reference only. Official prize redemption must be based on physical tickets, official announcements from national welfare/sports lottery issuing authorities, and verification results from offline sales outlets.
- Parameter Format: Please strictly adhere to the required format for numbers when passing parameters. Incorrect delimiters may lead to verification failure. If a query fails, please first check if the issue number has already been drawn and if the lottery code is correct.
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 | [] |