Discover/lotteryusa.com API
live

lotteryusa.com APIlotteryusa.com

Get US lottery results, winning numbers, jackpot amounts, and prize tables for all states via the LotteryUSA API. 3 endpoints covering national and state games.

Endpoints
3
Updated
10d ago
Try it

No input parameters required.

api.parse.bot/scraper/abfb541d-b210-4bfa-b3a3-52e208dfc3cd/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/abfb541d-b210-4bfa-b3a3-52e208dfc3cd/list_states' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Get a list of all US states and territories covered by the site, with their slugs and names.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "states": "array of objects with keys: name (string, display name), slug (string, URL slug for use with get_state_results)"
  },
  "sample": {
    "data": {
      "states": [
        {
          "name": "Arizona",
          "slug": "arizona"
        },
        {
          "name": "California",
          "slug": "california"
        },
        {
          "name": "New York",
          "slug": "new-york"
        }
      ]
    },
    "status": "success"
  }
}

About the lotteryusa.com API

The LotteryUSA API provides access to US lottery data across 3 endpoints, covering winning numbers, jackpot amounts, drawing dates, and full prize tables for both national and state-specific games. The get_state_results endpoint returns the most recent drawing results for every lottery game in a given state, while get_game_prizes delivers structured prize tiers, odds, and multiplier details for games like Powerball and Mega Millions.

Endpoints and Coverage

The API exposes three endpoints. list_states returns an array of all US states and territories covered by LotteryUSA.com, each with a name and slug field. That slug is the required input for get_state_results, which returns a games array containing each game's game_name, winning_numbers (broken down by value, type, and name), multiplier, draw_date, jackpot, and a game_url. The state field and an ISO 8601 last_updated timestamp are also included at the top level.

Prize Tables via get_game_prizes

get_game_prizes accepts a game_path string such as 'powerball', 'mega-millions', or a state-scoped path like 'california/super-lotto-plus'. It returns one or more prize_tables, each with a title, a headers array of column names, and a data array of row objects keyed by those headers. This structure captures prize tiers, per-tier odds, and multiplier breakdowns in a consistent tabular format regardless of the game.

Data Shape Notes

Winning numbers in get_state_results are typed objects rather than a flat list, so callers can distinguish main draw balls from bonus balls or special number types by the type and name fields. The multiplier field is separate from the numbers array, which makes it straightforward to handle games that optionally include a multiplier (e.g. Power Play, Megaplier). The game_url field points back to the source page and can be used to construct the correct game_path input for get_game_prizes.

Common use cases
  • Display tonight's Powerball and Mega Millions winning numbers in a mobile app using get_game_prizes and get_state_results
  • Build a multi-state lottery dashboard that iterates list_states slugs and fetches current jackpot amounts for each state
  • Alert users when a jackpot crosses a threshold by polling the jackpot field in get_state_results on a schedule
  • Populate a prize breakdown table for a specific game using the prize_tables array from get_game_prizes
  • Track drawing dates and results history by logging draw_date and winning_numbers from repeated calls to get_state_results
  • Compare odds across prize tiers for state-specific games using the structured headers and data fields from get_game_prizes
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does LotteryUSA have an official developer API?+
LotteryUSA.com does not publish an official public developer API or documented data feed for third-party use.
What does get_state_results return for a state that runs multiple games?+
It returns a games array with one object per active lottery game in that state. Each object includes the game_name, typed winning_numbers, a multiplier value, the draw_date, the current jackpot amount, and a game_url. All results reflect the most recent drawing available for each game.
Does the API return historical drawing results, not just the most recent ones?+
Not currently. get_state_results returns results from the most recent drawings only, and get_game_prizes returns the current prize table structure. Historical drawing data across multiple dates is not covered. You can fork this API on Parse and revise it to add an endpoint that retrieves past drawing results by date range.
Can I get ticket sales figures or the number of winners per prize tier?+
Not currently. The get_game_prizes endpoint covers prize amounts, odds, and multiplier details per tier, but winner counts or sales volume data are not included in the response. You can fork this API on Parse and revise it to add an endpoint targeting that detail.
How do I construct the game_path input for get_game_prizes?+
For national games use the game slug directly, e.g. 'powerball' or 'mega-millions'. For state-specific games, prefix with the state slug from list_states, e.g. 'california/super-lotto-plus'. The game_url field returned by get_state_results can also be used to derive the correct path.
Page content last updated . Spec covers 3 endpoints from lotteryusa.com.
Related APIs in OtherSee all →
duden.de API
Get German verb conjugations, parts of speech, and usage frequency from Duden's comprehensive database. Quickly look up how to conjugate any German verb across all tenses and moods.
git-scm.com API
Access comprehensive Git documentation, browse command references across different versions, and explore chapters from the Pro Git book. Search Git documentation and glossary terms to quickly find answers about Git commands and concepts.
theresanaiforthat.com API
Search and discover AI tools across different tasks, get detailed information about specific tools, browse available deals, and stay updated on the latest tools. Find the perfect AI solution for your needs by filtering by task category or checking featured and trending tools.
identify.plantnet.org API
Identify and explore plant species by searching through Pl@ntNet's comprehensive botanical database to access detailed information like taxonomic families, genera, species descriptions, photos, and community observations. Track plant distributions, view contribution trends, and discover expert contributors within the platform's collaborative plant identification community.
indiankanoon.org API
indiankanoon.org API
shamela.ws API
Search and browse one of the largest collections of Arabic and Islamic books, exploring thousands of titles by category, author, or full-text content. Access detailed book information, read specific pages, and discover newly added works to build your digital Islamic library.
oeis.org API
Search OEIS for integer sequences by keyword, A-number, or known terms, then retrieve full sequence entries and b-file term data.
flightradar24.com API
Track live flights worldwide, view real-time airport schedules, and search for specific flights with detailed information about aircraft and routes. Monitor the most tracked flights and get comprehensive airport details including gates, terminals, and operational status.