Calculate FI Timeline
POST /api/v1/calculator
Calculate your Financial Independence timeline based on income, expenses, and savings. This is a public endpoint that does not require authentication but has stricter rate limits.
Request Body
Section titled “Request Body ”object
Current age in years
Example
32Annual gross income in base currency
Example
72000Annual expenses in base currency
Example
36000Current total savings/investments in base currency
Example
150000Safe withdrawal rate percentage (default: 4%)
Example
4Expected annual return percentage (default: 7%)
Example
7Expected annual inflation rate percentage (default: 2%)
Example
2Optional email to associate with the calculation result
Example
user@example.comWhether to save the result for analytics (default: true)
Example
trueResponses
Section titled “ Responses ”FI calculation successful
object
Indicates successful calculation
object
Target FI amount (annual expenses × FI multiplier)
Example
900000Years until FI is reached
Example
12Projected date of reaching FI
Example
2036-01-15T00:00:00ZAge at which FI will be reached
Example
44Monthly savings amount
Example
3000Annual savings amount
Example
36000Current savings rate percentage (0-100)
Example
50Current progress toward FI percentage (0-100)
Example
16.7Year-by-year wealth projections
object
Year number (0 = current year)
Age at this year
Example
32Projected net worth at end of year
Example
150000Cumulative contributions
Example
150000Cumulative investment gains
Percentage progress toward FI Number
Example
16.7Whether FI has been reached this year
Input parameters used for calculation
object
object
Response timestamp
API version
Example
1.0Validation error
object
Always false for error responses
Error type
Example
Validation errorMachine-readable error code
Example
VALIDATION_ERRORDetailed validation errors
object
Path to the invalid field
Example
currentAgeError message
Example
Must be between 18 and 100Rate limit exceeded
object
Always false for error responses
Error type
Example
Validation errorMachine-readable error code
Example
VALIDATION_ERRORDetailed validation errors
object
Path to the invalid field
Example
currentAgeError message
Example
Must be between 18 and 100