Computation API

Math your app can
show its work.

Exact rational arithmetic, symbolic step-by-step solutions, and verified reference constants — served over a simple API. Built for tutoring apps, homework helpers, and anything that can't afford a wrong answer.

Built by the team behind apasmath.com — in production since 2026.
/api/agentcompute — live connected
— enter a fraction expression and hit Run —
Why not an LLM

Language models predict text.
This engine computes math.

An LLM asked to add fractions is guessing the next plausible token. This engine does exact rational arithmetic — the same answer every time, with a step-by-step derivation you can render, not paraphrase.

General-purpose LLM

  • Approximates decimals, drops precision on nested fractions
  • Occasionally invents a plausible-looking wrong step
  • No guaranteed determinism between calls
  • Can't cite which rule or identity it applied

ApasMath compute

  • Exact rational arithmetic — no floating-point drift, ever
  • Every step is derived, not generated — same input, same output
  • Deterministic and reproducible, suitable for graded work
  • Returns the operation and rule used at each step
Endpoints

Three ways in.

Pick the level of structure your app needs — a single evaluated expression, a fully worked template, or verified reference data.

POST /api/agentcompute Evaluate a single expression exactly. Built for tool-calling from an LLM or chat-based tutor.
POST /api/compute Fill a solution template step-by-step — for guided practice and worked examples.
GET /api/reference 47 verified physical constants, 25 quantities, 32 units — sourced and checked, not scraped.
$ curl -X POST https://api.apasmath.com/agentcompute \ -H "Authorization: Bearer $APASMATH_KEY" \ -d '{ "expression": "7/12 + 5/8" }' → response { "result": "29/24", "decimal": "1.208333...", "steps": [ "common denominator: 24", "14/24 + 15/24", "= 29/24" ], "exact": true }
Pricing

Start free. Scale by request volume.

No per-call billing to reconcile — one predictable ceiling per month.

Free
$0
  • Reference API only
  • 1,000 requests / month
  • Community support
Start free
Growth
$99/mo
  • 150,000 requests / month
  • Priority support
  • Usage dashboards
Get API key
Enterprise
Custom
  • Unlimited / negotiated volume
  • SLA + dedicated support
  • Roadmap input
Talk to us
Roadmap

Modular by design — features ship fast.

The engine's architecture means new capability is usually an addition, not a rewrite.

Shipping now

Symbolic solve chains

Multi-step algebraic simplification with full derivation.

Next

Batch endpoint

Submit an array of expressions, get graded results in one call.

Next

Webhooks

Async compute for long-running symbolic operations.