← Back to directory

CSV weighted average returns the total weight and decimal-weighted mean of a val...

https://format.halowerk.com/v1/csv-weighted-decimal-mean

Overview

CSV weighted average returns the total weight and decimal-weighted mean of a value column. Use it when an agent needs to reconcile measurement batches with unequal sample counts.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider format
Source bazaar
Indexed 2026-11-18 23:09:01

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "csv": "ms,n\n363,1\n1429,1", "value": "ms", "weight": "n" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "records": 2, "weight_sum": "2", "weighted_mean": "896" }, "limitations": "Up to 2,000 records per table. Exact field names, comma by default. Record indices are one-based after the header.", "measured_at": "2026-11-18T20:43:42.052Z", "source": { "reference": "Buyer-supplied CSV records, analyzed locally", "retrieved_at": "2026-11-18T20:43:42.052Z" } }, "type": "json" }