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-acquisition-cost-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-acquisition-cost-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.
marketing_spend· number · required- Enter the marketing spend used by this tool.
sales_spend· number · required- Enter the sales spend used by this tool.
tools_and_agency_costs· number · required- Enter the tools and agency costs used by this tool.
new_customers· number · required- Enter the new customers acquired used by this tool.
{
"type": "object",
"properties": {
"marketing_spend": {
"type": "number",
"description": "Enter the marketing spend used by this tool.",
"minimum": 0
},
"sales_spend": {
"type": "number",
"description": "Enter the sales spend used by this tool.",
"minimum": 0
},
"tools_and_agency_costs": {
"type": "number",
"description": "Enter the tools and agency costs used by this tool.",
"minimum": 0
},
"new_customers": {
"type": "number",
"description": "Enter the new customers acquired used by this tool.",
"minimum": 1
}
},
"required": [
"marketing_spend",
"sales_spend",
"tools_and_agency_costs",
"new_customers"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
total_acquisition_spend· number- Total acquisition spend produced by the tool.
customer_acquisition_cost· number- Customer acquisition cost produced by the tool.
marketing_cac· number- Marketing-only CAC produced by the tool.
customers_per_1000· number- Customers per $1,000 produced by the tool.
{
"type": "object",
"properties": {
"total_acquisition_spend": {
"type": "number",
"description": "Total acquisition spend produced by the tool."
},
"customer_acquisition_cost": {
"type": "number",
"description": "Customer acquisition cost produced by the tool."
},
"marketing_cac": {
"type": "number",
"description": "Marketing-only CAC produced by the tool."
},
"customers_per_1000": {
"type": "number",
"description": "Customers per $1,000 produced by the tool."
}
},
"additionalProperties": false
}
Customer Acquisition Cost 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-acquisition-cost-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"marketing_spend": 40000,
"sales_spend": 25000,
"tools_and_agency_costs": 5000,
"new_customers": 325
}'
{
"ok": true,
"data": {
"slug": "customer-acquisition-cost-calculator",
"result": {
"values": {
"total_acquisition_spend": 70000,
"customer_acquisition_cost": 215.3799999999999954525264911353588104248046875,
"marketing_cac": 123.0799999999999982946974341757595539093017578125,
"customers_per_1000": 4.64285700000000023379698177450336515903472900390625
},
"display": {
"display": "70000"
},
"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.