# Marketing Contribution Return – Ordered Trend Analysis

> Marketing Contribution Return – Ordered Trend Analysis 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).

Fits a descriptive straight-line (OLS) trend to up to 200 equally-spaced marketing contribution return observations and returns the formula, units, and limitations in JSON.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-marketing-return-trend?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-ordered-trend-analysis-e52a142c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4djoFNBfwpbbJQ8EDbYdL

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-ordered-trend-analysis-e52a142c -d '<json body>'
```

Example prompt: I have 8 periods of marketing data — spend was 5000, 5500, 6000, 6200, 5800, 6500, 7000, 7200 and attributed contribution was 8000, 8800, 9500, 9700, 9200, 10100, 11000, 11500. Can you fit a straight-line trend to these marketing contribution return figures and tell me the formula and slope?

## When to prefer this

Choose this endpoint when you need a simple, auditable straight-line trend summary of historical marketing contribution return data for up to 200 equally-spaced periods. It is ideal for descriptive reporting and board presentations where a formula and slope are needed but no forecast or live data feed is required. Prefer alternatives if you need multi-variable regression, forecasting beyond the supplied data, or correlation against a benchmark series.

## Known failure modes

- Fewer than 2 rows supplied — minimum observation count not met
- marketing_spend value of zero or below — exclusiveMinimum violated
- More than 200 rows supplied — exceeds maxItems limit
- Non-numeric values passed for marketing_spend or attributed_contribution
- Payment not completed or insufficient USDC — request rejected

## How this service works

Marketing contribution return - Ordered trend analysis: Fit a descriptive straight-line trend to up to 200 equally spaced supplied observations; no forecast. 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 ordered trend analysis report.

## Output

A JSON object containing the fitted straight-line trend formula (slope and intercept), units of the inputs and outputs, and explicit limitations of the descriptive trend analysis — no forecast values, no financial advice.

## 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-ordered-trend-analysis-e52a142c/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)
