Available Endpoints
The DrawAnalytics API is organized by state. Every endpoint returns JSON and requires no authentication. The main endpoint groups are:
- Drawings:
/api/{state}/drawings?game={gameId}— Returns recent drawing results including numbers, dates, and jackpot amounts. - Analytics:
/api/{state}/analytics?game={gameId}&type={analysisType}— Returns frequency analysis, hot/cold data, patterns, gap analysis, and more. - Odds:
/api/{state}/odds— Returns computed odds and prize tier data for every lotto game in the state. - Blog:
/api/blog/postsand/api/blog/posts/{slug}— Returns blog post metadata or full content.
Rate Limits and Fair Use
API requests are rate-limited to 200 per minute per IP address. This is generous enough for most application use cases — a lottery results widget refreshing every 5 minutes uses less than 1% of the limit. If you need higher throughput for a data pipeline, consider caching responses locally and refreshing on a schedule rather than per-user-request.
Example: Fetching Powerball Results
A simple fetch call to /api/california/drawings?game=powerball&limit=10 returns the 10 most recent Powerball drawings with all ball numbers, the Powerball, the Power Play multiplier, draw date, and jackpot amount. The response is a JSON array that you can integrate directly into any frontend or backend application.
For analytics data, append the analysis type — for example, /api/california/analytics?game=powerball&type=frequency returns a frequency distribution of all main numbers and the bonus ball over the available history. The Data Table guide and CSV Export guide cover additional data access options.
DrawAnalytics is an informational service. We do not sell predictions or guarantee outcomes. Lottery drawings are random — past results do not predict future drawings. Play responsibly. 1-800-GAMBLER.