# LuckyMint Single Token Mint

> LuckyMint Single Token Mint is a paid API for AI agents from www.luckymint.xyz, paid per call via x402, $1/call, status unknown (last checked 2026-09-15).

Mints 1 reward token with probabilistic chances for a cost refund or jackpot win, paid via x402 at $1 USDC per call

## Facts

- Endpoint: POST https://www.luckymint.xyz/api/mint
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/www-luckymint-xyz-3e81dd5b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tRkBd434b15AEHnw-hryz

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 www-luckymint-xyz-3e81dd5b -d '<json body>'
```

Example prompt: I want to try my luck on LuckyMint — go ahead and mint 1 reward token for $1 USDC and let me know if I get a refund or hit the jackpot.

## When to prefer this

Choose this endpoint when you want a single low-cost ($1 USDC) probabilistic token mint with on-chain verification and the excitement of refund/jackpot outcomes. Prefer this over the 10-token bulk sibling endpoint when you want a single trial or have limited budget. Best for agents exploring gamified reward mechanics or on-chain lucky draws.

## Known failure modes

- Payment not provided or insufficient USDC — transaction rejected
- Blockchain congestion or RPC failure causing mint transaction to fail
- Smart contract error resulting in success: false with no tokens issued
- Network timeout before transaction confirmation, leaving state uncertain
- Invalid or malformed POST request body

## How this service works

🎰 LuckyMint: Mint 1 reward token with chances for refunds and jackpots!

## Output

Returns a mint result object containing: a unique mintId, the number of tokens received, a random seed used for the draw, a success boolean, a refunded boolean indicating if the $1 USDC cost was refunded as a bonus, a jackpotWon boolean, the jackpotAmount if won, and the on-chain transaction hash confirming the mint.

## Example request

```json
{
 "cost": 1,
 "amount": 1,
 "currency": "USDC",
 "notifyEmail": "zero-qa@agentmail.to"
}
```

## Response schema (JSON Schema)

```json
{
 "input": {
  "type": "http",
  "method": "POST"
 },
 "output": {
  "seed": {
   "type": "string",
   "description": "Random seed used for the mint"
  },
  "mintId": {
   "type": "number",
   "description": "Unique mint ID"
  },
  "tokens": {
   "type": "string",
   "description": "Number of tokens received"
  },
  "success": {
   "type": "boolean",
   "description": "Whether the mint was successful"
  },
  "refunded": {
   "type": "boolean",
   "description": "Whether a bonus refund was given"
  },
  "jackpotWon": {
   "type": "boolean",
   "description": "Whether the jackpot was won"
  },
  "jackpotAmount": {
   "type": "string",
   "description": "Jackpot amount if won"
  },
  "transactionHash": {
   "type": "string",
   "description": "Blockchain transaction hash"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/www-luckymint-xyz-3e81dd5b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.luckymint.xyz](https://www.zero.xyz/host/www.luckymint.xyz/llms.txt)
