UFlow Cloud
UFLOW

Calculators

BMI, loan, discount, percentage, age, date, and currency calculators.

Calculator endpoints are typed JSON-in/JSON-out. Every option is a number in opts.

POST/api/tool/bmi-calculator
Pass height (cm) and weight (kg). Returns BMI value and WHO category.
Request
{ "height": 170, "weight": 65 }
POST/api/tool/percentage-calculator
Pass a and b. Returns { percentOf, isWhatPercent, percentChange }.
POST/api/tool/age-calculator
Pass birthday (YYYY-MM-DD). Returns years/months/days/totalDays.
POST/api/tool/timestamp-converter
Set mode=to-epoch with ISO input to get seconds, or mode=from-epoch with numeric input for an ISO date.

Other calculators/generators

  • uuid-generator
  • password-generator (opts.length, opts.symbols)
  • random-number-generator (opts.min, opts.max)
  • lorem-ipsum-generator (opts.paragraphs)
  • binary-converter (opts.from, opts.to)
  • roman-numerals (opts.mode)
  • whatsapp-link (opts.phone, opts.message)