API Almanac
API reference › Numbers

Convert between integers (1–3999) and Roman numerals

GET/v1/numbers/roman

GET/v1/numbers/roman

Convert between integers (1–3999) and Roman numerals

Give n to encode or roman to decode.

PARAMETERS
nquery · integer
Integer to encode
e.g. 1994
romanquery · string
Numeral to decode
e.g. MCMXCIV
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/numbers/roman" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "n": 1994,
  "roman": "MCMXCIV"
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.