← Back to directory

Z-score of a value against a reference distribution

https://api.marketintelligenceapi.com/api/v1/analytics/zscore

Overview

z = (value - mean) / sd, where mean and sd are of the reference values. method SAMPLE (default) uses sd = sqrt(sum((x - mean)^2) / (n - 1)); POPULATION divides by n. Needs at least 2 reference values that are not all equal. 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) 388ms
Uptime (30d) 98.5%
Reliability Score 94.2/100
Last Checked 2026-10-31 07:02:13
Last Healthy 2026-10-31 07:02:13
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "method": "SAMPLE", "value": 125, "values": [ 98, 102, 101, 110, 99, 103, 100 ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "mean": 101.857143, "method": "SAMPLE", "observations": 7, "operation": "zscore", "result": 5.820464, "standardDeviation": 3.976119, "value": 125, "zScore": 5.820464 }, "type": "json" }