# Source Diversity Daily Sum Series & Secondary-Measure Weighted Mean

> Source Diversity Daily Sum Series & Secondary-Measure Weighted Mean 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-24).

Computes a daily sum time series and a secondary-measure weighted mean for supplied source diversity records (source_count, outlet_count) across channel groups.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-news-17-142?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/source-diversity-daily-sum-series-secondary-measure-weighted-mean-995f0b98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C1DGrt6tHEslbmXXr6h_I

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 source-diversity-daily-sum-series-secondary-measure-weighted-mean-995f0b98 -d '<json body>'
```

Example prompt: I have a batch of source diversity records for my news channels — can you compute the daily sum series and the outlet_count weighted mean for these rows: row-1 on 2026-10-01 with source_count=10, outlet_count=1 in group-a; row-2 on 2026-10-02 with source_count=20, outlet_count=2 in group-b; using outlet_count as the primary field?

## When to prefer this

Choose this endpoint when you have already-collected source diversity records (source_count, outlet_count) and need two specific analytical outputs — a daily sum time series and a weighted mean — computed locally without any external lookup or live data fetch. It is ideal for offline or batch analytical pipelines processing up to 200 rows of news diversity data where the cost of $0.01 USDC per dual-report call is acceptable and you want both aggregations in a single API call.

## Known failure modes

- Empty or missing rows array returns an error
- More than 200 rows submitted exceeds the limit and will be rejected
- Invalid date format (not YYYY-MM-DD) causes validation failure
- Unrecognized field value outside the enum [source_count, outlet_count] causes rejection
- row_id missing or blank triggers schema validation error
- Numeric values outside the allowed range (±1,000,000,000,000) will be rejected

## How this service works

Source diversity — Daily sum series + Secondary-measure weighted mean: Daily sum series + Secondary-measure weighted mean for supplied source diversity records (source_count, outlet_count). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two independent analytical reports for the supplied rows (up to 200): (1) a daily sum series showing the aggregated primary-field totals by date, and (2) a secondary-measure weighted mean computed across the supplied records, using the chosen field (source_count or outlet_count) as the primary measure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "channel_group",
     "date",
     "source_count",
     "outlet_count"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "outlet_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "source_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "channel_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "outlet_count": 1,
     "source_count": 10,
     "channel_group": "group-a"
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "outlet_count": 2,
     "source_count": 20,
     "channel_group": "group-b"
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "outlet_count": 3,
     "source_count": 15,
     "channel_group": "group-a"
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "outlet_count": 4,
     "source_count": 30,
     "channel_group": "group-b"
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "source_count",
    "outlet_count"
   ],
   "type": "string",
   "default": "source_count"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/source-diversity-daily-sum-series-secondary-measure-weighted-mean-995f0b98/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)
