Skip to content
Fourohtwo

agent402.tools/api/outliers

Flag outliers in a numeric series using either the IQR rule (Tukey fences at 1.5·IQR - robust, default) or z-score (|z| > threshold - assumes normality). Returns the outlier values + their indices + the thresholds used so you can decide whether to trust them.

SolanaBaseUnchecked
POSThttps://agent402.tools/api/outliers

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent402.tools/api/outliers", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"method":"iqr","values":[1,2,3,4,5,6,7,8,9,100]}),
});
console.log(await res.json());

Example input

{
  "method": "iqr",
  "values": [
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    100
  ]
}