| Interface Name | Boyi API Open Platform (Paid API) |
|---|---|
| Function | Provides stable lottery draw data |
| Data Content | Draw period, winning numbers, draw time (some lotteries include next period and countdown) |
| Access Method | HTTP / HTTPS (Web API) |
| Return Format | XML / JSON |
| Encoding | UTF-8 |
| JSONP Support | Supported (callback parameter) |
| Note | Socket, HTTP Push, and other access methods will be supported in the future |
| Request URL | http://api.byw.bet:868/api |
|---|---|
| Request Method | GET |
| Example Request | http://api.byw.bet:868/api?token=[KEY]&t=[LOTTERY_CODE]&limit=[ROWS]&p=[FORMAT] |
| Parameter | Required | Description | Example |
|---|---|---|---|
| token | Yes | API key (case-insensitive) | ceshi |
| t | Yes | Lottery code (see lottery list) | cqssc / ssq |
| limit | No | Number of rows to return, default 1, range 1–10 | 1 |
| p | Yes | Return data format | xml / json |
| Description | Request URL |
|---|---|
| Chongqing SSC XML (1 row) | http://api.byw.bet:868/api?token=ceshi&t=cqssc&limit=1&p=xml |
| Chongqing SSC JSON (3 rows) | http://api.byw.bet:868/api?token=ceshi&t=cqssc&limit=3&p=json |
| Chongqing SSC JSON (5 rows) | http://api.byw.bet:868/api?token=ceshi&t=cqssc&limit=5&p=json |
| Case Sensitivity | All parameters are case-insensitive |
|---|---|
| Maximum Rows | Up to 50 rows per request |
| API Type | Paid API |
Important Announcement – Major Update to the Boyi API Interface (New Version)
BYW Lottery API – Request for New Lottery Types
Upgrade Notice – Boyi API Website Upgrade Completed
Boyi API Data Collection Interface – Request Parameters Documentation
If Product Managers Don’t Understand APIs, How Can They Work Well with Developers?
Boyi Lottery API – IP and Request Rate Limitations
A Professional Global Lottery Results Platform with Authoritative Data Sources
Overview of Boyi Lottery API Platform – Lottery Data Collection Interfaces
BYW Lottery API – Request for New Lottery Types
Boyi Lottery API – IP and Request Rate Limitations
Overview of Boyi Lottery API Platform – Lottery Data Collection Interfaces
Boyi Lottery Platform API – Trial and Purchase Guide
Announcement: Boyi API Online Ticketing System Launched to Improve Service Efficiency and User Experience
Disclaimer of the Boyi API Data Interface Open Platform