Lottery Number Generator API

GET

Supply quick-pick numbers for major lotteries and custom games.

Lottery Number Generator creates random lottery numbers for various popular games including Powerball, Mega Millions, EuroMillions, and custom lottery configurations.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/lotterypicker
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "game": "Powerball (US)",
    "game_type": "powerball",
    "config": {
      "main_numbers_count": 5,
      "main_numbers_range": "1-69",
      "bonus_numbers_count": 1,
      "bonus_numbers_range": "1-26"
    },
    "tickets_generated": 3,
    "tickets": [
      {
        "ticket_number": 1,
        "main_numbers": [
          11,
          12,
          51,
          53,
          58
        ],
        "bonus_numbers": [
          3
        ]
      },
      {
        "ticket_number": 2,
        "main_numbers": [
          4,
          24,
          28,
          46,
          61
        ],
        "bonus_numbers": [
          3
        ]
      },
      {
        "ticket_number": 3,
        "main_numbers": [
          12,
          13,
          29,
          49,
          60
        ],
        "bonus_numbers": [
          6
        ]
      }
    ]
  }
}

About the Lottery Number Generator API

Generate multiple tickets at once with properly formatted number sets, perfect for lottery apps, gaming platforms, or random number generation needs.

What people use it for

Lottery Apps
Build lottery number picker apps with support for popular games like Powerball, Mega Millions, and international lotteries
Quick Pick Numbers
Generate quick pick numbers for lottery games with customizable number ranges and bonus ball configurations
Gaming Systems
Create random number sets for gaming applications, contests, and raffle systems with verifiable randomization
International Support
Support multiple international lottery formats including EuroMillions, UK Lotto, and regional lottery games worldwide

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Lottery Number Generator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Lottery Number Generator API.

Read the docs →
Which lottery games are supported out of the box?
Preset configurations are available for major lotteries including Powerball, Mega Millions, and EuroMillions. You can also define custom game rules for regional or fictional draws.
Can I configure custom lottery formats?
Yes. You can set the total number of main balls to pick, the maximum number in the pool, and configure separate bonus ball counts and ranges to match any draw rules.
Can I generate multiple tickets in a single request?
Yes. You can request multiple tickets at once. The Lottery Number Generator returns an array containing each numbered ticket alongside its main numbers, bonus balls, and active game configuration.
Do custom bonus parameters override preset games?
No. Named preset games like Powerball and Mega Millions always enforce their own official pool sizes and bonus rules. Custom bonus parameters only apply when running custom game configurations.
Which plan fits 50,000 ticket generation requests a month?
The Starter plan covers 50,000 monthly requests with room to spare. Each call uses 2 credits, working out to about $0.0003 per call (or $0.30 per 1,000 calls) on Starter, which provides 100,000 calls each month. The Free plan includes 100 calls per month for testing.

Ready to build with Lottery Number Generator? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs