# Marketing Contribution Return – Before/After Comparison

> Marketing Contribution Return – Before/After Comparison is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Compares two marketing contribution return records (before and after), reporting absolute and eligible relative changes with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-marketing-return-compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marketing-contribution-return-before-after-comparison-effe9591
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_THn7_aGcWeqcNQZS4YNka

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability marketing-contribution-return-before-after-comparison-effe9591 -d '<json body>'
```

Example prompt: Compare my marketing contribution return before and after: before I had a marketing spend of $5,000 and attributed contribution of $8,000, and after I had a marketing spend of $5,500 and attributed contribution of $8,800 — give me the absolute and relative change with the formula used.

## When to prefer this

Choose this endpoint when you have exactly two data points — a before and after snapshot — and need a structured, formula-backed comparison of marketing contribution return with absolute and relative change. It is purpose-built for period-over-period or scenario-based marketing return comparisons, not for batch ranking, distribution analysis, or rolling averages (use sibling endpoints for those).

## Known failure modes

- marketing_spend of zero or negative causes validation error (exclusiveMinimum:0)
- missing required fields (marketing_spend or attributed_contribution) in either before or after object returns error
- values exceeding max bounds (1,000,000,000,000) rejected
- mismatched currencies or periods not detected — garbage-in garbage-out
- network or payment failure returns no result

## How this service works

Marketing contribution return - Before and after comparison: Compare two supplied records, reporting absolute and eligible relative changes. Metric: Marketing contribution return. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded before and after comparison report.

## Output

A JSON object containing the calculated marketing contribution return for both the before and after records, the absolute change between them, the eligible relative change, the formula applied, the units used, and stated limitations of the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "marketing_spend": 5500,
    "attributed_contribution": 8800
   },
   "required": [
    "attributed_contribution",
    "marketing_spend"
   ],
   "properties": {
    "marketing_spend": {
     "type": "number",
     "default": 5000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period",
     "exclusiveMinimum": 0
    },
    "attributed_contribution": {
     "type": "number",
     "default": 8000,
     "maximum": 1000000000000,
     "minimum": -1000000000000,
     "description": "Amount in a consistent supplied currency and reporting period"
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "marketing_spend": 5000,
    "attributed_contribution": 8000
   },
   "required": [
    "attributed_contribution",
    "marketing_spend"
   ],
   "properties": {
    "marketing_spend": {
     "type": "number",
     "default": 5000,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period",
     "exclusiveMinimum": 0
    },
    "attributed_contribution": {
     "type": "number",
     "default": 8000,
     "maximum": 1000000000000,
     "minimum": -1000000000000,
     "description": "Amount in a consistent supplied currency and reporting period"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marketing-contribution-return-before-after-comparison-effe9591/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
