Discover/LotteryPost API
live

LotteryPost APIlotterypost.com

Fetch lottery results, historical drawings, jackpot amounts, and game listings for US states and major worldwide lotteries via the LotteryPost.com API.

Endpoint health
verified 4d ago
get_state_results
get_state_games
get_historical_results
get_multiple_states_results
get_jackpots
5/5 passing latest checkself-healing
Endpoints
5
Updated
26d ago

What is the LotteryPost API?

The LotteryPost.com API exposes 5 endpoints covering lottery results, historical drawing data, and live jackpot standings for US states and major worldwide games. The get_state_results endpoint returns the most recent winning numbers, bonus numbers, and next-draw details for every active game in a given state, while get_jackpots ranks current jackpot amounts globally with change tracking across draws.

Try it
Two-letter US state code (e.g. NY, CA, TX, FL, PA, IL, OH, GA, MI, NJ).
api.parse.bot/scraper/76d00006-2092-4ae3-81d2-58e8ccd84550/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/76d00006-2092-4ae3-81d2-58e8ccd84550/get_state_results?state=NY' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace lotterypost-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.lottery_post_api import LotteryPost

client = LotteryPost()

# Get latest results for New York
ny = client.stateresults.get(state="NY")
print(ny.state)
for result in ny.results:
    print(result.game_name, result.drawing_date, result.winning_numbers, result.bonus_numbers)

# List available games for NY
for game in ny.games():
    print(game.game_name, game.game_slug, game.game_id)

# Get historical drawings for a specific game
for drawing in ny.history(game="lotto", year="2026"):
    print(drawing.date, drawing.winning_numbers, drawing.bonus_numbers)

# Get worldwide jackpots ranked by size
for jackpot in client.jackpots.list():
    print(jackpot.rank, jackpot.game, jackpot.amount, jackpot.next_draw_date)

# Bulk fetch results for multiple states
for state_result in client.stateresults.bulk(states="NY,CA,TX"):
    print(state_result.state)
    for result in state_result.results:
        print(result.game_name, result.winning_numbers)
All endpoints · 5 totalmissing one? ·

Retrieve latest lottery results and next drawing/jackpot info for a specific state. Returns all games with their most recent drawing numbers, bonus numbers, and upcoming draw information.

Input
ParamTypeDescription
statestringTwo-letter US state code (e.g. NY, CA, TX, FL, PA, IL, OH, GA, MI, NJ).
Response
{
  "type": "object",
  "fields": {
    "state": "string, two-letter state code",
    "results": "array of game result objects with game_slug, game_name, game_id, drawing_date, drawing_timestamp, winning_numbers, bonus_numbers, and optional next_jackpot, jackpot_change, next_drawing"
  },
  "sample": {
    "data": {
      "state": "NY",
      "results": [
        {
          "game_id": "144",
          "game_name": "Numbers Midday",
          "game_slug": "numbers",
          "drawing_date": "Wednesday, June 10, 2026",
          "next_drawing": "Thu, Jun 11, 2026, 2:30 pmEastern Time (GMT-5:00)22 hours from now",
          "bonus_numbers": [],
          "winning_numbers": [
            "9",
            "9",
            "3"
          ],
          "drawing_timestamp": "2026-06-10T14:30-05:00"
        },
        {
          "game_id": "143",
          "game_name": "Lotto",
          "game_slug": "lotto",
          "drawing_date": "Saturday, June 6, 2026",
          "next_drawing": "Wed, Jun 10, 2026, 8:15 pmEastern Time (GMT-5:00)3 hours from now",
          "next_jackpot": "$3 Million",
          "bonus_numbers": [
            "12"
          ],
          "jackpot_change": "$100,000",
          "winning_numbers": [
            "2",
            "11",
            "29",
            "31",
            "32",
            "56"
          ],
          "drawing_timestamp": "2026-06-06T20:15-05:00"
        }
      ]
    },
    "status": "success"
  }
}

About the LotteryPost API

Endpoints and Coverage

Five endpoints cover the main data surfaces on LotteryPost.com. get_state_results accepts a two-letter state code and returns an array of game result objects — each with game_name, game_slug, drawing_date, drawing_timestamp, winning_numbers, and bonus_numbers — along with upcoming draw and jackpot info. get_multiple_states_results accepts a comma-separated states parameter and batches the same per-state result objects into one response, which is useful when you need to compare results across several states without issuing separate calls.

Game Listings and Historical Data

