# DataVault Joke Generator

> DataVault Joke Generator is a paid API for AI agents from zetdatavault.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches a joke on demand, with optional category filtering and safe-mode toggle

## Facts

- Endpoint: POST https://zetdatavault.vercel.app/api/joke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-joke-generator-4cbbc1ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wugyMqnaKW55m2BjYP0My

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 datavault-joke-generator-4cbbc1ce -d '<json body>'
```

Example prompt: Tell me a funny joke from the 'programming' category — make sure it's safe for work.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call joke with optional category filtering and a safe-mode toggle, especially within the DataVault ecosystem where USDC micropayments on Base are already set up.

## Known failure modes

- Invalid category string returns empty or error response
- No jokes available for the requested category
- Payment failure via x402 returns 402 status
- Malformed request body returns 400 error

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

A JSON object with a success boolean and a data object containing the joke content returned by the endpoint.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "safe": {
   "type": "boolean"
  },
  "category": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-joke-generator-4cbbc1ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
