Skip to content
Fourohtwo

Use to measure how unusual a value is versus its history ($0.10)

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

Use to measure how unusual a value is versus its history ($0.10): send value and reference values; get mean, standard deviation and z = (value - mean) / sd. Choose SAMPLE (default, n-1) or POPULATION (n) standard deviation. Deterministic, works for prices, volumes, spreads or any series.

BasePolygonArbitrumSolanaWorld ChainBase SepoliaAnswering
POSThttps://api.marketintelligenceapi.com/api/v1/analytics/zscore

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.marketintelligenceapi.com/api/v1/analytics/zscore", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"method":"SAMPLE","value":125,"values":[98,102,101,110,99,103,100]}),
});
console.log(await res.json());

Example input

{
  "method": "SAMPLE",
  "value": 125,
  "values": [
    98,
    102,
    101,
    110,
    99,
    103,
    100
  ]
}

More from Market Intelligence APIProvider status