{"uid":"cap_x9CqvAHs1sXvfMXGK1COJ","slug":"roman-numeral-converter-api-aff1f1c2","name":"Roman Numeral Converter API","description":"Convert integers (1-3999) to Roman numerals and Roman numerals back to integers, with strict validation.","url":"https://api.24klabs.ai/api/roman-numeral","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"number"}}},"responseSchema":{"type":"json","example":{"input":2024,"roman":"MMXXIV","integer":2024,"direction":"int-to-roman"}},"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_vEgudG9ItmKYTvm8Flvs1","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 integers (1–3999) to Roman numeral strings and Roman numeral strings back to integers, with strict input validation.","exampleAgentPrompt":"Convert the number 1999 to Roman numerals and also convert XIV back to an integer — I need both directions checked.","exampleUseCases":[{"title":"Year formatted as Roman numerals","prompt":"What is the year 2024 written as a Roman numeral?"},{"title":"Decode Roman numeral on a monument","prompt":"I found the inscription MDCCCXLVII on a building — what year does that translate to as a regular number?"},{"title":"Validate Roman numeral user input","prompt":"A user typed 'IIII' as a Roman numeral — is that a valid Roman numeral and what integer does it represent?"}],"resultDescription":"Returns the converted value (either a Roman numeral string or an integer) along with validation status. If the input is out of range or malformed, returns a structured error indicating why validation failed.","failureModes":["Integer out of range (below 1 or above 3999) — returns validation error","Malformed Roman numeral string (invalid characters or illegal sequences) — returns validation error","Empty or null input — returns validation error","Non-integer float passed as number — may return validation error"],"whenToPreferThis":"Use this endpoint when you need a reliable, strictly validated bidirectional Roman numeral conversion — especially when you need to handle both integer→Roman and Roman→integer in a single service, or when strict OWASP-style validation and error messaging is important. Prefer over rolling your own conversion logic when accuracy, edge-case handling (e.g. IIII vs IV), and consistency matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:59:04.450Z","isFirstParty":false}