REST & HTMX API v2026.1 Deterministic Edge Computing

Figiva Calculation API & Developer Reference

Integrate deterministic calculation engines across HVAC, corporate finance, trade mathematics, crypto, and actuarial analysis directly into your AI agents, automated workflows, and web services.

REST & Reactive Calculation Endpoints

POST /api/calculate/{template}/ JSON / Form

Primary execution endpoint. Submits input parameters via JSON payload or form data and returns calculated results and telemetry metrics with zero client-side latency.

curl -X POST https://figiva.com/api/calculate/btu-to-cfm/ \
  -H "Content-Type: application/json" \
  -d '{"btuPerHour": 36000, "tempDifferential": 20}'
GET /api/calculate/?template={t} Query Params

Lightweight query-parameter endpoint for fast URL-based evaluations, link previews, and cached deterministic queries.

curl "https://figiva.com/api/calculate/?template=gross-margin-markup&revenue=100000&cogs=60000"

Payload Schema & Parameter Specifications

All parameters adhere to strict validation bounds. Non-numeric values are rejected with 400 Bad Request, preventing zero-division errors and mathematical exceptions.

Total Calculators 84 Available
Content Negotiation JSON & Markdown
CORS & Auth Public (Zero Token)

Computational Integrity & Zero-Latency Edge Architecture

Figiva calculations execute inside Cloudflare Python Workers compiling Python 3.14 to WebAssembly in V8 isolates. Every mathematical model is verified against governing engineering standards (ASHRAE, NEC, IEEE, NCCI) and executes with zero external database lookups.