Calculadoras

Calcula quanto um gasto recorrente viraria se fosse investido. Ex: café de R$10/dia → quanto dá em 10 anos investido.

post/v1/calc/opportunity-cost

Request

  • Base URL: https://api.falazuki.com
  • URL: https://api.falazuki.com/v1/calc/opportunity-cost
  • Auth: none declared

Request body

daily_expensenumber required

Gasto diário em R$

annual_returnnumber

Retorno anual do investimento (%, padrão 10%)

yearsinteger

Período em anos

Response

Resultado do cálculo

currencystring

Example response

{
  "currency": "BRL"
}

Changes

No recorded changes to this operation across all 1 revision of this API.