# Donation Campaign Records — Grouped Numeric Summary

> Donation Campaign Records — Grouped Numeric Summary 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-16).

Computes grouped descriptive statistics (sum, mean, min, max, count, etc.) for donation campaign records, segmented by campaign group, over up to 200 supplied rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-donation-records-group-summary?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/donation-campaign-records-grouped-numeric-summary-1b180fe8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j6fkNt26mMoEOIodfkgi8

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 donation-campaign-records-grouped-numeric-summary-1b180fe8 -d '<json body>'
```

Example prompt: I have 4 donation campaign records for two groups — 'Spring Drive' and 'Year-End Appeal' — with dates, donation counts, and amounts. Can you group them by campaign and give me a numeric summary of the 'amount' field?

## When to prefer this

Choose this endpoint when you have up to 200 donation campaign records already in hand and need fast, local grouped descriptive statistics (no external data needed). It is ideal for nonprofit analysts, fundraising teams, or agent workflows that need to compare campaign performance at low cost ($0.01 USDC). Prefer it over general-purpose analytics platforms when you need a lightweight, pay-per-call summary with no setup, or when campaign-specific grouping by name is the primary analytical need.

## Known failure modes

- Empty or missing 'rows' array returns an error
- More than 200 rows submitted — request rejected due to maxItems constraint
- Invalid date format (not YYYY-MM-DD) causes validation failure
- Missing required fields (row_id, campaign, date, donations, amount) per row causes rejection
- Field selector not one of 'donations' or 'amount' causes enum validation error
- Null values in the selected numeric field may affect aggregate calculations

## How this service works

Donation campaign records - Grouped numeric summary: Grouped numeric summary for Donation campaign records. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded grouped numeric summary report.

## Output

A grouped numeric summary report containing descriptive statistics (such as count, sum, mean, min, max, and possibly std dev) for each unique campaign group found in the submitted records, computed over the selected numeric field (either 'donations' or 'amount'). No external enrichment or forecasting is included — purely local analytics on the supplied data.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/donation-campaign-records-grouped-numeric-summary-1b180fe8/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)
