{
  "tool_id": "cagr_calculator",
  "slug": "cagr-calculator",
  "path": "/cagr-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/cagr-calculator/?<params>",
  "sample_input": {
    "tool": "cagr",
    "start_value": 10000,
    "end_value": 25000,
    "years": 5
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "start_value": {
        "type": "integer"
      },
      "end_value": {
        "type": "integer"
      },
      "years": {
        "type": "integer"
      }
    },
    "required": [
      "tool",
      "start_value",
      "end_value",
      "years"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "cagr": {
        "type": "number"
      },
      "totalReturnPercent": {
        "type": "number"
      },
      "doublingTimeExact": {
        "type": "number"
      },
      "doublingTimeRule72": {
        "type": "number"
      },
      "absoluteGain": {
        "type": "number"
      },
      "timeline": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "year": {
              "type": "number"
            },
            "value": {
              "type": "number"
            }
          }
        }
      },
      "warnings": {
        "type": "array",
        "items": {}
      }
    }
  }
}
