# Marketing Contribution Return – Distribution Histogram

> Marketing Contribution Return – Distribution Histogram 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-22).

Bins up to 200 marketing contribution return observations into equal-width histogram bins, returning bin edges, counts, formula, units, and limitations as JSON.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-marketing-return-histogram?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marketing-contribution-return-distribution-histogram-14f5e5e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Zu2b15-cjnJgT9GYR2QrC

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-distribution-histogram-14f5e5e9 -d '<json body>'
```

Example prompt: I have 120 campaign records with marketing spend and attributed contribution values — can you bin them into 10 equal-width histogram buckets and show me the distribution of marketing contribution returns, including the bin edges and counts?

## When to prefer this

Choose this endpoint when you need a statistical frequency distribution (histogram) of marketing contribution return values across a batch of campaign observations — particularly when you want equal-width bin edges explicitly defined for downstream charting or reporting. Prefer it over raw batch calculation endpoints when the goal is understanding the shape and spread of the return distribution rather than individual record outputs.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- More than 200 rows supplied — exceeds maximum input size
- marketing_spend value of 0 or negative — excluded by exclusiveMinimum constraint
- bins parameter outside 1–30 range — rejected by schema validation
- Missing required fields attributed_contribution or marketing_spend in any row — validation error
- Non-numeric values passed for spend or contribution — schema type mismatch

## How this service works

Marketing contribution return - Distribution histogram: Bin up to 200 calculated observations into equal-width bins, including edge definitions. 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 distribution histogram report.

## Output

A JSON response containing the histogram bin definitions (lower and upper edges for each equal-width bin), the observation count per bin, the formula used to compute marketing contribution return, the units, and any stated limitations of the calculation. Up to 30 bins can be requested across up to 200 input observations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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-distribution-histogram-14f5e5e9/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)
