# Source Attribution — Category Frequencies + Keyed Dataset Comparison

> Source Attribution — Category Frequencies + Keyed Dataset Comparison 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-23).

Analyzes source attribution records (cited_sources, verified_links) by computing category frequencies and comparing two keyed datasets, returning two independent analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-news-02-111?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/source-attribution-category-frequencies-keyed-dataset-comparison-aec1d543
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_63fbq6VemGeXbTVuf0M1t

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-attribution-category-frequencies-keyed-dataset-comparison-aec1d543 -d '<json body>'
```

Example prompt: I have two batches of news source attribution records — each up to 200 rows with row_id, channel_group, date, cited_sources, and verified_links — can you run category frequency analysis and a keyed dataset comparison on them and give me both reports?

## When to prefer this

Choose this endpoint when you need two complementary analytical views — category frequencies and keyed comparison — on source attribution data (cited_sources, verified_links) in a single low-cost call. Ideal for news analytics pipelines comparing how citation counts differ across channel groups or time periods without requiring any external data lookups. Best suited for batch sizes up to 200 rows where both a frequency summary and a row-keyed diff are needed simultaneously.

## Known failure modes

- Exceeding 200 rows in either dataset returns a validation error
- Missing required fields (row_id, channel_group, date, cited_sources, verified_links) causes rejection
- Invalid date format (not YYYY-MM-DD) triggers a pattern validation error
- Providing an empty rows array (minItems:1 not met) returns an error
- Numeric values outside ±1,000,000,000,000 are rejected by schema validation

## How this service works

Source attribution — Category frequencies + Keyed dataset comparison: Category frequencies + Keyed dataset comparison for supplied source attribution records (cited_sources, verified_links). 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 independent analytical reports: (1) a category frequency report showing how often each channel_group category appears and aggregated cited_sources/verified_links values; (2) a keyed dataset comparison report highlighting row-by-row differences between the primary and secondary datasets on matching row_id keys. Both reports are computed locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/source-attribution-category-frequencies-keyed-dataset-comparison-aec1d543/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)
