Overview
- Category
- Finance
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/customer-lifetime-value-calculator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/customer-lifetime-value-calculator/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
average_order_value· number · required- Enter the average order value used by this tool.
purchases_per_year· number · required- Enter the purchases per year used by this tool.
gross_margin· number · required- Enter the gross margin used by this tool.
annual_churn_rate· number · required- Enter the annual churn rate used by this tool.
acquisition_cost· number · required- Enter the customer acquisition cost used by this tool.
{
"type": "object",
"properties": {
"average_order_value": {
"type": "number",
"description": "Enter the average order value used by this tool.",
"minimum": 0
},
"purchases_per_year": {
"type": "number",
"description": "Enter the purchases per year used by this tool.",
"minimum": 0
},
"gross_margin": {
"type": "number",
"description": "Enter the gross margin used by this tool."
},
"annual_churn_rate": {
"type": "number",
"description": "Enter the annual churn rate used by this tool."
},
"acquisition_cost": {
"type": "number",
"description": "Enter the customer acquisition cost used by this tool.",
"minimum": 0
}
},
"required": [
"average_order_value",
"purchases_per_year",
"gross_margin",
"annual_churn_rate",
"acquisition_cost"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
estimated_lifespan_years· number- Estimated customer lifespan produced by the tool.
lifetime_revenue· number- Lifetime revenue produced by the tool.
customer_lifetime_value· number- Gross-margin lifetime value produced by the tool.
ltv_to_cac_ratio· number- LTV to CAC ratio produced by the tool.
value_after_cac· number- Value after CAC produced by the tool.
{
"type": "object",
"properties": {
"estimated_lifespan_years": {
"type": "number",
"description": "Estimated customer lifespan produced by the tool."
},
"lifetime_revenue": {
"type": "number",
"description": "Lifetime revenue produced by the tool."
},
"customer_lifetime_value": {
"type": "number",
"description": "Gross-margin lifetime value produced by the tool."
},
"ltv_to_cac_ratio": {
"type": "number",
"description": "LTV to CAC ratio produced by the tool."
},
"value_after_cac": {
"type": "number",
"description": "Value after CAC produced by the tool."
}
},
"additionalProperties": false
}
Customer Lifetime Value Calculator example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/customer-lifetime-value-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"average_order_value": 120,
"purchases_per_year": 8,
"gross_margin": 65,
"annual_churn_rate": 20,
"acquisition_cost": 150
}'
{
"ok": true,
"data": {
"slug": "customer-lifetime-value-calculator",
"result": {
"values": {
"estimated_lifespan_years": 5,
"lifetime_revenue": 4800,
"customer_lifetime_value": 3120,
"ltv_to_cac_ratio": 20.800000000000000710542735760100185871124267578125,
"value_after_cac": 2970
},
"display": {
"display": "5"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.