Skip to content
Fourohtwo

Descriptive statistics for a supplied numeric array in one call

api.duoleads.com/v1/num/stats

Descriptive statistics for a supplied numeric array in one call: count, sum, mean, median, mode, variance and standard deviation with variance and standard deviation honouring ddof (default 1, the sample form; 0 gives the population form) and always-population *_population fields, min, max, range, the quartiles and interquartile range, skewness, kurtosis, and any requested percentiles. Percentiles

BaseAnswering
GEThttps://api.duoleads.com/v1/num/stats

Uptime100% of 1 check 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

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://api.duoleads.com/v1/num/stats?values=1%2C2%2C3%2C4%2C5");
console.log(await res.json());

Example input

{
  "values": "1,2,3,4,5"
}

More from Duo Data Utilities