# penny402 Fortune Cookie with Lucky Numbers

> penny402 Fortune Cookie with Lucky Numbers is a paid API for AI agents from penny402.fun, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-14).

Returns a wallet-keyed fortune cookie message and six novelty lucky numbers (1–99), stable for the UTC day and refreshed at midnight, served from a pre-generated pool.

## Facts

- Endpoint: POST https://penny402.fun/fortune
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/penny402-fortune-cookie-with-lucky-numbers-84c3ad59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_itYLKAGoX7URX76UkRywy

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 penny402-fortune-cookie-with-lucky-numbers-84c3ad59 -d '<json body>'
```

Example prompt: Grab my daily fortune cookie from penny402 — I want today's fortune message and my six lucky numbers for my wallet.

## When to prefer this

Choose this endpoint when you want a wallet-personalized fortune cookie experience with lucky numbers for novelty or entertainment purposes, especially within x402-enabled agent workflows. It's pre-generated (no model latency), cheap at $0.0025, and deterministic per wallet per day — ideal for daily digest bots, onboarding moments, or fun user-facing features. Prefer sibling endpoints on penny402 for other formats (horoscope, koan, tarot card, roast, prophecy).

## Known failure modes

- Payment not received or invalid x402 payment header — returns 402 with pricing terms
- Malformed JSON body or body exceeding 4 KB — returns 400
- Server-side pool unavailable — rare 5xx error
- Incorrect Content-Type header — may return 400 or unexpected response

## How this service works

A fortune cookie for the wallet that paid: one line drawn from the day's pool and keyed to the paying address, the same until midnight UTC and a new one after, plus six numbers between 1 and 99 drawn the same deterministic way. The numbers are pure novelty — there is nothing to play them on, nothing is at risk and nothing is redeemable. They are the printed slip, not a mechanism. Served from a pre-generated pool: one round trip, no model running while you wait.

## Output

A JSON response containing one fortune cookie text line drawn from the day's pool and keyed to the paying wallet address (stable until midnight UTC, then refreshed), plus six numbers between 1 and 99 drawn deterministically the same way. The numbers are purely decorative novelty with no redemption mechanism.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "description": "a JSON body, up to 4 KB. This attraction takes no parameters — POST {} . Every attraction on penny402 is a flat $0.0025; the unpaid 402 carries those exact terms."
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "POST"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "format"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "text"
    },
    "format": {
     "type": "string",
     "const": "application/json",
     "description": "the attraction, as JSON, in the response body"
    },
    "example": {
     "description": "a sample response from the real code path"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/penny402-fortune-cookie-with-lucky-numbers-84c3ad59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from penny402.fun](https://www.zero.xyz/host/penny402.fun/llms.txt)
