# Agent Treats - Fun Fact Generator

> Agent Treats - Fun Fact Generator is a paid API for AI agents from agent-treats-production.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns a genuinely fascinating fun fact about science, history, nature, or the universe

## Facts

- Endpoint: GET https://agent-treats-production.up.railway.app/api/fact
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-treats-fun-fact-generator-5f482238
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3Ov8aKgKGlfSu5J-fyngd

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 agent-treats-fun-fact-generator-5f482238
```

Example prompt: Hey, can you pull up a genuinely fascinating fun fact — something surprising about science, history, nature, or the universe?

## When to prefer this

Choose this endpoint when you want a single, high-quality, engaging fun fact about science, history, nature, or the universe without needing to specify a topic. It's ideal for enriching user experiences, filling conversational moments, or generating educational trivia content automatically.

## Known failure modes

- Service unavailable if Railway deployment is down (5xx error)
- Payment not processed correctly via x402 protocol leading to 402 response
- Rate limiting if too many requests are made in quick succession

## How this service works

Genuinely fascinating fun fact about science, history, nature, or the universe.

## Output

A single, curated fun fact presented as text, covering topics in science, history, nature, or the universe — crafted to be genuinely surprising or thought-provoking.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-treats-fun-fact-generator-5f482238/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-treats-production.up.railway.app](https://www.zero.xyz/host/agent-treats-production.up.railway.app/llms.txt)
