Overview

Observations are sorted by value; zero-weight observations are ignored. With W the total weight and C(k) the cumulative weight of the k smallest values, the weighted median is the smallest value with C(k) >= W/2; when C(k) equals W/2 exactly it is the midpoint of that value and the next larger one, so equal weights give the ordinary median. Rounded HALF_EVEN to 6 decimals. Price: one fixed x402 payment per call; rejected inputs (HTTP 400/413) are not charged.

Protocol x402 (POST)
Price $0.10
Payment Asset USD Coin
Payment Network eip155:8453
Category data/markets
Provider marketintelligenceapi
Source bazaar
Indexed 2026-10-05 02:29:45

Health

Status healthy
Latency (p50) 418ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 06:57:55
Last Healthy 2026-10-31 06:57:55
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "observations": [ { "value": 10, "weight": 1 }, { "value": 20, "weight": 5 }, { "value": 100, "weight": 1 } ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "method": "WEIGHTED_MEDIAN_MIDPOINT", "observations": 3, "operation": "weighted-median", "result": 20, "totalWeight": 7, "weightedMedian": 20 }, "type": "json" }