https://api.visionquantech.com · One key for finance calculators, dev tools, image & PDF processing.
# 1. Health (no key needed)
curl https://api.visionquantech.com/health
# 2. Get a key from your VisionQuantech dashboard, then:
curl -X POST https://api.visionquantech.com/v1/calc/gst-interest \
-H "Authorization: Bearer vq_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"delayed","amount":100000,"due_date":"2026-08-20","pay_date":"2026-09-19"}'
# → {"tool":"gst-interest","rate_pct":18,"days_delayed":30,
# "interest":1479.45,"late_fee":1500,"total":2979.45,...}
Create a calculation job — it queues, runs locally, and its result is stored in this browser. On the live server, jobs are for async file work (image/PDF over the sync budget); here only calc-tool jobs run.
Send the key in the Authorization: Bearer header only — keys in URLs are rejected. Test keys start with vq_test_.
| Method | Path | What | In this demo |
|---|---|---|---|
| GET | /health | Health (public) | — (no server) |
| GET | /v1/status | Your tier + quota usage | — (no server) |
| GET | /v1/openapi.json | Full OpenAPI 3.1 spec (public) | — (no server) |
| POST | /v1/calc/gst-interest | GST interest + late fee (Sec 50/47) | ✓ runs here |
| POST | /v1/calc/emi | EMI + amortization schedule | ✓ runs here |
| POST | /v1/calc/gratuity | Gratuity (15/26, ₹20L cap) | ✓ runs here |
| POST | /v1/calc/salary | Salary: PF/ESI/PT/income-tax FY25-26 | ✓ runs here |
| POST | /v1/calc/pf · /esi | PF / ESI contribution checks | ✓ runs here |
| POST | /v1/calc/break-even · /pricing · /discount · /overtime · /retention · /working-capital · /cash-survival | Business math | ✓ runs here |
| POST | /v1/tools/word-count · /json-format · /password | Text utilities | ✓ runs here |
| POST | /v1/tools/cron-explain · /dockerfile · /k8s · /ci | DevOps generators | ✓ runs here |
| POST | /v1/tools/qr | QR code SVG | — needs the qrcode-generator server dependency |
| POST | /v1/tools/image/resize · /convert | Images (multipart; big files → async job) | — server only |
| POST | /v1/tools/pdf/merge · /split · /compress | PDFs (multipart) | — server only |
| POST | /v1/jobs | Async job submit → GET /v1/jobs/{id} → /result | local calc jobs only (see above) |
POSTs accept Idempotency-Key (8–128 chars). Same key + same body within 24h replays the stored response — safe retries, no double billing.
Every error is {"error":{"code":"…","message":"…","request_id":"…"} }. Codes: invalid_param (400), missing_auth/invalid_key (401), quota_exceeded (402), revoked_key/forbidden (403), idempotency_conflict (409), file_too_large (413), rate_limited (429 + Retry-After).
# Python
import requests
h = {"Authorization": "Bearer vq_live_YOUR_KEY"}
r = requests.post("https://api.visionquantech.com/v1/calc/emi", json={
"principal": 5000000, "annual_rate_pct": 8.5, "months": 240}, headers=h)
print(r.json()["emi"])
// JavaScript
const r = await fetch("https://api.visionquantech.com/v1/calc/emi", {
method: "POST",
headers: { "Authorization": "Bearer vq_live_YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({ principal: 5000000, annual_rate_pct: 8.5, months: 240 })
});
console.log((await r.json()).emi);
Full spec: openapi.json (live server) · Postman collection in the repo · Status: building toward launch.