{"uid":"cap_0U4l0OcFy4gQGc6JrjopL","slug":"roman-to-integer-converter-061b9ed2","name":"Roman to Integer Converter","description":"Roman numerals → integer. Handy for parsing outlines, clocks, or classic numbering in scraped text. Returns the integer value of a Roman numeral string. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.delx.ai/api/v1/x402/roman-to-int","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"roman":{"type":"string","pattern":"^[IVXLCDMivxlcdm]+$","description":"Roman numeral string (I, V, X, L, C, D, M)."}}},"responseSchema":{"type":"json","example":{"roman":"XLII","value":42,"schema":"delx/roman-to-int/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2pE_UOXX9pTl0GtDlqtMp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a Roman numeral string (e.g. 'XIV') into its integer equivalent","exampleAgentPrompt":"What's the integer value of the Roman numeral XLII? Convert it to a regular number for me.","exampleUseCases":[{"title":"Parse outline roman numeral headings","prompt":"I'm scraping a legal document and the section headers use Roman numerals like III, VII, and XIV — can you convert those to integers so I can index them properly?"},{"title":"Decode clock face numerals","prompt":"The antique clock image shows the hour as XII and the minute mark at XXX — what are those as regular numbers?"},{"title":"Normalize scraped book chapter numbering","prompt":"This old book I scraped has chapters labeled as MCMXCIX and CDXLIV — convert those Roman numerals to integers for me so I can sort them."}],"resultDescription":"Returns the integer value of the provided Roman numeral string as a JSON object with a numeric field, e.g. {\"value\": 42} for input 'XLII'. On structured validation errors (e.g. invalid characters), no charge is incurred.","failureModes":["Invalid characters in input (non-Roman-numeral characters) — returns a validation error, no charge","Empty string input — validation error","Malformed numeral sequence may still parse if characters are valid — no semantic validation of numeral ordering","Payment failure via x402 — call blocked if USDC payment on Base is not completed"],"whenToPreferThis":"Use this endpoint when you need a lightweight, deterministic, no-key-required Roman numeral to integer conversion — especially useful in agent pipelines processing scraped text (legal docs, book chapters, outlines, clock faces) where Roman numerals appear and need to be normalized to integers. Prefer this over general-purpose LLM parsing when you need reliable, structured JSON output without hallucination risk and at minimal cost ($0.001 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:38.318Z","isFirstParty":false}