# Source Diversity — Numeric Row Ordering + Two-Measure Correlation

> Source Diversity — Numeric Row Ordering + Two-Measure Correlation 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-25).

Sorts up to 200 source-diversity rows numerically and computes a two-measure correlation between source_count and outlet_count, delivering two analytical reports in one call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-news-17-120?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/source-diversity-numeric-row-ordering-two-measure-correlation-725a24d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wo_sVVActrqwQksRn3THq

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-numeric-row-ordering-two-measure-correlation-725a24d2 -d '<json body>'
```

Example prompt: I have up to 200 rows of source diversity data with source_count and outlet_count fields — can you sort them numerically by source_count and also compute the correlation between source_count and outlet_count, giving me two reports?

## When to prefer this

Choose this endpoint when you have pre-collected source diversity tabular data (up to 200 rows) and need both a numeric row ordering and a two-measure correlation between source_count and outlet_count in a single low-cost call ($0.01 USDC). Prefer it over general-purpose analytics tools when the data is already structured with the required fields and no live data fetching or prediction is needed.

## Known failure modes

- More than 200 rows submitted — request rejected (maxItems constraint)
- Missing required fields (row_id, date, channel_group, source_count, outlet_count) — validation error
- Invalid date format (must be YYYY-MM-DD) — schema validation failure
- Null values in both numeric fields — correlation cannot be computed
- Invalid field enum value (must be source_count or outlet_count) — rejected input

## How this service works

Source diversity — Numeric row ordering + Two-measure correlation: Numeric row ordering + Two-measure correlation 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

Two analytical reports per call: (1) rows reordered by the selected numeric field (source_count or outlet_count), and (2) a two-measure correlation between source_count and outlet_count across all supplied rows — up to 200 rows supported, computed locally without external lookups.

## 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-numeric-row-ordering-two-measure-correlation-725a24d2/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)
