Get lottery results and number frequency
get_lottery_resultsRetrieve winning lottery numbers, estimated jackpots, and draw history for supported games, or analyze number frequency statistics over a chosen date range.
Instructions
Winning numbers for Powerball (with Double Play), Mega Millions, Millionaire for Life, Cash4Life, NY Lotto, Take 5, Pick 10, Numbers, Win 4, Quick Draw, Lotto Texas, Texas Two Step and Cash Five, with the estimated jackpot and jackpot winners where published; history back to 1980. Or number frequency (hot and cold numbers) for any date range, with what pure chance would give. Runs the Apify Actor tacps126/lottery-results on your Apify account (about $0.003 per draw or number row; spend per call is capped at $0.5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| games | Yes | Which games. | |
| date_to | No | YYYY-MM-DD (default today). | |
| data_type | No | draws (one row per draw) or stats (how often and how recently each number was drawn). | draws |
| date_from | No | YYYY-MM-DD; replaces days_back. | |
| days_back | No | Default 30 for draws, 365 for stats. | |
| max_items | No | Maximum results to return (default 100, max 5000). Cost scales with this. | |
| extra_input | No | Advanced: extra Actor input fields, merged over the defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Name of the tool that produced the result. | |
| count | Yes | Number of records the Actor returned. | |
| items | Yes | The records. Long text fields are shortened to 600 characters. | |
| shown | Yes | Number of records included in `items` (can be lower than count when the result is long). | |
| truncated | Yes | True when records were left out to keep the result short; ask for fewer items. |