get_state_games returns the full list of games available for a state, including each game's game_name, game_slug, and game_id. Those slugs feed directly into get_historical_results, which accepts game, state, year, and month parameters. Historical results return an array of drawing objects with date, timestamp, winning_numbers, and bonus_numbers. Guest access is limited to the past 12 months of history; requests for older data outside that window will not return results.

Jackpot Feed

get_jackpots requires no input parameters and returns a ranked list of current jackpots worldwide. Each entry includes rank, amount, region, game, game_link, next_draw_date, prev_jackpot, and change — making it straightforward to detect jackpot growth or rollover between consecutive draws.

Data Notes

Game slugs from get_state_games are the reliable way to construct valid get_historical_results requests; hardcoding slugs without verifying them for a given state may return empty results. The month filter on historical results requires year to also be set. Coverage spans US state lotteries and major multi-state games (Powerball, Mega Millions) as well as international lotteries surfaced through the jackpot endpoint.

Reliability & maintenanceVerified

The LotteryPost API is a managed, monitored endpoint for lotterypost.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when lotterypost.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official lotterypost.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Display tonight's winning numbers for any US state lottery on a results dashboard
  • Track Powerball and Mega Millions jackpot growth over consecutive draws using prev_jackpot and change fields
  • Build a multi-state results page by batching state codes through get_multiple_states_results
  • Analyze frequency of specific winning numbers over the past year using get_historical_results with year and month filters
  • Alert users when a jackpot crosses a threshold by polling get_jackpots and comparing amount to a stored value
  • Enumerate all active games in a state with get_state_games before building a game-selection UI
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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 LotteryPost have an official public developer API?+
No. LotteryPost.com does not publish a documented public developer API or offer API keys directly to third-party developers.
How far back does `get_historical_results` go?+
Guest access is limited to the past 12 months of drawing history. Requests for a year/month combination outside that window will not return results. If you need deeper history, you can fork this API on Parse and revise it to extend the historical range.
What does `get_jackpots` return and how is it scoped?+
get_jackpots takes no parameters and returns a globally ranked list of jackpots. Each record includes rank, amount, region, game, next_draw_date, prev_jackpot, and change. It covers both US and international lotteries that LotteryPost tracks, ranked by current jackpot size.
Does the API return prize tier breakdowns (e.g., how many winners matched 4 of 5 numbers)?+
Not currently. The API returns winning numbers, bonus numbers, drawing dates, and jackpot amounts, but not per-tier prize payouts or winner counts. You can fork this API on Parse and revise it to add an endpoint targeting those prize-tier detail pages.
Can I look up results for a game slug without first calling `get_state_games`?+
You can pass known slugs like powerball or megamillions directly to get_historical_results, but game availability varies by state. For state-specific games such as regional daily numbers draws, calling get_state_games first is the reliable way to confirm which slugs are valid for a given state code.
Page content last updated . Spec covers 5 endpoints from lotterypost.com.
Related APIs in OtherSee all →
lotteryusa.com API
Check the latest winning numbers and jackpot amounts across all US lotteries, and view detailed prize breakdowns by state and game. Stay updated on lottery results instantly without visiting multiple lottery websites.
powerball.com API
Check the latest Powerball drawing results, historical winning numbers, current jackpot amounts, and prize information all in one place. Browse past draws by date, view odds and prize breakdowns, and explore stories from winners to stay informed about your favorite lottery game.
megamillions.com API
Check the latest Mega Millions winning numbers and jackpot amounts, browse historical drawings, and discover the top jackpots across participating lottery states. Stay updated on lottery results and track winning combinations whenever you need them.
usamega.com API
Check the latest Mega Millions and Powerball results, jackpot amounts, and winning odds all in one place. Analyze drawing details and tax implications to make smarter lottery decisions.
calottery.com API
Check the latest California Lottery results for Powerball and Mega Millions, including up to 120 recent draws from 2025 and historical data for all available games. Search past winning numbers and game information across California's lottery draw games.
nylottery.ny.gov API
Access New York Lottery draw results, historical winning numbers, and scratch-off game information. Retrieve number frequency statistics, search for nearby retailers, and browse recent winners across all available games.
sportstoto.com.my API
Access Sports Toto Malaysia lottery jackpots, draw results, and past results calendars. Retrieve winning numbers, prize amounts, and comprehensive 4D frequency statistics for historical analysis.
prizepicks.com API
Access real-time player prop projections and betting lines from PrizePicks across multiple sports leagues. Filter by league, US state, and live status to retrieve current lines, opening lines, player profiles, game metadata, and trending props.