# Foundry Dev Joke Generator

> Foundry Dev Joke Generator is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Returns one short, safe-for-work programming/developer joke per call given any text input

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/dev-joke?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-dev-joke-generator-f447d5b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mDgh81Lv1PtwqYIzo1h-x

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 foundry-dev-joke-generator-f447d5b4 -d '<json body>'
```

Example prompt: Tell me a short, safe-for-work programming joke — something a developer would appreciate.

## When to prefer this

Choose this endpoint when you need a single, quick, safe-for-work programming or developer joke with minimal setup — ideal for chatbots, newsletters, Slack bots, or any lightweight humor injection in a developer-facing context. Prefer it over general joke APIs when you specifically want developer/programming-themed humor that is guaranteed workplace-safe. Best for agents that need to add levity to technical conversations or content without risking inappropriate material.

## Known failure modes

- Input text missing or malformed — endpoint may return an error if the request body is not valid JSON
- Service unavailable on Render cold start — first call after idle period may time out or return a 502
- Payment failure — x402 micropayment of 0.001 USDC not processed, resulting in a 402 response
- Rate limiting — too many rapid successive calls may be throttled
- Duplicate jokes — no guarantee of uniqueness across sequential calls

## How this service works

Programming joke: one short, safe-for-work developer joke per call. Input: any text.

## Output

A JSON object containing a numeric joke ID, the joke text as a string, the category (e.g. 'programming'), and a boolean safe_for_work flag confirming the content is workplace-appropriate.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "Any text, e.g. 'any'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": 5,
  "joke": "I would tell you a UDP joke, but you might not get it.",
  "category": "programming",
  "safe_for_work": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-dev-joke-generator-f447d5b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
