# Donation Campaign Records – Equal-Width Histogram

> Donation Campaign Records – Equal-Width Histogram 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-17).

Computes an equal-width histogram over donation campaign records (donations count or amount) using up to 200 user-supplied rows, returning a local descriptive analytics report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-donation-records-histogram?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/donation-campaign-records-equal-width-histogram-d4bf0516
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ItCvkzaS86hFHyJ6M3kqO

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-equal-width-histogram-d4bf0516 -d '<json body>'
```

Example prompt: Can you run an equal-width histogram on my donation campaign records — I have 4 rows with campaigns group-a and group-b, dates from 2026-10-01 to 2026-10-04, donation counts of 10, 20, 15, and 30, and amounts of 1–4 — use the 'donations' field and split it into 5 bins?

## When to prefer this

Choose this endpoint when you have donation campaign records (up to 200 rows) with donations-count or dollar-amount fields and need a quick, local equal-width frequency distribution without sending data to an external enrichment or forecasting service. It is purpose-built for donation/fundraising data schemas (campaign, date, donations, amount) and is priced at $0.01 per call, making it cost-effective for on-demand profiling. Prefer it over generic statistics APIs when your data already matches the expected schema and you want a histogram rather than summary statistics or outlier detection.

## Known failure modes

- Fewer than 1 row supplied — returns validation error
- More than 200 rows supplied — rejected at schema level
- Invalid date format (not YYYY-MM-DD) — row-level validation error
- Unknown field value (not 'donations' or 'amount') — enum validation failure
- Bins value outside 1–30 range — schema rejection
- Null values in the target numeric field may affect bin calculation or be excluded
- Payment failure (insufficient USDC balance) — 402 response, no histogram returned

## How this service works

Donation campaign records - Equal-width histogram: Equal-width histogram 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 equal-width histogram report.

## Output

Returns a bounded equal-width histogram report for the specified numeric field (donations or amount) across up to 200 supplied campaign rows. The report includes bin boundaries and the count of records falling into each of the requested number of equal-width bins, enabling local descriptive analysis of value distribution without any external enrichment or forecasting.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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-equal-width-histogram-d4bf0516/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)
