# ForgeMesh Random Fortune Generator

> ForgeMesh Random Fortune Generator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Generates a unique one-line fortune paired with a lucky number and lucky HTTP status code on every call, while serving as a minimal-cost x402 payment integration test.

## Facts

- Endpoint: POST https://x402.forgemesh.io/random-fortune-generator
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-random-fortune-generator-6deb4ffa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DEwvc15o2yh_p-dqjB91N

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 forgemesh-random-fortune-generator-6deb4ffa -d '<json body>'
```

Example prompt: Give me a fresh fortune along with my lucky number — I want to test that my x402 payment wallet is wired up correctly with the cheapest possible real call.

## When to prefer this

Choose this endpoint when you need the cheapest possible real x402 micropayment to smoke-test a wallet or payment integration before committing to pricier calls. Also use it when you need a fun, never-repeating one-line fortune or lucky number for entertainment or content purposes.

## Known failure modes

- Payment failure if wallet has insufficient USDC balance (HTTP 402)
- Network timeout or service unavailability returns 5xx error
- Malformed request body may return 400 Bad Request
- Fortune uniqueness not guaranteed across extremely high call volumes

## How this service works

Random fortune generator: returns a freshly written one-line fortune every call, paired with a lucky number and a lucky HTTP status code for good measure. Priced as the cheapest possible test payment, it doubles as a simple way to confirm a wallet or payment integration is wired up correctly before moving to pricier endpoints. No two calls repeat the same fortune.

## Output

A unique one-line fortune string, a lucky number, and a lucky HTTP status code — guaranteed not to repeat the same fortune across calls. Useful both as entertaining content and as a low-cost confirmation that an x402 payment integration is functioning.

## 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",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fortune": "He who retries with exponential backoff prospers.",
  "lucky_number": 42,
  "lucky_http_status": 402
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-random-fortune-generator-6deb4ffa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
