US Lottery API Documentation
Welcome to the official developer portal for the US Lottery API. Connect your mobile applications, web platforms, analytical tools, or sportsbooks to verified real-time lottery draw results, historical databases, jackpot estimates, and schedules.
⚡ Quick Start Example
Send your first request to fetch the latest winning numbers for Powerball in seconds:
curl -X GET "https://uslotteryapi.com/api/v1/draws/latest?game=powerball" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept: application/json"Explore Documentation Pillars
Getting Started Guide
Step-by-step instructions on obtaining API keys, constructing HTTP request headers, and parsing API responses.
Authentication
Learn how to securely pass your x-api-key header in server-side requests and proxy environments.
API Endpoints Overview
Complete index of RESTful endpoints for winning numbers, historical archives, jackpot calculations, and countdown schedules.
Rate Limits & Quotas
Understand request limits per plan tier, rate limiting headers (X-RateLimit-*), and backoff strategies.
Core Engine Capabilities
Sub-100ms API response times powered by global edge deployment on Cloudflare's network.
Direct verification against state lottery commissions and official broadcast records.
Deep historical draws database covering Powerball and Mega Millions back to inception.
Frequently Asked Questions
How fast are lottery draw results updated in the API?
Winning numbers and official draw results are updated within 60 to 120 seconds after the official state lottery broadcast completes and results are certified.
Is there a free tier for US Lottery API?
Yes, our Starter Plan includes 500 free API requests per month with full access to Powerball, Mega Millions, and state lottery endpoints without requiring a credit card.
What format does the API return?
All US Lottery API endpoints return lightweight, ISO-compliant JSON responses formatted for high performance, featuring strict typing and standard Unix timestamps.