# Mega Millions and Powerball Results API

> Official Mega Millions and Powerball winning numbers by draw date, with Mega Ball and Double Play

- Vendor: `megamillionsandpowerballresult` · version 1.0 · category Entertainment · tags mega millions api, powerball api, lottery results api, winning numbers api, lottery api, lotto results api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/megamillionsandpowerballresult
- This document: https://apiclay.com/docs/megamillionsandpowerballresult.md
- OpenAPI 3.1: https://apiclay.com/api/megamillionsandpowerballresult/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `megamillionsandpowerballresult`
- Updated: 2026-11-18

## About

## Mega Millions and Powerball Results API

Winning numbers for the two US multi-state jackpot games as published by the New York State Gaming Commission on data.ny.gov: every Mega Millions draw with the five numbers and Mega Ball, and every Powerball draw with the numbers, multiplier and Double Play numbers, filterable and sortable by draw date.

Data comes from **data.ny.gov** (https://data.ny.gov). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/mega-millions?$order=draw_date DESC&amp;$limit=10`, or `$where=draw_date &gt;= '2026-01-01'`.

### Routes

#### GET `/mega-millions` - Mega Millions results
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| $limit | query | number | no | Rows (default 1000). |
| $order | query | string | no | e.g. `draw_date DESC`. |
| $where | query | string | no | SoQL filter, e.g. `draw_date &gt;= '2026-01-01'`. |

Returns: array of `draw_date`, `winning_numbers` (five numbers), `mega_ball`, `multiplier` (older draws).

#### GET `/powerball` - Powerball results
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| $limit | query | number | no | Rows (default 1000). |
| $order | query | string | no | e.g. `draw_date DESC`. |
| $where | query | string | no | SoQL filter. |

Returns: array of `draw_date`, `winning_numbers` (five numbers plus Powerball), `multiplier`, `double_play_winning_numbers`.

### Caveats

- Data is New York State open data; jackpot amounts and prize payouts are not included.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by data.ny.gov.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /mega-millions — Mega Millions results
- Gateway: `GET https://api.apiclay.com/v1/api/megamillionsandpowerballresult/mega-millions`
- Public query params: `$limit` (number), `$order` (string), `$where` (string)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /powerball — Powerball results
- Gateway: `GET https://api.apiclay.com/v1/api/megamillionsandpowerballresult/powerball`
- Public query params: `$limit` (number), `$order` (string), `$where` (string)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/megamillionsandpowerballresult/mega-millions" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
