agent402.tools
Compute the current TOTP code (RFC 6238, 30s period, SHA-1, 6 digits) from a base32 secret. Useful for agents that must complete 2FA flows they are authorized for.
$0.002000 USDC
agent402.tools
The live level-2 order book for one perpetual: best bid and ask, mid, spread in basis points, up to 20 levels a side with cumulative depth and bid/ask imbalance. Use it when an agent is sizing an order, checking liquidity before a trade or measuring book pressure at a point in time.
$0.002000 USDC
agent402.tools
Compute a precise age (years, months, days) from a birth date to today (or a given date), plus total days.
$0.001000 USDC
agent402.tools
Break-even point for a product: the units and revenue at which total revenue covers fixed plus variable costs. Also returns contribution margin and margin ratio.
$0.001000 USDC
agent402.tools
Search the World Bank indicator catalog (1,400+ indicators across GDP, demographics, health, environment, education, etc.) by keyword. Returns indicator codes you can feed into /api/world-bank-indicator.
$0.002000 USDC
agent402.tools
Base64 encode or decode text. mode: encode (default) or decode. Handles URL-safe base64 on decode.
$0.001000 USDC
agent402.tools
Build the full per-period amortization schedule for a fully-amortizing loan. Each row reports the period number, payment, the principal vs. interest split for that payment, and the remaining balance after that payment. Use this when the user wants to see how interest tapers over the life of the loan, or to model an extra-payment scenario by reading the balance at any period.
$0.001000 USDC
agent402.tools
Base32 (RFC 4648) encode or decode text. mode: encode (default) or decode.
$0.001000 USDC
agent402.tools
Present and future value of a level annuity (equal periodic payments). Supports an ordinary annuity (payments at period end) and an annuity-due (payments at period start).
$0.001000 USDC
agent402.tools
Base58 encode or decode text (Bitcoin/IPFS alphabet). mode: encode (default) or decode.
$0.001000 USDC
agent402.tools
Decode a barcode or QR code from an image. Send a base64 PNG or JPEG (or a data: URL); returns the decoded text and the symbology. Reads QR, DataMatrix, and 1D barcodes (EAN/UPC/Code39/Code128/ITF/Codabar). Deterministic, no network, no model.
$0.001000 USDC
agent402.tools
Parse XML into a JSON object tree (attributes under _attrs, text under _text; repeated elements become arrays).
$0.002000 USDC
agent402.tools
Pure-CPU helper: turn a B20 feature string (e.g. base.b20_asset) into its bytes32 feature id and ready-to-send isActivated(bytes32) calldata for the Activation Registry. No network egress.
$0.001000 USDC
agent402.tools
Compound annual growth rate between a beginning and ending value over N years: (end/begin)^(1/years) - 1. Also returns total growth over the whole period.
$0.001000 USDC
agent402.tools
Decompress a base64-encoded Brotli payload. Returns the result as utf8 (text) or base64 (binary). Refuses to expand past 10MB to defend against zip bombs.
$0.001000 USDC
agent402.tools
Validate a payment card number (Luhn checksum) and detect the brand. Numbers are not stored or logged.
$0.001000 USDC
agent402.tools
Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, lowercase and UPPERCASE.
$0.001000 USDC
agent402.tools
Safely evaluate an arithmetic expression (+ - * / % ^ and parentheses). No code execution - a real parser, not eval.
$0.001000 USDC
agent402.tools
Compress a string with Brotli (RFC 7932) and return it as base64. Brotli typically beats gzip by 15-25% on text - useful when bytes matter (e.g. cramming context into an LLM prompt, fitting under a transport cap). Slower than gzip; pick gzip if speed matters more than ratio.
$0.001000 USDC
agent402.tools
Count business days (Mon–Fri) between two dates, inclusive of the start, exclusive of the end. Optional list of holiday dates to skip.
$0.001000 USDC