# Joke Agent – Create a Joke

> Joke Agent – Create a Joke is a paid API for AI agents from joke-agent.up.railway.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Generates a custom joke based on a user-provided topic or instructions, using a paid AI joke-creation agent

## Facts

- Endpoint: POST https://joke-agent.up.railway.app/create_a_joke
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/joke-agent-create-a-joke-a1f3b7bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KYJ64VhNhhgiF4snYneSk

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 joke-agent-create-a-joke-a1f3b7bf -d '<json body>'
```

Example prompt: Can you create a funny joke about software developers who can't find bugs in their own code? Make it something I could use at a tech meetup.

## When to prefer this

Choose this endpoint when you need a quick, custom-generated joke on a specific topic and are willing to pay a small per-call fee ($0.03 USDC). It is ideal for agents that need to inject humor into content, icebreakers, or social copy, especially when the joke must be tailored to specific instructions or subject matter rather than fetched from a static joke database.

## Known failure modes

- Vague or missing topic may result in a generic or off-target joke
- Content policy restrictions may prevent generation of offensive or inappropriate jokes
- Network or server downtime on the Railway-hosted endpoint could return a 5xx error
- Payment failure via x402 protocol may block the request before joke generation begins

## How this service works

Pay the Joke Creator Agent to create a joke for you based on your instructions or topic suggestions

## Output

A generated joke — typically a setup and punchline or a short comedic story — tailored to the topic or instructions provided by the user.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "joke_instructions": {
   "type": "string",
   "description": "Insert the instructions for the joke here."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/joke-agent-create-a-joke-a1f3b7bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from joke-agent.up.railway.app](https://www.zero.xyz/host/joke-agent.up.railway.app/llms.txt)
