# Roman Numeral Converter (agent402.tools)

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

Bidirectionally converts between integers (1–3999) and Roman numeral strings, auto-detecting the direction of conversion.

## Facts

- Endpoint: POST https://agent402.tools/api/roman
- 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-agent402-tools-9ec5085e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KVAhecMP-Dh1eknS5vS9s

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-agent402-tools-9ec5085e -d '<json body>'
```

Example prompt: What is 2024 in Roman numerals? Also, can you convert MCMXCIX back to an integer for me?

## When to prefer this

Use this endpoint when you need reliable bidirectional conversion between integers and Roman numerals with auto-detection. Ideal for formatting years, numbering chapters, or parsing historical/decorative numerals. Prefer this over custom logic when you need a simple, pay-per-call, no-setup API.

## Known failure modes

- Integer out of range (below 1 or above 3999) returns an error
- Invalid Roman numeral string that doesn't conform to standard notation returns an error
- Missing or null 'value' field returns a validation error
- Non-numeric string passed when an integer is expected returns an error

## How this service works

Convert an integer (1-3999) to Roman numerals, or a Roman numeral back to an integer. Auto-detects direction.

## Output

Returns the converted value: either the Roman numeral string representation of the input integer, or the integer value of the input Roman numeral string. The endpoint auto-detects which direction to convert based on the type of input provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "description": "Integer 1-3999 or a Roman numeral string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "MMXXIV"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/roman-numeral-converter-agent402-tools-9ec5085e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
