# Megapot Ticket Status Checker

> Megapot Ticket Status Checker is a free API for AI agents from Megapot at megapot.mpp.paysponge.com, Free, status unknown (last checked 2026-10-12).

Looks up the prize tier and payout amount for one or more Megapot lottery ticket IDs against a specific drawing.

## Facts

- Endpoint: POST https://megapot.mpp.paysponge.com/status?utm_source=zero.xyz
- Price: Free
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Provider: Megapot
- Docs: https://megapot.io
- Website: https://megapot.io
- Tags: lottery, gaming, tickets, base, agent-commerce, web, blockchain
- Canonical page: https://www.zero.xyz/c/megapot-status-85334b76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YtVatnqYMoW1NQXJzwc93

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability megapot-status-85334b76 -d '<json body>'
```

Example prompt: Check whether Megapot lottery tickets 1042, 1043, and 1044 won anything in the latest drawing, and tell me the prize tier and payout amount for each one.

## When to prefer this

Use this endpoint when you need to check lottery ticket results without ownership — it is a free, read-only on-chain lookup. Prefer this over any purchase endpoint when the goal is only to verify results or payouts for already-purchased tickets.

## Known failure modes

- Invalid or non-existent ticket IDs return no win status or an error
- Requesting more than 100 ticket IDs at once returns a validation error
- Specifying an invalid drawingId returns an error or empty results
- Network or on-chain RPC failure may cause a timeout or 5xx error

## How this service works

Returns the prize tier and payout amount for each ticket ID. Read-only on-chain lookup — no ownership required.

## Output

Returns an array of ticket results, each with a boolean indicating whether it won, the prize tier (0 = jackpot), and the payout amount in USDC base units. Also returns the drawing ID, total prize pool in USDC base units, and the drawing timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ticketIds"
 ],
 "properties": {
  "drawingId": {
   "type": "integer",
   "description": "Drawing ID to check against. Defaults to current drawing if omitted."
  },
  "ticketIds": {
   "type": "array",
   "items": {
    "type": "integer"
   },
   "maxItems": 100,
   "minItems": 1,
   "description": "Array of ticket IDs to check"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "success": {
   "type": "boolean",
   "example": true
  },
  "tickets": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "won": {
      "type": "boolean"
     },
     "tier": {
      "type": "integer",
      "description": "Prize tier (0 = jackpot)"
     },
     "payout": {
      "type": "string",
      "description": "Payout amount in USDC base units"
     },
     "ticketId": {
      "type": "string"
     }
    }
   }
  },
  "drawingId": {
   "type": "string"
  },
  "prizePool": {
   "type": "string",
   "description": "Total prize pool in USDC base units"
  },
  "drawingTime": {
   "type": "integer",
   "description": "Drawing timestamp (unix seconds)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/megapot-status-85334b76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from megapot.mpp.paysponge.com](https://www.zero.xyz/host/megapot.mpp.paysponge.com/llms.txt)
