{"uid":"cap_ENXGB00xfDP844pETL2vP","slug":"agentrxi-calculator-83c5988b","name":"AgentRXI Calculator","description":"Exact calculator for agents: math expressions (functions, powers, factorials), unit conversion (length, mass, volume, area, time, speed, data, energy, pressure, power, temperature) and date arithmetic (add, diff with business days, weekday). Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/calc?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"to":{"type":"string","description":"Unit"},"date":{"type":"string"},"days":{"type":"integer"},"expr":{"type":"string","description":"Math expression"},"from":{"type":"string","description":"Unit"},"date2":{"type":"string"},"value":{"type":"number"},"years":{"type":"integer"},"months":{"type":"integer"},"date_op":{"type":"string","description":"add | diff | weekday"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Icus45Z9i6wVwyz2-boRA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates math expressions, converts units across 11 dimensions, and performs date arithmetic including business-day calculations","exampleAgentPrompt":"What is 7! + 2^10, and also convert 150 pounds to kilograms for me?","exampleUseCases":[{"title":"Math expression evaluation for engineering","prompt":"Can you calculate the result of sqrt(9.81 * 2 * 45) for me — it's for a physics calculation?"},{"title":"Unit conversion for recipe scaling","prompt":"Convert 2.5 cups to milliliters so I can follow a European recipe."},{"title":"Business days between project dates","prompt":"How many business days are there between March 3 2025 and April 18 2025? I need to plan a delivery schedule."}],"resultDescription":"Returns a computed numeric result for math expressions, a converted value with units for unit conversions, or a resulting date/count/weekday name for date arithmetic operations","failureModes":["Invalid or malformed math expression returns an error","Unrecognized or incompatible unit pair (e.g. length to mass) returns an error","Missing required query parameters returns a validation error","Date in wrong format causes a parsing failure","Division by zero in expression causes computation error"],"whenToPreferThis":"Use this endpoint when an agent needs exact, deterministic arithmetic results rather than LLM approximations — especially for unit conversions, factorial/power calculations, or precise date arithmetic with business-day awareness. Prefer over asking the LLM directly when precision and reproducibility matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:43.445Z","isFirstParty":false,"canonicalSlug":"agentrxi-calculator-83c5988b"}