Catalog/budget-50-30-20

Calculators

50/30/20 budget allocator API

Allocate after-tax income into Needs (50%), Wants (30%), and Savings (20%) per the Warren 50/30/20 rule, comparing against actuals when provided to flag whether you're on track. Answers 'how to split $5000 with 50/30/20', 'how much for wants this month', 'am I over budget on needs'.

Price$0.01per request
MethodPOST
Route/v1/calc/budget-50-30-20
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
budget50-30-20allocationneedswantssavingscalculatormoney
API URLhttps://x402.hexl.dev/v1/calc/budget-50-30-20
Integration docs
Example request
{
  "afterTaxIncome": 5000
}
Example response
{
  "afterTaxIncome": 5000,
  "targetNeeds": 2500,
  "targetWants": 1500,
  "targetSavings": 1000,
  "rule": "50/30/20 (needs/wants/savings)"
}
Input schema
{
  "type": "object",
  "required": [
    "afterTaxIncome"
  ],
  "properties": {
    "afterTaxIncome": {
      "type": "number",
      "description": "Monthly after-tax income in dollars",
      "examples": [
        5000
      ]
    },
    "needs": {
      "type": "number",
      "description": "Actual needs spend in dollars",
      "examples": [
        2500
      ]
    },
    "wants": {
      "type": "number",
      "description": "Actual wants spend in dollars",
      "examples": [
        1500
      ]
    },
    "savings": {
      "type": "number",
      "description": "Actual savings in dollars",
      "examples": [
        1000
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}