REST API

Numexa
Developer API

Integrate Numexa's computation engine into your own apps. Open beta — no API key required until v1.3.

POST /api/evaluate

Evaluate any mathematical expression. Supports symbolic math, matrix ops, unit conversion, and complex numbers. Returns result and metadata.

{
  "expression": "derivative(x^3, x)",
  "format": "auto"
}
Response
{
  "success": true,
  "result": "3 * x ^ 2",
  "type": "symbolic",
  "elapsed_ms": 4
}
Parameters
expression string · required
format "auto" | "string" | "number" (optional)
GET /api/health

Check API availability, version, and current engine status.

{
  "status": "ok",
  "version": "1.2.0",
  "engine": "[email protected]",
  "uptime_s": 86400
}
POST /api/plot

Generate a plot image for a single-variable function. Returns base64-encoded PNG. Supports custom range, dimensions, and dark/light themes.

{
  "fn": "sin(x) + 0.5*cos(2*x)",
  "xMin": -10,
  "xMax": 10,
  "width": 800,
  "height": 400,
  "theme": "dark"
}
Response
{
  "success": true,
  "image": "data:image/png;base64,iVBOR...",
  "width": 800,
  "height": 400
}
POST /api/batch v1.3

Evaluate multiple expressions in a single request. Reduces overhead for bulk computation tasks.

{
  "expressions": [
    "derivative(x^2, x)",
    "det([[1,2],[3,4]])",
    "sin(pi/6)"
  ]
}
Live API Tester
— Response will appear here —
Rate Limits
Tier Req/min Keys
Free (Open Beta) 60 None required
Pro (v1.3) 600 API key
Enterprise Unlimited Custom

API key system launching in v1.3. Currently open beta — no authentication required.

Response Codes
200 Success
400 Bad request / parse error
422 Expression evaluation error
429 Rate limit exceeded
500 Internal server error