# Marketing Contribution Return – Record Ranking

> Marketing Contribution Return – Record Ranking 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).

Ranks up to 200 records by calculated marketing contribution return, preserving original row indices and returning a formula, units, and limitations in JSON.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-marketing-return-rank?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-record-ranking-530b7874
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IuRjZn12rXysW3cFaysQ3

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-record-ranking-530b7874 -d '<json body>'
```

Example prompt: I have 5 marketing campaigns with different spends and attributed contributions — can you rank them by marketing contribution return? The spends are $5000, $5500, $6000, $4500, and $7000, and the attributed contributions are $8000, $8800, $9500, $7000, and $10500.

## When to prefer this

Choose this endpoint when you need to rank a batch of up to 200 marketing records by their calculated contribution return metric, with row indices preserved for downstream mapping. It is purpose-built for marketing contribution return specifically, not general ROI or other financial metrics. Prefer it over generic sorting tools when you need the formula, units, and limitations returned alongside the ranked output for auditability or downstream reporting.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 records required
- More than 200 rows supplied — maximum is 200 records
- marketing_spend is zero or negative — field requires exclusiveMinimum > 0
- Missing required fields (marketing_spend or attributed_contribution) in any row
- attributed_contribution out of allowed range (±1,000,000,000,000)
- marketing_spend exceeds maximum of 1,000,000,000,000
- Inconsistent currencies or time periods across rows produce misleading rankings — no validation is performed on consistency

## How this service works

Marketing contribution return - Record ranking: Rank up to 200 supplied records by calculated value, preserving row indices; higher is not necessarily better. 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 record ranking report.

## Output

A JSON response containing the input records re-ranked by computed marketing contribution return value (preserving original row indices), along with the formula used, the units of measurement, and a statement of limitations. Higher rank does not necessarily mean better performance — the formula and context are included so the agent can interpret results correctly.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "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
   },
   "default": [
    {
     "marketing_spend": 5000,
     "attributed_contribution": 8000
    },
    {
     "marketing_spend": 5500,
     "attributed_contribution": 8800
    },
    {
     "marketing_spend": 5000,
     "attributed_contribution": 8000
    },
    {
     "marketing_spend": 5500,
     "attributed_contribution": 8800
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marketing-contribution-return-record-ranking-530b7874/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)
