# Transaction Fee Observations — Equal-Width Histogram + Secondary-Measure Weighted Mean

> Transaction Fee Observations — Equal-Width Histogram + 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-26).

Computes an equal-width histogram and a transaction-count-weighted mean over supplied transaction fee observation records using local analytical engines.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-03-172?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/transaction-fee-observations-equal-width-histogram-secondary-measure-2d27ae9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4ICojgW1bD_3Wojafc5_Y

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 transaction-fee-observations-equal-width-histogram-secondary-measure-2d27ae9d -d '<json body>'
```

Example prompt: Run an equal-width histogram with 10 bins and a transaction-count-weighted mean on my fee_units data — here are my records: [{"row_id":"r1","instrument_group":"equity","date":"2024-01-15","fee_units":12.5,"transaction_count":100},{"row_id":"r2","instrument_group":"fx","date":"2024-01-16","fee_units":25.0,"transaction_count":200}].

## When to prefer this

Choose this endpoint when you already have transaction fee observation data in hand and need fast, local statistical summarization — specifically an equal-width histogram and a transaction-count-weighted mean — without requiring live market data, external lookups, or predictions. Ideal for fintech analytics pipelines, fee audits, and reporting workflows where the raw records are available and you need two complementary statistical views in one low-cost call.

## Known failure modes

- Exceeds 200 row limit — request will be rejected or truncated
- Invalid date format (not YYYY-MM-DD) causes row validation failure
- fee_units or transaction_count values outside ±1,000,000,000,000 are rejected
- bins parameter outside 1–30 range returns validation error
- Missing required row fields (row_id, date, fee_units, transaction_count, instrument_group) causes schema rejection
- Null values in fee_units or transaction_count may affect histogram accuracy or weighted mean computation

## How this service works

Transaction fee observations — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied transaction fee observations records (fee_units, transaction_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 analytical reports: (1) an equal-width histogram over the specified field (e.g. fee_units) broken into the requested number of bins, showing bin boundaries and observation counts; (2) a weighted mean of the primary measure using the secondary measure (transaction_count) as weights. Both computed locally from the supplied rows, no external data fetched.

## 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",
     "instrument_group",
     "date",
     "fee_units",
     "transaction_count"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "fee_units": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "instrument_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "transaction_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "fee_units": 10,
     "instrument_group": "group-a",
     "transaction_count": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "fee_units": 20,
     "instrument_group": "group-b",
     "transaction_count": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "fee_units": 15,
     "instrument_group": "group-a",
     "transaction_count": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "fee_units": 30,
     "instrument_group": "group-b",
     "transaction_count": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "fee_units",
    "transaction_count"
   ],
   "type": "string",
   "default": "fee_units"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/transaction-fee-observations-equal-width-histogram-secondary-measure-2d27ae9d/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)
