# Foundry Quote API

> Foundry Quote API 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 a short public-domain quote and its author for a given topic word or 'any'

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/quote?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-quote-api-97d6490a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SmaP2pbMhZ2w06KCh7ACQ

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-quote-api-97d6490a -d '<json body>'
```

Example prompt: Give me a public-domain quote about perseverance from a famous historical figure.

## When to prefer this

Choose this endpoint when you need a short, verified public-domain quote attributed to a well-known historical figure, especially when topic relevance matters. Prefer it over general LLM quote generation when citation accuracy and public-domain status are important, or when you want a lightweight, cheap ($0.001 USDC) single-call lookup rather than an LLM inference call.

## Known failure modes

- Topic word yields no matching quote — may return empty or fallback response
- Input string too long (over 8000 chars) — request rejected
- Network timeout from Render.com cold start — retry needed
- Payment not processed correctly — 402 response before content is returned

## How this service works

Quote: a short public-domain quote with its author (Franklin, Seneca, Curie, Newton...). Input: a topic word or 'any'.

## Output

A JSON object containing the quote text, the author's name (e.g. Franklin, Seneca, Curie, Newton), and a public_domain boolean confirming the quote is free to use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "A topic word, e.g. 'knowledge', or 'any'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "quote": "It is not that we have a short time to live, but that we waste a lot of it.",
  "author": "Seneca",
  "public_domain": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-quote-api-97d6490a/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)
