post_calc_finance
ActiveTool of io.github.webberdesign/webbersites-x402-data-api
Exact financial + token math. POST {op:…}: compound (growth with per-period contributions), amortize (payment, total interest, schedule), npv, irr (deterministic bisection) — and token_units: exact decimal↔base-unit conversion via BigInt for any token decimals (ETH 18, USDC 6), the 18-decimal math that float64 silently corrupts. Iterative series computed exactly, never guessed. ($0.005 per call, paid via x402)
Parameters schema
{
"type": "object",
"required": [
"op"
],
"properties": {
"op": {
"type": "string",
"description": "compound | amortize | npv | irr | token_units"
},
"to": {
"type": "string",
"description": "token_units — base | decimal"
},
"rate": {
"type": "number",
"description": "annual %, e.g. 6.5"
},
"years": {
"type": "number"
},
"amount": {
"type": "string",
"description": "token_units — decimal or base-unit string"
},
"decimals": {
"type": "number",
"description": "token_units — ETH 18, USDC 6"
},
"cashflows": {
"type": "array",
"description": "npv/irr — period 0 first"
},
"principal": {
"type": "number"
},
"periods_per_year": {
"type": "number",
"description": "default 12"
},
"contribution_per_period": {
"type": "number"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
io.github.webberdesign/webbersites-x402-data-api
https://github.com/webberdesign/api.webbersites.com
1/7 registries