Public API
7 endpoints, no API key, callable directly from the browser (CORS enabled). Decimals are strings, results are deterministic, and every result includes the source of the rate used.
Public API
7 endpoints, no API key, callable directly from the browser (CORS enabled). Decimals are strings, results are deterministic, and every result includes the source of the rate used.
Embed widget
Write data-mo-tool="kdv" and add widget.js. A calculator, a search box or a category list; automatic height, adjustable appearance, and results on your side through events and calculate().
305 tools
Tax, salary and payroll, finance, accounting, real estate and more. Every tool has a permanent key; search the catalog and copy it.
Playground
Try requests in the browser and get ready-made curl and fetch code.
# 1) Find the toolcurl "https://api.mirac-ozdemir.com/v1/public/search?locale=tr&q=kdv"
# 2) Get the definition (input schema, labels, rates)curl "https://api.mirac-ozdemir.com/v1/public/tools/by-key/kdv?locale=tr"
# 3) Calculatecurl -X POST "https://api.mirac-ozdemir.com/v1/public/tools/by-key/kdv/calculate" \ -H "Content-Type: application/json" \ -d '{"inputs":{"amount":"1000","mode":"exclusive","vatRateOption":"standard"}}'const API = 'https://api.mirac-ozdemir.com/v1/public';
const response = await fetch(`${API}/tools/by-key/kdv/calculate`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ inputs: { amount: '1000', mode: 'exclusive', vatRateOption: 'standard' } }),});const { data, meta } = await response.json();console.log(data.result); // { net: "1000.00", vat: "200.00", gross: "1200.00" }<div data-mo-tool="kdv"></div><script src="https://api.mirac-ozdemir.com/widget.js" async></script>