# Synapse Random Joke API

> Synapse Random Joke API is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Returns a random joke with its text and category, paid per call via x402/USDC on Base

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/random-joke?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-random-joke-api-0de65184
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_92GXwLF05dwBXL1Je1RgT

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 synapse-random-joke-api-0de65184
```

Example prompt: Can you grab me a random joke right now? I want to use it as an icebreaker.

## When to prefer this

Choose this endpoint when you need a lightweight, no-auth, pay-per-call joke delivery with no account setup — ideal for agents that want to inject humor into responses occasionally without managing API keys or subscriptions. Best when you need a quick single joke with a category label.

## Known failure modes

- Payment not received or insufficient USDC balance — returns 402 Payment Required
- Network timeout or service unavailability on duckdns host — returns 5xx error
- Malformed request method (e.g. POST instead of GET) — returns 405 Method Not Allowed

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

A JSON object containing a 'joke' field with the full joke text and a 'category' field indicating the joke's type (e.g. 'tech'), returned immediately upon payment.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "joke": "Why do programmers prefer dark mode? Because light attracts bugs.",
  "category": "tech"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-random-joke-api-0de65184/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
