# Roman Numeral Converter

> Roman Numeral Converter is a paid API for AI agents from x402-zoo.lolagent.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts integers to canonical Roman numerals or Roman numerals back to integers via a GET request.

## Facts

- Endpoint: GET https://x402-zoo.lolagent.workers.dev/api/roman-numerals
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/roman-numeral-converter-5f84c1fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7BvCnhLkFFPo2zKCZpy8n

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 roman-numeral-converter-5f84c1fa
```

Example prompt: What is 2024 in Roman numerals? Convert the integer 2024 to its canonical Roman numeral representation.

## When to prefer this

Use this endpoint when you need a quick, reliable bidirectional conversion between integers and canonical Roman numerals — ideal for formatting years, numbering systems in design, decoding historical inscriptions, or puzzle/game logic. Prefer it over manual lookup or general LLM-based conversion when you need guaranteed canonical form.

## Known failure modes

- Integer out of valid Roman numeral range (typically 1–3999) returns an error
- Invalid Roman numeral string input causes a parsing error
- Missing required 'value' query parameter returns a bad request error
- Non-numeric string passed when integer expected returns a validation error

## How this service works

Convert integers to canonical Roman numerals or Roman numerals back to integers.

## Output

Returns the converted value: if given an integer, returns the canonical Roman numeral string (e.g., 2024 → MMXXIV); if given a Roman numeral string, returns the corresponding integer.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/roman-numeral-converter-5f84c1fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-zoo.lolagent.workers.dev](https://www.zero.xyz/host/x402-zoo.lolagent.workers.dev/llms.txt)
