The Boyi Official API Lottery Interface (Www.byw.Bat) is an official platform that provides lottery draw data services via web access to online media, lottery industry clients, third-party lottery sales platforms, and data analysis organizations. It is a professional China-based lottery API service designed for lottery-related websites, developers, and data analysts.
By default, Boyi’s lottery draw data is sourced from official provincial welfare lottery (福彩) and sports lottery (体彩) centers. If any lottery game is discontinued by the relevant authority, we may stop providing the corresponding data interface without prior notice to users.
The Boyi Official API Lottery Interface (paid service)
The Boyi Official API Lottery Interface (paid service) provides draw results in near
real time with
Each registered account is limited to no more than
The “Latest Query” interface is designed for frequent requests. Each IP must wait at least 3 seconds between requests to the same endpoint; a 5–10 second interval is recommended.
The “Date-Based Query” interface is intended only for data backfill or gap recovery. Each IP must wait at least 20 seconds between requests to the same endpoint; a 30–40 second interval is recommended.
The self-service trial feature is now available. Users who need a trial account can
visit the
“
The self-service purchase feature is now available. Users who need to subscribe can
visit the
“
The Boyi Official API Lottery Interface (paid service) provides stable lottery draw data, including draw period numbers, winning numbers, draw times (for some games, next-period numbers and countdown timers are also provided), and additional data fields.
The Boyi Official API Lottery Interface currently supports web-based access only, with response formats available in both XML and JSON. Additional access methods such as Socket and HTTP Push will be introduced in the future.
The Boyi JSON lottery interface supports JSONP calls using callback as the
callback parameter.
Paid API endpoint example:
api.byw.bet/api?token=
Before using the Boyi Official API Lottery Interface, please read and fully understand this statement carefully. You may choose not to use the Boyi Official API Lottery Interface; however, if you use it, your usage will be deemed as acceptance of all the terms in this statement.
Except for the service terms expressly stated by the Boyi Official API Lottery Interface, Boyi Official Lottery Website shall not be liable for any accidents, negligence, infringement, or resulting losses arising from the use of the API (including but not limited to computer virus infections caused by downloading content from third-party linked websites), nor shall it bear any legal responsibility.
Any third-party webpages linked through the Boyi Official API Lottery Interface are created or provided by third parties. You may obtain information or services from such webpages, but Boyi Official Lottery Website assumes no responsibility for their legality and bears no legal liability.
Any organization or individual who believes that content linked through the Boyi Official API Lottery Interface infringes upon their information network dissemination rights should promptly submit a written rights notification to Boyi Official Lottery Website, along with identification documents, proof of ownership, and detailed evidence of infringement. Upon receipt of the above legal documents, Boyi Official Lottery Website will lawfully and promptly remove the relevant links. Please refer to the copyright protection statements in specific sections for details.
Users explicitly agree that all risks arising from their use of this website’s network services shall be borne entirely by themselves, and all consequences resulting therefrom shall also be their sole responsibility. Boyi Official Lottery Website assumes no liability to users.
The website shall also not be liable under the following circumstances:
1. Any personal data leakage or loss resulting from you disclosing your account or password to others or sharing your registered account with others.
2. Any personal data leakage, loss, theft, or tampering caused by force majeure events such as hacker attacks, computer virus intrusion or outbreak, or temporary shutdowns mandated by government authorities affecting normal network operations.
3. Any personal data leakage caused by other websites linked to this website, and any resulting legal disputes or consequences.
4. Except for content explicitly labeled as “Produced by Boyi Official Lottery Website,” all other content on this website’s channels is provided by contracted content service providers, organizations, or netizens. The company assumes no responsibility for any disputes or legal liabilities arising from the legality or appropriateness of such content. If you have any concerns, please contact our customer service center and we will handle the matter promptly.
5. This website contains links to other websites, including banner advertisements and other web ads. This website is not responsible for the content, privacy policies, operations, or actions of any linked websites or their operators. Please review their privacy policies before providing any personal information to them.
6. All lottery draw APIs on this website are provided by official welfare lottery authorities or institutions. If draw results contain errors, missed draws, hacker intrusions, or other force majeure events, this website shall not bear any economic loss or legal liability. If you do not agree with this clause, please immediately discontinue use of the Boyi Official Lottery API to avoid unnecessary disputes.
7. All posts and comments on this website represent solely the personal views of their authors and do not represent this website. Users are welcome to supervise and report any illegal, unhealthy, or copyright-infringing content.