Exact math agents shouldn't guess
aipaygen.com/v1/math_calc
Exact math agents shouldn't guess: evaluate an expression (+ - * / % ^, sqrt, log, sin, pi...), summary statistics for a list of numbers (mean, median, std dev, percentiles, mode), or convert units (length, mass, volume, area, speed, data, time, energy, temperature).
GET
https://aipaygen.com/v1/math_calcUptime100% 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://aipaygen.com/v1/math_calc?op=eval&expression=%281200+*+1.08%5E5%29+%2F+12");
console.log(await res.json());Example input
{
"op": "eval",
"expression": "(1200 * 1.08^5) / 12"
}