Math

Exact descriptive statistics — LLMs cannot reliably sum 200 numbers; this can

Exact descriptive statistics — LLMs cannot reliably sum 200 numbers; this can. POST {values:[…]} for count/sum/mean/median/stddev/percentiles; {x:[],y:[]} for Pearson correlation + linear regression; {rows:[…], field} for object arrays — or {collection, field?} to run stats DIRECTLY ON YOUR DATASTORE collection (the paying wallet is the identity; reading extends its life 30 days). Up to 100k values, Kahan-summed.

Price: $0.005 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

post/api/calc/stats

Request

  • Base URL: https://api.webbersites.com
  • URL: https://api.webbersites.com/api/calc/stats
  • Auth: API key in header X-PAYMENT

Request body

fieldstring
collectionstring

run stats on YOUR datastore collection instead of posting data

Response

Success

countnumber
sumnumber
meannumber
mediannumber
minnumber
maxnumber
variancenumber
stddevnumber
percentilesobject
pearson_rnumber
regressionobject

Changes

No recorded changes to this operation across all 1 revision of this API.