Skip to content

IndepAI API Documentation

Build financial independence tools with our comprehensive API

IndepAI provides a powerful API for building financial independence (FIRE) applications. Calculate FI timelines, analyze portfolio health, explore geo-arbitrage opportunities, and more.

FI Calculator

Calculate your path to financial independence with our advanced calculator that considers income, expenses, savings rate, and investment returns.

Portfolio Health

Get a comprehensive health score for any investment portfolio, with actionable recommendations for improvement.

Geo-Arbitrage

Compare cost of living, quality of life, and tax implications across 100+ cities worldwide.

MCP Connection

Connect AI tools to IndepAI data via the Model Context Protocol. Learn more.

Terminal window
curl -X POST https://indepai.app/api/v1/calculator \
-H "Content-Type: application/json" \
-d '{
"currentAge": 32,
"annualIncome": 72000,
"annualExpenses": 36000,
"currentSavings": 150000
}'
{
"success": true,
"data": {
"fiNumber": 900000,
"yearsToFI": 12,
"fiAge": 44,
"savingsRate": 50,
"monthlySavings": 3000
}
}
  • RESTful API - Clean, predictable endpoints
  • Zod Validation - Type-safe request validation
  • OpenAPI 3.1 - Interactive documentation
  • Rate Limiting - Fair usage with clear limits
  • Multi-currency - Support for global users