Learn Updated 2026-02-28 UTC

Math Evaluation API — GetCalcMaster

JSON evaluation API for notebook workloads: real + complex, batch execution, stable error contracts.

Evaluation API for integration and automation

GetCalcMaster includes an evaluation API designed for programmatic use cases: validating a calculation pipeline, generating reproducible results, or connecting the evaluator to another internal tool. The web UI is “notebook-first”; the API is “integration-first.”

What the API is good for

  • Batch checks: run the same expression against a set of inputs and compare outputs.
  • Deterministic results: store the expression + mode + settings (DEG/RAD, format) alongside your output.
  • Explainability: when enabled, return traces/steps so issues can be debugged.

How to test it manually

  1. Open the API docs at /api.
  2. Send a small request (example endpoint shown in the docs) with a simple expression like sin(pi/6).
  3. Verify the response value matches the UI calculator in the same mode/settings.

Example payloads

{
  "mode": "REAL",
  "angleMode": "RAD",
  "expression": "sin(pi/6)"
}

Expected numeric result: 0.5. Repeat the same request in DEG mode with sin(30) and confirm you get the same answer.

Operational notes

  • Input validation: malformed expressions should return a clean error message (no server exception leaks).
  • Rate limiting: keep programmatic callers polite; avoid high-frequency loops without backoff.
  • Privacy: avoid sending sensitive data inside expressions; treat the API as a computation endpoint.