Catalog/mkt-cpa

Calculators

CPA / cost-per-acquisition calculator API

Compute CPA = spend / conversions, or derive any missing leg from the other two. The core acquisition-efficiency metric. Answers 'what's my cost per acquisition','how many conversions for this budget at this CPA'.

Price$0.01per request
MethodPOST
Route/v1/calc/mkt-cpa
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcmarketingcpaacquisitionconversionscplspendmetrics
API URLhttps://x402.hexl.dev/v1/calc/mkt-cpa
Integration docs
Example request
{
  "spend": 4500,
  "conversions": 90
}
Example response
{
  "formula": "CPA = spend / conversions",
  "spend": 4500,
  "conversions": 90,
  "cpa": 50
}
Input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "spend": {
      "type": "number",
      "examples": [
        4500
      ]
    },
    "conversions": {
      "type": "number",
      "examples": [
        90
      ]
    },
    "cpa": {
      "type": "number",
      "description": "cost per acquisition",
      "examples": [
        50
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}