29trust / 100

Converters Roman Numeral Converter

by AgentTools in Documents & files

x402 APIFailing, checked 1 h ago

Convert numbers to Roman numerals (1–3999) and Roman numerals back to numbers, with strict validation that rejects non-standard forms like IIIM or VX. Use this when an agent needs to numbers ↔ Roman numerals, with validation.

GET https://agenttools-hub.vercel.app/api/v1/converters/roman-numeral-converter

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
13.3%
Response time
137 ms typical, 137 ms slowest 5%
Last check
1 h ago: Expected HTTP 402, got 308
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/converters/roman-numeral-converter?op=to_roman&value=2026"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Fconverters%2Froman-numeral-converter
const res = await pay("https://agenttools-hub.vercel.app/api/v1/converters/roman-numeral-converter?op=to_roman&value=2026");
console.log(await res.json());

Example input

{
  "op": "to_roman",
  "value": "2026"
}

Example output

{
  "result": {
    "answer": "MMXXVI",
    "answerLabel": "2026 in Roman numerals",
    "details": [
      {
        "label": "System",
        "value": "Standard subtractive notation (IV, IX, XL, XC, CD, CM)"
      }
    ],
    "steps": [
      "Greedy match from M (1000) down to I (1)",
      "2026 → MMXXVI"
    ],
    "value": 2026
  },
  "tool": "roman-numeral-converter"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoExpected HTTP 402, got 30830827 ms-
6 h agoExpected HTTP 402, got 308308136 ms-
10 h agoExpected HTTP 402, got 30830890 ms-
14 h agoExpected HTTP 402, got 30830853 ms-
18 h agoExpected HTTP 402, got 308308101 ms-
22 h agoExpected HTTP 402, got 308308141 ms-
26 h agoExpected HTTP 402, got 30830876 ms-
30 h agoExpected HTTP 402, got 30830849 ms-
34 h agoExpected HTTP 402, got 30830899 ms-
39 h agoExpected HTTP 402, got 30830893 ms-
43 h agoExpected HTTP 402, got 30830847 ms-
47 h agoExpected HTTP 402, got 30830812 ms-
2 days agoExpected HTTP 402, got 30830845 ms-
2 days agoPassed402226 ms$0.002
2 days agoPassed402137 ms$0.002