# ApexAPI AI Joke Generator

> ApexAPI AI Joke Generator is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.189536/call, status unknown (last checked 2026-09-14).

Generates an AI-powered joke based on a user-provided query or topic

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/joke
- Price: $0.189536/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-ai-joke-generator-4b71afe7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UQgBMX48-4upvi7305gcP

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 apexapi-ai-joke-generator-4b71afe7 -d '<json body>'
```

Example prompt: Tell me a funny joke about programmers — something clever and tech-themed.

## When to prefer this

Choose this endpoint when you need a quick, on-demand AI-generated joke on a specific topic and are comfortable paying per call in USDC with no API key setup. Ideal for agents embedding humor into responses, presentations, or conversational flows.

## Known failure modes

- Empty or missing query parameter returns a generic or error response
- Overly broad query may produce a generic joke not well-targeted to the topic
- Service may return a 402 Payment Required if USDC payment is not attached
- Network or server errors may result in a 500 response with no joke content

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns an AI-generated joke, likely including a setup and punchline, themed around the provided query or topic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-ai-joke-generator-4b71afe7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
