# MiniWebtool API full documentation > Complete public documentation snapshot for agents. - Source index: https://api.miniwebtool.com/llms.txt - Generated from live API registry: https://api.miniwebtool.com/v1/openapi.json > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) 001 hosted utility endpoints · since 2010 # Every boring endpoint, already built. Calculators, converters, hashes, date math, and finance formulas as stable JSON APIs. One bearer token, one credit pool, schemas that don't drift. You ship the feature; we maintain the formula. ✓ OpenAPI 3.1 ✓ RFC 7807 errors ✓ MCP built in ✓ failed calls cost 0 [Get a free key →](/billing/checkout/?plan=free) [View reference](/v1/docs) ✓ the same engines behind [miniwebtool.com](https://miniwebtool.com) — tools people have searched for and used since 2010 curl python node LIVE ```text $ curl https://api.miniwebtool.com/v1/tools/percentage-calculator/run \ -H "Authorization: Bearer $MWT_KEY" \ -d '{"mode":"percent_of","a":15,"b":200}' { "request_id": "01KPW8…", "tool": "percentage-calculator", "credits_used": 1, "result": { "mode": "percent_of", "a": 15, "b": 200, "result": 30 } } ``` ```text import requests, os r = requests.post( "https://api.miniwebtool.com/v1/tools/percentage-calculator/run", headers={"Authorization": f"Bearer {os.environ['MWT_KEY']}"}, json={"mode": "percent_of", "a": 15, "b": 200}, timeout=10, ) print(r.json()["result"]["result"]) # 30 ``` ```text const res = await fetch( "https://api.miniwebtool.com/v1/tools/percentage-calculator/run", { method: "POST", headers: { "Authorization": `Bearer ${process.env.MWT_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ mode: "percent_of", a: 15, b: 200 }), }, ); const { result } = await res.json(); console.log(result.result); // 30 ``` 200 OK · 1 credit · application/json Start free · no card Paid plans from $29/mo for production volume POST /car-depreciation-calculator 2cr POST /car-lease-calculator 2cr POST /bond-equivalent-yield-calculator 2cr POST /bond-yield-to-maturity-calculator 2cr POST /zero-coupon-bond-calculator 2cr POST /character-counter 1cr POST /compare-two-strings 1cr POST /find-longest-line 1cr POST /line-counter 1cr POST /pangram-checker 1cr POST /blake2b-hash-generator 1cr POST /md5-hash-generator 1cr POST /sha256-hash-generator 1cr POST /sha3-512-hash-generator 1cr POST /sha384-hash-generator 1cr POST /complementary-error-function-calculator 1cr POST /exponential-decay-calculator 1cr POST /exponential-growth-calculator 1cr POST /antilog-calculator 1cr POST /absolute-value-equation-solver 1cr POST /random-playing-card-generator 1cr POST /random-color-generator 1cr POST /random-date-generator 1cr POST /list-randomizer 1cr POST /random-group-generator 1cr POST /cpc-calculator 1cr POST /cpm-calculator 1cr POST /value-of-a-visitor-calculator 2cr POST /css-box-shadow-generator 1cr POST /css-compressor 1cr POST /color-contrast-checker 1cr POST /color-code-converter-all-formats 1cr POST /color-scheme-generator 1cr POST /board-foot-calculator 1cr POST /carpet-calculator 1cr POST /decking-calculator 1cr POST /tile-calculator 1cr POST /wallpaper-calculator 1cr POST /fuel-efficiency-converter-mpg-l-100km-km-l 1cr POST /torque-converter-nm-ft-lb-kgf-cm 1cr POST /baking-pan-size-converter 1cr POST /dough-hydration-calculator 1cr POST /coffee-brew-ratio-calculator 1cr POST /cooking-unit-converter 1cr POST /cups-to-grams-converter 1cr POST /cross-stitch-size-calculator 1cr POST /youtube-earnings-estimator 1cr POST /autumnal-equinox-day 1cr POST /decimal-to-time-converter 1cr POST /cmyk-to-hex-converter 1cr POST /hex-to-cmyk-converter 1cr POST /hex-to-rgb-converter 1cr POST /rgb-to-hex-converter 1cr POST /base64-decoder 1cr POST /xml-to-json-converter 1cr POST /yaml-formatter-validator 1cr POST /xml-validator 1cr POST /text-to-binary-hex-ascii-converter 1cr POST /unix-permission-calculator 1cr POST /transformer-calculator 1cr POST /voltage-divider-calculator 1cr POST /battery-life-calculator 1cr POST /voltage-drop-calculator 1cr POST /wire-gauge-calculator 1cr POST /water-usage-calculator 1cr POST /wedding-alcohol-calculator 1cr POST /beading-pattern-calculator 1cr POST /yarn-calculator 1cr POST /bench-press-calculator 1cr POST /bmr-calculator 1cr POST /bac-calculator 1cr POST /ctr-calculator 1cr POST /tire-size-calculator 1cr POST /test-score-calculator 1cr POST /weighted-grade-calculator 1cr POST /daily-time-savings-calculator 1cr POST /boiling-point-calculator 1cr POST /astronomical-unit-converter 1cr POST /percent-yield-calculator 1cr POST /parallel-resistor-calculator 1cr POST /power-factor-calculator 1cr POST /rc-time-constant-calculator 1cr POST /at-bats-per-home-run-calculator 1cr POST /batting-average-calculator 1cr POST /era-calculator 1cr POST /fip-calculator 1cr POST /ops-calculator 1cr POST /halfway-date-calculator 1cr POST /when-is-leap-year 1cr POST /date-calculator 1cr POST /date-difference-calculator 1cr POST /time-between-two-dates 1cr POST /winter-solstice-day 1cr POST /car-depreciation-calculator 2cr POST /car-lease-calculator 2cr POST /bond-equivalent-yield-calculator 2cr POST /bond-yield-to-maturity-calculator 2cr POST /zero-coupon-bond-calculator 2cr POST /character-counter 1cr POST /compare-two-strings 1cr POST /find-longest-line 1cr POST /line-counter 1cr POST /pangram-checker 1cr POST /blake2b-hash-generator 1cr POST /md5-hash-generator 1cr POST /sha256-hash-generator 1cr POST /sha3-512-hash-generator 1cr POST /sha384-hash-generator 1cr POST /complementary-error-function-calculator 1cr POST /exponential-decay-calculator 1cr POST /exponential-growth-calculator 1cr POST /antilog-calculator 1cr POST /absolute-value-equation-solver 1cr POST /random-playing-card-generator 1cr POST /random-color-generator 1cr POST /random-date-generator 1cr POST /list-randomizer 1cr POST /random-group-generator 1cr POST /cpc-calculator 1cr POST /cpm-calculator 1cr POST /value-of-a-visitor-calculator 2cr POST /css-box-shadow-generator 1cr POST /css-compressor 1cr POST /color-contrast-checker 1cr POST /color-code-converter-all-formats 1cr POST /color-scheme-generator 1cr POST /board-foot-calculator 1cr POST /carpet-calculator 1cr POST /decking-calculator 1cr POST /tile-calculator 1cr POST /wallpaper-calculator 1cr POST /fuel-efficiency-converter-mpg-l-100km-km-l 1cr POST /torque-converter-nm-ft-lb-kgf-cm 1cr POST /baking-pan-size-converter 1cr POST /dough-hydration-calculator 1cr POST /coffee-brew-ratio-calculator 1cr POST /cooking-unit-converter 1cr POST /cups-to-grams-converter 1cr POST /cross-stitch-size-calculator 1cr POST /youtube-earnings-estimator 1cr POST /autumnal-equinox-day 1cr POST /decimal-to-time-converter 1cr POST /cmyk-to-hex-converter 1cr POST /hex-to-cmyk-converter 1cr POST /hex-to-rgb-converter 1cr POST /rgb-to-hex-converter 1cr POST /base64-decoder 1cr POST /xml-to-json-converter 1cr POST /yaml-formatter-validator 1cr POST /xml-validator 1cr POST /text-to-binary-hex-ascii-converter 1cr POST /unix-permission-calculator 1cr POST /transformer-calculator 1cr POST /voltage-divider-calculator 1cr POST /battery-life-calculator 1cr POST /voltage-drop-calculator 1cr POST /wire-gauge-calculator 1cr POST /water-usage-calculator 1cr POST /wedding-alcohol-calculator 1cr POST /beading-pattern-calculator 1cr POST /yarn-calculator 1cr POST /bench-press-calculator 1cr POST /bmr-calculator 1cr POST /bac-calculator 1cr POST /ctr-calculator 1cr POST /tire-size-calculator 1cr POST /test-score-calculator 1cr POST /weighted-grade-calculator 1cr POST /daily-time-savings-calculator 1cr POST /boiling-point-calculator 1cr POST /astronomical-unit-converter 1cr POST /percent-yield-calculator 1cr POST /parallel-resistor-calculator 1cr POST /power-factor-calculator 1cr POST /rc-time-constant-calculator 1cr POST /at-bats-per-home-run-calculator 1cr POST /batting-average-calculator 1cr POST /era-calculator 1cr POST /fip-calculator 1cr POST /ops-calculator 1cr POST /halfway-date-calculator 1cr POST /when-is-leap-year 1cr POST /date-calculator 1cr POST /date-difference-calculator 1cr POST /time-between-two-dates 1cr POST /winter-solstice-day 1cr Endpoints 520 curated, growing catalog Auth 1 key same bearer token everywhere Cost per call fixed published credit weight per tool Failed calls 0 credits 4xx/5xx auto-refund 002 the contract ## One envelope. Stable errors. Honest headers. Everything you'd check before trusting a third-party API, in one glance. The same shape on every endpoint — integrate once, reuse for all 520 tools. response envelope ```text { "request_id": "01KPW8…", "tool": "", "tool_version": "1.0.0", "credits_used": 1, "result": { …typed output… } } ``` errors · RFC 7807 ```text { "status": 402, "code": "insufficient_credits", "title": "Insufficient credits", "request_id": "01KPW…" } // branch on `code` — it never changes ``` every response ```text X-RateLimit-Limit: 10 X-MWT-Credits-Used: 1 X-MWT-Credits-Remaining: 49998 X-Request-Id: 01KPW… ``` 003 who builds on this [ [saas] Product teams Calculators in dashboards, forms, and onboarding flows ](/tools/) [ [fin] Financial sites Interest, mortgage, APY, ROI — audited formulas ](/tools/category/finance/) [ [edu] Education apps Practice, quizzes, step-by-step explanations ](/tools/) [ [mcp] Agents & automation Exact tool calls over MCP after the LLM plans ](/docs/#mcp) 004 why pay for "simple" ## The formula is the easy part. Anyone can write`a / b * 100`. What eats your sprint is everything around it: input validation, edge cases, rounding rules, examples, docs that stay current, rate limits, and a billing story. We package that operational work behind one HTTP call — and we've been maintaining these exact tools in production since 2010. Ship the feature this afternoon POST a JSON body, render`result`. No formula review, no test matrix for edge cases you haven't thought of yet. Integrate once, reuse 520 times Same auth, same envelope, same error codes on every endpoint. Your client wrapper is ~20 lines, total. Predictable bill, no surprises Each tool's credit weight is published in the OpenAPI spec. Failed calls refund automatically. Hard caps by default. ## Best-fit use cases - Calculator features inside dashboards, forms, or onboarding flows. - Finance, education, and content sites that need utility endpoints that just work. - Agencies and automation builders running many small tools under one account. - AI agents that plan in natural language but need exact, deterministic execution. [Browse all endpoints →](/tools/) [Read docs](/docs/) 005 pricing ## Free to evaluate. Cheap to ship. Start free, no card. Upgrade when an endpoint becomes part of your product. Cancel anytime from the Stripe portal — no sales call required. Monthly Yearly −16% ### Free Free 1,000 credits/mo 1 req/sec Hard cap Testing and prototypes Core text, hash, math, date, and conversion tools [Start free](/billing/checkout/?plan=free) ### Starter $ 29 /mo 75,000 credits/mo 5 req/sec Hard cap + manual packs Indie apps and automations Core plus basic finance [Start Starter](/billing/checkout/?plan=starter&cycle=monthly) POPULAR ### Pro $ 79 /mo 400,000 credits/mo 15 req/sec Hard cap default; optional $0.25 / 1K credits Production SaaS and content workflows Core, finance, text, random, and webmaster light [Start Pro](/billing/checkout/?plan=pro&cycle=monthly) ### Business $ 199 /mo 1,500,000 credits/mo 50 req/sec Hard cap default; optional $0.15 / 1K credits Teams and production apps All sync APIs, logs, invoices, team controls [Start Business](/billing/checkout/?plan=business&cycle=monthly) ### Scale $ 499 /mo 5,000,000 credits/mo 100 req/sec Hard cap default; optional $0.10 / 1K credits High throughput and batch usage Higher limits, priority queue, crawler add-ons later [Start Scale](/billing/checkout/?plan=scale&cycle=monthly) Yearly billing: pay 10 months, get 12. Need >5M/mo, SOC 2, or a DPA? [sales@miniwebtool.com](mailto:sales@miniwebtool.com) ## First`curl`in 30 seconds. Verify your email → get a key → stable JSON. No card, no SDK, no tool build-out. [Get a free key →](/billing/checkout/?plan=free) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) docs read in ~5 minutes # Docs Everything below applies to all 520 endpoints — learn the envelope once and every tool works the same way. New here? Read top to bottom. Know what you're calling? Jump to the [endpoint reference](/v1/docs). when-to-use quickstart auth errors rate-limits credits versioning mcp privacy support concepts ### How the API works Auth, errors, rate limits, credits, versioning, and MCP — one envelope shared by every endpoint. [ reference ### Every endpoint, searchable Interactive UI on the live OpenAPI 3.1 spec, grouped by category. Hotkey K to search. ](/v1/docs) [Tool catalog (520)](/tools/) [openapi.json](/v1/openapi.json) [Contact](mailto:support@miniwebtool.com) ## 01 When to use MiniWebtool API Use it when your product needs calculators, hashes, counters, date math, finance formulas, converters, or other repeatable utility results. You get stable JSON, a fixed credit cost per call, and no helper code to write, test, and maintain for each tool. If the utility is core IP for your business, build it yourself; if it's plumbing, call ours. ## 02 Quickstart Get a key from the [dashboard](/dashboard/) (free tier, no card), then: ```text $ curl https://api.miniwebtool.com/v1/tools/percentage-calculator/run \ -H "Authorization: Bearer $MWT_KEY" \ -H "Content-Type: application/json" \ -d '{"mode":"percent_of","a":15,"b":200}' {"request_id":"01KPW…","tool":"percentage-calculator","credits_used":1,"result":{"mode":"percent_of","a":15,"b":200,"result":30}} ``` Every tool lives under`/v1/tools//run`. Slugs are lowercase-hyphenated and never change within a major version. ## 03 Authentication Pass your key as a bearer token.`X-API-Key`works too if your HTTP client can't set`Authorization`. ```text Authorization: Bearer mwt_live_<20-hex>_<40-hex> # or X-API-Key: mwt_live_... ``` - Keys are scoped to a Project under an Organization. Revoke from the dashboard at any time — invalidation is instant. - We store only`sha512(key)`and a lookup prefix. A lost key cannot be recovered — rotate instead. - `env=test`keys skip billing but still count against rate limits — use for staging. ## 04 Errors (RFC 7807) Every non-2xx response is`application/problem+json`: ```text { "type": "https://api.miniwebtool.com/errors/insufficient_credits", "title": "Insufficient credits", "status": 402, "detail": "Plan 'starter' has 0 credits remaining this period.", "instance": "/v1/tools/word-counter/run", "request_id": "01KPW…", "code": "insufficient_credits" } ``` Branch on`code`, not`title`. Titles may change for copy reasons; codes are a stable contract. Known codes:`invalid_request`,`invalid_api_key`,`insufficient_credits`,`rate_limited`,`tool_not_allowed`,`payload_too_large`,`internal_error`. ## 05 Rate limits & headers Every response — 2xx, 4xx, 5xx — carries these headers: ```text X-RateLimit-Limit: 10 # plan per-sec cap X-MWT-Credits-Used: 2 # cost of this call X-MWT-Credits-Remaining: 49998 # after this call, -1 if unlimited X-Request-Id: 01KPW… # opaque ULID, include in support tickets Retry-After: 1 # only on 429 X-RateLimit-Reset: 1780… # only on 429, unix seconds ``` Rate limiting is a sliding 1-second window per organization. Monthly credits reset on the 1st UTC. ## 06 Credits - Every tool has a fixed`credit_weight`. Text/hash/math tools usually cost 1 credit, simple finance costs 2, and table-heavy finance costs more. - Weights are declared in the [OpenAPI spec](/v1/openapi.json) under`x-mwt-credit-weight`— your build can budget before you ever ship. - Validation failures (4xx) and tool 5xx don't charge. Credits are reserved on entry and refunded on failure automatically. - Free and Starter are hard-capped. Pro, Business, and Scale are hard-capped by default; optional overage is metered per 1K credits only after you enable it. No silent overage bills. ## 07 Versioning Every response carries`tool_version`. A version bump means either a bug fix (backward-compatible) or a breaking output-shape change — we never change a version in place. The`/v1/`path prefix guarantees the request envelope is stable. New major versions (`/v2/`) ship alongside v1 for 12+ months before v1 deprecation. ## 08 MCP / agent usage Every tool in the registry is exposed at`/v1/mcp`as a [Model Context Protocol](https://modelcontextprotocol.io) server (JSON-RPC 2.0 over HTTP, spec version`2025-06-18`). Claude, Cursor, and any MCP-capable agent can discover and call tools with your bearer token in one round trip — no SDK, no client codegen, no separate function definitions. ### Endpoint ```text POST https://api.miniwebtool.com/v1/mcp Authorization: Bearer mwt_live_... Content-Type: application/json ``` ### Supported methods - `initialize`— public handshake; returns server info + protocol version. - `tools/list`— public; returns every tool with`name`,`title`,`description`, and a JSON Schema`inputSchema`. - `tools/call`— authenticated; same quota + credit billing path as REST. Response carries both`content[]`(for the LLM) and`structuredContent`(for code). - `ping`,`notifications/*`— handled per spec. ### Claude Desktop config ```text // ~/.config/Claude/claude_desktop_config.json (Linux) // %APPDATA%\Claude\claude_desktop_config.json (Windows) // ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) { "mcpServers": { "miniwebtool": { "url": "https://api.miniwebtool.com/v1/mcp", "headers": { "Authorization": "Bearer mwt_live_..." } } } } ``` ### Try it by hand ```text # list tools (no key needed) $ curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[].name' # call one (needs key) $ curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $MWT_KEY" \ -d '{"jsonrpc":"2.0","id":2,"method":"tools/call", "params":{"name":"percentage-calculator", "arguments":{"mode":"percent_of","a":15,"b":200}}}' \ | jq.result.structuredContent ``` Deterministic tools are a particularly good fit for agents: let the agent plan, then call hosted tools for calculations, conversions, formatting, and hashing. Every MCP`tools/call`also shows up in the REST`UsageEvent`log — same dashboard, same billing. ## 09 Privacy - Pure-math tools (interest, hash, percentage) log only`sha256(body)`, never raw input. - PII-bearing tools (text analysis, parsing) run in`no_body_logs`mode — we record only the byte count. - Request-id is always logged for debugging — include it when you file a ticket. - Signed DPA available for Business and Scale plans. [legal@miniwebtool.com](mailto:legal@miniwebtool.com) ## 10 Support - Email [support@miniwebtool.com](mailto:support@miniwebtool.com) with the failing`X-Request-Id`— it links directly to our logs. - Missing a tool you need? [Request it](mailto:support@miniwebtool.com) — the catalog grows from customer asks first. API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) 520 endpoints · 28 categories # Catalog 520 JSON endpoints, each with a typed schema, a published credit cost, a hosted playground, and copy-paste snippets. Press / to search. › / Finance 105 Text 31 Hash & Checksum 6 Math 240 Random 12 Webmaster 8 Color 3 Construction 5 Conversion 1 Converters 1 Cooking 8 Craft 1 Creator 1 Datetime 2 Dev 7 Developer 6 Electronics 4 Engineering 1 Environment 1 Event 1 Lifestyle 12 Marketing 1 Miscellaneous 4 Physics 1 Science 35 Sports 13 Time 1 Time-Date 9 No tools match that search. [Clear filter](/tools/) or [request one →](mailto:support@miniwebtool.com) ## [Finance](/tools/category/finance/) 105 endpoints [full page →](/tools/category/finance/) Exact interest, mortgage, APY, and other money math. Auto [ Car Depreciation Calculator car-depreciation-calculator Estimate vehicle depreciation using a declining-balance annual rate. 2cr ](/tools/car-depreciation-calculator/) [ Car Lease Calculator car-lease-calculator Estimate monthly auto lease payment from cap cost, residual value, money factor, tax, and fees. 2cr ](/tools/car-lease-calculator/) Bonds [ Bond Equivalent Yield Calculator bond-equivalent-yield-calculator Calculate bond equivalent yield for a discount security. 2cr ](/tools/bond-equivalent-yield-calculator/) [ Bond Yield to Maturity Calculator bond-yield-to-maturity-calculator Calculate bond yield to maturity with current yield and return metrics. 2cr ](/tools/bond-yield-to-maturity-calculator/) [ Zero Coupon Bond Calculator zero-coupon-bond-calculator Calculate zero coupon bond price or yield to maturity. 2cr ](/tools/zero-coupon-bond-calculator/) Credit [ Credit Card Interest Calculator credit-card-interest-calculator Estimate credit card payoff time, interest cost, and payment strategy savings. 2cr ](/tools/credit-card-interest-calculator/) Credit Card Calculators [ Credit Card Payment Calculator credit-card-payment-calculator Calculate the fixed monthly payment needed to pay off a credit card balance over a chosen number of months. 1cr ](/tools/credit-card-payment-calculator/) [ Credit Card Payoff Calculator credit-card-payoff-calculator Estimate how long a credit card payoff plan will take and how much interest it costs. 1cr ](/tools/credit-card-payoff-calculator/) Debt [ Debt Consolidation Calculator debt-consolidation-calculator Estimate a consolidated debt payment and interest cost. 2cr ](/tools/debt-consolidation-calculator/) [ Debt Coverage Ratio Calculator debt-coverage-ratio-calculator Calculate debt service coverage ratio from NOI and debt service, or build NOI from property inputs. 2cr ](/tools/debt-coverage-ratio-calculator/) [ Debt to Income Ratio Calculator debt-to-income-ratio-calculator Calculate debt-to-income ratio from monthly income and debt payments. 2cr ](/tools/debt-to-income-ratio-calculator/) [ Fixed Charge Coverage Ratio Calculator fixed-charge-coverage-ratio-calculator Calculate fixed charge coverage ratio with optional EBITDA and principal-payment adjustments. 2cr ](/tools/fixed-charge-coverage-ratio-calculator/) [ Interest Coverage Ratio Calculator interest-coverage-ratio-calculator Calculate EBIT or EBITDA based interest coverage ratio. 2cr ](/tools/interest-coverage-ratio-calculator/) [ Times Interest Earned Ratio Calculator times-interest-earned-ratio-calculator Calculate times interest earned ratio and interest coverage safety margin. 2cr ](/tools/times-interest-earned-ratio-calculator/) Debt Calculators [ Debt Payoff Calculator debt-payoff-calculator Compare debt snowball and avalanche payoff strategies for a small list of debts. 1cr ](/tools/debt-payoff-calculator/) Depreciation [ Actual Cash Value Calculator actual-cash-value-calculator Calculate actual cash value from replacement cost, age, lifespan, salvage, and depreciation method. 1cr ](/tools/actual-cash-value-calculator/) Discounts [ Discount Calculator discount-calculator Calculate final price, savings, tax, stacked discounts, or BOGO deals. 1cr ](/tools/discount-calculator/) [ Percent Off Calculator percent-off-calculator Calculate discount amount and sale price from original price and percent off. 1cr ](/tools/percent-off-calculator/) Efficiency [ Average Collection Period Calculator average-collection-period-calculator Calculate average collection period, receivables turnover, and industry benchmark spread. 2cr ](/tools/average-collection-period-calculator/) [ Debtor Days Calculator debtor-days-calculator Calculate debtor days, receivables ratio, and working capital above a 30-day target. 2cr ](/tools/debtor-days-calculator/) [ Fixed Asset Turnover Calculator fixed-asset-turnover-calculator Measure revenue generated per dollar of net fixed assets. 2cr ](/tools/fixed-asset-turnover-calculator/) [ Inventory Turnover Calculator inventory-turnover-calculator Calculate inventory turnover, days sales in inventory, and annualized turnover. 2cr ](/tools/inventory-turnover-calculator/) [ Receivables Turnover Ratio Calculator receivables-turnover-ratio-calculator Calculate receivables turnover and days sales outstanding. 2cr ](/tools/receivables-turnover-ratio-calculator/) [ Total Asset Turnover Calculator total-asset-turnover-calculator Measure revenue generated per dollar of average total assets. 2cr ](/tools/total-asset-turnover-calculator/) Financial Ratio [ Goodwill to Assets Ratio Calculator goodwill-to-assets-ratio-calculator Calculate goodwill-to-assets ratio and tangible asset share. 2cr ](/tools/goodwill-to-assets-ratio-calculator/) [ Retention Ratio Calculator retention-ratio-calculator Calculate retention ratio, payout ratio, and retained earnings. 2cr ](/tools/retention-ratio-calculator/) Interest [ APR Calculator apr-calculator Calculate true APR from loan amount, rolled-in fees, nominal rate, and term. 2cr ](/tools/apr-calculator/) [ APR to APY Calculator apr-to-apy-calculator Convert APR to APY for a selected compounding frequency. 2cr ](/tools/apr-to-apy-calculator/) [ APY Calculator apy-calculator Calculate annual percentage yield and compound growth. 2cr ](/tools/apy-calculator/) [ APY to APR Calculator apy-to-apr-calculator Convert APY back to nominal APR for a compounding frequency. 2cr ](/tools/apy-to-apr-calculator/) [ Compound Interest Calculator compound-interest-calculator Compound-interest formula with selectable compounding frequency. 2cr ](/tools/compound-interest-calculator/) [ Continuous Compounding Calculator continuous-compounding-calculator Calculate future value and interest with continuous compounding. 1cr ](/tools/continuous-compounding-calculator/) [ Doubling Time Calculator doubling-time-calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to double. 1cr ](/tools/doubling-time-calculator/) [ Effective Interest Rate Calculator effective-interest-rate-calculator Convert a nominal interest rate to its effective annual rate. 2cr ](/tools/effective-interest-rate-calculator/) [ Effective Yield Calculator effective-yield-calculator Calculate effective annual yield from nominal APR and compounding frequency. 2cr ](/tools/effective-yield-calculator/) [ Interest Rate Calculator interest-rate-calculator Solve the implied annual interest rate from principal, term, and monthly payment. 2cr ](/tools/interest-rate-calculator/) [ Nominal Interest Rate Calculator nominal-interest-rate-calculator Convert an effective annual rate to a nominal annual rate. 2cr ](/tools/nominal-interest-rate-calculator/) [ Simple Interest Calculator simple-interest-calculator Simple-interest formula: I = P * r * t. 2cr ](/tools/simple-interest-calculator/) Investing [ Stock Profit Loss Calculator stock-profit-loss-calculator Calculate stock trade profit, loss, ROI, and breakeven price. 2cr ](/tools/stock-profit-loss-calculator/) Investment [ Capital Employed Calculator capital-employed-calculator Calculate capital employed by common balance-sheet methods and optional ROCE. 2cr ](/tools/capital-employed-calculator/) [ WACC Calculator wacc-calculator Calculate weighted average cost of capital and component contributions. 1cr ](/tools/wacc-calculator/) Leverage [ Debt to Asset Ratio Calculator debt-to-asset-ratio-calculator Calculate debt-to-asset ratio, equity ratio, and optional industry benchmark spread. 2cr ](/tools/debt-to-asset-ratio-calculator/) [ Debt to Equity Ratio Calculator debt-to-equity-ratio-calculator Calculate debt-to-equity ratio, equity multiplier, and capital structure shares. 2cr ](/tools/debt-to-equity-ratio-calculator/) [ Equity Ratio Calculator equity-ratio-calculator Calculate equity ratio, debt ratio, equity multiplier, and industry benchmark spread. 2cr ](/tools/equity-ratio-calculator/) Liquidity [ Cash Ratio Calculator cash-ratio-calculator Calculate cash ratio from cash, marketable securities, and current liabilities. 2cr ](/tools/cash-ratio-calculator/) [ Current Ratio Calculator current-ratio-calculator Calculate current ratio and working capital from current assets and liabilities. 2cr ](/tools/current-ratio-calculator/) [ Loan to Deposit Ratio Calculator loan-to-deposit-ratio-calculator Calculate bank loan-to-deposit ratio, deposit coverage, and liquidity status. 2cr ](/tools/loan-to-deposit-ratio-calculator/) [ Quick Ratio Calculator quick-ratio-calculator Calculate quick ratio, quick assets, current ratio, and liquidity rating. 2cr ](/tools/quick-ratio-calculator/) Loan Calculators [ Amortization Calculator amortization-calculator Calculate loan payment, interest, payoff timing, and savings from extra monthly principal. 1cr ](/tools/amortization-calculator/) [ HELOC Calculator heloc-calculator Estimate HELOC draw-period and repayment-period payments, interest cost, and combined loan-to-value. 1cr ](/tools/heloc-calculator/) Loans [ Auto Loan Calculator auto-loan-calculator Calculate auto loan amount, monthly payment, tax, and total interest. 2cr ](/tools/auto-loan-calculator/) [ Business Loan Calculator business-loan-calculator Estimate business loan payments, fees, payoff time, and interest. 2cr ](/tools/business-loan-calculator/) [ Car Loan Payoff Calculator car-loan-payoff-calculator Compare standard and accelerated payoff for a car loan. 2cr ](/tools/car-loan-payoff-calculator/) [ Down Payment Calculator down-payment-calculator Estimate mortgage down payment, loan amount, monthly payment, PMI, and comparison scenarios. 2cr ](/tools/down-payment-calculator/) [ EMI Calculator emi-calculator Calculate equated monthly installment and total interest for a loan. 2cr ](/tools/emi-calculator/) [ Loan Payoff Calculator loan-payoff-calculator Calculate loan payoff months and savings from extra monthly payments. 2cr ](/tools/loan-payoff-calculator/) [ Mortgage Calculator mortgage-calculator Monthly payment, total interest, LTV, and optional amortization schedule. 5cr ](/tools/mortgage-calculator/) [ Personal Loan Calculator personal-loan-calculator Calculate personal loan payment, payoff time, interest, and extra-payment savings. 2cr ](/tools/personal-loan-calculator/) Marketing [ ROAS Calculator roas-calculator Calculate return on ad spend, profit, ROI, or target revenue. 2cr ](/tools/roas-calculator/) Profit [ Break-Even Calculator break-even-calculator Calculate break-even units, revenue, contribution margin, and target-profit units. 1cr ](/tools/break-even-calculator/) [ EBIT Calculator ebit-calculator Calculate EBIT and EBIT margin from revenue, expenses, and non-operating income. 2cr ](/tools/ebit-calculator/) [ EBITDA Calculator ebitda-calculator Calculate EBITDA using net income or operating income inputs. 2cr ](/tools/ebitda-calculator/) Profitability [ Cash Flow Margin Calculator cash-flow-margin-calculator Calculate operating cash flow margin as a percentage of net sales. 2cr ](/tools/cash-flow-margin-calculator/) [ Earnings per Share Calculator earnings-per-share-calculator Calculate basic, diluted, or weighted earnings per share. 2cr ](/tools/earnings-per-share-calculator/) [ EBIT Margin Calculator ebit-margin-calculator Calculate EBIT margin and EBIT-to-revenue ratio. 2cr ](/tools/ebit-margin-calculator/) [ EBITDA Margin Calculator ebitda-margin-calculator Calculate EBITDA margin from direct EBITDA or component inputs. 2cr ](/tools/ebitda-margin-calculator/) [ Gross Profit Margin Calculator gross-profit-margin-calculator Calculate gross profit, gross margin, markup, and cost ratio. 2cr ](/tools/gross-profit-margin-calculator/) [ Net Profit Margin Calculator net-profit-margin-calculator Calculate net profit margin and profit per revenue dollar. 2cr ](/tools/net-profit-margin-calculator/) [ Operating Margin Calculator operating-margin-calculator Calculate operating margin from operating income or detailed operating components. 2cr ](/tools/operating-margin-calculator/) [ Profit Calculator profit-calculator Solve profit, margin, markup, revenue, or cost from the known values. 2cr ](/tools/profit-calculator/) [ Profit to Sales Ratio Calculator profit-to-sales-ratio-calculator Calculate profit-to-sales ratio and compare it with an industry benchmark. 2cr ](/tools/profit-to-sales-ratio-calculator/) [ Return on Assets Ratio Calculator return-on-assets-ratio-calculator Calculate ROA with optional DuPont margin and asset-turnover breakdown. 2cr ](/tools/return-on-assets-ratio-calculator/) [ Return On Equity Calculator return-on-equity-calculator Calculate ROE with optional 3- or 5-component DuPont analysis. 2cr ](/tools/return-on-equity-calculator/) [ Return On Sales Calculator return-on-sales-calculator Calculate return on sales, operating cost ratio, and ROS decimal. 2cr ](/tools/return-on-sales-calculator/) Real Estate [ Capitalization Rate Calculator capitalization-rate-calculator Solve cap rate, property value, or required NOI for real estate income analysis. 2cr ](/tools/capitalization-rate-calculator/) [ Gross Rent Multiplier Calculator gross-rent-multiplier-calculator Calculate gross rent multiplier and rental yield for a property. 2cr ](/tools/gross-rent-multiplier-calculator/) [ Home Equity Calculator home-equity-calculator Calculate home equity, LTV, CLTV, and optional five-year equity projection. 2cr ](/tools/home-equity-calculator/) [ Moving Cost Estimator moving-cost-estimator Estimate moving costs from home size, distance, service level, and access factors. 2cr ](/tools/moving-cost-estimator/) Real Estate Calculators [ BRRRR Method Calculator brrrr-method-calculator Analyze a BRRRR real estate deal, including all-in cost, refinance proceeds, capital recycled, equity, and cash flow. 1cr ](/tools/brrrr-method-calculator/) [ Cash-on-Cash Return Calculator cash-on-cash-return-calculator Estimate rental property cash-on-cash return, cap rate, NOI, cash flow, and DSCR. 1cr ](/tools/cash-on-cash-return-calculator/) [ House Flipping Profit Calculator house-flipping-profit-calculator Estimate house flip net profit, ROI, financing effects, and the 70 percent rule threshold. 1cr ](/tools/house-flipping-profit-calculator/) [ Housing Appreciation Calculator housing-appreciation-calculator Calculate total home value change, annualized appreciation, and a future value projection. 1cr ](/tools/housing-appreciation-calculator/) Retail [ Markup Calculator markup-calculator Calculate markup percentage, selling price, cost, profit, and margin. 1cr ](/tools/markup-calculator/) Return [ Dividend Payout Ratio Calculator dividend-payout-ratio-calculator Calculate dividend payout ratio and retention ratio from total or per-share inputs. 2cr ](/tools/dividend-payout-ratio-calculator/) [ Dividend Yield Calculator dividend-yield-calculator Calculate dividend yield, per-payment dividend, and optional annual income. 2cr ](/tools/dividend-yield-calculator/) [ ROI Calculator roi-calculator Calculate ROI, annualized ROI, CAGR, and investment term from fixed dates. 2cr ](/tools/roi-calculator/) Salary [ Hourly to Salary Calculator hourly-to-salary-calculator Convert an hourly wage to weekly, monthly, and annual salary. 2cr ](/tools/hourly-to-salary-calculator/) [ Hourly Wage Calculator hourly-wage-calculator Convert annual salary to equivalent hourly wage. 2cr ](/tools/hourly-wage-calculator/) [ Salary Conversion Calculator salary-conversion-calculator Convert wage amounts across hourly, daily, weekly, monthly, and annual pay periods. 2cr ](/tools/salary-conversion-calculator/) [ Weekly Wage Calculator weekly-wage-calculator Convert annual salary to weekly wage. 2cr ](/tools/weekly-wage-calculator/) Sales [ Commission Calculator commission-calculator Calculate flat, tiered, or bonus-based sales commission. 2cr ](/tools/commission-calculator/) Savings [ Compound Savings Calculator compound-savings-calculator Project savings growth with compound interest and regular contributions. 1cr ](/tools/compound-savings-calculator/) TVM [ Future Value Calculator future-value-calculator Calculate future value from a lump sum plus optional recurring contributions. 2cr ](/tools/future-value-calculator/) [ Future Value Factor Calculator future-value-factor-calculator Calculate the future value factor for a rate and number of periods. 2cr ](/tools/future-value-factor-calculator/) [ Future Value of Annuity Calculator future-value-of-annuity-calculator Calculate future value for ordinary annuities and annuities due. 2cr ](/tools/future-value-of-annuity-calculator/) [ Future Value of Annuity Due Calculator future-value-of-annuity-due-calculator Calculate future value of an annuity due and compare it with an ordinary annuity. 2cr ](/tools/future-value-of-annuity-due-calculator/) [ Future Value of Growing Annuity Calculator future-value-of-growing-annuity-calculator Calculate future value for payments that grow each period. 2cr ](/tools/future-value-of-growing-annuity-calculator/) [ Future Value of Lump Sum Calculator future-value-of-lump-sum-calculator Calculate compound future value for a single lump-sum investment. 2cr ](/tools/future-value-of-lump-sum-calculator/) [ FVIFA Calculator fvifa-calculator Calculate the future value interest factor of an annuity. 2cr ](/tools/fvifa-calculator/) [ Present Value of Annuity Calculator present-value-of-annuity-calculator Calculate present value for ordinary annuities and annuities due. 2cr ](/tools/present-value-of-annuity-calculator/) [ Present Value of Lump Sum Calculator present-value-of-lump-sum-calculator Discount a future lump sum back to present value. 2cr ](/tools/present-value-of-lump-sum-calculator/) Tax [ VAT Calculator vat-calculator Add, remove, or extract VAT from an amount using a preset or custom rate. 2cr ](/tools/vat-calculator/) Valuation [ Book Value per Share Calculator book-value-per-share-calculator Calculate book value per share, common equity, and optional price-to-book ratio. 2cr ](/tools/book-value-per-share-calculator/) [ P/E Ratio Calculator p-e-ratio-calculator Calculate price-to-earnings ratio, earnings yield, and sector benchmark premium. 2cr ](/tools/p-e-ratio-calculator/) [ Price to Book Ratio Calculator price-to-book-ratio-calculator Calculate price-to-book ratio and compare it to industry benchmark ranges. 2cr ](/tools/price-to-book-ratio-calculator/) ## [Text](/tools/category/text/) 31 endpoints [full page →](/tools/category/text/) Word / character / line counters, whitespace, case, encoding. Analysis [ Character Counter character-counter Count characters, letters, digits, whitespace, and punctuation. 1cr ](/tools/character-counter/) [ Compare Two Strings compare-two-strings Compare two strings with equality, similarity, edit distance, and diff statistics. 1cr ](/tools/compare-two-strings/) [ Find Longest Line find-longest-line Rank text lines by character, word, or byte length and return the longest lines. 1cr ](/tools/find-longest-line/) [ Line Counter line-counter Count total / non-empty / empty lines and longest-line length. 1cr ](/tools/line-counter/) [ Pangram Checker pangram-checker Check whether text contains every letter A through Z. 1cr ](/tools/pangram-checker/) [ Sentence Counter sentence-counter Count sentences and classify sentence type and basic complexity. 1cr ](/tools/sentence-counter/) [ Word Counter word-counter Count words, characters, sentences, paragraphs, reading/speaking time, top words. 1cr ](/tools/word-counter/) CSS [ CSS Beautifier css-beautifier Format compact CSS with indentation and line breaks. 1cr ](/tools/css-beautifier/) Case [ Text Case Converter lowercase-uppercase-letters Convert text to uppercase, lowercase, title, sentence, camel, snake, kebab, and related cases. 1cr ](/tools/lowercase-uppercase-letters/) [ Title Case Converter title-case-converter Convert text to title case using smart, APA, Chicago, MLA, AP, or simple capitalization rules. 1cr ](/tools/title-case-converter/) Deduplication [ Remove Duplicate Lines remove-duplicate-lines Remove duplicate text lines while keeping first, last, or only unique occurrences. 1cr ](/tools/remove-duplicate-lines/) Encoding [ Morse Code Generator morse-code-generator Convert text to International Morse code with character breakdown. 1cr ](/tools/morse-code-generator/) Formatting [ ASCII Art Generator ascii-art-generator Generate deterministic ASCII banner art from short text. 1cr ](/tools/ascii-art-generator/) Generators [ Buzzword Bingo Generator buzzword-bingo-generator Generate a deterministic buzzword bingo board from a term list and seed. 1cr ](/tools/buzzword-bingo-generator/) Lists [ List Difference Calculator list-difference-calculator Compare two line-based lists and return differences, intersection, and union. 1cr ](/tools/list-difference-calculator/) Modification [ Add Line Numbers add-line-numbers Add configurable line numbers to the start or end of each text line. 1cr ](/tools/add-line-numbers/) [ Add Prefix and Suffix add-prefix-and-suffix Add prefix, suffix, and optional numbering to each text line, word, or delimited item. 1cr ](/tools/add-prefix-and-suffix/) [ Remove Accent remove-accent Remove accents and combining marks from Unicode text. 1cr ](/tools/remove-accent/) [ Remove Line Numbers remove-line-numbers Strip numeric prefixes such as line numbers from each line of text. 1cr ](/tools/remove-line-numbers/) [ Remove Lines Containing remove-lines-containing Keep or remove lines matching a text, word, prefix, suffix, or regex pattern. 1cr ](/tools/remove-lines-containing/) [ Remove Punctuation remove-punctuation Remove or replace selected punctuation categories from text. 1cr ](/tools/remove-punctuation/) [ Reverse Text reverse-text Reverse whole text, word order, each word, or line order. 1cr ](/tools/reverse-text/) Sorting [ Sort Lines Alphabetically sort-lines-alphabetically Sort text lines alphabetically, naturally, numerically, or by length. 1cr ](/tools/sort-lines-alphabetically/) Subtitles [ CSV to SRT Converter csv-to-srt Convert CSV subtitle rows with start, end, and text columns to SRT. 1cr ](/tools/csv-to-srt/) Text Conversion [ Word to Phone Number Converter word-to-phone-number-converter Convert words and phrases into T9 keypad phone numbers. 1cr ](/tools/word-to-phone-number-converter/) Text Modification [ Text Repeat text-repeat Repeat text multiple times with separators, numbering, and case options. 1cr ](/tools/text-repeat/) [ Upside Down Text Generator upside-down-text-generator Flip text upside down using Unicode character mappings. 1cr ](/tools/upside-down-text-generator/) Text Statistics [ Word Frequency Analyzer word-frequency-analyzer Analyze word frequency, unique words, lexical diversity, and CSV output. 1cr ](/tools/word-frequency-analyzer/) Whitespace [ Remove Empty Lines remove-empty-lines Remove blank or whitespace-only lines from text and report line reduction statistics. 1cr ](/tools/remove-empty-lines/) [ Remove Leading Trailing Spaces remove-leading-trailing-spaces Trim leading and trailing spaces or tabs from each line. 1cr ](/tools/remove-leading-trailing-spaces/) [ Remove Spaces remove-spaces Strip whitespace: all, extra, leading, trailing, or per-line. 1cr ](/tools/remove-spaces/) ## [Hash & Checksum](/tools/category/hash/) 6 endpoints [full page →](/tools/category/hash/) SHA, MD5, HMAC, and digest utilities with stable JSON output. [ BLAKE2b Hash Generator blake2b-hash-generator Generate a BLAKE2b digest with 256, 384, or 512-bit output. 1cr ](/tools/blake2b-hash-generator/) [ MD5 Hash Generator md5-hash-generator Generate an MD5 hex digest for checksum and legacy compatibility. 1cr ](/tools/md5-hash-generator/) [ SHA-256 Hash Generator sha256-hash-generator Generate a SHA-256 hex digest of a UTF-8 string. 1cr ](/tools/sha256-hash-generator/) [ SHA3-512 Hash Generator sha3-512-hash-generator Generate a SHA3-512 hex digest of a UTF-8 string. 1cr ](/tools/sha3-512-hash-generator/) [ SHA-384 Hash Generator sha384-hash-generator Generate a SHA-384 hex digest of a UTF-8 string. 1cr ](/tools/sha384-hash-generator/) [ SHA-512 Hash Generator sha512-hash-generator Generate a SHA-512 hex digest of a UTF-8 string. 1cr ](/tools/sha512-hash-generator/) ## [Math](/tools/category/math/) 240 endpoints [full page →](/tools/category/math/) Percentage, unit conversion, geometry, and sequences. Advanced [ Complementary Error Function Calculator complementary-error-function-calculator Calculate erf(x), erfc(x), and related error-function values. 1cr ](/tools/complementary-error-function-calculator/) [ Exponential Decay Calculator exponential-decay-calculator Solve continuous exponential decay equations for final amount, initial amount, rate, or time. 1cr ](/tools/exponential-decay-calculator/) [ Exponential Growth Calculator exponential-growth-calculator Solve continuous exponential growth equations for final amount, initial amount, rate, or time. 1cr ](/tools/exponential-growth-calculator/) Advanced Math [ Antilog Calculator antilog-calculator Calculate an antilogarithm as base raised to an exponent. 1cr ](/tools/antilog-calculator/) Algebra [ Absolute Value Equation Solver absolute-value-equation-solver Solve equations of the form |a*x + b| = c. 1cr ](/tools/absolute-value-equation-solver/) [ Absolute Value Inequality Solver absolute-value-inequality-solver Solve inequalities of the form |a*x + b| compared with c. 1cr ](/tools/absolute-value-inequality-solver/) [ Completing the Square Calculator completing-the-square-calculator Convert a quadratic to vertex form and solve by completing the square. 1cr ](/tools/completing-the-square-calculator/) [ Cubic Equation Solver cubic-equation-solver Solve ax^3 + bx^2 + cx + d = 0 and return all real or complex roots. 1cr ](/tools/cubic-equation-solver/) [ Point Slope Form Calculator point-slope-form-calculator Build point-slope, slope-intercept, and standard-form line equations. 1cr ](/tools/point-slope-form-calculator/) [ Slope Intercept Form Calculator slope-intercept-form-calculator Build slope-intercept and standard-form line equations from m and b. 1cr ](/tools/slope-intercept-form-calculator/) [ Square Root Calculator square-root-calculator Calculate the principal and negative square roots of a non-negative number. 1cr ](/tools/square-root-calculator/) [ X and Y Intercept Calculator x-y-intercept-calculator Find x- and y-intercepts for a linear equation ax + by + c = 0. 1cr ](/tools/x-y-intercept-calculator/) Angles [ Radian to Degree Converter radian-to-degree-converter Convert radians, fractions, or pi expressions to degrees. 1cr ](/tools/radian-to-degree-converter/) Area [ Acreage Calculator acreage-calculator Calculate land acreage from rectangle, triangle, or circle dimensions. 1cr ](/tools/acreage-calculator/) [ Hectares to Acres Converter hectares-to-acres-converter Convert hectares to acres and related land-area units. 1cr ](/tools/hectares-to-acres-converter/) [ Square Feet to Acres Converter square-feet-to-acres-converter Convert square feet to acres and related land-area units. 1cr ](/tools/square-feet-to-acres-converter/) [ Square Footage Calculator square-footage-calculator Calculate square footage for common room, lot, and curved shapes. 1cr ](/tools/square-footage-calculator/) [ Square Meters to Acres Converter square-meters-to-acres-converter Convert square meters to acres and related land-area units. 1cr ](/tools/square-meters-to-acres-converter/) [ Square Miles to Acres Converter square-miles-to-acres-converter Convert square miles to acres and related land-area units. 1cr ](/tools/square-miles-to-acres-converter/) Basic Math [ Absolute Value Calculator absolute-value-calculator Calculate the absolute value of a real or complex number. 1cr ](/tools/absolute-value-calculator/) [ Cube and Cube Root Calculator cube-and-cube-root-calculator Calculate a number's cube and cube root. 1cr ](/tools/cube-and-cube-root-calculator/) [ Cube Root Calculator cube-root-calculator Calculate the real cube root of a finite number. 1cr ](/tools/cube-root-calculator/) [ Even or Odd Number Checker even-or-odd-number-checker Check whether one or more integers are even or odd. 1cr ](/tools/even-or-odd-number-checker/) Calculus [ Curvature Calculator curvature-calculator Calculate curvature and radius of curvature for a quadratic function. 1cr ](/tools/curvature-calculator/) Charts [ Bar Graph Maker bar-graph-maker Prepare normalized bar-chart data from labels and numeric values. 1cr ](/tools/bar-graph-maker/) Combinatorics [ Binomial Coefficient Calculator binomial-coefficient-calculator Calculate C(n, k), the number of combinations choosing k items from n. 1cr ](/tools/binomial-coefficient-calculator/) [ Combination Calculator combination-calculator Calculate combinations C(n, k). 1cr ](/tools/combination-calculator/) [ Permutation Calculator permutation-calculator Calculate P(n,r), where order matters and repetition is not allowed. 1cr ](/tools/permutation-calculator/) [ Permutations with Repetition Calculator permutations-with-repetition-calculator Calculate n^r ordered arrangements where items can repeat. 1cr ](/tools/permutations-with-repetition-calculator/) Complex Numbers [ Complex Numbers Calculator complex-numbers-calculator Add, subtract, multiply, or divide two complex numbers. 1cr ](/tools/complex-numbers-calculator/) Conics [ Hyperbola Calculator hyperbola-calculator Calculate standard-form hyperbola vertices, foci, eccentricity, and asymptotes. 1cr ](/tools/hyperbola-calculator/) Construction [ Flooring Calculator flooring-calculator Estimate flooring material units, waste allowance, and optional cost. 1cr ](/tools/flooring-calculator/) [ Insulation Calculator insulation-calculator Estimate insulation R-value target, thickness, material quantity, and cost range. 1cr ](/tools/insulation-calculator/) Cooking [ Butter to Oil Converter butter-to-oil-converter Convert butter quantities to practical oil equivalents for baking. 1cr ](/tools/butter-to-oil-converter/) Coordinate Geometry [ Polar to Cartesian Converter polar-to-cartesian-converter Convert polar coordinates to Cartesian x and y coordinates. 1cr ](/tools/polar-to-cartesian-converter/) Education [ Final Grade Calculator final-grade-calculator Calculate the final exam score needed to reach a target course grade. 1cr ](/tools/final-grade-calculator/) Electronics [ LED Resistor Calculator led-resistor-calculator Calculate LED current-limiting resistor values and power ratings. 1cr ](/tools/led-resistor-calculator/) Exponents [ Half Life Calculator half-life-calculator Solve exponential decay for remaining amount, initial amount, elapsed time, or half-life. 1cr ](/tools/half-life-calculator/) Fractions [ Comparing Fractions Calculator comparing-fractions-calculator Compare two fractions or mixed numbers using a common denominator. 1cr ](/tools/comparing-fractions-calculator/) [ Decimal to Fraction Calculator decimal-to-fraction-calculator Convert a decimal or parenthesized repeating decimal to a fraction. 1cr ](/tools/decimal-to-fraction-calculator/) [ Equivalent Fractions Calculator equivalent-fractions-calculator Generate equivalent fractions or check whether two fractions are equivalent. 1cr ](/tools/equivalent-fractions-calculator/) [ Fraction Simplifier fraction-simplifier Reduce a fraction to lowest terms and return GCF, mixed number, decimal, percentage, and equivalents. 1cr ](/tools/fraction-simplifier/) [ Fraction to Decimal Calculator fraction-to-decimal-calculator Convert proper, improper, or mixed fractions to decimals and detect repeating decimal patterns. 1cr ](/tools/fraction-to-decimal-calculator/) [ Fraction to Mixed Number Converter fraction-to-mixed-number-converter Convert an improper fraction to a simplified mixed number. 1cr ](/tools/fraction-to-mixed-number-converter/) [ Fraction to Percent Converter fraction-to-percent-converter Convert proper, improper, or mixed fractions to percentages with configurable decimal places. 1cr ](/tools/fraction-to-percent-converter/) [ Mixed Number to Fraction Converter mixed-number-to-fraction-converter Convert a mixed number to an improper fraction and simplified form. 1cr ](/tools/mixed-number-to-fraction-converter/) [ Reduce Fractions Calculator reduce-fractions-calculator Reduce a proper, improper, or mixed fraction to lowest terms. 1cr ](/tools/reduce-fractions-calculator/) Functions [ Hyperbolic Functions Calculator hyperbolic-functions-calculator Calculate sinh, cosh, tanh and reciprocal hyperbolic functions. 1cr ](/tools/hyperbolic-functions-calculator/) Games [ DPS Calculator dps-calculator Calculate raw, sustained, critical-hit, and headshot damage per second. 1cr ](/tools/dps-calculator/) Geometry [ 3D Distance Calculator 3d-distance-calculator Calculate 3D Euclidean distance, midpoint, direction cosines, and related distances. 1cr ](/tools/3d-distance-calculator/) [ Angle Bisector Calculator angle-bisector-calculator Calculate triangle angle bisectors, angles, area, and inradius from side lengths. 1cr ](/tools/angle-bisector-calculator/) [ Arc Length Calculator arc-length-calculator Solve arc length, radius, or central angle for a circle sector. 1cr ](/tools/arc-length-calculator/) [ Area of a Circle Calculator area-of-a-circle-calculator Calculate circle radius, diameter, circumference, and area from one value. 1cr ](/tools/area-of-a-circle-calculator/) [ Area of a Parallelogram Calculator area-of-a-parallelogram-calculator Find parallelogram area from base-height, sides-angle, or diagonals-angle inputs. 1cr ](/tools/area-of-a-parallelogram-calculator/) [ Area of a Sector Calculator area-of-a-sector-calculator Calculate sector area, arc length, perimeter, chord, and segment area. 1cr ](/tools/area-of-a-sector-calculator/) [ Area of a Trapezoid Calculator area-of-a-trapezoid-calculator Calculate trapezoid area from two parallel bases and height. 1cr ](/tools/area-of-a-trapezoid-calculator/) [ Area of an Ellipse Calculator area-of-an-ellipse-calculator Calculate ellipse area, Ramanujan perimeter, foci, and eccentricity. 1cr ](/tools/area-of-an-ellipse-calculator/) [ Area of Equilateral Triangle Calculator area-of-equilateral-triangle-calculator Calculate equilateral-triangle side, area, height, perimeter, and radii. 1cr ](/tools/area-of-equilateral-triangle-calculator/) [ Cartesian to Polar Coordinates Converter cartesian-to-polar-converter Convert Cartesian x-y coordinates to polar radius and angle. 1cr ](/tools/cartesian-to-polar-converter/) [ Circle Calculator circle-calculator Calculate circle radius, diameter, circumference, area, and optional arc/sector values. 1cr ](/tools/circle-calculator/) [ Circumscribed Circle Circumcircle Calculator circumscribed-circle-circumcircle-calculator Calculate the circumcircle of a triangle from side lengths or coordinates. 1cr ](/tools/circumscribed-circle-circumcircle-calculator/) [ Cone Flat Pattern Template Generator cone-flat-pattern-template-generator Calculate unrolled cone or frustum flat-pattern dimensions. 1cr ](/tools/cone-flat-pattern-template-generator/) [ Conic Section Identifier conic-section-identifier Classify a general second-degree equation as a conic section. 1cr ](/tools/conic-section-identifier/) [ Coordinate Geometry Distance Calculator coordinate-geometry-distance-calculator Calculate distance, midpoint, slope, and line equations between two points. 1cr ](/tools/coordinate-geometry-distance-calculator/) [ Distance Between Two Points Calculator distance-between-two-points-calculator Calculate 2D point distance, midpoint, slope, and line equation. 1cr ](/tools/distance-between-two-points-calculator/) [ Ellipse Circumference Calculator ellipse-circumference-calculator Calculate ellipse circumference with several common approximations. 1cr ](/tools/ellipse-circumference-calculator/) [ Euler Characteristic Calculator euler-characteristic-calculator Calculate Euler characteristic V - E + F and classify common surfaces. 1cr ](/tools/euler-characteristic-calculator/) [ Frustum Calculator frustum-calculator Calculate volume and surface area for a conical frustum. 1cr ](/tools/frustum-calculator/) [ Golden Ratio Calculator golden-ratio-calculator Calculate golden-ratio segments from total, larger, or smaller segment. 1cr ](/tools/golden-ratio-calculator/) [ Golden Rectangle Calculator golden-rectangle-calculator Calculate golden rectangle dimensions, area, perimeter, and aspect ratio. 1cr ](/tools/golden-rectangle-calculator/) [ Golden Section Calculator golden-section-calculator Find the golden-section points within an interval. 1cr ](/tools/golden-section-calculator/) [ Great Circle Distance Calculator great-circle-distance-calculator Calculate great-circle distance, bearing, and midpoint between two coordinates. 1cr ](/tools/great-circle-distance-calculator/) [ Heron's Formula Calculator heron-s-formula-calculator Calculate triangle area from three side lengths using Heron's formula. 1cr ](/tools/heron-s-formula-calculator/) [ Hypotenuse Calculator hypotenuse-calculator Calculate the hypotenuse and basic right-triangle measures from two legs. 1cr ](/tools/hypotenuse-calculator/) [ Midpoint Calculator midpoint-calculator Find the midpoint, distance, slope, and angle between two points. 1cr ](/tools/midpoint-calculator/) [ Point to Plane Distance Calculator point-to-plane-distance-calculator Calculate the distance from a 3D point to a plane Ax + By + Cz + D = 0. 1cr ](/tools/point-to-plane-distance-calculator/) [ Polygon Diagonals Calculator polygon-diagonals-calculator Calculate the number of diagonals and angle facts for a polygon. 1cr ](/tools/polygon-diagonals-calculator/) [ Pythagorean Theorem Calculator pythagorean-theorem-calculator Find a missing right-triangle side and calculate area, perimeter, and angles. 1cr ](/tools/pythagorean-theorem-calculator/) [ Rectangle Calculator rectangle-calculator Calculate rectangle area, perimeter, diagonal, radii, and aspect ratio from two known values. 1cr ](/tools/rectangle-calculator/) [ Regular Polygon Calculator regular-polygon-calculator Calculate regular polygon area, perimeter, apothem, circumradius, angles, and diagonal count. 1cr ](/tools/regular-polygon-calculator/) [ Slope Calculator slope-calculator Calculate slope, angle, intercepts, and line equation from two points. 1cr ](/tools/slope-calculator/) [ Square Calculator square-calculator Calculate square side length, area, perimeter, diagonal, inradius, and circumradius from one known value. 1cr ](/tools/square-calculator/) Geometry Calculators [ Torus Calculator torus-calculator Calculate torus volume, surface area, and key radii. 1cr ](/tools/torus-calculator/) Home [ Aquarium Substrate Calculator aquarium-substrate-calculator Estimate aquarium substrate volume, weight, and bag counts. 1cr ](/tools/aquarium-substrate-calculator/) Length [ Feet and Inches to Cm Converter feet-and-inches-to-cm-converter Convert feet and inches to total inches, centimeters, meters, and height comparison percentages. 1cr ](/tools/feet-and-inches-to-cm-converter/) Lifestyle [ Christmas Tree Calculator christmas-tree-calculator Check tree height fit and estimate lights, ornaments, and garland. 1cr ](/tools/christmas-tree-calculator/) Linear Algebra [ Angle Between Vectors Calculator angle-between-vectors-calculator Calculate the angle between two 2D or 3D vectors. 1cr ](/tools/angle-between-vectors-calculator/) [ Characteristic Polynomial Calculator characteristic-polynomial-calculator Calculate characteristic polynomial coefficients for a square matrix. 1cr ](/tools/characteristic-polynomial-calculator/) [ Cholesky Decomposition Calculator cholesky-decomposition-calculator Decompose a symmetric positive-definite matrix into A = L L^T. 1cr ](/tools/cholesky-decomposition-calculator/) [ Column Space Calculator column-space-calculator Find matrix pivot columns, rank, nullity, RREF, and a column-space basis. 1cr ](/tools/column-space-calculator/) [ Cramer's Rule Calculator cramer-s-rule-calculator Solve 2x2 or 3x3 linear systems with Cramer's rule. 1cr ](/tools/cramer-s-rule-calculator/) [ Cross Product Calculator cross-product-calculator Calculate the 3D cross product, magnitude, areas, and angle. 1cr ](/tools/cross-product-calculator/) [ Determinant Calculator determinant-calculator Calculate the determinant, trace, rank, and invertibility of a square matrix. 1cr ](/tools/determinant-calculator/) [ Dot Product Calculator dot-product-calculator Calculate the dot product, magnitudes, angle, and vector projection. 1cr ](/tools/dot-product-calculator/) [ Unit Vector Calculator unit-vector-calculator Normalize a vector and return its unit vector. 1cr ](/tools/unit-vector-calculator/) [ Vector Magnitude Calculator vector-magnitude-calculator Calculate the Euclidean magnitude and unit vector for any vector. 1cr ](/tools/vector-magnitude-calculator/) [ Vector Projection Calculator vector-projection-calculator Project one vector onto another and compute the orthogonal component. 1cr ](/tools/vector-projection-calculator/) Logarithms [ Log Base 10 Calculator log-base-10-calculator Calculate common logarithms with bounds and an antilog check. 1cr ](/tools/log-base-10-calculator/) [ Log Base 2 Calculator log-base-2-calculator Calculate binary logarithms and detect exact powers of two. 1cr ](/tools/log-base-2-calculator/) Number Systems [ Base Converter base-converter Convert integers between bases 2 through 36. 1cr ](/tools/base-converter/) [ Base-N Calculator base-n-calculator Convert an integer from any base 2 through 36 to every other base. 1cr ](/tools/base-n-calculator/) [ BCD to Binary Converter bcd-to-binary-converter Convert 8421 BCD nibbles to decimal and binary. 1cr ](/tools/bcd-to-binary-converter/) [ BCD to Decimal Converter bcd-to-decimal-converter Convert binary-coded decimal nibbles to a decimal integer. 1cr ](/tools/bcd-to-decimal-converter/) [ BCD to Hex Converter bcd-to-hex-converter Convert BCD to hexadecimal or hexadecimal to BCD. 1cr ](/tools/bcd-to-hex-converter/) [ Binary Calculator binary-calculator Run binary arithmetic and bitwise operations. 1cr ](/tools/binary-calculator/) [ Binary to BCD Converter binary-to-bcd-converter Convert an integer binary value to binary-coded decimal. 1cr ](/tools/binary-to-bcd-converter/) [ Binary to Decimal Converter binary-to-decimal-converter Convert a binary number to decimal, hexadecimal, and octal. 1cr ](/tools/binary-to-decimal-converter/) [ Binary to Gray Code Converter binary-to-gray-code-converter Convert an integer binary value to Gray code. 1cr ](/tools/binary-to-gray-code-converter/) [ Binary to Hex Converter binary-to-hex-converter Convert a binary number to hexadecimal with nibble grouping. 1cr ](/tools/binary-to-hex-converter/) [ Binary to Octal Converter binary-to-octal-converter Convert a binary number to octal using 3-bit grouping. 1cr ](/tools/binary-to-octal-converter/) [ Decimal to Binary Converter decimal-to-binary-converter Convert a decimal integer to binary with grouped bits and division steps. 1cr ](/tools/decimal-to-binary-converter/) [ Decimal to Hex Converter decimal-to-hex-converter Convert a decimal integer to hexadecimal with conversion steps. 1cr ](/tools/decimal-to-hex-converter/) [ Decimal to Octal Converter decimal-to-octal-converter Convert a base-10 integer to octal with division steps. 1cr ](/tools/decimal-to-octal-converter/) [ Decimal to Scientific Notation Converter decimal-to-scientific-notation-converter Convert decimal numbers to scientific, E, and engineering notation. 1cr ](/tools/decimal-to-scientific-notation-converter/) [ Gray Code to Binary Converter gray-code-to-binary-converter Convert Gray code to ordinary binary with XOR steps. 1cr ](/tools/gray-code-to-binary-converter/) [ Hex to BCD Converter hex-to-bcd-converter Convert a hexadecimal integer to binary-coded decimal. 1cr ](/tools/hex-to-bcd-converter/) [ Hex to Binary Converter hex-to-binary-converter Convert a hexadecimal integer to binary. 1cr ](/tools/hex-to-binary-converter/) [ Hex to Decimal Converter hex-to-decimal-converter Convert a hexadecimal integer to decimal with digit breakdown. 1cr ](/tools/hex-to-decimal-converter/) [ Hex to Octal Converter hex-to-octal-converter Convert a hexadecimal integer to octal through binary grouping. 1cr ](/tools/hex-to-octal-converter/) [ Octal to Binary Converter octal-to-binary-converter Convert an octal integer to binary with per-digit mapping. 1cr ](/tools/octal-to-binary-converter/) [ Octal to Decimal Converter octal-to-decimal-converter Convert an octal integer to decimal with positional breakdown. 1cr ](/tools/octal-to-decimal-converter/) [ Ratio to Percentage Calculator ratio-to-percentage-calculator Convert ratios, fractions, or decimal divisions to percentages. 1cr ](/tools/ratio-to-percentage-calculator/) [ Scientific Notation to Decimal Converter scientific-notation-to-decimal-converter Convert scientific notation to ordinary decimal notation. 1cr ](/tools/scientific-notation-to-decimal-converter/) Number Theory [ Factorial Calculator factorial-calculator Calculate factorial metadata, exact values for bounded inputs, and scientific notation. 1cr ](/tools/factorial-calculator/) [ Fibonacci Number Checker fibonacci-number-checker Check whether a non-negative integer is in the Fibonacci sequence. 1cr ](/tools/fibonacci-number-checker/) [ Goldbach Conjecture Verifier goldbach-conjecture-verifier Verify an even integer by finding prime pairs that sum to it. 1cr ](/tools/goldbach-conjecture-verifier/) [ Perfect Number Checker perfect-number-checker Classify a positive integer as perfect, abundant, or deficient. 1cr ](/tools/perfect-number-checker/) Percentage [ Decimal to Percent Converter decimal-to-percent-converter Convert one or more decimal numbers to percentages. 1cr ](/tools/decimal-to-percent-converter/) [ Percentage Calculator percentage-calculator Six percentage operations behind one endpoint, selected by mode. 1cr ](/tools/percentage-calculator/) [ Percentage Error Calculator percentage-error-calculator Calculate percent error between estimated and actual values. 1cr ](/tools/percentage-error-calculator/) Percentages [ Percent Growth Rate Calculator percent-growth-rate-calculator Calculate total percent change, simple annual growth, CAGR, and multiplier. 1cr ](/tools/percent-growth-rate-calculator/) Physics [ Acceleration Calculator acceleration-calculator Calculate acceleration from velocity change, distance, force, centripetal motion, or free fall. 1cr ](/tools/acceleration-calculator/) [ Boxing Punch Power Calculator boxing-punch-power-calculator Estimate punch force, kinetic energy, and power from speed and effective mass. 1cr ](/tools/boxing-punch-power-calculator/) [ Headlight Beam Distance Calculator headlight-beam-distance-calculator Calculate headlight beam road reach from mounting height and aim angle. 1cr ](/tools/headlight-beam-distance-calculator/) [ Horsepower Calculator horsepower-calculator Solve horsepower, torque, or RPM and return common power conversions. 1cr ](/tools/horsepower-calculator/) Probability [ Binomial Probability Distribution Calculator binomial-probability-distribution-calculator Calculate exact and cumulative binomial probabilities. 1cr ](/tools/binomial-probability-distribution-calculator/) [ Dice Roll Probability Calculator dice-roll-probability-calculator Calculate exact probability metrics for sums of identical dice. 1cr ](/tools/dice-roll-probability-calculator/) [ Probability Calculator probability-calculator Compute basic, conditional, Bayes, and complement probabilities. 1cr ](/tools/probability-calculator/) Ratios [ Aspect Ratio Calculator aspect-ratio-calculator Simplify dimensions to a ratio, derive dimensions from a ratio, or resize proportionally. 1cr ](/tools/aspect-ratio-calculator/) [ Proportion Calculator proportion-calculator Solve or verify a proportion a/b = c/d from three or four values. 1cr ](/tools/proportion-calculator/) [ Unit Rate Calculator unit-rate-calculator Calculate a unit rate or compare two unit rates. 1cr ](/tools/unit-rate-calculator/) Sequence Tools [ Catalan Number Generator catalan-number-generator Calculate the nth Catalan number and nearby sequence values. 1cr ](/tools/catalan-number-generator/) [ Collatz Conjecture Calculator collatz-conjecture-calculator Generate and analyze the deterministic Collatz hailstone sequence. 1cr ](/tools/collatz-conjecture-calculator/) Sequences [ Arithmetic Sequence Calculator arithmetic-sequence-calculator Calculate the nth term and partial sum of an arithmetic sequence. 1cr ](/tools/arithmetic-sequence-calculator/) [ Geometric Sequence Calculator geometric-sequence-calculator Calculate nth term, partial sum, and sample terms for a geometric sequence. 1cr ](/tools/geometric-sequence-calculator/) [ Happy Number Calculator happy-number-calculator Check whether a number is happy or list happy numbers up to a limit. 1cr ](/tools/happy-number-calculator/) [ Sum of Cubes Calculator sum-of-cubes-calculator Calculate 1^3 + 2^3 +... + n^3. 1cr ](/tools/sum-of-cubes-calculator/) [ Sum of Squares Calculator sum-of-squares-calculator Calculate 1^2 + 2^2 +... + n^2. 1cr ](/tools/sum-of-squares-calculator/) Sports [ Bike Gear Ratio Calculator bike-gear-ratio-calculator Calculate bicycle gear ratio, gear inches, rollout, gain ratio, and speed. 1cr ](/tools/bike-gear-ratio-calculator/) [ Bowling Score Calculator bowling-score-calculator Score a ten-pin bowling game from roll values. 1cr ](/tools/bowling-score-calculator/) [ Cricket Run Rate Calculator cricket-run-rate-calculator Calculate current, projected, and required cricket run rates from cricket over notation. 1cr ](/tools/cricket-run-rate-calculator/) [ Usage Rate Calculator usage-rate-calculator Calculate basketball usage rate from player and team shot, free throw, turnover, and minute stats. 1cr ](/tools/usage-rate-calculator/) Statistics [ ANOVA Calculator anova-calculator Run one-way ANOVA with F statistic, p-value, table components, and effect sizes. 1cr ](/tools/anova-calculator/) [ Arithmetic Mean Calculator arithmetic-mean-calculator Calculate arithmetic mean, median, modes, range, variance, and standard deviation from a number list. 1cr ](/tools/arithmetic-mean-calculator/) [ Average Calculator average-calculator Calculate mean, median, mode, range, variance, and optional weighted average. 1cr ](/tools/average-calculator/) [ Average Deviation Calculator average-deviation-calculator Calculate mean and median absolute deviation for a numeric dataset. 1cr ](/tools/average-deviation-calculator/) [ Box and Whisker Plot Maker box-and-whisker-plot-maker Compute box plot statistics, whiskers, fences, and outliers. 1cr ](/tools/box-and-whisker-plot-maker/) [ Chi Square Test Calculator chi-square-test-calculator Run a chi-square goodness-of-fit test for observed and expected counts. 1cr ](/tools/chi-square-test-calculator/) [ Coefficient of Variation Calculator coefficient-of-variation-calculator Calculate coefficient of variation from sample or population standard deviation. 1cr ](/tools/coefficient-of-variation-calculator/) [ Cohen's d Calculator cohens-d-calculator Calculate Cohen's d, Hedges' g, overlap, and effect-size interpretation. 1cr ](/tools/cohens-d-calculator/) [ Correlation Coefficient Calculator correlation-coefficient-calculator Calculate Pearson, Spearman, and Kendall correlation coefficients. 1cr ](/tools/correlation-coefficient-calculator/) [ Find Minimum and Maximum find-minimum-maximum Find min, max, range, mean, median, positions, and sorted values for a number list. 1cr ](/tools/find-minimum-maximum/) [ Five Number Summary Calculator five-number-summary-calculator Calculate minimum, Q1, median, Q3, maximum, IQR, and outlier fences. 1cr ](/tools/five-number-summary-calculator/) [ Geometric Mean Calculator geometric-mean-calculator Calculate geometric mean and compare it with arithmetic, harmonic, median, minimum, and maximum values. 1cr ](/tools/geometric-mean-calculator/) [ Harmonic Mean Calculator harmonic-mean-calculator Calculate harmonic mean for positive non-zero values with comparison means and reciprocal totals. 1cr ](/tools/harmonic-mean-calculator/) [ Interquartile Range Calculator interquartile-range-calculator Calculate IQR, quartiles, and 1.5-IQR outlier fences. 1cr ](/tools/interquartile-range-calculator/) [ Mean Absolute Deviation Calculator mean-absolute-deviation-calculator Calculate mean or median absolute deviation for a numeric dataset. 1cr ](/tools/mean-absolute-deviation-calculator/) [ Mean Calculator mean-calculator Calculate arithmetic mean and supporting summary statistics. 1cr ](/tools/mean-calculator/) [ Median Absolute Deviation Calculator median-absolute-deviation-calculator Calculate raw and scaled median absolute deviation as a robust spread measure. 1cr ](/tools/median-absolute-deviation-calculator/) [ Median Calculator median-calculator Calculate the median, sorted data, quartiles, and range. 1cr ](/tools/median-calculator/) [ Midrange Calculator midrange-calculator Calculate the midpoint between the minimum and maximum of a dataset. 1cr ](/tools/midrange-calculator/) [ Mode Calculator mode-calculator Find the mode or modes and frequency table for a numeric dataset. 1cr ](/tools/mode-calculator/) [ Outlier Calculator outlier-calculator Detect IQR outliers and return quartiles, bounds, and counts. 1cr ](/tools/outlier-calculator/) [ Population Variance Calculator population-variance-calculator Calculate population variance and population standard deviation. 1cr ](/tools/population-variance-calculator/) [ Quartile Calculator quartile-calculator Calculate Q1, Q2, Q3, IQR, and outlier fences using a selected quartile method. 1cr ](/tools/quartile-calculator/) [ Quartile Deviation Calculator quartile-deviation-calculator Calculate quartile deviation, IQR fences, and outliers for numeric data. 1cr ](/tools/quartile-deviation-calculator/) [ Relative Standard Deviation Calculator relative-standard-deviation-calculator Calculate RSD, coefficient of variation, and precision quality for data. 1cr ](/tools/relative-standard-deviation-calculator/) [ Root Mean Square Calculator root-mean-square-calculator Calculate root mean square for a numeric list. 1cr ](/tools/root-mean-square-calculator/) [ Sample Mean Calculator sample-mean-calculator Calculate sample mean plus core descriptive statistics for a numeric dataset. 1cr ](/tools/sample-mean-calculator/) [ Sample Standard Deviation Calculator sample-standard-deviation-calculator Calculate sample standard deviation and optional z-score outliers. 1cr ](/tools/sample-standard-deviation-calculator/) [ Sample Variance Calculator sample-variance-calculator Calculate sample or population variance from a numeric dataset. 1cr ](/tools/sample-variance-calculator/) [ Standard Deviation Calculator standard-deviation-calculator Calculate sample and population standard deviation with quartiles. 1cr ](/tools/standard-deviation-calculator/) [ Standard Error Calculator standard-error-calculator Calculate standard error of the mean and a z-based confidence interval. 1cr ](/tools/standard-error-calculator/) [ Variance Calculator variance-calculator Calculate sample and population variance with related statistics. 1cr ](/tools/variance-calculator/) [ Weibull Distribution Calculator weibull-distribution-calculator Calculate Weibull PDF/CDF/reliability, moments, and B-life values. 1cr ](/tools/weibull-distribution-calculator/) [ Z-Score Calculator zscore-calculator Calculate z-scores, inverse values, percentiles, and normal probabilities. 1cr ](/tools/zscore-calculator/) Surface Area [ Surface Area of a Cone Calculator surface-area-of-a-cone-calculator Calculate cone base, lateral, and total surface area from radius-height, radius-slant, or diameter-height inputs. 1cr ](/tools/surface-area-of-a-cone-calculator/) [ Surface Area of a Cube Calculator surface-area-of-a-cube-calculator Calculate cube surface area and related measurements from edge, diagonal, volume, or surface area. 1cr ](/tools/surface-area-of-a-cube-calculator/) Time [ Commute Life Wasted Calculator commute-life-wasted-calculator Estimate weekly, yearly, and career time spent commuting. 1cr ](/tools/commute-life-wasted-calculator/) Trigonometry [ Arccos Calculator arccos-calculator Calculate inverse cosine in radians and degrees. 1cr ](/tools/arccos-calculator/) [ Arcsin Calculator arcsin-calculator Calculate arcsine from a sine value, including degree/radian output and special-angle recognition. 1cr ](/tools/arcsin-calculator/) [ Arctan Calculator arctan-calculator Calculate inverse tangent in radians and degrees. 1cr ](/tools/arctan-calculator/) [ Arctan2 Calculator arctan2-calculator Calculate atan2(y, x), normalized angle, radius, slope, and quadrant. 1cr ](/tools/arctan2-calculator/) [ Cosine Calculator cosine-calculator Calculate cosine with radians/degrees conversion, quadrant, and special-angle recognition. 1cr ](/tools/cosine-calculator/) [ Cosecant/Secant/Cotangent Calculator csc-sec-cot-calculator Calculate csc, sec, cot, sine, and cosine for an angle. 1cr ](/tools/csc-sec-cot-calculator/) [ Degree to Radian Converter degree-to-radian-converter Convert degrees to radians with pi-fraction, quadrant, and trig values. 1cr ](/tools/degree-to-radian-converter/) [ DMS to Decimal Degrees Converter dms-to-decimal-converter Convert degrees, minutes, and seconds to signed decimal degrees. 1cr ](/tools/dms-to-decimal-converter/) [ Law of Cosines Calculator law-of-cosines-calculator Use the law of cosines to solve a side or included angle. 1cr ](/tools/law-of-cosines-calculator/) [ Law of Sines Calculator law-of-sines-calculator Use the law of sines to solve a side or possible angle. 1cr ](/tools/law-of-sines-calculator/) [ Sine Calculator sine-calculator Calculate sine with radians/degrees conversion, quadrant, and special-angle recognition. 1cr ](/tools/sine-calculator/) [ Tangent Calculator tangent-calculator Calculate tangent and flag vertical-asymptote inputs. 1cr ](/tools/tangent-calculator/) Unit Converters [ Acres to Hectares Converter acres-to-hectares-converter Convert between acres and hectares with related area units. 1cr ](/tools/acres-to-hectares-converter/) [ Acres to Perches Converter acres-to-perches-converter Convert acres and perches for land area calculations. 1cr ](/tools/acres-to-perches-converter/) [ Acres to Square Feet Converter acres-to-square-feet-converter Convert between acres and square feet with related area units. 1cr ](/tools/acres-to-square-feet-converter/) [ Acres to Square Meters Converter acres-to-square-meters-converter Convert between acres and square meters with related area units. 1cr ](/tools/acres-to-square-meters-converter/) [ Acres to Square Miles Converter acres-to-square-miles-converter Convert acres and square miles, including related land-area units. 1cr ](/tools/acres-to-square-miles-converter/) [ Acres to Square Yards Converter acres-to-square-yards-converter Convert acres and square yards, including related area units. 1cr ](/tools/acres-to-square-yards-converter/) [ Angle Converter angle-converter Convert angles between degrees, radians, gradians, turns, arcminutes, arcseconds, and milliradians. 1cr ](/tools/angle-converter/) [ CM to Inches Converter cm-to-inches-converter Convert centimeters to inches, feet/inches, and nearest 1/16-inch fraction. 1cr ](/tools/cm-to-inches-converter/) [ Cups to Tablespoons Converter cups-to-tablespoons-converter Convert US cups and tablespoons, including teaspoons and fluid ounces. 1cr ](/tools/cups-to-tablespoons-converter/) [ Feet to Meters Converter feet-to-meters-converter Convert feet and optional inches to meters, centimeters, and millimeters. 1cr ](/tools/feet-to-meters-converter/) [ Gallons to Cups Converter gallons-to-cups-converter Convert US gallons and cups, with quart and pint equivalents. 1cr ](/tools/gallons-to-cups-converter/) [ Grams to Ounces Converter grams-to-ounces-converter Convert grams to ounces, pounds, kilograms, and milligrams. 1cr ](/tools/grams-to-ounces-converter/) [ Grams to Pounds Converter grams-to-pounds-converter Convert grams to pounds, ounces, and kilograms. 1cr ](/tools/grams-to-pounds-converter/) [ Inches to CM Converter inches-to-cm-converter Convert inches to centimeters, millimeters, meters, and feet. 1cr ](/tools/inches-to-cm-converter/) [ kg to lbs Converter kg-to-lbs-converter Convert kilograms and pounds with ounce breakdown. 1cr ](/tools/kg-to-lbs-converter/) [ kPa to psi Converter kpa-to-psi-converter Convert kilopascals to psi, bar, atm, and mmHg. 1cr ](/tools/kpa-to-psi-converter/) [ Liters to Cups Converter liters-to-cups-converter Convert liters to US, metric, and imperial cups. 1cr ](/tools/liters-to-cups-converter/) [ Meters to Feet Converter meters-to-feet-converter Convert meters to decimal feet and feet-and-inches. 1cr ](/tools/meters-to-feet-converter/) [ Ounce to Gram Converter ounce-to-gram-converter Convert ounces to grams, kilograms, milligrams, and pounds. 1cr ](/tools/ounce-to-gram-converter/) [ Ounces to Cups Converter ounces-to-cups-converter Convert US fluid ounces and cups with spoon and milliliter equivalents. 1cr ](/tools/ounces-to-cups-converter/) [ Percent to PPM Converter percent-to-ppm-converter Convert percent to ppm or ppm to percent. 1cr ](/tools/percent-to-ppm-converter/) [ Perches to Acres Converter perches-to-acres-converter Convert perches and acres for land area calculations. 1cr ](/tools/perches-to-acres-converter/) [ Pounds to Grams Converter pounds-to-grams-converter Convert pounds to grams, kilograms, ounces, and milligrams. 1cr ](/tools/pounds-to-grams-converter/) [ PPM to Percent Converter ppm-to-percent-converter Convert parts per million to percentage and related concentration scales. 1cr ](/tools/ppm-to-percent-converter/) [ Square Yards to Acres Converter square-yards-to-acres-converter Convert square yards and acres, including related area units. 1cr ](/tools/square-yards-to-acres-converter/) [ Tablespoons to Cups Converter tablespoons-to-cups-converter Convert US tablespoons to cups, teaspoons, fluid ounces, and milliliters. 1cr ](/tools/tablespoons-to-cups-converter/) [ Tablespoons to Teaspoons Converter tablespoons-to-teaspoons-converter Convert US tablespoons to teaspoons, cups, fluid ounces, and milliliters. 1cr ](/tools/tablespoons-to-teaspoons-converter/) [ Teaspoons to Cups Converter teaspoons-to-cups-converter Convert US teaspoons and cups, including tablespoons and fluid ounces. 1cr ](/tools/teaspoons-to-cups-converter/) [ Teaspoons to Tablespoons Converter teaspoons-to-tablespoons-converter Convert US teaspoons to tablespoons, cups, fluid ounces, and milliliters. 1cr ](/tools/teaspoons-to-tablespoons-converter/) Volume [ Cups to Gallons Converter cups-to-gallons-converter Convert US cups and gallons with related volume units. 1cr ](/tools/cups-to-gallons-converter/) [ Cups to Liters Converter cups-to-liters-converter Convert US cups and liters with milliliter, fluid-ounce, and spoon equivalents. 1cr ](/tools/cups-to-liters-converter/) [ Cups to Ounces Converter cups-to-ounces-converter Convert cups and fluid ounces for US customary, US legal, imperial, or metric cups. 1cr ](/tools/cups-to-ounces-converter/) [ Cups to Quarts Converter cups-to-quarts-converter Convert US cups and quarts with related volume units. 1cr ](/tools/cups-to-quarts-converter/) [ Cups to Teaspoons Converter cups-to-teaspoons-converter Convert US cups and teaspoons with tablespoon and fluid-ounce equivalents. 1cr ](/tools/cups-to-teaspoons-converter/) [ Volume of a Cone Calculator volume-of-a-cone-calculator Calculate cone volume, slant height, base area, lateral area, and total surface area. 1cr ](/tools/volume-of-a-cone-calculator/) [ Volume of a Cube Calculator volume-of-a-cube-calculator Calculate cube volume, surface area, face area, diagonals, and total edge length. 1cr ](/tools/volume-of-a-cube-calculator/) [ Volume of a Pyramid Calculator volume-of-a-pyramid-calculator Calculate volume, base area, slant height, and surface area for square, rectangular, or triangular pyramids. 1cr ](/tools/volume-of-a-pyramid-calculator/) [ Volume of a Rectangular Prism Calculator volume-of-a-rectangular-prism-calculator Calculate rectangular prism volume, surface area, diagonals, base perimeter, and total edge length. 1cr ](/tools/volume-of-a-rectangular-prism-calculator/) [ Volume of Ellipsoid Calculator volume-of-ellipsoid-calculator Calculate ellipsoid volume, approximate surface area, cross sections, equivalent sphere radius, and shape type. 1cr ](/tools/volume-of-ellipsoid-calculator/) ## [Random](/tools/category/random/) 12 endpoints [full page →](/tools/category/random/) Random generators for apps, tests, and automations. Cards [ Random Playing Card Generator random-playing-card-generator Draw random playing cards from a standard deck with optional jokers. 1cr ](/tools/random-playing-card-generator/) Color [ Random Color Generator random-color-generator Generate random HEX, RGB, and HSL colors with optional harmony rules. 1cr ](/tools/random-color-generator/) Date [ Random Date Generator random-date-generator Generate random dates inside a bounded date range. 1cr ](/tools/random-date-generator/) Lists [ List Randomizer list-randomizer Shuffle a newline-separated list into random order. 1cr ](/tools/list-randomizer/) [ Random Group Generator random-group-generator Create random balanced groups from a newline-separated list of names. 1cr ](/tools/random-group-generator/) [ Random Line Picker random-line-picker Pick random non-empty lines from user-supplied text. 1cr ](/tools/random-line-picker/) Network [ Random Port Number Generator random-port-number-generator Generate random network port numbers in standard or custom ranges. 1cr ](/tools/random-port-number-generator/) Numbers [ Random Decimal Number Generator random-decimal-number-generator Generate random decimal numbers between 0 and 1 with configurable precision. 1cr ](/tools/random-decimal-number-generator/) [ Random Integer Generator random-integer-generator Generate random integers with optional uniqueness, sorting, exclusions, and seed replay. 1cr ](/tools/random-integer-generator/) Quotes [ Random Quote Generator random-quote-generator Generate or search quotes from a bundled SQLite quote database. 3cr ](/tools/random-quote-generator/) Text [ Random Letter Generator random-letter-generator Generate random letters with case, vowel/consonant, and duplicate controls. 1cr ](/tools/random-letter-generator/) [ Random String Generator random-string-generator Generate random strings, passwords, API keys, tokens, PINs, or hex strings. 1cr ](/tools/random-string-generator/) ## [Webmaster](/tools/category/webmaster/) 8 endpoints [full page →](/tools/category/webmaster/) DNS, HTTP, meta, robots, and other webmaster utilities. Advertising [ CPC Calculator cpc-calculator Calculate CPC, CPM, or CTR from two known campaign metrics. 1cr ](/tools/cpc-calculator/) [ CPM Calculator cpm-calculator Calculate campaign cost, CPM, or impressions from two known advertising metrics. 1cr ](/tools/cpm-calculator/) Analytics [ Value of A Visitor Calculator value-of-a-visitor-calculator Calculate website visitor value, conversion rate, annualized revenue, and traffic ROI. 2cr ](/tools/value-of-a-visitor-calculator/) CSS [ CSS Box Shadow Generator css-box-shadow-generator Generate a CSS box-shadow declaration from numeric shadow controls. 1cr ](/tools/css-box-shadow-generator/) [ CSS Compressor css-compressor Minify CSS and return compression statistics. 1cr ](/tools/css-compressor/) Encoding [ JSON String Escape/Unescape json-string-escape-unescape Escape or unescape JSON string content deterministically. 1cr ](/tools/json-string-escape-unescape/) IP [ IP Address to Binary Converter ip-address-to-binary-converter Convert IPv4 or IPv6 addresses to padded binary forms. 1cr ](/tools/ip-address-to-binary-converter/) SEO [ URL Slug Generator url-slug-generator Generate an SEO-friendly URL slug from a title or phrase. 1cr ](/tools/url-slug-generator/) ## [Color](/tools/category/color/) 3 endpoints [full page →](/tools/category/color/) Accessibility [ Color Contrast Checker color-contrast-checker Check WCAG contrast ratio and AA/AAA compliance for two colors. 1cr ](/tools/color-contrast-checker/) Conversion [ Color Code Converter color-code-converter-all-formats Convert HEX, RGB, HSL, HSV, CMYK, and common CSS named colors. 1cr ](/tools/color-code-converter-all-formats/) Palette [ Color Scheme Generator color-scheme-generator Generate complementary, analogous, triadic, square, tetradic, and monochromatic palettes. 1cr ](/tools/color-scheme-generator/) ## [Construction](/tools/category/construction/) 5 endpoints [full page →](/tools/category/construction/) Lumber [ Board Foot Calculator board-foot-calculator Calculate lumber volume in board feet, cubic volume, weight, and optional cost. 1cr ](/tools/board-foot-calculator/) Materials [ Carpet Calculator carpet-calculator Estimate carpet area, waste, roll length, padding, installation, and cost. 1cr ](/tools/carpet-calculator/) [ Decking Calculator decking-calculator Estimate decking boards, joists, beams, posts, fasteners, and waste. 1cr ](/tools/decking-calculator/) [ Tile Calculator tile-calculator Estimate tile count, boxes, grout, adhesive, sealer, waste, and optional cost. 1cr ](/tools/tile-calculator/) [ Wallpaper Calculator wallpaper-calculator Estimate wallpaper drops, rolls, waste, coverage, and optional cost. 1cr ](/tools/wallpaper-calculator/) ## [Conversion](/tools/category/conversion/) 1 endpoint [full page →](/tools/category/conversion/) [ Fuel Efficiency Converter fuel-efficiency-converter-mpg-l-100km-km-l Convert MPG, L/100km, km/L, and miles/L fuel-efficiency values. 1cr ](/tools/fuel-efficiency-converter-mpg-l-100km-km-l/) ## [Converters](/tools/category/converters/) 1 endpoint [full page →](/tools/category/converters/) [ Torque Converter torque-converter-nm-ft-lb-kgf-cm Convert torque between Nm, ft-lb, in-lb, kgf-cm, kgf-m, dyn-cm, oz-in, and oz-ft. 1cr ](/tools/torque-converter-nm-ft-lb-kgf-cm/) ## [Cooking](/tools/category/cooking/) 8 endpoints [full page →](/tools/category/cooking/) Baking [ Baking Pan Size Converter baking-pan-size-converter Scale a recipe when switching between common baking pan sizes. 1cr ](/tools/baking-pan-size-converter/) [ Dough Hydration Calculator dough-hydration-calculator Calculate dough hydration, required water, or a simple baker's percentage recipe. 1cr ](/tools/dough-hydration-calculator/) Coffee [ Coffee Brew Ratio Calculator coffee-brew-ratio-calculator Calculate coffee and water amounts for common brewing methods and strengths. 1cr ](/tools/coffee-brew-ratio-calculator/) Conversion [ Cooking Unit Converter cooking-unit-converter Convert cooking volume and weight units using ingredient density. 1cr ](/tools/cooking-unit-converter/) [ Cups to Grams Converter cups-to-grams-converter Convert cups to grams for common cooking ingredients. 1cr ](/tools/cups-to-grams-converter/) Conversions [ Yeast Conversion Calculator yeast-conversion-calculator Convert fresh, active dry, and instant yeast amounts. 1cr ](/tools/yeast-conversion-calculator/) Fermentation [ Brine and Salinity Calculator brine-and-salinity-calculator Calculate salt, water, or salinity for brines and fermentation recipes. 1cr ](/tools/brine-and-salinity-calculator/) Ratios [ Baker's Percentage Calculator baker-s-percentage-calculator Scale bread ingredients from flour weight and baker's percentages. 1cr ](/tools/baker-s-percentage-calculator/) ## [Craft](/tools/category/craft/) 1 endpoint [full page →](/tools/category/craft/) [ Cross-Stitch Size Calculator cross-stitch-size-calculator Calculate finished cross-stitch design and fabric sizes from stitch and fabric counts. 1cr ](/tools/cross-stitch-size-calculator/) ## [Creator](/tools/category/creator/) 1 endpoint [full page →](/tools/category/creator/) [ YouTube Earnings Estimator youtube-earnings-estimator Estimate YouTube ad revenue from views, CPM range, monetized percentage, and revenue share. 1cr ](/tools/youtube-earnings-estimator/) ## [Datetime](/tools/category/datetime/) 2 endpoints [full page →](/tools/category/datetime/) Seasons [ Autumnal Equinox Day autumnal-equinox-day Return autumn equinox date, UTC time, seasonal markers, and optional countdown data. 1cr ](/tools/autumnal-equinox-day/) Time [ Decimal to Time Converter decimal-to-time-converter Convert decimal hours to hours, minutes, and seconds. 1cr ](/tools/decimal-to-time-converter/) ## [Dev](/tools/category/dev/) 7 endpoints [full page →](/tools/category/dev/) Color [ CMYK to Hex Converter cmyk-to-hex-converter Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. 1cr ](/tools/cmyk-to-hex-converter/) [ Hex to CMYK Converter hex-to-cmyk-converter Convert a hex color to CMYK print percentages. 1cr ](/tools/hex-to-cmyk-converter/) [ Hex to RGB Converter hex-to-rgb-converter Convert a hex color to RGB, HSL, CMYK, and contrast metrics. 1cr ](/tools/hex-to-rgb-converter/) [ RGB to Hex Converter rgb-to-hex-converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. 1cr ](/tools/rgb-to-hex-converter/) Encoding [ Base64 Decoder base64-decoder Decode standard or URL-safe Base64 text and return byte and character analysis. 1cr ](/tools/base64-decoder/) Scheduling [ Cron Job Generator cron-job-generator Generate a cron expression from common schedule presets. 1cr ](/tools/cron-job-generator/) [ Crontab Expression Generator crontab-expression-generator Build and validate a crontab expression from individual fields. 1cr ](/tools/crontab-expression-generator/) ## [Developer](/tools/category/developer/) 6 endpoints [full page →](/tools/category/developer/) Data Conversion [ XML to JSON Converter xml-to-json-converter Convert XML into JSON using standard, compact, JsonML, or preserve styles. 1cr ](/tools/xml-to-json-converter/) Data Formatting [ YAML Formatter/Validator yaml-formatter-validator Validate, format, minify, or convert YAML to JSON. 1cr ](/tools/yaml-formatter-validator/) Data Validation [ XML Validator xml-validator Validate XML well-formedness and return document statistics. 1cr ](/tools/xml-validator/) Encoders [ Text to Binary/Hex/ASCII Converter text-to-binary-hex-ascii-converter Encode or decode text, binary, hex, and ASCII byte values. 1cr ](/tools/text-to-binary-hex-ascii-converter/) General Tools [ Unix Permission Calculator unix-permission-calculator Convert Unix permission digits into symbolic permissions and chmod notation. 1cr ](/tools/unix-permission-calculator/) Text Conversion [ Text to SQL List Converter text-to-sql-list-converter Convert lines of text into quoted SQL IN-list or tuple syntax. 1cr ](/tools/text-to-sql-list-converter/) ## [Electronics](/tools/category/electronics/) 4 endpoints [full page →](/tools/category/electronics/) Circuits [ Transformer Calculator transformer-calculator Calculate transformer turns ratio, secondary voltage, current, power, and impedance ratio. 1cr ](/tools/transformer-calculator/) [ Voltage Divider Calculator voltage-divider-calculator Calculate voltage divider output or solve for R1 or R2. 1cr ](/tools/voltage-divider-calculator/) Runtime [ Battery Life Calculator battery-life-calculator Estimate battery runtime from capacity, consumption, and efficiency. 1cr ](/tools/battery-life-calculator/) Wiring [ Voltage Drop Calculator voltage-drop-calculator Calculate electrical voltage drop for AWG copper or aluminum wire runs. 1cr ](/tools/voltage-drop-calculator/) ## [Engineering](/tools/category/engineering/) 1 endpoint [full page →](/tools/category/engineering/) [ Wire Gauge Calculator wire-gauge-calculator Calculate AWG diameter, area, resistance, ampacity, and optional voltage drop. 1cr ](/tools/wire-gauge-calculator/) ## [Environment](/tools/category/environment/) 1 endpoint [full page →](/tools/category/environment/) [ Water Usage Calculator water-usage-calculator Estimate household daily, monthly, and annual water use by activity. 1cr ](/tools/water-usage-calculator/) ## [Event](/tools/category/event/) 1 endpoint [full page →](/tools/category/event/) [ Wedding Alcohol Calculator wedding-alcohol-calculator Estimate wine, beer, spirits, and champagne quantities for an event. 1cr ](/tools/wedding-alcohol-calculator/) ## [Lifestyle](/tools/category/lifestyle/) 12 endpoints [full page →](/tools/category/lifestyle/) Crafts [ Beading Pattern Calculator beading-pattern-calculator Calculate beads needed from strand length and a repeating bead pattern. 1cr ](/tools/beading-pattern-calculator/) [ Yarn Calculator yarn-calculator Estimate yarn yards, meters, grams, and skeins for common knitting/crochet projects. 1cr ](/tools/yarn-calculator/) Fitness [ Bench Press Calculator bench-press-calculator Estimate bench press one-rep max, formula comparisons, and training zones. 1cr ](/tools/bench-press-calculator/) [ BMR Calculator bmr-calculator Calculate BMR, RMR estimate, TDEE, macro estimates, and activity-level calorie needs. 1cr ](/tools/bmr-calculator/) Health [ BAC Calculator bac-calculator Estimate blood alcohol content using standard-drink counts and the Widmark formula. 1cr ](/tools/bac-calculator/) [ Biological Age Calculator biological-age-calculator Estimate biological age from lifestyle and health-factor adjustments. 1cr ](/tools/biological-age-calculator/) Numerology [ Angel Number Calculator angel-number-calculator Find recurring angel-number interpretations or derive one from a birth date. 1cr ](/tools/angel-number-calculator/) Pets [ Aquarium Heater Wattage Calculator aquarium-heater-wattage-calculator Estimate aquarium heater wattage from tank size and temperature gap. 1cr ](/tools/aquarium-heater-wattage-calculator/) [ Bird Cage Size Calculator bird-cage-size-calculator Recommend minimum bird cage dimensions and bar spacing by species. 1cr ](/tools/bird-cage-size-calculator/) [ Cat Litter Box Calculator cat-litter-box-calculator Estimate recommended cat litter boxes, placement, and monthly litter use. 1cr ](/tools/cat-litter-box-calculator/) [ Cat Years Calculator cat-years-calculator Convert cat age into human-equivalent years and life stage. 1cr ](/tools/cat-years-calculator/) [ Dog Years Calculator dog-years-calculator Convert dog age to human-equivalent years by breed size. 1cr ](/tools/dog-years-calculator/) ## [Marketing](/tools/category/marketing/) 1 endpoint [full page →](/tools/category/marketing/) [ CTR Calculator ctr-calculator Calculate click-through rate, required clicks for a target CTR, or bulk campaign CTR. 1cr ](/tools/ctr-calculator/) ## [Miscellaneous](/tools/category/miscellaneous/) 4 endpoints [full page →](/tools/category/miscellaneous/) General Tools [ Tire Size Calculator tire-size-calculator Calculate tire sidewall, diameter, circumference, and revolutions per mile. 1cr ](/tools/tire-size-calculator/) Student Calculators [ Test Score Calculator test-score-calculator Convert earned and total test points into a percentage, letter grade, and GPA points. 1cr ](/tools/test-score-calculator/) [ Weighted Grade Calculator weighted-grade-calculator Calculate a weighted course grade from category weights and scores. 1cr ](/tools/weighted-grade-calculator/) Time [ Daily Time Savings Calculator daily-time-savings-calculator Calculate yearly, monthly, and weekly time saved from a small daily savings habit. 1cr ](/tools/daily-time-savings-calculator/) ## [Physics](/tools/category/physics/) 1 endpoint [full page →](/tools/category/physics/) [ Boiling Point Calculator boiling-point-calculator Calculate water boiling point from altitude or atmospheric pressure. 1cr ](/tools/boiling-point-calculator/) ## [Science](/tools/category/science/) 35 endpoints [full page →](/tools/category/science/) Astronomy [ Astronomical Unit Converter astronomical-unit-converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and miles. 1cr ](/tools/astronomical-unit-converter/) Chemistry [ Percent Yield Calculator percent-yield-calculator Solve percent yield, actual yield, or theoretical yield. 1cr ](/tools/percent-yield-calculator/) Electrical [ Parallel Resistor Calculator parallel-resistor-calculator Calculate equivalent resistance and current sharing for resistors in parallel. 1cr ](/tools/parallel-resistor-calculator/) [ Power Factor Calculator power-factor-calculator Calculate power factor, reactive power, or capacitor correction values. 1cr ](/tools/power-factor-calculator/) [ RC Time Constant Calculator rc-time-constant-calculator Calculate RC circuit time constant, cutoff frequency, and charging or discharging levels. 1cr ](/tools/rc-time-constant-calculator/) Electronics [ 555 Timer Calculator 555-timer-calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse width. 1cr ](/tools/555-timer-calculator/) [ Capacitor Calculator capacitor-calculator Calculate capacitor charge, stored energy, reactance, RC timing, or decode ceramic capacitor codes. 1cr ](/tools/capacitor-calculator/) [ Decibel (dB) Calculator decibel-db-calculator Calculate power dB, voltage dB, dB ratios, and dBm/dBW/watt conversions. 1cr ](/tools/decibel-db-calculator/) [ Ohm's Law Calculator ohm-s-law-calculator Calculate voltage, current, resistance, and power from any two known values. 1cr ](/tools/ohm-s-law-calculator/) [ Resonant Frequency Calculator resonant-frequency-calculator Calculate LC/RLC resonant frequency, inductance, capacitance, impedance, Q factor, and bandwidth. 1cr ](/tools/resonant-frequency-calculator/) Physics [ Density Calculator density-calculator Solve density, mass, or volume with common unit conversions. 1cr ](/tools/density-calculator/) [ Force Calculator force-calculator Solve Newton's second law for force, mass, or acceleration with common unit conversions. 1cr ](/tools/force-calculator/) [ Kinetic Energy Calculator kinetic-energy-calculator Solve kinetic energy, mass, or velocity with KE = 1/2 m v^2 and unit conversions. 1cr ](/tools/kinetic-energy-calculator/) [ Momentum Calculator momentum-calculator Calculate linear momentum and kinetic energy from mass and velocity. 1cr ](/tools/momentum-calculator/) [ Potential Energy Calculator potential-energy-calculator Calculate gravitational or elastic potential energy and solve for missing variables. 1cr ](/tools/potential-energy-calculator/) [ Torque Calculator torque-calculator Solve torque, force, lever arm distance, or angle using tau = F r sin(theta). 1cr ](/tools/torque-calculator/) [ Velocity Calculator velocity-calculator Calculate average velocity, distance, time, or relative velocity with distance, time, and speed units. 1cr ](/tools/velocity-calculator/) [ Work and Power Calculator work-and-power-calculator Calculate mechanical work and power with common unit conversions. 1cr ](/tools/work-and-power-calculator/) Physics Calculators [ Electricity Calculator electricity-calculator Solve voltage, current, resistance, and power from any two known Ohm's law values. 1cr ](/tools/electricity-calculator/) Pressure [ Bar to PSI Converter bar-to-psi-converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. 1cr ](/tools/bar-to-psi-converter/) [ psi to kPa Converter psi-to-kpa-converter Convert pounds per square inch to kilopascals and related pressure units. 1cr ](/tools/psi-to-kpa-converter/) Temperature [ Celsius to Fahrenheit Calculator celsius-to-fahrenheit-calculator Convert Celsius to Fahrenheit and related temperature scales. 1cr ](/tools/celsius-to-fahrenheit-calculator/) [ Celsius to Kelvin Converter celsius-to-kelvin-converter Convert Celsius to Kelvin and related temperature scales. 1cr ](/tools/celsius-to-kelvin-converter/) [ Celsius to Rankine Converter celsius-to-rankine-converter Convert Celsius to Rankine and related temperature scales. 1cr ](/tools/celsius-to-rankine-converter/) [ Fahrenheit to Celsius Calculator fahrenheit-to-celsius-calculator Convert Fahrenheit to Celsius and related temperature scales. 1cr ](/tools/fahrenheit-to-celsius-calculator/) [ Fahrenheit to Kelvin Converter fahrenheit-to-kelvin-converter Convert Fahrenheit to Kelvin and related temperature scales. 1cr ](/tools/fahrenheit-to-kelvin-converter/) [ Fahrenheit to Rankine Converter fahrenheit-to-rankine-converter Convert Fahrenheit to Rankine and related temperature scales. 1cr ](/tools/fahrenheit-to-rankine-converter/) [ Kelvin to Celsius Converter kelvin-to-celsius-converter Convert Kelvin to Celsius and related temperature scales. 1cr ](/tools/kelvin-to-celsius-converter/) [ Kelvin to Fahrenheit Converter kelvin-to-fahrenheit-converter Convert Kelvin to Fahrenheit and related temperature scales. 1cr ](/tools/kelvin-to-fahrenheit-converter/) [ Rankine to Celsius Converter rankine-to-celsius-converter Convert Rankine to Celsius and related temperature scales. 1cr ](/tools/rankine-to-celsius-converter/) [ Rankine to Fahrenheit Converter rankine-to-fahrenheit-converter Convert Rankine to Fahrenheit and related temperature scales. 1cr ](/tools/rankine-to-fahrenheit-converter/) Unit Converters [ Energy Converter energy-converter Convert energy between joules, calories, BTU, watt-hours, electronvolts, ergs, and therms. 1cr ](/tools/energy-converter/) [ Power Converter power-converter Convert power among watts, kilowatts, horsepower, BTU per hour, refrigeration tons, and related units. 1cr ](/tools/power-converter/) [ Ultimate Frequency & Wavelength Converter ultimate-frequency-wavelength-converter Convert between frequency and wavelength using a configurable propagation speed and identify the spectrum band. 1cr ](/tools/ultimate-frequency-wavelength-converter/) Weather [ Wind Chill Calculator wind-chill-calculator Calculate NWS wind chill and frostbite risk from air temperature and wind speed. 1cr ](/tools/wind-chill-calculator/) ## [Sports](/tools/category/sports/) 13 endpoints [full page →](/tools/category/sports/) Baseball [ At Bats per Home Run Calculator at-bats-per-home-run-calculator Calculate baseball at-bats per home run ratio and home run rate. 1cr ](/tools/at-bats-per-home-run-calculator/) [ Batting Average Calculator batting-average-calculator Calculate baseball batting average from hits and at-bats. 1cr ](/tools/batting-average-calculator/) [ ERA Calculator era-calculator Calculate baseball earned run average. 1cr ](/tools/era-calculator/) [ FIP Calculator fip-calculator Calculate baseball fielding independent pitching. 1cr ](/tools/fip-calculator/) [ OPS Calculator ops-calculator Calculate baseball on-base plus slugging with OBP and SLG components. 1cr ](/tools/ops-calculator/) [ Slugging Percentage Calculator slugging-percentage-calculator Calculate baseball slugging percentage from hit types. 1cr ](/tools/slugging-percentage-calculator/) [ Total Bases Calculator total-bases-calculator Calculate baseball total bases from singles, doubles, triples, and home runs. 1cr ](/tools/total-bases-calculator/) [ WAR Calculator war-calculator Estimate simplified baseball WAR for position players or pitchers. 1cr ](/tools/war-calculator/) [ WHIP Calculator whip-calculator Calculate baseball WHIP with baseball innings notation support. 1cr ](/tools/whip-calculator/) Basketball [ Effective Field Goal Percentage Calculator efg-calculator Calculate basketball effective field goal percentage. 1cr ](/tools/efg-calculator/) [ Field Goal Percentage Calculator field-goal-percentage-calculator Calculate made-shot percentage and related shooting metrics. 1cr ](/tools/field-goal-percentage-calculator/) [ Rebound Rate Calculator rebound-rate-calculator Calculate basketball offensive, defensive, and total rebound rates. 1cr ](/tools/rebound-rate-calculator/) [ True Shooting Percentage Calculator true-shooting-percentage-calculator Calculate basketball true shooting percentage from points, FGA, and FTA. 1cr ](/tools/true-shooting-percentage-calculator/) ## [Time](/tools/category/time/) 1 endpoint [full page →](/tools/category/time/) [ Halfway Date Calculator halfway-date-calculator Find the midpoint and quarter points between two dates. 1cr ](/tools/halfway-date-calculator/) ## [Time-Date](/tools/category/time-date/) 9 endpoints [full page →](/tools/category/time-date/) Calendar [ When Is Leap Year when-is-leap-year Check leap-year status and nearby leap years using Gregorian rules. 1cr ](/tools/when-is-leap-year/) Date Tools [ Date Calculator date-calculator Add or subtract years, months, weeks, and days from a date. 1cr ](/tools/date-calculator/) [ Date Difference Calculator date-difference-calculator Calculate days, weeks, approximate months/years, and business days between two dates. 1cr ](/tools/date-difference-calculator/) [ Time Between Two Dates time-between-two-dates Calculate exact elapsed time between two ISO datetimes. 1cr ](/tools/time-between-two-dates/) Season [ Winter Solstice Day winter-solstice-day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. 1cr ](/tools/winter-solstice-day/) Time Calculators [ Time Duration Calculator time-duration-calculator Calculate elapsed time between two times or datetimes. 1cr ](/tools/time-duration-calculator/) [ Time to Decimal Converter time-to-decimal-converter Convert between hours/minutes/seconds and decimal hours. 1cr ](/tools/time-to-decimal-converter/) [ Work Hours Calculator work-hours-calculator Calculate weekly work hours, overtime, and optional pay from day entries. 1cr ](/tools/work-hours-calculator/) Time Conversion [ Unix Time Converter unix-time-converter Convert between Unix timestamps and UTC ISO datetimes. 1cr ](/tools/unix-time-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - color 3 endpoints # Color API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Accessibility [ Color Contrast Checker color-contrast-checker Check WCAG contrast ratio and AA/AAA compliance for two colors. 1cr · v2026-04-22 ](/tools/color-contrast-checker/) Conversion [ Color Code Converter color-code-converter-all-formats Convert HEX, RGB, HSL, HSV, CMYK, and common CSS named colors. 1cr · v2026-04-22 ](/tools/color-code-converter-all-formats/) Palette [ Color Scheme Generator color-scheme-generator Generate complementary, analogous, triadic, square, tetradic, and monochromatic palettes. 1cr · v2026-04-22 ](/tools/color-scheme-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - construction 5 endpoints # Construction API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Lumber [ Board Foot Calculator board-foot-calculator Calculate lumber volume in board feet, cubic volume, weight, and optional cost. 1cr · v2026-04-22 ](/tools/board-foot-calculator/) Materials [ Carpet Calculator carpet-calculator Estimate carpet area, waste, roll length, padding, installation, and cost. 1cr · v2026-04-22 ](/tools/carpet-calculator/) [ Decking Calculator decking-calculator Estimate decking boards, joists, beams, posts, fasteners, and waste. 1cr · v2026-04-22 ](/tools/decking-calculator/) [ Tile Calculator tile-calculator Estimate tile count, boxes, grout, adhesive, sealer, waste, and optional cost. 1cr · v2026-04-22 ](/tools/tile-calculator/) [ Wallpaper Calculator wallpaper-calculator Estimate wallpaper drops, rolls, waste, coverage, and optional cost. 1cr · v2026-04-22 ](/tools/wallpaper-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - conversion 1 endpoints # Conversion API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Fuel Efficiency Converter fuel-efficiency-converter-mpg-l-100km-km-l Convert MPG, L/100km, km/L, and miles/L fuel-efficiency values. 1cr · v2026-04-22 ](/tools/fuel-efficiency-converter-mpg-l-100km-km-l/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - converters 1 endpoints # Converters API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Torque Converter torque-converter-nm-ft-lb-kgf-cm Convert torque between Nm, ft-lb, in-lb, kgf-cm, kgf-m, dyn-cm, oz-in, and oz-ft. 1cr · v2026-04-22 ](/tools/torque-converter-nm-ft-lb-kgf-cm/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - cooking 8 endpoints # Cooking API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Baking [ Baking Pan Size Converter baking-pan-size-converter Scale a recipe when switching between common baking pan sizes. 1cr · v2026-04-22 ](/tools/baking-pan-size-converter/) [ Dough Hydration Calculator dough-hydration-calculator Calculate dough hydration, required water, or a simple baker's percentage recipe. 1cr · v2026-04-22 ](/tools/dough-hydration-calculator/) Coffee [ Coffee Brew Ratio Calculator coffee-brew-ratio-calculator Calculate coffee and water amounts for common brewing methods and strengths. 1cr · v2026-04-22 ](/tools/coffee-brew-ratio-calculator/) Conversion [ Cooking Unit Converter cooking-unit-converter Convert cooking volume and weight units using ingredient density. 1cr · v2026-04-22 ](/tools/cooking-unit-converter/) [ Cups to Grams Converter cups-to-grams-converter Convert cups to grams for common cooking ingredients. 1cr · v2026-04-22 ](/tools/cups-to-grams-converter/) Conversions [ Yeast Conversion Calculator yeast-conversion-calculator Convert fresh, active dry, and instant yeast amounts. 1cr · v2026-04-22 ](/tools/yeast-conversion-calculator/) Fermentation [ Brine and Salinity Calculator brine-and-salinity-calculator Calculate salt, water, or salinity for brines and fermentation recipes. 1cr · v2026-04-22 ](/tools/brine-and-salinity-calculator/) Ratios [ Baker's Percentage Calculator baker-s-percentage-calculator Scale bread ingredients from flour weight and baker's percentages. 1cr · v2026-04-22 ](/tools/baker-s-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - craft 1 endpoints # Craft API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Cross-Stitch Size Calculator cross-stitch-size-calculator Calculate finished cross-stitch design and fabric sizes from stitch and fabric counts. 1cr · v2026-04-22 ](/tools/cross-stitch-size-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - creator 1 endpoints # Creator API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ YouTube Earnings Estimator youtube-earnings-estimator Estimate YouTube ad revenue from views, CPM range, monetized percentage, and revenue share. 1cr · v2026-04-22 ](/tools/youtube-earnings-estimator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - datetime 2 endpoints # Datetime API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Seasons [ Autumnal Equinox Day autumnal-equinox-day Return autumn equinox date, UTC time, seasonal markers, and optional countdown data. 1cr · v2026-04-22 ](/tools/autumnal-equinox-day/) Time [ Decimal to Time Converter decimal-to-time-converter Convert decimal hours to hours, minutes, and seconds. 1cr · v2026-04-22 ](/tools/decimal-to-time-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - dev 7 endpoints # Dev API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Color [ CMYK to Hex Converter cmyk-to-hex-converter Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. 1cr · v2026-04-22 ](/tools/cmyk-to-hex-converter/) [ Hex to CMYK Converter hex-to-cmyk-converter Convert a hex color to CMYK print percentages. 1cr · v2026-04-22 ](/tools/hex-to-cmyk-converter/) [ Hex to RGB Converter hex-to-rgb-converter Convert a hex color to RGB, HSL, CMYK, and contrast metrics. 1cr · v2026-04-22 ](/tools/hex-to-rgb-converter/) [ RGB to Hex Converter rgb-to-hex-converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. 1cr · v2026-04-22 ](/tools/rgb-to-hex-converter/) Encoding [ Base64 Decoder base64-decoder Decode standard or URL-safe Base64 text and return byte and character analysis. 1cr · v2026-04-22 ](/tools/base64-decoder/) Scheduling [ Cron Job Generator cron-job-generator Generate a cron expression from common schedule presets. 1cr · v2026-04-22 ](/tools/cron-job-generator/) [ Crontab Expression Generator crontab-expression-generator Build and validate a crontab expression from individual fields. 1cr · v2026-04-22 ](/tools/crontab-expression-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - developer 6 endpoints # Developer API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Data Conversion [ XML to JSON Converter xml-to-json-converter Convert XML into JSON using standard, compact, JsonML, or preserve styles. 1cr · v2026-04-22 ](/tools/xml-to-json-converter/) Data Formatting [ YAML Formatter/Validator yaml-formatter-validator Validate, format, minify, or convert YAML to JSON. 1cr · v2026-04-22 ](/tools/yaml-formatter-validator/) Data Validation [ XML Validator xml-validator Validate XML well-formedness and return document statistics. 1cr · v2026-04-22 ](/tools/xml-validator/) Encoders [ Text to Binary/Hex/ASCII Converter text-to-binary-hex-ascii-converter Encode or decode text, binary, hex, and ASCII byte values. 1cr · v2026-04-22 ](/tools/text-to-binary-hex-ascii-converter/) General Tools [ Unix Permission Calculator unix-permission-calculator Convert Unix permission digits into symbolic permissions and chmod notation. 1cr · v2026-04-22 ](/tools/unix-permission-calculator/) Text Conversion [ Text to SQL List Converter text-to-sql-list-converter Convert lines of text into quoted SQL IN-list or tuple syntax. 1cr · v2026-04-22 ](/tools/text-to-sql-list-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - electronics 4 endpoints # Electronics API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Circuits [ Transformer Calculator transformer-calculator Calculate transformer turns ratio, secondary voltage, current, power, and impedance ratio. 1cr · v2026-04-22 ](/tools/transformer-calculator/) [ Voltage Divider Calculator voltage-divider-calculator Calculate voltage divider output or solve for R1 or R2. 1cr · v2026-04-22 ](/tools/voltage-divider-calculator/) Runtime [ Battery Life Calculator battery-life-calculator Estimate battery runtime from capacity, consumption, and efficiency. 1cr · v2026-04-22 ](/tools/battery-life-calculator/) Wiring [ Voltage Drop Calculator voltage-drop-calculator Calculate electrical voltage drop for AWG copper or aluminum wire runs. 1cr · v2026-04-22 ](/tools/voltage-drop-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - engineering 1 endpoints # Engineering API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Wire Gauge Calculator wire-gauge-calculator Calculate AWG diameter, area, resistance, ampacity, and optional voltage drop. 1cr · v2026-04-22 ](/tools/wire-gauge-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - environment 1 endpoints # Environment API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Water Usage Calculator water-usage-calculator Estimate household daily, monthly, and annual water use by activity. 1cr · v2026-04-22 ](/tools/water-usage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - event 1 endpoints # Event API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Wedding Alcohol Calculator wedding-alcohol-calculator Estimate wine, beer, spirits, and champagne quantities for an event. 1cr · v2026-04-22 ](/tools/wedding-alcohol-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - finance 105 endpoints # Finance API Exact interest, mortgage, APY, and other money math. Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Auto [ Car Depreciation Calculator car-depreciation-calculator Estimate vehicle depreciation using a declining-balance annual rate. 2cr · v2026-04-22 ](/tools/car-depreciation-calculator/) [ Car Lease Calculator car-lease-calculator Estimate monthly auto lease payment from cap cost, residual value, money factor, tax, and fees. 2cr · v2026-04-22 ](/tools/car-lease-calculator/) Bonds [ Bond Equivalent Yield Calculator bond-equivalent-yield-calculator Calculate bond equivalent yield for a discount security. 2cr · v2026-04-22 ](/tools/bond-equivalent-yield-calculator/) [ Bond Yield to Maturity Calculator bond-yield-to-maturity-calculator Calculate bond yield to maturity with current yield and return metrics. 2cr · v2026-04-22 ](/tools/bond-yield-to-maturity-calculator/) [ Zero Coupon Bond Calculator zero-coupon-bond-calculator Calculate zero coupon bond price or yield to maturity. 2cr · v2026-04-22 ](/tools/zero-coupon-bond-calculator/) Credit [ Credit Card Interest Calculator credit-card-interest-calculator Estimate credit card payoff time, interest cost, and payment strategy savings. 2cr · v2026-04-22 ](/tools/credit-card-interest-calculator/) Credit Card Calculators [ Credit Card Payment Calculator credit-card-payment-calculator Calculate the fixed monthly payment needed to pay off a credit card balance over a chosen number of months. 1cr · v2026-04-22 ](/tools/credit-card-payment-calculator/) [ Credit Card Payoff Calculator credit-card-payoff-calculator Estimate how long a credit card payoff plan will take and how much interest it costs. 1cr · v2026-04-22 ](/tools/credit-card-payoff-calculator/) Debt [ Debt Consolidation Calculator debt-consolidation-calculator Estimate a consolidated debt payment and interest cost. 2cr · v2026-04-22 ](/tools/debt-consolidation-calculator/) [ Debt Coverage Ratio Calculator debt-coverage-ratio-calculator Calculate debt service coverage ratio from NOI and debt service, or build NOI from property inputs. 2cr · v2026-04-22 ](/tools/debt-coverage-ratio-calculator/) [ Debt to Income Ratio Calculator debt-to-income-ratio-calculator Calculate debt-to-income ratio from monthly income and debt payments. 2cr · v2026-04-22 ](/tools/debt-to-income-ratio-calculator/) [ Fixed Charge Coverage Ratio Calculator fixed-charge-coverage-ratio-calculator Calculate fixed charge coverage ratio with optional EBITDA and principal-payment adjustments. 2cr · v2026-04-22 ](/tools/fixed-charge-coverage-ratio-calculator/) [ Interest Coverage Ratio Calculator interest-coverage-ratio-calculator Calculate EBIT or EBITDA based interest coverage ratio. 2cr · v2026-04-22 ](/tools/interest-coverage-ratio-calculator/) [ Times Interest Earned Ratio Calculator times-interest-earned-ratio-calculator Calculate times interest earned ratio and interest coverage safety margin. 2cr · v2026-04-22 ](/tools/times-interest-earned-ratio-calculator/) Debt Calculators [ Debt Payoff Calculator debt-payoff-calculator Compare debt snowball and avalanche payoff strategies for a small list of debts. 1cr · v2026-04-22 ](/tools/debt-payoff-calculator/) Depreciation [ Actual Cash Value Calculator actual-cash-value-calculator Calculate actual cash value from replacement cost, age, lifespan, salvage, and depreciation method. 1cr · v2026-04-22 ](/tools/actual-cash-value-calculator/) Discounts [ Discount Calculator discount-calculator Calculate final price, savings, tax, stacked discounts, or BOGO deals. 1cr · v2026-04-22 ](/tools/discount-calculator/) [ Percent Off Calculator percent-off-calculator Calculate discount amount and sale price from original price and percent off. 1cr · v2026-04-22 ](/tools/percent-off-calculator/) Efficiency [ Average Collection Period Calculator average-collection-period-calculator Calculate average collection period, receivables turnover, and industry benchmark spread. 2cr · v2026-04-22 ](/tools/average-collection-period-calculator/) [ Debtor Days Calculator debtor-days-calculator Calculate debtor days, receivables ratio, and working capital above a 30-day target. 2cr · v2026-04-22 ](/tools/debtor-days-calculator/) [ Fixed Asset Turnover Calculator fixed-asset-turnover-calculator Measure revenue generated per dollar of net fixed assets. 2cr · v2026-04-22 ](/tools/fixed-asset-turnover-calculator/) [ Inventory Turnover Calculator inventory-turnover-calculator Calculate inventory turnover, days sales in inventory, and annualized turnover. 2cr · v2026-04-22 ](/tools/inventory-turnover-calculator/) [ Receivables Turnover Ratio Calculator receivables-turnover-ratio-calculator Calculate receivables turnover and days sales outstanding. 2cr · v2026-04-22 ](/tools/receivables-turnover-ratio-calculator/) [ Total Asset Turnover Calculator total-asset-turnover-calculator Measure revenue generated per dollar of average total assets. 2cr · v2026-04-22 ](/tools/total-asset-turnover-calculator/) Financial Ratio [ Goodwill to Assets Ratio Calculator goodwill-to-assets-ratio-calculator Calculate goodwill-to-assets ratio and tangible asset share. 2cr · v2026-04-22 ](/tools/goodwill-to-assets-ratio-calculator/) [ Retention Ratio Calculator retention-ratio-calculator Calculate retention ratio, payout ratio, and retained earnings. 2cr · v2026-04-22 ](/tools/retention-ratio-calculator/) Interest [ APR Calculator apr-calculator Calculate true APR from loan amount, rolled-in fees, nominal rate, and term. 2cr · v2026-04-22 ](/tools/apr-calculator/) [ APR to APY Calculator apr-to-apy-calculator Convert APR to APY for a selected compounding frequency. 2cr · v2026-04-22 ](/tools/apr-to-apy-calculator/) [ APY Calculator apy-calculator Calculate annual percentage yield and compound growth. 2cr · v2026-04-22 ](/tools/apy-calculator/) [ APY to APR Calculator apy-to-apr-calculator Convert APY back to nominal APR for a compounding frequency. 2cr · v2026-04-22 ](/tools/apy-to-apr-calculator/) [ Compound Interest Calculator compound-interest-calculator Compound-interest formula with selectable compounding frequency. 2cr · v2026-04-22 ](/tools/compound-interest-calculator/) [ Continuous Compounding Calculator continuous-compounding-calculator Calculate future value and interest with continuous compounding. 1cr · v2026-04-22 ](/tools/continuous-compounding-calculator/) [ Doubling Time Calculator doubling-time-calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to double. 1cr · v2026-04-22 ](/tools/doubling-time-calculator/) [ Effective Interest Rate Calculator effective-interest-rate-calculator Convert a nominal interest rate to its effective annual rate. 2cr · v2026-04-22 ](/tools/effective-interest-rate-calculator/) [ Effective Yield Calculator effective-yield-calculator Calculate effective annual yield from nominal APR and compounding frequency. 2cr · v2026-04-22 ](/tools/effective-yield-calculator/) [ Interest Rate Calculator interest-rate-calculator Solve the implied annual interest rate from principal, term, and monthly payment. 2cr · v2026-04-22 ](/tools/interest-rate-calculator/) [ Nominal Interest Rate Calculator nominal-interest-rate-calculator Convert an effective annual rate to a nominal annual rate. 2cr · v2026-04-22 ](/tools/nominal-interest-rate-calculator/) [ Simple Interest Calculator simple-interest-calculator Simple-interest formula: I = P * r * t. 2cr · v2026-04-22 ](/tools/simple-interest-calculator/) Investing [ Stock Profit Loss Calculator stock-profit-loss-calculator Calculate stock trade profit, loss, ROI, and breakeven price. 2cr · v2026-04-22 ](/tools/stock-profit-loss-calculator/) Investment [ Capital Employed Calculator capital-employed-calculator Calculate capital employed by common balance-sheet methods and optional ROCE. 2cr · v2026-04-22 ](/tools/capital-employed-calculator/) [ WACC Calculator wacc-calculator Calculate weighted average cost of capital and component contributions. 1cr · v2026-04-22 ](/tools/wacc-calculator/) Leverage [ Debt to Asset Ratio Calculator debt-to-asset-ratio-calculator Calculate debt-to-asset ratio, equity ratio, and optional industry benchmark spread. 2cr · v2026-04-22 ](/tools/debt-to-asset-ratio-calculator/) [ Debt to Equity Ratio Calculator debt-to-equity-ratio-calculator Calculate debt-to-equity ratio, equity multiplier, and capital structure shares. 2cr · v2026-04-22 ](/tools/debt-to-equity-ratio-calculator/) [ Equity Ratio Calculator equity-ratio-calculator Calculate equity ratio, debt ratio, equity multiplier, and industry benchmark spread. 2cr · v2026-04-22 ](/tools/equity-ratio-calculator/) Liquidity [ Cash Ratio Calculator cash-ratio-calculator Calculate cash ratio from cash, marketable securities, and current liabilities. 2cr · v2026-04-22 ](/tools/cash-ratio-calculator/) [ Current Ratio Calculator current-ratio-calculator Calculate current ratio and working capital from current assets and liabilities. 2cr · v2026-04-22 ](/tools/current-ratio-calculator/) [ Loan to Deposit Ratio Calculator loan-to-deposit-ratio-calculator Calculate bank loan-to-deposit ratio, deposit coverage, and liquidity status. 2cr · v2026-04-22 ](/tools/loan-to-deposit-ratio-calculator/) [ Quick Ratio Calculator quick-ratio-calculator Calculate quick ratio, quick assets, current ratio, and liquidity rating. 2cr · v2026-04-22 ](/tools/quick-ratio-calculator/) Loan Calculators [ Amortization Calculator amortization-calculator Calculate loan payment, interest, payoff timing, and savings from extra monthly principal. 1cr · v2026-04-22 ](/tools/amortization-calculator/) [ HELOC Calculator heloc-calculator Estimate HELOC draw-period and repayment-period payments, interest cost, and combined loan-to-value. 1cr · v2026-04-22 ](/tools/heloc-calculator/) Loans [ Auto Loan Calculator auto-loan-calculator Calculate auto loan amount, monthly payment, tax, and total interest. 2cr · v2026-04-22 ](/tools/auto-loan-calculator/) [ Business Loan Calculator business-loan-calculator Estimate business loan payments, fees, payoff time, and interest. 2cr · v2026-04-22 ](/tools/business-loan-calculator/) [ Car Loan Payoff Calculator car-loan-payoff-calculator Compare standard and accelerated payoff for a car loan. 2cr · v2026-04-22 ](/tools/car-loan-payoff-calculator/) [ Down Payment Calculator down-payment-calculator Estimate mortgage down payment, loan amount, monthly payment, PMI, and comparison scenarios. 2cr · v2026-04-22 ](/tools/down-payment-calculator/) [ EMI Calculator emi-calculator Calculate equated monthly installment and total interest for a loan. 2cr · v2026-04-22 ](/tools/emi-calculator/) [ Loan Payoff Calculator loan-payoff-calculator Calculate loan payoff months and savings from extra monthly payments. 2cr · v2026-04-22 ](/tools/loan-payoff-calculator/) [ Mortgage Calculator mortgage-calculator Monthly payment, total interest, LTV, and optional amortization schedule. 5cr · v2026-04-22 ](/tools/mortgage-calculator/) [ Personal Loan Calculator personal-loan-calculator Calculate personal loan payment, payoff time, interest, and extra-payment savings. 2cr · v2026-04-22 ](/tools/personal-loan-calculator/) Marketing [ ROAS Calculator roas-calculator Calculate return on ad spend, profit, ROI, or target revenue. 2cr · v2026-04-22 ](/tools/roas-calculator/) Profit [ Break-Even Calculator break-even-calculator Calculate break-even units, revenue, contribution margin, and target-profit units. 1cr · v2026-04-22 ](/tools/break-even-calculator/) [ EBIT Calculator ebit-calculator Calculate EBIT and EBIT margin from revenue, expenses, and non-operating income. 2cr · v2026-04-22 ](/tools/ebit-calculator/) [ EBITDA Calculator ebitda-calculator Calculate EBITDA using net income or operating income inputs. 2cr · v2026-04-22 ](/tools/ebitda-calculator/) Profitability [ Cash Flow Margin Calculator cash-flow-margin-calculator Calculate operating cash flow margin as a percentage of net sales. 2cr · v2026-04-22 ](/tools/cash-flow-margin-calculator/) [ Earnings per Share Calculator earnings-per-share-calculator Calculate basic, diluted, or weighted earnings per share. 2cr · v2026-04-22 ](/tools/earnings-per-share-calculator/) [ EBIT Margin Calculator ebit-margin-calculator Calculate EBIT margin and EBIT-to-revenue ratio. 2cr · v2026-04-22 ](/tools/ebit-margin-calculator/) [ EBITDA Margin Calculator ebitda-margin-calculator Calculate EBITDA margin from direct EBITDA or component inputs. 2cr · v2026-04-22 ](/tools/ebitda-margin-calculator/) [ Gross Profit Margin Calculator gross-profit-margin-calculator Calculate gross profit, gross margin, markup, and cost ratio. 2cr · v2026-04-22 ](/tools/gross-profit-margin-calculator/) [ Net Profit Margin Calculator net-profit-margin-calculator Calculate net profit margin and profit per revenue dollar. 2cr · v2026-04-22 ](/tools/net-profit-margin-calculator/) [ Operating Margin Calculator operating-margin-calculator Calculate operating margin from operating income or detailed operating components. 2cr · v2026-04-22 ](/tools/operating-margin-calculator/) [ Profit Calculator profit-calculator Solve profit, margin, markup, revenue, or cost from the known values. 2cr · v2026-04-22 ](/tools/profit-calculator/) [ Profit to Sales Ratio Calculator profit-to-sales-ratio-calculator Calculate profit-to-sales ratio and compare it with an industry benchmark. 2cr · v2026-04-22 ](/tools/profit-to-sales-ratio-calculator/) [ Return on Assets Ratio Calculator return-on-assets-ratio-calculator Calculate ROA with optional DuPont margin and asset-turnover breakdown. 2cr · v2026-04-22 ](/tools/return-on-assets-ratio-calculator/) [ Return On Equity Calculator return-on-equity-calculator Calculate ROE with optional 3- or 5-component DuPont analysis. 2cr · v2026-04-22 ](/tools/return-on-equity-calculator/) [ Return On Sales Calculator return-on-sales-calculator Calculate return on sales, operating cost ratio, and ROS decimal. 2cr · v2026-04-22 ](/tools/return-on-sales-calculator/) Real Estate [ Capitalization Rate Calculator capitalization-rate-calculator Solve cap rate, property value, or required NOI for real estate income analysis. 2cr · v2026-04-22 ](/tools/capitalization-rate-calculator/) [ Gross Rent Multiplier Calculator gross-rent-multiplier-calculator Calculate gross rent multiplier and rental yield for a property. 2cr · v2026-04-22 ](/tools/gross-rent-multiplier-calculator/) [ Home Equity Calculator home-equity-calculator Calculate home equity, LTV, CLTV, and optional five-year equity projection. 2cr · v2026-04-22 ](/tools/home-equity-calculator/) [ Moving Cost Estimator moving-cost-estimator Estimate moving costs from home size, distance, service level, and access factors. 2cr · v2026-04-22 ](/tools/moving-cost-estimator/) Real Estate Calculators [ BRRRR Method Calculator brrrr-method-calculator Analyze a BRRRR real estate deal, including all-in cost, refinance proceeds, capital recycled, equity, and cash flow. 1cr · v2026-04-22 ](/tools/brrrr-method-calculator/) [ Cash-on-Cash Return Calculator cash-on-cash-return-calculator Estimate rental property cash-on-cash return, cap rate, NOI, cash flow, and DSCR. 1cr · v2026-04-22 ](/tools/cash-on-cash-return-calculator/) [ House Flipping Profit Calculator house-flipping-profit-calculator Estimate house flip net profit, ROI, financing effects, and the 70 percent rule threshold. 1cr · v2026-04-22 ](/tools/house-flipping-profit-calculator/) [ Housing Appreciation Calculator housing-appreciation-calculator Calculate total home value change, annualized appreciation, and a future value projection. 1cr · v2026-04-22 ](/tools/housing-appreciation-calculator/) Retail [ Markup Calculator markup-calculator Calculate markup percentage, selling price, cost, profit, and margin. 1cr · v2026-04-22 ](/tools/markup-calculator/) Return [ Dividend Payout Ratio Calculator dividend-payout-ratio-calculator Calculate dividend payout ratio and retention ratio from total or per-share inputs. 2cr · v2026-04-22 ](/tools/dividend-payout-ratio-calculator/) [ Dividend Yield Calculator dividend-yield-calculator Calculate dividend yield, per-payment dividend, and optional annual income. 2cr · v2026-04-22 ](/tools/dividend-yield-calculator/) [ ROI Calculator roi-calculator Calculate ROI, annualized ROI, CAGR, and investment term from fixed dates. 2cr · v2026-04-22 ](/tools/roi-calculator/) Salary [ Hourly to Salary Calculator hourly-to-salary-calculator Convert an hourly wage to weekly, monthly, and annual salary. 2cr · v2026-04-22 ](/tools/hourly-to-salary-calculator/) [ Hourly Wage Calculator hourly-wage-calculator Convert annual salary to equivalent hourly wage. 2cr · v2026-04-22 ](/tools/hourly-wage-calculator/) [ Salary Conversion Calculator salary-conversion-calculator Convert wage amounts across hourly, daily, weekly, monthly, and annual pay periods. 2cr · v2026-04-22 ](/tools/salary-conversion-calculator/) [ Weekly Wage Calculator weekly-wage-calculator Convert annual salary to weekly wage. 2cr · v2026-04-22 ](/tools/weekly-wage-calculator/) Sales [ Commission Calculator commission-calculator Calculate flat, tiered, or bonus-based sales commission. 2cr · v2026-04-22 ](/tools/commission-calculator/) Savings [ Compound Savings Calculator compound-savings-calculator Project savings growth with compound interest and regular contributions. 1cr · v2026-04-22 ](/tools/compound-savings-calculator/) TVM [ Future Value Calculator future-value-calculator Calculate future value from a lump sum plus optional recurring contributions. 2cr · v2026-04-22 ](/tools/future-value-calculator/) [ Future Value Factor Calculator future-value-factor-calculator Calculate the future value factor for a rate and number of periods. 2cr · v2026-04-22 ](/tools/future-value-factor-calculator/) [ Future Value of Annuity Calculator future-value-of-annuity-calculator Calculate future value for ordinary annuities and annuities due. 2cr · v2026-04-22 ](/tools/future-value-of-annuity-calculator/) [ Future Value of Annuity Due Calculator future-value-of-annuity-due-calculator Calculate future value of an annuity due and compare it with an ordinary annuity. 2cr · v2026-04-22 ](/tools/future-value-of-annuity-due-calculator/) [ Future Value of Growing Annuity Calculator future-value-of-growing-annuity-calculator Calculate future value for payments that grow each period. 2cr · v2026-04-22 ](/tools/future-value-of-growing-annuity-calculator/) [ Future Value of Lump Sum Calculator future-value-of-lump-sum-calculator Calculate compound future value for a single lump-sum investment. 2cr · v2026-04-22 ](/tools/future-value-of-lump-sum-calculator/) [ FVIFA Calculator fvifa-calculator Calculate the future value interest factor of an annuity. 2cr · v2026-04-22 ](/tools/fvifa-calculator/) [ Present Value of Annuity Calculator present-value-of-annuity-calculator Calculate present value for ordinary annuities and annuities due. 2cr · v2026-04-22 ](/tools/present-value-of-annuity-calculator/) [ Present Value of Lump Sum Calculator present-value-of-lump-sum-calculator Discount a future lump sum back to present value. 2cr · v2026-04-22 ](/tools/present-value-of-lump-sum-calculator/) Tax [ VAT Calculator vat-calculator Add, remove, or extract VAT from an amount using a preset or custom rate. 2cr · v2026-04-22 ](/tools/vat-calculator/) Valuation [ Book Value per Share Calculator book-value-per-share-calculator Calculate book value per share, common equity, and optional price-to-book ratio. 2cr · v2026-04-22 ](/tools/book-value-per-share-calculator/) [ P/E Ratio Calculator p-e-ratio-calculator Calculate price-to-earnings ratio, earnings yield, and sector benchmark premium. 2cr · v2026-04-22 ](/tools/p-e-ratio-calculator/) [ Price to Book Ratio Calculator price-to-book-ratio-calculator Calculate price-to-book ratio and compare it to industry benchmark ranges. 2cr · v2026-04-22 ](/tools/price-to-book-ratio-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - hash 6 endpoints # Hash & Checksum API SHA, MD5, HMAC, and digest utilities with stable JSON output. Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ BLAKE2b Hash Generator blake2b-hash-generator Generate a BLAKE2b digest with 256, 384, or 512-bit output. 1cr · v2026-04-22 ](/tools/blake2b-hash-generator/) [ MD5 Hash Generator md5-hash-generator Generate an MD5 hex digest for checksum and legacy compatibility. 1cr · v2026-04-22 ](/tools/md5-hash-generator/) [ SHA-256 Hash Generator sha256-hash-generator Generate a SHA-256 hex digest of a UTF-8 string. 1cr · v2026-04-22 ](/tools/sha256-hash-generator/) [ SHA3-512 Hash Generator sha3-512-hash-generator Generate a SHA3-512 hex digest of a UTF-8 string. 1cr · v2026-04-22 ](/tools/sha3-512-hash-generator/) [ SHA-384 Hash Generator sha384-hash-generator Generate a SHA-384 hex digest of a UTF-8 string. 1cr · v2026-04-22 ](/tools/sha384-hash-generator/) [ SHA-512 Hash Generator sha512-hash-generator Generate a SHA-512 hex digest of a UTF-8 string. 1cr · v2026-04-22 ](/tools/sha512-hash-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - lifestyle 12 endpoints # Lifestyle API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Crafts [ Beading Pattern Calculator beading-pattern-calculator Calculate beads needed from strand length and a repeating bead pattern. 1cr · v2026-04-22 ](/tools/beading-pattern-calculator/) [ Yarn Calculator yarn-calculator Estimate yarn yards, meters, grams, and skeins for common knitting/crochet projects. 1cr · v2026-04-22 ](/tools/yarn-calculator/) Fitness [ Bench Press Calculator bench-press-calculator Estimate bench press one-rep max, formula comparisons, and training zones. 1cr · v2026-04-22 ](/tools/bench-press-calculator/) [ BMR Calculator bmr-calculator Calculate BMR, RMR estimate, TDEE, macro estimates, and activity-level calorie needs. 1cr · v2026-04-22 ](/tools/bmr-calculator/) Health [ BAC Calculator bac-calculator Estimate blood alcohol content using standard-drink counts and the Widmark formula. 1cr · v2026-04-22 ](/tools/bac-calculator/) [ Biological Age Calculator biological-age-calculator Estimate biological age from lifestyle and health-factor adjustments. 1cr · v2026-04-22 ](/tools/biological-age-calculator/) Numerology [ Angel Number Calculator angel-number-calculator Find recurring angel-number interpretations or derive one from a birth date. 1cr · v2026-04-22 ](/tools/angel-number-calculator/) Pets [ Aquarium Heater Wattage Calculator aquarium-heater-wattage-calculator Estimate aquarium heater wattage from tank size and temperature gap. 1cr · v2026-04-22 ](/tools/aquarium-heater-wattage-calculator/) [ Bird Cage Size Calculator bird-cage-size-calculator Recommend minimum bird cage dimensions and bar spacing by species. 1cr · v2026-04-22 ](/tools/bird-cage-size-calculator/) [ Cat Litter Box Calculator cat-litter-box-calculator Estimate recommended cat litter boxes, placement, and monthly litter use. 1cr · v2026-04-22 ](/tools/cat-litter-box-calculator/) [ Cat Years Calculator cat-years-calculator Convert cat age into human-equivalent years and life stage. 1cr · v2026-04-22 ](/tools/cat-years-calculator/) [ Dog Years Calculator dog-years-calculator Convert dog age to human-equivalent years by breed size. 1cr · v2026-04-22 ](/tools/dog-years-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - marketing 1 endpoints # Marketing API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ CTR Calculator ctr-calculator Calculate click-through rate, required clicks for a target CTR, or bulk campaign CTR. 1cr · v2026-04-22 ](/tools/ctr-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - math 240 endpoints # Math API Percentage, unit conversion, geometry, and sequences. Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Advanced [ Complementary Error Function Calculator complementary-error-function-calculator Calculate erf(x), erfc(x), and related error-function values. 1cr · v2026-04-22 ](/tools/complementary-error-function-calculator/) [ Exponential Decay Calculator exponential-decay-calculator Solve continuous exponential decay equations for final amount, initial amount, rate, or time. 1cr · v2026-04-22 ](/tools/exponential-decay-calculator/) [ Exponential Growth Calculator exponential-growth-calculator Solve continuous exponential growth equations for final amount, initial amount, rate, or time. 1cr · v2026-04-22 ](/tools/exponential-growth-calculator/) Advanced Math [ Antilog Calculator antilog-calculator Calculate an antilogarithm as base raised to an exponent. 1cr · v2026-04-22 ](/tools/antilog-calculator/) Algebra [ Absolute Value Equation Solver absolute-value-equation-solver Solve equations of the form |a*x + b| = c. 1cr · v2026-04-22 ](/tools/absolute-value-equation-solver/) [ Absolute Value Inequality Solver absolute-value-inequality-solver Solve inequalities of the form |a*x + b| compared with c. 1cr · v2026-04-22 ](/tools/absolute-value-inequality-solver/) [ Completing the Square Calculator completing-the-square-calculator Convert a quadratic to vertex form and solve by completing the square. 1cr · v2026-04-22 ](/tools/completing-the-square-calculator/) [ Cubic Equation Solver cubic-equation-solver Solve ax^3 + bx^2 + cx + d = 0 and return all real or complex roots. 1cr · v2026-04-22 ](/tools/cubic-equation-solver/) [ Point Slope Form Calculator point-slope-form-calculator Build point-slope, slope-intercept, and standard-form line equations. 1cr · v2026-04-22 ](/tools/point-slope-form-calculator/) [ Slope Intercept Form Calculator slope-intercept-form-calculator Build slope-intercept and standard-form line equations from m and b. 1cr · v2026-04-22 ](/tools/slope-intercept-form-calculator/) [ Square Root Calculator square-root-calculator Calculate the principal and negative square roots of a non-negative number. 1cr · v2026-04-22 ](/tools/square-root-calculator/) [ X and Y Intercept Calculator x-y-intercept-calculator Find x- and y-intercepts for a linear equation ax + by + c = 0. 1cr · v2026-04-22 ](/tools/x-y-intercept-calculator/) Angles [ Radian to Degree Converter radian-to-degree-converter Convert radians, fractions, or pi expressions to degrees. 1cr · v2026-04-22 ](/tools/radian-to-degree-converter/) Area [ Acreage Calculator acreage-calculator Calculate land acreage from rectangle, triangle, or circle dimensions. 1cr · v2026-04-22 ](/tools/acreage-calculator/) [ Hectares to Acres Converter hectares-to-acres-converter Convert hectares to acres and related land-area units. 1cr · v2026-04-22 ](/tools/hectares-to-acres-converter/) [ Square Feet to Acres Converter square-feet-to-acres-converter Convert square feet to acres and related land-area units. 1cr · v2026-04-22 ](/tools/square-feet-to-acres-converter/) [ Square Footage Calculator square-footage-calculator Calculate square footage for common room, lot, and curved shapes. 1cr · v2026-04-22 ](/tools/square-footage-calculator/) [ Square Meters to Acres Converter square-meters-to-acres-converter Convert square meters to acres and related land-area units. 1cr · v2026-04-22 ](/tools/square-meters-to-acres-converter/) [ Square Miles to Acres Converter square-miles-to-acres-converter Convert square miles to acres and related land-area units. 1cr · v2026-04-22 ](/tools/square-miles-to-acres-converter/) Basic Math [ Absolute Value Calculator absolute-value-calculator Calculate the absolute value of a real or complex number. 1cr · v2026-04-22 ](/tools/absolute-value-calculator/) [ Cube and Cube Root Calculator cube-and-cube-root-calculator Calculate a number's cube and cube root. 1cr · v2026-04-22 ](/tools/cube-and-cube-root-calculator/) [ Cube Root Calculator cube-root-calculator Calculate the real cube root of a finite number. 1cr · v2026-04-22 ](/tools/cube-root-calculator/) [ Even or Odd Number Checker even-or-odd-number-checker Check whether one or more integers are even or odd. 1cr · v2026-04-22 ](/tools/even-or-odd-number-checker/) Calculus [ Curvature Calculator curvature-calculator Calculate curvature and radius of curvature for a quadratic function. 1cr · v2026-04-22 ](/tools/curvature-calculator/) Charts [ Bar Graph Maker bar-graph-maker Prepare normalized bar-chart data from labels and numeric values. 1cr · v2026-04-22 ](/tools/bar-graph-maker/) Combinatorics [ Binomial Coefficient Calculator binomial-coefficient-calculator Calculate C(n, k), the number of combinations choosing k items from n. 1cr · v2026-04-22 ](/tools/binomial-coefficient-calculator/) [ Combination Calculator combination-calculator Calculate combinations C(n, k). 1cr · v2026-04-22 ](/tools/combination-calculator/) [ Permutation Calculator permutation-calculator Calculate P(n,r), where order matters and repetition is not allowed. 1cr · v2026-04-22 ](/tools/permutation-calculator/) [ Permutations with Repetition Calculator permutations-with-repetition-calculator Calculate n^r ordered arrangements where items can repeat. 1cr · v2026-04-22 ](/tools/permutations-with-repetition-calculator/) Complex Numbers [ Complex Numbers Calculator complex-numbers-calculator Add, subtract, multiply, or divide two complex numbers. 1cr · v2026-04-22 ](/tools/complex-numbers-calculator/) Conics [ Hyperbola Calculator hyperbola-calculator Calculate standard-form hyperbola vertices, foci, eccentricity, and asymptotes. 1cr · v2026-04-22 ](/tools/hyperbola-calculator/) Construction [ Flooring Calculator flooring-calculator Estimate flooring material units, waste allowance, and optional cost. 1cr · v2026-04-22 ](/tools/flooring-calculator/) [ Insulation Calculator insulation-calculator Estimate insulation R-value target, thickness, material quantity, and cost range. 1cr · v2026-04-22 ](/tools/insulation-calculator/) Cooking [ Butter to Oil Converter butter-to-oil-converter Convert butter quantities to practical oil equivalents for baking. 1cr · v2026-04-22 ](/tools/butter-to-oil-converter/) Coordinate Geometry [ Polar to Cartesian Converter polar-to-cartesian-converter Convert polar coordinates to Cartesian x and y coordinates. 1cr · v2026-04-22 ](/tools/polar-to-cartesian-converter/) Education [ Final Grade Calculator final-grade-calculator Calculate the final exam score needed to reach a target course grade. 1cr · v2026-04-22 ](/tools/final-grade-calculator/) Electronics [ LED Resistor Calculator led-resistor-calculator Calculate LED current-limiting resistor values and power ratings. 1cr · v2026-04-22 ](/tools/led-resistor-calculator/) Exponents [ Half Life Calculator half-life-calculator Solve exponential decay for remaining amount, initial amount, elapsed time, or half-life. 1cr · v2026-04-22 ](/tools/half-life-calculator/) Fractions [ Comparing Fractions Calculator comparing-fractions-calculator Compare two fractions or mixed numbers using a common denominator. 1cr · v2026-04-22 ](/tools/comparing-fractions-calculator/) [ Decimal to Fraction Calculator decimal-to-fraction-calculator Convert a decimal or parenthesized repeating decimal to a fraction. 1cr · v2026-04-22 ](/tools/decimal-to-fraction-calculator/) [ Equivalent Fractions Calculator equivalent-fractions-calculator Generate equivalent fractions or check whether two fractions are equivalent. 1cr · v2026-04-22 ](/tools/equivalent-fractions-calculator/) [ Fraction Simplifier fraction-simplifier Reduce a fraction to lowest terms and return GCF, mixed number, decimal, percentage, and equivalents. 1cr · v2026-04-22 ](/tools/fraction-simplifier/) [ Fraction to Decimal Calculator fraction-to-decimal-calculator Convert proper, improper, or mixed fractions to decimals and detect repeating decimal patterns. 1cr · v2026-04-22 ](/tools/fraction-to-decimal-calculator/) [ Fraction to Mixed Number Converter fraction-to-mixed-number-converter Convert an improper fraction to a simplified mixed number. 1cr · v2026-04-22 ](/tools/fraction-to-mixed-number-converter/) [ Fraction to Percent Converter fraction-to-percent-converter Convert proper, improper, or mixed fractions to percentages with configurable decimal places. 1cr · v2026-04-22 ](/tools/fraction-to-percent-converter/) [ Mixed Number to Fraction Converter mixed-number-to-fraction-converter Convert a mixed number to an improper fraction and simplified form. 1cr · v2026-04-22 ](/tools/mixed-number-to-fraction-converter/) [ Reduce Fractions Calculator reduce-fractions-calculator Reduce a proper, improper, or mixed fraction to lowest terms. 1cr · v2026-04-22 ](/tools/reduce-fractions-calculator/) Functions [ Hyperbolic Functions Calculator hyperbolic-functions-calculator Calculate sinh, cosh, tanh and reciprocal hyperbolic functions. 1cr · v2026-04-22 ](/tools/hyperbolic-functions-calculator/) Games [ DPS Calculator dps-calculator Calculate raw, sustained, critical-hit, and headshot damage per second. 1cr · v2026-04-22 ](/tools/dps-calculator/) Geometry [ 3D Distance Calculator 3d-distance-calculator Calculate 3D Euclidean distance, midpoint, direction cosines, and related distances. 1cr · v2026-04-22 ](/tools/3d-distance-calculator/) [ Angle Bisector Calculator angle-bisector-calculator Calculate triangle angle bisectors, angles, area, and inradius from side lengths. 1cr · v2026-04-22 ](/tools/angle-bisector-calculator/) [ Arc Length Calculator arc-length-calculator Solve arc length, radius, or central angle for a circle sector. 1cr · v2026-04-22 ](/tools/arc-length-calculator/) [ Area of a Circle Calculator area-of-a-circle-calculator Calculate circle radius, diameter, circumference, and area from one value. 1cr · v2026-04-22 ](/tools/area-of-a-circle-calculator/) [ Area of a Parallelogram Calculator area-of-a-parallelogram-calculator Find parallelogram area from base-height, sides-angle, or diagonals-angle inputs. 1cr · v2026-04-22 ](/tools/area-of-a-parallelogram-calculator/) [ Area of a Sector Calculator area-of-a-sector-calculator Calculate sector area, arc length, perimeter, chord, and segment area. 1cr · v2026-04-22 ](/tools/area-of-a-sector-calculator/) [ Area of a Trapezoid Calculator area-of-a-trapezoid-calculator Calculate trapezoid area from two parallel bases and height. 1cr · v2026-04-22 ](/tools/area-of-a-trapezoid-calculator/) [ Area of an Ellipse Calculator area-of-an-ellipse-calculator Calculate ellipse area, Ramanujan perimeter, foci, and eccentricity. 1cr · v2026-04-22 ](/tools/area-of-an-ellipse-calculator/) [ Area of Equilateral Triangle Calculator area-of-equilateral-triangle-calculator Calculate equilateral-triangle side, area, height, perimeter, and radii. 1cr · v2026-04-22 ](/tools/area-of-equilateral-triangle-calculator/) [ Cartesian to Polar Coordinates Converter cartesian-to-polar-converter Convert Cartesian x-y coordinates to polar radius and angle. 1cr · v2026-04-22 ](/tools/cartesian-to-polar-converter/) [ Circle Calculator circle-calculator Calculate circle radius, diameter, circumference, area, and optional arc/sector values. 1cr · v2026-04-22 ](/tools/circle-calculator/) [ Circumscribed Circle Circumcircle Calculator circumscribed-circle-circumcircle-calculator Calculate the circumcircle of a triangle from side lengths or coordinates. 1cr · v2026-04-22 ](/tools/circumscribed-circle-circumcircle-calculator/) [ Cone Flat Pattern Template Generator cone-flat-pattern-template-generator Calculate unrolled cone or frustum flat-pattern dimensions. 1cr · v2026-04-22 ](/tools/cone-flat-pattern-template-generator/) [ Conic Section Identifier conic-section-identifier Classify a general second-degree equation as a conic section. 1cr · v2026-04-22 ](/tools/conic-section-identifier/) [ Coordinate Geometry Distance Calculator coordinate-geometry-distance-calculator Calculate distance, midpoint, slope, and line equations between two points. 1cr · v2026-04-22 ](/tools/coordinate-geometry-distance-calculator/) [ Distance Between Two Points Calculator distance-between-two-points-calculator Calculate 2D point distance, midpoint, slope, and line equation. 1cr · v2026-04-22 ](/tools/distance-between-two-points-calculator/) [ Ellipse Circumference Calculator ellipse-circumference-calculator Calculate ellipse circumference with several common approximations. 1cr · v2026-04-22 ](/tools/ellipse-circumference-calculator/) [ Euler Characteristic Calculator euler-characteristic-calculator Calculate Euler characteristic V - E + F and classify common surfaces. 1cr · v2026-04-22 ](/tools/euler-characteristic-calculator/) [ Frustum Calculator frustum-calculator Calculate volume and surface area for a conical frustum. 1cr · v2026-04-22 ](/tools/frustum-calculator/) [ Golden Ratio Calculator golden-ratio-calculator Calculate golden-ratio segments from total, larger, or smaller segment. 1cr · v2026-04-22 ](/tools/golden-ratio-calculator/) [ Golden Rectangle Calculator golden-rectangle-calculator Calculate golden rectangle dimensions, area, perimeter, and aspect ratio. 1cr · v2026-04-22 ](/tools/golden-rectangle-calculator/) [ Golden Section Calculator golden-section-calculator Find the golden-section points within an interval. 1cr · v2026-04-22 ](/tools/golden-section-calculator/) [ Great Circle Distance Calculator great-circle-distance-calculator Calculate great-circle distance, bearing, and midpoint between two coordinates. 1cr · v2026-04-22 ](/tools/great-circle-distance-calculator/) [ Heron's Formula Calculator heron-s-formula-calculator Calculate triangle area from three side lengths using Heron's formula. 1cr · v2026-04-22 ](/tools/heron-s-formula-calculator/) [ Hypotenuse Calculator hypotenuse-calculator Calculate the hypotenuse and basic right-triangle measures from two legs. 1cr · v2026-04-22 ](/tools/hypotenuse-calculator/) [ Midpoint Calculator midpoint-calculator Find the midpoint, distance, slope, and angle between two points. 1cr · v2026-04-22 ](/tools/midpoint-calculator/) [ Point to Plane Distance Calculator point-to-plane-distance-calculator Calculate the distance from a 3D point to a plane Ax + By + Cz + D = 0. 1cr · v2026-04-22 ](/tools/point-to-plane-distance-calculator/) [ Polygon Diagonals Calculator polygon-diagonals-calculator Calculate the number of diagonals and angle facts for a polygon. 1cr · v2026-04-22 ](/tools/polygon-diagonals-calculator/) [ Pythagorean Theorem Calculator pythagorean-theorem-calculator Find a missing right-triangle side and calculate area, perimeter, and angles. 1cr · v2026-04-22 ](/tools/pythagorean-theorem-calculator/) [ Rectangle Calculator rectangle-calculator Calculate rectangle area, perimeter, diagonal, radii, and aspect ratio from two known values. 1cr · v2026-04-22 ](/tools/rectangle-calculator/) [ Regular Polygon Calculator regular-polygon-calculator Calculate regular polygon area, perimeter, apothem, circumradius, angles, and diagonal count. 1cr · v2026-04-22 ](/tools/regular-polygon-calculator/) [ Slope Calculator slope-calculator Calculate slope, angle, intercepts, and line equation from two points. 1cr · v2026-04-22 ](/tools/slope-calculator/) [ Square Calculator square-calculator Calculate square side length, area, perimeter, diagonal, inradius, and circumradius from one known value. 1cr · v2026-04-22 ](/tools/square-calculator/) Geometry Calculators [ Torus Calculator torus-calculator Calculate torus volume, surface area, and key radii. 1cr · v2026-04-22 ](/tools/torus-calculator/) Home [ Aquarium Substrate Calculator aquarium-substrate-calculator Estimate aquarium substrate volume, weight, and bag counts. 1cr · v2026-04-22 ](/tools/aquarium-substrate-calculator/) Length [ Feet and Inches to Cm Converter feet-and-inches-to-cm-converter Convert feet and inches to total inches, centimeters, meters, and height comparison percentages. 1cr · v2026-04-22 ](/tools/feet-and-inches-to-cm-converter/) Lifestyle [ Christmas Tree Calculator christmas-tree-calculator Check tree height fit and estimate lights, ornaments, and garland. 1cr · v2026-04-22 ](/tools/christmas-tree-calculator/) Linear Algebra [ Angle Between Vectors Calculator angle-between-vectors-calculator Calculate the angle between two 2D or 3D vectors. 1cr · v2026-04-22 ](/tools/angle-between-vectors-calculator/) [ Characteristic Polynomial Calculator characteristic-polynomial-calculator Calculate characteristic polynomial coefficients for a square matrix. 1cr · v2026-04-22 ](/tools/characteristic-polynomial-calculator/) [ Cholesky Decomposition Calculator cholesky-decomposition-calculator Decompose a symmetric positive-definite matrix into A = L L^T. 1cr · v2026-04-22 ](/tools/cholesky-decomposition-calculator/) [ Column Space Calculator column-space-calculator Find matrix pivot columns, rank, nullity, RREF, and a column-space basis. 1cr · v2026-04-22 ](/tools/column-space-calculator/) [ Cramer's Rule Calculator cramer-s-rule-calculator Solve 2x2 or 3x3 linear systems with Cramer's rule. 1cr · v2026-04-22 ](/tools/cramer-s-rule-calculator/) [ Cross Product Calculator cross-product-calculator Calculate the 3D cross product, magnitude, areas, and angle. 1cr · v2026-04-22 ](/tools/cross-product-calculator/) [ Determinant Calculator determinant-calculator Calculate the determinant, trace, rank, and invertibility of a square matrix. 1cr · v2026-04-22 ](/tools/determinant-calculator/) [ Dot Product Calculator dot-product-calculator Calculate the dot product, magnitudes, angle, and vector projection. 1cr · v2026-04-22 ](/tools/dot-product-calculator/) [ Unit Vector Calculator unit-vector-calculator Normalize a vector and return its unit vector. 1cr · v2026-04-22 ](/tools/unit-vector-calculator/) [ Vector Magnitude Calculator vector-magnitude-calculator Calculate the Euclidean magnitude and unit vector for any vector. 1cr · v2026-04-22 ](/tools/vector-magnitude-calculator/) [ Vector Projection Calculator vector-projection-calculator Project one vector onto another and compute the orthogonal component. 1cr · v2026-04-22 ](/tools/vector-projection-calculator/) Logarithms [ Log Base 10 Calculator log-base-10-calculator Calculate common logarithms with bounds and an antilog check. 1cr · v2026-04-22 ](/tools/log-base-10-calculator/) [ Log Base 2 Calculator log-base-2-calculator Calculate binary logarithms and detect exact powers of two. 1cr · v2026-04-22 ](/tools/log-base-2-calculator/) Number Systems [ Base Converter base-converter Convert integers between bases 2 through 36. 1cr · v2026-04-22 ](/tools/base-converter/) [ Base-N Calculator base-n-calculator Convert an integer from any base 2 through 36 to every other base. 1cr · v2026-04-22 ](/tools/base-n-calculator/) [ BCD to Binary Converter bcd-to-binary-converter Convert 8421 BCD nibbles to decimal and binary. 1cr · v2026-04-22 ](/tools/bcd-to-binary-converter/) [ BCD to Decimal Converter bcd-to-decimal-converter Convert binary-coded decimal nibbles to a decimal integer. 1cr · v2026-04-22 ](/tools/bcd-to-decimal-converter/) [ BCD to Hex Converter bcd-to-hex-converter Convert BCD to hexadecimal or hexadecimal to BCD. 1cr · v2026-04-22 ](/tools/bcd-to-hex-converter/) [ Binary Calculator binary-calculator Run binary arithmetic and bitwise operations. 1cr · v2026-04-22 ](/tools/binary-calculator/) [ Binary to BCD Converter binary-to-bcd-converter Convert an integer binary value to binary-coded decimal. 1cr · v2026-04-22 ](/tools/binary-to-bcd-converter/) [ Binary to Decimal Converter binary-to-decimal-converter Convert a binary number to decimal, hexadecimal, and octal. 1cr · v2026-04-22 ](/tools/binary-to-decimal-converter/) [ Binary to Gray Code Converter binary-to-gray-code-converter Convert an integer binary value to Gray code. 1cr · v2026-04-22 ](/tools/binary-to-gray-code-converter/) [ Binary to Hex Converter binary-to-hex-converter Convert a binary number to hexadecimal with nibble grouping. 1cr · v2026-04-22 ](/tools/binary-to-hex-converter/) [ Binary to Octal Converter binary-to-octal-converter Convert a binary number to octal using 3-bit grouping. 1cr · v2026-04-22 ](/tools/binary-to-octal-converter/) [ Decimal to Binary Converter decimal-to-binary-converter Convert a decimal integer to binary with grouped bits and division steps. 1cr · v2026-04-22 ](/tools/decimal-to-binary-converter/) [ Decimal to Hex Converter decimal-to-hex-converter Convert a decimal integer to hexadecimal with conversion steps. 1cr · v2026-04-22 ](/tools/decimal-to-hex-converter/) [ Decimal to Octal Converter decimal-to-octal-converter Convert a base-10 integer to octal with division steps. 1cr · v2026-04-22 ](/tools/decimal-to-octal-converter/) [ Decimal to Scientific Notation Converter decimal-to-scientific-notation-converter Convert decimal numbers to scientific, E, and engineering notation. 1cr · v2026-04-22 ](/tools/decimal-to-scientific-notation-converter/) [ Gray Code to Binary Converter gray-code-to-binary-converter Convert Gray code to ordinary binary with XOR steps. 1cr · v2026-04-22 ](/tools/gray-code-to-binary-converter/) [ Hex to BCD Converter hex-to-bcd-converter Convert a hexadecimal integer to binary-coded decimal. 1cr · v2026-04-22 ](/tools/hex-to-bcd-converter/) [ Hex to Binary Converter hex-to-binary-converter Convert a hexadecimal integer to binary. 1cr · v2026-04-22 ](/tools/hex-to-binary-converter/) [ Hex to Decimal Converter hex-to-decimal-converter Convert a hexadecimal integer to decimal with digit breakdown. 1cr · v2026-04-22 ](/tools/hex-to-decimal-converter/) [ Hex to Octal Converter hex-to-octal-converter Convert a hexadecimal integer to octal through binary grouping. 1cr · v2026-04-22 ](/tools/hex-to-octal-converter/) [ Octal to Binary Converter octal-to-binary-converter Convert an octal integer to binary with per-digit mapping. 1cr · v2026-04-22 ](/tools/octal-to-binary-converter/) [ Octal to Decimal Converter octal-to-decimal-converter Convert an octal integer to decimal with positional breakdown. 1cr · v2026-04-22 ](/tools/octal-to-decimal-converter/) [ Ratio to Percentage Calculator ratio-to-percentage-calculator Convert ratios, fractions, or decimal divisions to percentages. 1cr · v2026-04-22 ](/tools/ratio-to-percentage-calculator/) [ Scientific Notation to Decimal Converter scientific-notation-to-decimal-converter Convert scientific notation to ordinary decimal notation. 1cr · v2026-04-22 ](/tools/scientific-notation-to-decimal-converter/) Number Theory [ Factorial Calculator factorial-calculator Calculate factorial metadata, exact values for bounded inputs, and scientific notation. 1cr · v2026-04-22 ](/tools/factorial-calculator/) [ Fibonacci Number Checker fibonacci-number-checker Check whether a non-negative integer is in the Fibonacci sequence. 1cr · v2026-04-22 ](/tools/fibonacci-number-checker/) [ Goldbach Conjecture Verifier goldbach-conjecture-verifier Verify an even integer by finding prime pairs that sum to it. 1cr · v2026-04-22 ](/tools/goldbach-conjecture-verifier/) [ Perfect Number Checker perfect-number-checker Classify a positive integer as perfect, abundant, or deficient. 1cr · v2026-04-22 ](/tools/perfect-number-checker/) Percentage [ Decimal to Percent Converter decimal-to-percent-converter Convert one or more decimal numbers to percentages. 1cr · v2026-04-22 ](/tools/decimal-to-percent-converter/) [ Percentage Calculator percentage-calculator Six percentage operations behind one endpoint, selected by mode. 1cr · v2026-04-22 ](/tools/percentage-calculator/) [ Percentage Error Calculator percentage-error-calculator Calculate percent error between estimated and actual values. 1cr · v2026-04-22 ](/tools/percentage-error-calculator/) Percentages [ Percent Growth Rate Calculator percent-growth-rate-calculator Calculate total percent change, simple annual growth, CAGR, and multiplier. 1cr · v2026-04-22 ](/tools/percent-growth-rate-calculator/) Physics [ Acceleration Calculator acceleration-calculator Calculate acceleration from velocity change, distance, force, centripetal motion, or free fall. 1cr · v2026-04-22 ](/tools/acceleration-calculator/) [ Boxing Punch Power Calculator boxing-punch-power-calculator Estimate punch force, kinetic energy, and power from speed and effective mass. 1cr · v2026-04-22 ](/tools/boxing-punch-power-calculator/) [ Headlight Beam Distance Calculator headlight-beam-distance-calculator Calculate headlight beam road reach from mounting height and aim angle. 1cr · v2026-04-22 ](/tools/headlight-beam-distance-calculator/) [ Horsepower Calculator horsepower-calculator Solve horsepower, torque, or RPM and return common power conversions. 1cr · v2026-04-22 ](/tools/horsepower-calculator/) Probability [ Binomial Probability Distribution Calculator binomial-probability-distribution-calculator Calculate exact and cumulative binomial probabilities. 1cr · v2026-04-22 ](/tools/binomial-probability-distribution-calculator/) [ Dice Roll Probability Calculator dice-roll-probability-calculator Calculate exact probability metrics for sums of identical dice. 1cr · v2026-04-22 ](/tools/dice-roll-probability-calculator/) [ Probability Calculator probability-calculator Compute basic, conditional, Bayes, and complement probabilities. 1cr · v2026-04-22 ](/tools/probability-calculator/) Ratios [ Aspect Ratio Calculator aspect-ratio-calculator Simplify dimensions to a ratio, derive dimensions from a ratio, or resize proportionally. 1cr · v2026-04-22 ](/tools/aspect-ratio-calculator/) [ Proportion Calculator proportion-calculator Solve or verify a proportion a/b = c/d from three or four values. 1cr · v2026-04-22 ](/tools/proportion-calculator/) [ Unit Rate Calculator unit-rate-calculator Calculate a unit rate or compare two unit rates. 1cr · v2026-04-22 ](/tools/unit-rate-calculator/) Sequence Tools [ Catalan Number Generator catalan-number-generator Calculate the nth Catalan number and nearby sequence values. 1cr · v2026-04-22 ](/tools/catalan-number-generator/) [ Collatz Conjecture Calculator collatz-conjecture-calculator Generate and analyze the deterministic Collatz hailstone sequence. 1cr · v2026-04-22 ](/tools/collatz-conjecture-calculator/) Sequences [ Arithmetic Sequence Calculator arithmetic-sequence-calculator Calculate the nth term and partial sum of an arithmetic sequence. 1cr · v2026-04-22 ](/tools/arithmetic-sequence-calculator/) [ Geometric Sequence Calculator geometric-sequence-calculator Calculate nth term, partial sum, and sample terms for a geometric sequence. 1cr · v2026-04-22 ](/tools/geometric-sequence-calculator/) [ Happy Number Calculator happy-number-calculator Check whether a number is happy or list happy numbers up to a limit. 1cr · v2026-04-22 ](/tools/happy-number-calculator/) [ Sum of Cubes Calculator sum-of-cubes-calculator Calculate 1^3 + 2^3 +... + n^3. 1cr · v2026-04-22 ](/tools/sum-of-cubes-calculator/) [ Sum of Squares Calculator sum-of-squares-calculator Calculate 1^2 + 2^2 +... + n^2. 1cr · v2026-04-22 ](/tools/sum-of-squares-calculator/) Sports [ Bike Gear Ratio Calculator bike-gear-ratio-calculator Calculate bicycle gear ratio, gear inches, rollout, gain ratio, and speed. 1cr · v2026-04-22 ](/tools/bike-gear-ratio-calculator/) [ Bowling Score Calculator bowling-score-calculator Score a ten-pin bowling game from roll values. 1cr · v2026-04-22 ](/tools/bowling-score-calculator/) [ Cricket Run Rate Calculator cricket-run-rate-calculator Calculate current, projected, and required cricket run rates from cricket over notation. 1cr · v2026-04-22 ](/tools/cricket-run-rate-calculator/) [ Usage Rate Calculator usage-rate-calculator Calculate basketball usage rate from player and team shot, free throw, turnover, and minute stats. 1cr · v2026-04-22 ](/tools/usage-rate-calculator/) Statistics [ ANOVA Calculator anova-calculator Run one-way ANOVA with F statistic, p-value, table components, and effect sizes. 1cr · v2026-04-22 ](/tools/anova-calculator/) [ Arithmetic Mean Calculator arithmetic-mean-calculator Calculate arithmetic mean, median, modes, range, variance, and standard deviation from a number list. 1cr · v2026-04-22 ](/tools/arithmetic-mean-calculator/) [ Average Calculator average-calculator Calculate mean, median, mode, range, variance, and optional weighted average. 1cr · v2026-04-22 ](/tools/average-calculator/) [ Average Deviation Calculator average-deviation-calculator Calculate mean and median absolute deviation for a numeric dataset. 1cr · v2026-04-22 ](/tools/average-deviation-calculator/) [ Box and Whisker Plot Maker box-and-whisker-plot-maker Compute box plot statistics, whiskers, fences, and outliers. 1cr · v2026-04-22 ](/tools/box-and-whisker-plot-maker/) [ Chi Square Test Calculator chi-square-test-calculator Run a chi-square goodness-of-fit test for observed and expected counts. 1cr · v2026-04-22 ](/tools/chi-square-test-calculator/) [ Coefficient of Variation Calculator coefficient-of-variation-calculator Calculate coefficient of variation from sample or population standard deviation. 1cr · v2026-04-22 ](/tools/coefficient-of-variation-calculator/) [ Cohen's d Calculator cohens-d-calculator Calculate Cohen's d, Hedges' g, overlap, and effect-size interpretation. 1cr · v2026-04-22 ](/tools/cohens-d-calculator/) [ Correlation Coefficient Calculator correlation-coefficient-calculator Calculate Pearson, Spearman, and Kendall correlation coefficients. 1cr · v2026-04-22 ](/tools/correlation-coefficient-calculator/) [ Find Minimum and Maximum find-minimum-maximum Find min, max, range, mean, median, positions, and sorted values for a number list. 1cr · v2026-04-22 ](/tools/find-minimum-maximum/) [ Five Number Summary Calculator five-number-summary-calculator Calculate minimum, Q1, median, Q3, maximum, IQR, and outlier fences. 1cr · v2026-04-22 ](/tools/five-number-summary-calculator/) [ Geometric Mean Calculator geometric-mean-calculator Calculate geometric mean and compare it with arithmetic, harmonic, median, minimum, and maximum values. 1cr · v2026-04-22 ](/tools/geometric-mean-calculator/) [ Harmonic Mean Calculator harmonic-mean-calculator Calculate harmonic mean for positive non-zero values with comparison means and reciprocal totals. 1cr · v2026-04-22 ](/tools/harmonic-mean-calculator/) [ Interquartile Range Calculator interquartile-range-calculator Calculate IQR, quartiles, and 1.5-IQR outlier fences. 1cr · v2026-04-22 ](/tools/interquartile-range-calculator/) [ Mean Absolute Deviation Calculator mean-absolute-deviation-calculator Calculate mean or median absolute deviation for a numeric dataset. 1cr · v2026-04-22 ](/tools/mean-absolute-deviation-calculator/) [ Mean Calculator mean-calculator Calculate arithmetic mean and supporting summary statistics. 1cr · v2026-04-22 ](/tools/mean-calculator/) [ Median Absolute Deviation Calculator median-absolute-deviation-calculator Calculate raw and scaled median absolute deviation as a robust spread measure. 1cr · v2026-04-22 ](/tools/median-absolute-deviation-calculator/) [ Median Calculator median-calculator Calculate the median, sorted data, quartiles, and range. 1cr · v2026-04-22 ](/tools/median-calculator/) [ Midrange Calculator midrange-calculator Calculate the midpoint between the minimum and maximum of a dataset. 1cr · v2026-04-22 ](/tools/midrange-calculator/) [ Mode Calculator mode-calculator Find the mode or modes and frequency table for a numeric dataset. 1cr · v2026-04-22 ](/tools/mode-calculator/) [ Outlier Calculator outlier-calculator Detect IQR outliers and return quartiles, bounds, and counts. 1cr · v2026-04-22 ](/tools/outlier-calculator/) [ Population Variance Calculator population-variance-calculator Calculate population variance and population standard deviation. 1cr · v2026-04-22 ](/tools/population-variance-calculator/) [ Quartile Calculator quartile-calculator Calculate Q1, Q2, Q3, IQR, and outlier fences using a selected quartile method. 1cr · v2026-04-22 ](/tools/quartile-calculator/) [ Quartile Deviation Calculator quartile-deviation-calculator Calculate quartile deviation, IQR fences, and outliers for numeric data. 1cr · v2026-04-22 ](/tools/quartile-deviation-calculator/) [ Relative Standard Deviation Calculator relative-standard-deviation-calculator Calculate RSD, coefficient of variation, and precision quality for data. 1cr · v2026-04-22 ](/tools/relative-standard-deviation-calculator/) [ Root Mean Square Calculator root-mean-square-calculator Calculate root mean square for a numeric list. 1cr · v2026-04-22 ](/tools/root-mean-square-calculator/) [ Sample Mean Calculator sample-mean-calculator Calculate sample mean plus core descriptive statistics for a numeric dataset. 1cr · v2026-04-22 ](/tools/sample-mean-calculator/) [ Sample Standard Deviation Calculator sample-standard-deviation-calculator Calculate sample standard deviation and optional z-score outliers. 1cr · v2026-04-22 ](/tools/sample-standard-deviation-calculator/) [ Sample Variance Calculator sample-variance-calculator Calculate sample or population variance from a numeric dataset. 1cr · v2026-04-22 ](/tools/sample-variance-calculator/) [ Standard Deviation Calculator standard-deviation-calculator Calculate sample and population standard deviation with quartiles. 1cr · v2026-04-22 ](/tools/standard-deviation-calculator/) [ Standard Error Calculator standard-error-calculator Calculate standard error of the mean and a z-based confidence interval. 1cr · v2026-04-22 ](/tools/standard-error-calculator/) [ Variance Calculator variance-calculator Calculate sample and population variance with related statistics. 1cr · v2026-04-22 ](/tools/variance-calculator/) [ Weibull Distribution Calculator weibull-distribution-calculator Calculate Weibull PDF/CDF/reliability, moments, and B-life values. 1cr · v2026-04-22 ](/tools/weibull-distribution-calculator/) [ Z-Score Calculator zscore-calculator Calculate z-scores, inverse values, percentiles, and normal probabilities. 1cr · v2026-04-22 ](/tools/zscore-calculator/) Surface Area [ Surface Area of a Cone Calculator surface-area-of-a-cone-calculator Calculate cone base, lateral, and total surface area from radius-height, radius-slant, or diameter-height inputs. 1cr · v2026-04-22 ](/tools/surface-area-of-a-cone-calculator/) [ Surface Area of a Cube Calculator surface-area-of-a-cube-calculator Calculate cube surface area and related measurements from edge, diagonal, volume, or surface area. 1cr · v2026-04-22 ](/tools/surface-area-of-a-cube-calculator/) Time [ Commute Life Wasted Calculator commute-life-wasted-calculator Estimate weekly, yearly, and career time spent commuting. 1cr · v2026-04-22 ](/tools/commute-life-wasted-calculator/) Trigonometry [ Arccos Calculator arccos-calculator Calculate inverse cosine in radians and degrees. 1cr · v2026-04-22 ](/tools/arccos-calculator/) [ Arcsin Calculator arcsin-calculator Calculate arcsine from a sine value, including degree/radian output and special-angle recognition. 1cr · v2026-04-22 ](/tools/arcsin-calculator/) [ Arctan Calculator arctan-calculator Calculate inverse tangent in radians and degrees. 1cr · v2026-04-22 ](/tools/arctan-calculator/) [ Arctan2 Calculator arctan2-calculator Calculate atan2(y, x), normalized angle, radius, slope, and quadrant. 1cr · v2026-04-22 ](/tools/arctan2-calculator/) [ Cosine Calculator cosine-calculator Calculate cosine with radians/degrees conversion, quadrant, and special-angle recognition. 1cr · v2026-04-22 ](/tools/cosine-calculator/) [ Cosecant/Secant/Cotangent Calculator csc-sec-cot-calculator Calculate csc, sec, cot, sine, and cosine for an angle. 1cr · v2026-04-22 ](/tools/csc-sec-cot-calculator/) [ Degree to Radian Converter degree-to-radian-converter Convert degrees to radians with pi-fraction, quadrant, and trig values. 1cr · v2026-04-22 ](/tools/degree-to-radian-converter/) [ DMS to Decimal Degrees Converter dms-to-decimal-converter Convert degrees, minutes, and seconds to signed decimal degrees. 1cr · v2026-04-22 ](/tools/dms-to-decimal-converter/) [ Law of Cosines Calculator law-of-cosines-calculator Use the law of cosines to solve a side or included angle. 1cr · v2026-04-22 ](/tools/law-of-cosines-calculator/) [ Law of Sines Calculator law-of-sines-calculator Use the law of sines to solve a side or possible angle. 1cr · v2026-04-22 ](/tools/law-of-sines-calculator/) [ Sine Calculator sine-calculator Calculate sine with radians/degrees conversion, quadrant, and special-angle recognition. 1cr · v2026-04-22 ](/tools/sine-calculator/) [ Tangent Calculator tangent-calculator Calculate tangent and flag vertical-asymptote inputs. 1cr · v2026-04-22 ](/tools/tangent-calculator/) Unit Converters [ Acres to Hectares Converter acres-to-hectares-converter Convert between acres and hectares with related area units. 1cr · v2026-04-22 ](/tools/acres-to-hectares-converter/) [ Acres to Perches Converter acres-to-perches-converter Convert acres and perches for land area calculations. 1cr · v2026-04-22 ](/tools/acres-to-perches-converter/) [ Acres to Square Feet Converter acres-to-square-feet-converter Convert between acres and square feet with related area units. 1cr · v2026-04-22 ](/tools/acres-to-square-feet-converter/) [ Acres to Square Meters Converter acres-to-square-meters-converter Convert between acres and square meters with related area units. 1cr · v2026-04-22 ](/tools/acres-to-square-meters-converter/) [ Acres to Square Miles Converter acres-to-square-miles-converter Convert acres and square miles, including related land-area units. 1cr · v2026-04-22 ](/tools/acres-to-square-miles-converter/) [ Acres to Square Yards Converter acres-to-square-yards-converter Convert acres and square yards, including related area units. 1cr · v2026-04-22 ](/tools/acres-to-square-yards-converter/) [ Angle Converter angle-converter Convert angles between degrees, radians, gradians, turns, arcminutes, arcseconds, and milliradians. 1cr · v2026-04-22 ](/tools/angle-converter/) [ CM to Inches Converter cm-to-inches-converter Convert centimeters to inches, feet/inches, and nearest 1/16-inch fraction. 1cr · v2026-04-22 ](/tools/cm-to-inches-converter/) [ Cups to Tablespoons Converter cups-to-tablespoons-converter Convert US cups and tablespoons, including teaspoons and fluid ounces. 1cr · v2026-04-22 ](/tools/cups-to-tablespoons-converter/) [ Feet to Meters Converter feet-to-meters-converter Convert feet and optional inches to meters, centimeters, and millimeters. 1cr · v2026-04-22 ](/tools/feet-to-meters-converter/) [ Gallons to Cups Converter gallons-to-cups-converter Convert US gallons and cups, with quart and pint equivalents. 1cr · v2026-04-22 ](/tools/gallons-to-cups-converter/) [ Grams to Ounces Converter grams-to-ounces-converter Convert grams to ounces, pounds, kilograms, and milligrams. 1cr · v2026-04-22 ](/tools/grams-to-ounces-converter/) [ Grams to Pounds Converter grams-to-pounds-converter Convert grams to pounds, ounces, and kilograms. 1cr · v2026-04-22 ](/tools/grams-to-pounds-converter/) [ Inches to CM Converter inches-to-cm-converter Convert inches to centimeters, millimeters, meters, and feet. 1cr · v2026-04-22 ](/tools/inches-to-cm-converter/) [ kg to lbs Converter kg-to-lbs-converter Convert kilograms and pounds with ounce breakdown. 1cr · v2026-04-22 ](/tools/kg-to-lbs-converter/) [ kPa to psi Converter kpa-to-psi-converter Convert kilopascals to psi, bar, atm, and mmHg. 1cr · v2026-04-22 ](/tools/kpa-to-psi-converter/) [ Liters to Cups Converter liters-to-cups-converter Convert liters to US, metric, and imperial cups. 1cr · v2026-04-22 ](/tools/liters-to-cups-converter/) [ Meters to Feet Converter meters-to-feet-converter Convert meters to decimal feet and feet-and-inches. 1cr · v2026-04-22 ](/tools/meters-to-feet-converter/) [ Ounce to Gram Converter ounce-to-gram-converter Convert ounces to grams, kilograms, milligrams, and pounds. 1cr · v2026-04-22 ](/tools/ounce-to-gram-converter/) [ Ounces to Cups Converter ounces-to-cups-converter Convert US fluid ounces and cups with spoon and milliliter equivalents. 1cr · v2026-04-22 ](/tools/ounces-to-cups-converter/) [ Percent to PPM Converter percent-to-ppm-converter Convert percent to ppm or ppm to percent. 1cr · v2026-04-22 ](/tools/percent-to-ppm-converter/) [ Perches to Acres Converter perches-to-acres-converter Convert perches and acres for land area calculations. 1cr · v2026-04-22 ](/tools/perches-to-acres-converter/) [ Pounds to Grams Converter pounds-to-grams-converter Convert pounds to grams, kilograms, ounces, and milligrams. 1cr · v2026-04-22 ](/tools/pounds-to-grams-converter/) [ PPM to Percent Converter ppm-to-percent-converter Convert parts per million to percentage and related concentration scales. 1cr · v2026-04-22 ](/tools/ppm-to-percent-converter/) [ Square Yards to Acres Converter square-yards-to-acres-converter Convert square yards and acres, including related area units. 1cr · v2026-04-22 ](/tools/square-yards-to-acres-converter/) [ Tablespoons to Cups Converter tablespoons-to-cups-converter Convert US tablespoons to cups, teaspoons, fluid ounces, and milliliters. 1cr · v2026-04-22 ](/tools/tablespoons-to-cups-converter/) [ Tablespoons to Teaspoons Converter tablespoons-to-teaspoons-converter Convert US tablespoons to teaspoons, cups, fluid ounces, and milliliters. 1cr · v2026-04-22 ](/tools/tablespoons-to-teaspoons-converter/) [ Teaspoons to Cups Converter teaspoons-to-cups-converter Convert US teaspoons and cups, including tablespoons and fluid ounces. 1cr · v2026-04-22 ](/tools/teaspoons-to-cups-converter/) [ Teaspoons to Tablespoons Converter teaspoons-to-tablespoons-converter Convert US teaspoons to tablespoons, cups, fluid ounces, and milliliters. 1cr · v2026-04-22 ](/tools/teaspoons-to-tablespoons-converter/) Volume [ Cups to Gallons Converter cups-to-gallons-converter Convert US cups and gallons with related volume units. 1cr · v2026-04-22 ](/tools/cups-to-gallons-converter/) [ Cups to Liters Converter cups-to-liters-converter Convert US cups and liters with milliliter, fluid-ounce, and spoon equivalents. 1cr · v2026-04-22 ](/tools/cups-to-liters-converter/) [ Cups to Ounces Converter cups-to-ounces-converter Convert cups and fluid ounces for US customary, US legal, imperial, or metric cups. 1cr · v2026-04-22 ](/tools/cups-to-ounces-converter/) [ Cups to Quarts Converter cups-to-quarts-converter Convert US cups and quarts with related volume units. 1cr · v2026-04-22 ](/tools/cups-to-quarts-converter/) [ Cups to Teaspoons Converter cups-to-teaspoons-converter Convert US cups and teaspoons with tablespoon and fluid-ounce equivalents. 1cr · v2026-04-22 ](/tools/cups-to-teaspoons-converter/) [ Volume of a Cone Calculator volume-of-a-cone-calculator Calculate cone volume, slant height, base area, lateral area, and total surface area. 1cr · v2026-04-22 ](/tools/volume-of-a-cone-calculator/) [ Volume of a Cube Calculator volume-of-a-cube-calculator Calculate cube volume, surface area, face area, diagonals, and total edge length. 1cr · v2026-04-22 ](/tools/volume-of-a-cube-calculator/) [ Volume of a Pyramid Calculator volume-of-a-pyramid-calculator Calculate volume, base area, slant height, and surface area for square, rectangular, or triangular pyramids. 1cr · v2026-04-22 ](/tools/volume-of-a-pyramid-calculator/) [ Volume of a Rectangular Prism Calculator volume-of-a-rectangular-prism-calculator Calculate rectangular prism volume, surface area, diagonals, base perimeter, and total edge length. 1cr · v2026-04-22 ](/tools/volume-of-a-rectangular-prism-calculator/) [ Volume of Ellipsoid Calculator volume-of-ellipsoid-calculator Calculate ellipsoid volume, approximate surface area, cross sections, equivalent sphere radius, and shape type. 1cr · v2026-04-22 ](/tools/volume-of-ellipsoid-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - miscellaneous 4 endpoints # Miscellaneous API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) General Tools [ Tire Size Calculator tire-size-calculator Calculate tire sidewall, diameter, circumference, and revolutions per mile. 1cr · v2026-04-22 ](/tools/tire-size-calculator/) Student Calculators [ Test Score Calculator test-score-calculator Convert earned and total test points into a percentage, letter grade, and GPA points. 1cr · v2026-04-22 ](/tools/test-score-calculator/) [ Weighted Grade Calculator weighted-grade-calculator Calculate a weighted course grade from category weights and scores. 1cr · v2026-04-22 ](/tools/weighted-grade-calculator/) Time [ Daily Time Savings Calculator daily-time-savings-calculator Calculate yearly, monthly, and weekly time saved from a small daily savings habit. 1cr · v2026-04-22 ](/tools/daily-time-savings-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - physics 1 endpoints # Physics API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Boiling Point Calculator boiling-point-calculator Calculate water boiling point from altitude or atmospheric pressure. 1cr · v2026-04-22 ](/tools/boiling-point-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - random 12 endpoints # Random API Random generators for apps, tests, and automations. Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Cards [ Random Playing Card Generator random-playing-card-generator Draw random playing cards from a standard deck with optional jokers. 1cr · v2026-04-22 ](/tools/random-playing-card-generator/) Color [ Random Color Generator random-color-generator Generate random HEX, RGB, and HSL colors with optional harmony rules. 1cr · v2026-04-22 ](/tools/random-color-generator/) Date [ Random Date Generator random-date-generator Generate random dates inside a bounded date range. 1cr · v2026-04-22 ](/tools/random-date-generator/) Lists [ List Randomizer list-randomizer Shuffle a newline-separated list into random order. 1cr · v2026-04-22 ](/tools/list-randomizer/) [ Random Group Generator random-group-generator Create random balanced groups from a newline-separated list of names. 1cr · v2026-04-22 ](/tools/random-group-generator/) [ Random Line Picker random-line-picker Pick random non-empty lines from user-supplied text. 1cr · v2026-04-22 ](/tools/random-line-picker/) Network [ Random Port Number Generator random-port-number-generator Generate random network port numbers in standard or custom ranges. 1cr · v2026-04-22 ](/tools/random-port-number-generator/) Numbers [ Random Decimal Number Generator random-decimal-number-generator Generate random decimal numbers between 0 and 1 with configurable precision. 1cr · v2026-04-22 ](/tools/random-decimal-number-generator/) [ Random Integer Generator random-integer-generator Generate random integers with optional uniqueness, sorting, exclusions, and seed replay. 1cr · v2026-04-22 ](/tools/random-integer-generator/) Quotes [ Random Quote Generator random-quote-generator Generate or search quotes from a bundled SQLite quote database. 3cr · v2026-04-22 ](/tools/random-quote-generator/) Text [ Random Letter Generator random-letter-generator Generate random letters with case, vowel/consonant, and duplicate controls. 1cr · v2026-04-22 ](/tools/random-letter-generator/) [ Random String Generator random-string-generator Generate random strings, passwords, API keys, tokens, PINs, or hex strings. 1cr · v2026-04-22 ](/tools/random-string-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - science 35 endpoints # Science API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Astronomy [ Astronomical Unit Converter astronomical-unit-converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and miles. 1cr · v2026-04-22 ](/tools/astronomical-unit-converter/) Chemistry [ Percent Yield Calculator percent-yield-calculator Solve percent yield, actual yield, or theoretical yield. 1cr · v2026-04-22 ](/tools/percent-yield-calculator/) Electrical [ Parallel Resistor Calculator parallel-resistor-calculator Calculate equivalent resistance and current sharing for resistors in parallel. 1cr · v2026-04-22 ](/tools/parallel-resistor-calculator/) [ Power Factor Calculator power-factor-calculator Calculate power factor, reactive power, or capacitor correction values. 1cr · v2026-04-22 ](/tools/power-factor-calculator/) [ RC Time Constant Calculator rc-time-constant-calculator Calculate RC circuit time constant, cutoff frequency, and charging or discharging levels. 1cr · v2026-04-22 ](/tools/rc-time-constant-calculator/) Electronics [ 555 Timer Calculator 555-timer-calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse width. 1cr · v2026-04-22 ](/tools/555-timer-calculator/) [ Capacitor Calculator capacitor-calculator Calculate capacitor charge, stored energy, reactance, RC timing, or decode ceramic capacitor codes. 1cr · v2026-04-22 ](/tools/capacitor-calculator/) [ Decibel (dB) Calculator decibel-db-calculator Calculate power dB, voltage dB, dB ratios, and dBm/dBW/watt conversions. 1cr · v2026-04-22 ](/tools/decibel-db-calculator/) [ Ohm's Law Calculator ohm-s-law-calculator Calculate voltage, current, resistance, and power from any two known values. 1cr · v2026-04-22 ](/tools/ohm-s-law-calculator/) [ Resonant Frequency Calculator resonant-frequency-calculator Calculate LC/RLC resonant frequency, inductance, capacitance, impedance, Q factor, and bandwidth. 1cr · v2026-04-22 ](/tools/resonant-frequency-calculator/) Physics [ Density Calculator density-calculator Solve density, mass, or volume with common unit conversions. 1cr · v2026-04-22 ](/tools/density-calculator/) [ Force Calculator force-calculator Solve Newton's second law for force, mass, or acceleration with common unit conversions. 1cr · v2026-04-22 ](/tools/force-calculator/) [ Kinetic Energy Calculator kinetic-energy-calculator Solve kinetic energy, mass, or velocity with KE = 1/2 m v^2 and unit conversions. 1cr · v2026-04-22 ](/tools/kinetic-energy-calculator/) [ Momentum Calculator momentum-calculator Calculate linear momentum and kinetic energy from mass and velocity. 1cr · v2026-04-22 ](/tools/momentum-calculator/) [ Potential Energy Calculator potential-energy-calculator Calculate gravitational or elastic potential energy and solve for missing variables. 1cr · v2026-04-22 ](/tools/potential-energy-calculator/) [ Torque Calculator torque-calculator Solve torque, force, lever arm distance, or angle using tau = F r sin(theta). 1cr · v2026-04-22 ](/tools/torque-calculator/) [ Velocity Calculator velocity-calculator Calculate average velocity, distance, time, or relative velocity with distance, time, and speed units. 1cr · v2026-04-22 ](/tools/velocity-calculator/) [ Work and Power Calculator work-and-power-calculator Calculate mechanical work and power with common unit conversions. 1cr · v2026-04-22 ](/tools/work-and-power-calculator/) Physics Calculators [ Electricity Calculator electricity-calculator Solve voltage, current, resistance, and power from any two known Ohm's law values. 1cr · v2026-04-22 ](/tools/electricity-calculator/) Pressure [ Bar to PSI Converter bar-to-psi-converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. 1cr · v2026-04-22 ](/tools/bar-to-psi-converter/) [ psi to kPa Converter psi-to-kpa-converter Convert pounds per square inch to kilopascals and related pressure units. 1cr · v2026-04-22 ](/tools/psi-to-kpa-converter/) Temperature [ Celsius to Fahrenheit Calculator celsius-to-fahrenheit-calculator Convert Celsius to Fahrenheit and related temperature scales. 1cr · v2026-04-22 ](/tools/celsius-to-fahrenheit-calculator/) [ Celsius to Kelvin Converter celsius-to-kelvin-converter Convert Celsius to Kelvin and related temperature scales. 1cr · v2026-04-22 ](/tools/celsius-to-kelvin-converter/) [ Celsius to Rankine Converter celsius-to-rankine-converter Convert Celsius to Rankine and related temperature scales. 1cr · v2026-04-22 ](/tools/celsius-to-rankine-converter/) [ Fahrenheit to Celsius Calculator fahrenheit-to-celsius-calculator Convert Fahrenheit to Celsius and related temperature scales. 1cr · v2026-04-22 ](/tools/fahrenheit-to-celsius-calculator/) [ Fahrenheit to Kelvin Converter fahrenheit-to-kelvin-converter Convert Fahrenheit to Kelvin and related temperature scales. 1cr · v2026-04-22 ](/tools/fahrenheit-to-kelvin-converter/) [ Fahrenheit to Rankine Converter fahrenheit-to-rankine-converter Convert Fahrenheit to Rankine and related temperature scales. 1cr · v2026-04-22 ](/tools/fahrenheit-to-rankine-converter/) [ Kelvin to Celsius Converter kelvin-to-celsius-converter Convert Kelvin to Celsius and related temperature scales. 1cr · v2026-04-22 ](/tools/kelvin-to-celsius-converter/) [ Kelvin to Fahrenheit Converter kelvin-to-fahrenheit-converter Convert Kelvin to Fahrenheit and related temperature scales. 1cr · v2026-04-22 ](/tools/kelvin-to-fahrenheit-converter/) [ Rankine to Celsius Converter rankine-to-celsius-converter Convert Rankine to Celsius and related temperature scales. 1cr · v2026-04-22 ](/tools/rankine-to-celsius-converter/) [ Rankine to Fahrenheit Converter rankine-to-fahrenheit-converter Convert Rankine to Fahrenheit and related temperature scales. 1cr · v2026-04-22 ](/tools/rankine-to-fahrenheit-converter/) Unit Converters [ Energy Converter energy-converter Convert energy between joules, calories, BTU, watt-hours, electronvolts, ergs, and therms. 1cr · v2026-04-22 ](/tools/energy-converter/) [ Power Converter power-converter Convert power among watts, kilowatts, horsepower, BTU per hour, refrigeration tons, and related units. 1cr · v2026-04-22 ](/tools/power-converter/) [ Ultimate Frequency & Wavelength Converter ultimate-frequency-wavelength-converter Convert between frequency and wavelength using a configurable propagation speed and identify the spectrum band. 1cr · v2026-04-22 ](/tools/ultimate-frequency-wavelength-converter/) Weather [ Wind Chill Calculator wind-chill-calculator Calculate NWS wind chill and frostbite risk from air temperature and wind speed. 1cr · v2026-04-22 ](/tools/wind-chill-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - sports 13 endpoints # Sports API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Baseball [ At Bats per Home Run Calculator at-bats-per-home-run-calculator Calculate baseball at-bats per home run ratio and home run rate. 1cr · v2026-04-22 ](/tools/at-bats-per-home-run-calculator/) [ Batting Average Calculator batting-average-calculator Calculate baseball batting average from hits and at-bats. 1cr · v2026-04-22 ](/tools/batting-average-calculator/) [ ERA Calculator era-calculator Calculate baseball earned run average. 1cr · v2026-04-22 ](/tools/era-calculator/) [ FIP Calculator fip-calculator Calculate baseball fielding independent pitching. 1cr · v2026-04-22 ](/tools/fip-calculator/) [ OPS Calculator ops-calculator Calculate baseball on-base plus slugging with OBP and SLG components. 1cr · v2026-04-22 ](/tools/ops-calculator/) [ Slugging Percentage Calculator slugging-percentage-calculator Calculate baseball slugging percentage from hit types. 1cr · v2026-04-22 ](/tools/slugging-percentage-calculator/) [ Total Bases Calculator total-bases-calculator Calculate baseball total bases from singles, doubles, triples, and home runs. 1cr · v2026-04-22 ](/tools/total-bases-calculator/) [ WAR Calculator war-calculator Estimate simplified baseball WAR for position players or pitchers. 1cr · v2026-04-22 ](/tools/war-calculator/) [ WHIP Calculator whip-calculator Calculate baseball WHIP with baseball innings notation support. 1cr · v2026-04-22 ](/tools/whip-calculator/) Basketball [ Effective Field Goal Percentage Calculator efg-calculator Calculate basketball effective field goal percentage. 1cr · v2026-04-22 ](/tools/efg-calculator/) [ Field Goal Percentage Calculator field-goal-percentage-calculator Calculate made-shot percentage and related shooting metrics. 1cr · v2026-04-22 ](/tools/field-goal-percentage-calculator/) [ Rebound Rate Calculator rebound-rate-calculator Calculate basketball offensive, defensive, and total rebound rates. 1cr · v2026-04-22 ](/tools/rebound-rate-calculator/) [ True Shooting Percentage Calculator true-shooting-percentage-calculator Calculate basketball true shooting percentage from points, FGA, and FTA. 1cr · v2026-04-22 ](/tools/true-shooting-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - text 31 endpoints # Text API Word / character / line counters, whitespace, case, encoding. Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Analysis [ Character Counter character-counter Count characters, letters, digits, whitespace, and punctuation. 1cr · v2026-04-22 ](/tools/character-counter/) [ Compare Two Strings compare-two-strings Compare two strings with equality, similarity, edit distance, and diff statistics. 1cr · v2026-04-22 ](/tools/compare-two-strings/) [ Find Longest Line find-longest-line Rank text lines by character, word, or byte length and return the longest lines. 1cr · v2026-04-22 ](/tools/find-longest-line/) [ Line Counter line-counter Count total / non-empty / empty lines and longest-line length. 1cr · v2026-04-22 ](/tools/line-counter/) [ Pangram Checker pangram-checker Check whether text contains every letter A through Z. 1cr · v2026-04-22 ](/tools/pangram-checker/) [ Sentence Counter sentence-counter Count sentences and classify sentence type and basic complexity. 1cr · v2026-04-22 ](/tools/sentence-counter/) [ Word Counter word-counter Count words, characters, sentences, paragraphs, reading/speaking time, top words. 1cr · v2026-04-22 ](/tools/word-counter/) CSS [ CSS Beautifier css-beautifier Format compact CSS with indentation and line breaks. 1cr · v2026-04-22 ](/tools/css-beautifier/) Case [ Text Case Converter lowercase-uppercase-letters Convert text to uppercase, lowercase, title, sentence, camel, snake, kebab, and related cases. 1cr · v2026-04-22 ](/tools/lowercase-uppercase-letters/) [ Title Case Converter title-case-converter Convert text to title case using smart, APA, Chicago, MLA, AP, or simple capitalization rules. 1cr · v2026-04-22 ](/tools/title-case-converter/) Deduplication [ Remove Duplicate Lines remove-duplicate-lines Remove duplicate text lines while keeping first, last, or only unique occurrences. 1cr · v2026-04-22 ](/tools/remove-duplicate-lines/) Encoding [ Morse Code Generator morse-code-generator Convert text to International Morse code with character breakdown. 1cr · v2026-04-22 ](/tools/morse-code-generator/) Formatting [ ASCII Art Generator ascii-art-generator Generate deterministic ASCII banner art from short text. 1cr · v2026-04-22 ](/tools/ascii-art-generator/) Generators [ Buzzword Bingo Generator buzzword-bingo-generator Generate a deterministic buzzword bingo board from a term list and seed. 1cr · v2026-04-22 ](/tools/buzzword-bingo-generator/) Lists [ List Difference Calculator list-difference-calculator Compare two line-based lists and return differences, intersection, and union. 1cr · v2026-04-22 ](/tools/list-difference-calculator/) Modification [ Add Line Numbers add-line-numbers Add configurable line numbers to the start or end of each text line. 1cr · v2026-04-22 ](/tools/add-line-numbers/) [ Add Prefix and Suffix add-prefix-and-suffix Add prefix, suffix, and optional numbering to each text line, word, or delimited item. 1cr · v2026-04-22 ](/tools/add-prefix-and-suffix/) [ Remove Accent remove-accent Remove accents and combining marks from Unicode text. 1cr · v2026-04-22 ](/tools/remove-accent/) [ Remove Line Numbers remove-line-numbers Strip numeric prefixes such as line numbers from each line of text. 1cr · v2026-04-22 ](/tools/remove-line-numbers/) [ Remove Lines Containing remove-lines-containing Keep or remove lines matching a text, word, prefix, suffix, or regex pattern. 1cr · v2026-04-22 ](/tools/remove-lines-containing/) [ Remove Punctuation remove-punctuation Remove or replace selected punctuation categories from text. 1cr · v2026-04-22 ](/tools/remove-punctuation/) [ Reverse Text reverse-text Reverse whole text, word order, each word, or line order. 1cr · v2026-04-22 ](/tools/reverse-text/) Sorting [ Sort Lines Alphabetically sort-lines-alphabetically Sort text lines alphabetically, naturally, numerically, or by length. 1cr · v2026-04-22 ](/tools/sort-lines-alphabetically/) Subtitles [ CSV to SRT Converter csv-to-srt Convert CSV subtitle rows with start, end, and text columns to SRT. 1cr · v2026-04-22 ](/tools/csv-to-srt/) Text Conversion [ Word to Phone Number Converter word-to-phone-number-converter Convert words and phrases into T9 keypad phone numbers. 1cr · v2026-04-22 ](/tools/word-to-phone-number-converter/) Text Modification [ Text Repeat text-repeat Repeat text multiple times with separators, numbering, and case options. 1cr · v2026-04-22 ](/tools/text-repeat/) [ Upside Down Text Generator upside-down-text-generator Flip text upside down using Unicode character mappings. 1cr · v2026-04-22 ](/tools/upside-down-text-generator/) Text Statistics [ Word Frequency Analyzer word-frequency-analyzer Analyze word frequency, unique words, lexical diversity, and CSV output. 1cr · v2026-04-22 ](/tools/word-frequency-analyzer/) Whitespace [ Remove Empty Lines remove-empty-lines Remove blank or whitespace-only lines from text and report line reduction statistics. 1cr · v2026-04-22 ](/tools/remove-empty-lines/) [ Remove Leading Trailing Spaces remove-leading-trailing-spaces Trim leading and trailing spaces or tabs from each line. 1cr · v2026-04-22 ](/tools/remove-leading-trailing-spaces/) [ Remove Spaces remove-spaces Strip whitespace: all, extra, leading, trailing, or per-line. 1cr · v2026-04-22 ](/tools/remove-spaces/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - time 1 endpoints # Time API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Halfway Date Calculator halfway-date-calculator Find the midpoint and quarter points between two dates. 1cr · v2026-04-22 ](/tools/halfway-date-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - time-date 9 endpoints # Time-Date API Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Calendar [ When Is Leap Year when-is-leap-year Check leap-year status and nearby leap years using Gregorian rules. 1cr · v2026-04-22 ](/tools/when-is-leap-year/) Date Tools [ Date Calculator date-calculator Add or subtract years, months, weeks, and days from a date. 1cr · v2026-04-22 ](/tools/date-calculator/) [ Date Difference Calculator date-difference-calculator Calculate days, weeks, approximate months/years, and business days between two dates. 1cr · v2026-04-22 ](/tools/date-difference-calculator/) [ Time Between Two Dates time-between-two-dates Calculate exact elapsed time between two ISO datetimes. 1cr · v2026-04-22 ](/tools/time-between-two-dates/) Season [ Winter Solstice Day winter-solstice-day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. 1cr · v2026-04-22 ](/tools/winter-solstice-day/) Time Calculators [ Time Duration Calculator time-duration-calculator Calculate elapsed time between two times or datetimes. 1cr · v2026-04-22 ](/tools/time-duration-calculator/) [ Time to Decimal Converter time-to-decimal-converter Convert between hours/minutes/seconds and decimal hours. 1cr · v2026-04-22 ](/tools/time-to-decimal-converter/) [ Work Hours Calculator work-hours-calculator Calculate weekly work hours, overtime, and optional pay from day entries. 1cr · v2026-04-22 ](/tools/work-hours-calculator/) Time Conversion [ Unix Time Converter unix-time-converter Convert between Unix timestamps and UTC ISO datetimes. 1cr · v2026-04-22 ](/tools/unix-time-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - webmaster 8 endpoints # Webmaster API DNS, HTTP, meta, robots, and other webmaster utilities. Same bearer token, same credit pool, same JSON envelope as every other endpoint — drop them into apps, sites, workflows, or agents without rebuilding formulas, validation, or docs. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Advertising [ CPC Calculator cpc-calculator Calculate CPC, CPM, or CTR from two known campaign metrics. 1cr · v2026-04-22 ](/tools/cpc-calculator/) [ CPM Calculator cpm-calculator Calculate campaign cost, CPM, or impressions from two known advertising metrics. 1cr · v2026-04-22 ](/tools/cpm-calculator/) Analytics [ Value of A Visitor Calculator value-of-a-visitor-calculator Calculate website visitor value, conversion rate, annualized revenue, and traffic ROI. 2cr · v2026-04-22 ](/tools/value-of-a-visitor-calculator/) CSS [ CSS Box Shadow Generator css-box-shadow-generator Generate a CSS box-shadow declaration from numeric shadow controls. 1cr · v2026-04-22 ](/tools/css-box-shadow-generator/) [ CSS Compressor css-compressor Minify CSS and return compression statistics. 1cr · v2026-04-22 ](/tools/css-compressor/) Encoding [ JSON String Escape/Unescape json-string-escape-unescape Escape or unescape JSON string content deterministically. 1cr · v2026-04-22 ](/tools/json-string-escape-unescape/) IP [ IP Address to Binary Converter ip-address-to-binary-converter Convert IPv4 or IPv6 addresses to padded binary forms. 1cr · v2026-04-22 ](/tools/ip-address-to-binary-converter/) SEO [ URL Slug Generator url-slug-generator Generate an SEO-friendly URL slug from a title or phrase. 1cr · v2026-04-22 ](/tools/url-slug-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [color](/tools/#color) - / - Color Contrast Checker API # Color Contrast Checker API color 1 credit / call v2026-04-22 Check WCAG contrast ratio and AA/AAA compliance for two colors. One POST adds Color Contrast Checker to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Color Contrast Checker on miniwebtool.com →](https://miniwebtool.com/color-contrast-checker/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/color-contrast-checker/run ``` ### Request body Field Type Req. `fg_color` `str` — `bg_color` `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "color-contrast-checker", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) fg_color (str) #1e293b bg_color (str) #ffffff precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`color-contrast-checker`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/color-contrast-checker/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"fg_color":"#1e293b","bg_color":"#ffffff","precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/color-contrast-checker/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'fg_color': '#1e293b', 'bg_color': '#ffffff', 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/color-contrast-checker/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"fg_color":"#1e293b","bg_color":"#ffffff","precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'fg_color' => '#1e293b', 'bg_color' => '#ffffff', 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/color-contrast-checker/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'fg_color' => '#1e293b', 'bg_color' => '#ffffff', 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "fg_color": "#1e293b", "bg_color": "#ffffff", "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/color-contrast-checker/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/color-contrast-checker/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"fg_color\":\"#1e293b\",\"bg_color\":\"#ffffff\",\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call color-contrast-checker - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/color-contrast-checker/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Color Contrast Checker API do? + Check WCAG contrast ratio and AA/AAA compliance for two colors. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Color Contrast Checker cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Color Contrast Checker API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Color Contrast Checker API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Color Contrast Checker API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `color-contrast-checker` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`color-contrast-checker`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="color-contrast-checker")' ``` see-also related color tools [ Color Code Converter Convert HEX, RGB, HSL, HSV, CMYK, and common CSS named colors. ](/tools/color-code-converter-all-formats/) [ Color Scheme Generator Generate complementary, analogous, triadic, square, tetradic, and monochromatic… ](/tools/color-scheme-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [color](/tools/#color) - / - Color Code Converter API # Color Code Converter API color 1 credit / call v2026-04-22 Convert HEX, RGB, HSL, HSV, CMYK, and common CSS named colors. One POST adds Color Code Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Color Code Converter on miniwebtool.com →](https://miniwebtool.com/color-code-converter-all-formats/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/color-code-converter-all-formats/run ``` ### Request body Field Type Req. `color_input` `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "color-code-converter-all-formats", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) color_input (str) #4f46e5 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`color-code-converter-all-formats`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/color-code-converter-all-formats/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"color_input":"#4f46e5","precision":1}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/color-code-converter-all-formats/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'color_input': '#4f46e5', 'precision': 1}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/color-code-converter-all-formats/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"color_input":"#4f46e5","precision":1}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'color_input' => '#4f46e5', 'precision' => 1 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/color-code-converter-all-formats/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'color_input' => '#4f46e5', 'precision' => 1 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "color_input": "#4f46e5", "precision": 1, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/color-code-converter-all-formats/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/color-code-converter-all-formats/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"color_input\":\"#4f46e5\",\"precision\":1}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call color-code-converter-all-formats - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/color-code-converter-all-formats/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Color Code Converter API do? + Convert HEX, RGB, HSL, HSV, CMYK, and common CSS named colors. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Color Code Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Color Code Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Color Code Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Color Code Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `color-code-converter-all-formats` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`color-code-converter-all-formats`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="color-code-converter-all-formats")' ``` see-also related color tools [ Color Contrast Checker Check WCAG contrast ratio and AA/AAA compliance for two colors. ](/tools/color-contrast-checker/) [ Color Scheme Generator Generate complementary, analogous, triadic, square, tetradic, and monochromatic… ](/tools/color-scheme-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [color](/tools/#color) - / - Color Scheme Generator API # Color Scheme Generator API color 1 credit / call v2026-04-22 Generate complementary, analogous, triadic, square, tetradic, and monochromatic palettes. One POST adds Color Scheme Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Color Scheme Generator on miniwebtool.com →](https://miniwebtool.com/color-scheme-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/color-scheme-generator/run ``` ### Request body Field Type Req. `base_color` `str` — `scheme` all | complementary | analogous | triadic | split_complementary | square | tetradic | monochromatic `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "color-scheme-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) base_color (str) #6366f1 scheme (str) all complementary analogous triadic split_complementary square tetradic monochromatic all | complementary | analogous | triadic | split_complementary | square | tetradic | monochromatic precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`color-scheme-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/color-scheme-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"base_color":"#6366f1","scheme":"all","precision":1}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/color-scheme-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'base_color': '#6366f1', 'scheme': 'all', 'precision': 1}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/color-scheme-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"base_color":"#6366f1","scheme":"all","precision":1}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'base_color' => '#6366f1', 'scheme' => 'all', 'precision' => 1 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/color-scheme-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'base_color' => '#6366f1', 'scheme' => 'all', 'precision' => 1 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "base_color": "#6366f1", "scheme": "all", "precision": 1, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/color-scheme-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/color-scheme-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"base_color\":\"#6366f1\",\"scheme\":\"all\",\"precision\":1}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call color-scheme-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/color-scheme-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Color Scheme Generator API do? + Generate complementary, analogous, triadic, square, tetradic, and monochromatic palettes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Color Scheme Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Color Scheme Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Color Scheme Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Color Scheme Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `color-scheme-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`color-scheme-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="color-scheme-generator")' ``` see-also related color tools [ Color Code Converter Convert HEX, RGB, HSL, HSV, CMYK, and common CSS named colors. ](/tools/color-code-converter-all-formats/) [ Color Contrast Checker Check WCAG contrast ratio and AA/AAA compliance for two colors. ](/tools/color-contrast-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [construction](/tools/#construction) - / - Board Foot Calculator API # Board Foot Calculator API construction 1 credit / call v2026-04-22 Calculate lumber volume in board feet, cubic volume, weight, and optional cost. One POST adds Board Foot Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Board Foot Calculator on miniwebtool.com →](https://miniwebtool.com/board-foot-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/board-foot-calculator/run ``` ### Request body Field Type Req. `thickness_inches` `float` ✓ `width_inches` `float` ✓ `length_feet` `float` ✓ `pieces` `int` — `density_lbs_per_cubic_foot` `float` — `moisture_percent` `float` — `price_per_board_foot` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "board-foot-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) thickness_inches (float) * width_inches (float) * length_feet (float) * pieces (int) density_lbs_per_cubic_foot (float) moisture_percent (float) price_per_board_foot (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`board-foot-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/board-foot-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"thickness_inches":2,"width_inches":4,"length_feet":8,"pieces":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/board-foot-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'thickness_inches': 2, 'width_inches': 4, 'length_feet': 8, 'pieces': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/board-foot-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"thickness_inches":2,"width_inches":4,"length_feet":8,"pieces":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'thickness_inches' => 2, 'width_inches' => 4, 'length_feet' => 8, 'pieces' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/board-foot-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'thickness_inches' => 2, 'width_inches' => 4, 'length_feet' => 8, 'pieces' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "thickness_inches": 2, "width_inches": 4, "length_feet": 8, "pieces": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/board-foot-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/board-foot-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"thickness_inches\":2,\"width_inches\":4,\"length_feet\":8,\"pieces\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call board-foot-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`thickness_inches`,`width_inches`,`length_feet`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/board-foot-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Board Foot Calculator API do? + Calculate lumber volume in board feet, cubic volume, weight, and optional cost. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Board Foot Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Board Foot Calculator API require? + Required fields: thickness_inches, width_inches, length_feet. Full schema at /v1/openapi.json. Is the Board Foot Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Board Foot Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `board-foot-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`board-foot-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="board-foot-calculator")' ``` see-also related construction tools [ Carpet Calculator Estimate carpet area, waste, roll length, padding, installation, and cost. ](/tools/carpet-calculator/) [ Decking Calculator Estimate decking boards, joists, beams, posts, fasteners, and waste. ](/tools/decking-calculator/) [ Tile Calculator Estimate tile count, boxes, grout, adhesive, sealer, waste, and optional cost. ](/tools/tile-calculator/) [ Wallpaper Calculator Estimate wallpaper drops, rolls, waste, coverage, and optional cost. ](/tools/wallpaper-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [construction](/tools/#construction) - / - Carpet Calculator API # Carpet Calculator API construction 1 credit / call v2026-04-22 Estimate carpet area, waste, roll length, padding, installation, and cost. One POST adds Carpet Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Carpet Calculator on miniwebtool.com →](https://miniwebtool.com/carpet-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/carpet-calculator/run ``` ### Request body Field Type Req. `room_shape` rectangle | l_shape `str` — `unit` ft | in | m | cm `str` — `length` `float | None` — `width` `float | None` — `l1` `float | None` — `w1` `float | None` — `l2` `float | None` — `w2` `float | None` — `carpet_grade` budget | mid | premium | luxury | custom `str` — `custom_price_per_sqft` `float | None` — `padding` none | basic | standard | premium | luxury `str` — `roll_width_ft` `float` — `waste_percent` `float` — `install_cost_per_sqft` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "carpet-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) room_shape (str) rectangle l_shape rectangle | l_shape unit (str) ft in m cm ft | in | m | cm length (float | None) width (float | None) l1 (float | None) w1 (float | None) l2 (float | None) w2 (float | None) carpet_grade (str) budget mid premium luxury custom budget | mid | premium | luxury | custom custom_price_per_sqft (float | None) padding (str) none basic standard premium luxury none | basic | standard | premium | luxury roll_width_ft (float) waste_percent (float) install_cost_per_sqft (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`carpet-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/carpet-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"room_shape":"rectangle","unit":"ft","length":12,"width":10,"carpet_grade":"mid","padding":"standard","roll_width_ft":12,"waste_percent":10,"install_cost_per_sqft":1.5,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/carpet-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'room_shape': 'rectangle', 'unit': 'ft', 'length': 12, 'width': 10, 'carpet_grade': 'mid', 'padding': 'standard', 'roll_width_ft': 12, 'waste_percent': 10, 'install_cost_per_sqft': 1.5, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/carpet-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"room_shape":"rectangle","unit":"ft","length":12,"width":10,"carpet_grade":"mid","padding":"standard","roll_width_ft":12,"waste_percent":10,"install_cost_per_sqft":1.5,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'room_shape' => 'rectangle', 'unit' => 'ft', 'length' => 12, 'width' => 10, 'carpet_grade' => 'mid', 'padding' => 'standard', 'roll_width_ft' => 12, 'waste_percent' => 10, 'install_cost_per_sqft' => 1.5, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/carpet-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'room_shape' => 'rectangle', 'unit' => 'ft', 'length' => 12, 'width' => 10, 'carpet_grade' => 'mid', 'padding' => 'standard', 'roll_width_ft' => 12, 'waste_percent' => 10, 'install_cost_per_sqft' => 1.5, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "room_shape": "rectangle", "unit": "ft", "length": 12, "width": 10, "carpet_grade": "mid", "padding": "standard", "roll_width_ft": 12, "waste_percent": 10, "install_cost_per_sqft": 1.5, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/carpet-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/carpet-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"room_shape\":\"rectangle\",\"unit\":\"ft\",\"length\":12,\"width\":10,\"carpet_grade\":\"mid\",\"padding\":\"standard\",\"roll_width_ft\":12,\"waste_percent\":10,\"install_cost_per_sqft\":1.5,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call carpet-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/carpet-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Carpet Calculator API do? + Estimate carpet area, waste, roll length, padding, installation, and cost. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Carpet Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Carpet Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Carpet Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Carpet Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `carpet-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`carpet-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="carpet-calculator")' ``` see-also related construction tools [ Decking Calculator Estimate decking boards, joists, beams, posts, fasteners, and waste. ](/tools/decking-calculator/) [ Tile Calculator Estimate tile count, boxes, grout, adhesive, sealer, waste, and optional cost. ](/tools/tile-calculator/) [ Wallpaper Calculator Estimate wallpaper drops, rolls, waste, coverage, and optional cost. ](/tools/wallpaper-calculator/) [ Board Foot Calculator Calculate lumber volume in board feet, cubic volume, weight, and optional cost. ](/tools/board-foot-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [construction](/tools/#construction) - / - Decking Calculator API # Decking Calculator API construction 1 credit / call v2026-04-22 Estimate decking boards, joists, beams, posts, fasteners, and waste. One POST adds Decking Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Decking Calculator on miniwebtool.com →](https://miniwebtool.com/decking-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/decking-calculator/run ``` ### Request body Field Type Req. `unit_system` customary | metric `str` — `deck_length` `float` — `deck_width` `float` — `board_width` `float` — `board_length` `float` — `board_gap` `float` — `joist_spacing` `float` — `beam_spacing` `float` — `waste_factor` `float` — `fasteners_per_sqft` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "decking-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) unit_system (str) customary metric customary | metric deck_length (float) deck_width (float) board_width (float) board_length (float) board_gap (float) joist_spacing (float) beam_spacing (float) waste_factor (float) fasteners_per_sqft (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`decking-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/decking-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"unit_system":"customary","deck_length":12,"deck_width":10,"board_width":5.5,"board_length":12,"board_gap":0.125,"joist_spacing":16,"beam_spacing":8,"waste_factor":10,"fasteners_per_sqft":3.5,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/decking-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'unit_system': 'customary', 'deck_length': 12, 'deck_width': 10, 'board_width': 5.5, 'board_length': 12, 'board_gap': 0.125, 'joist_spacing': 16, 'beam_spacing': 8, 'waste_factor': 10, 'fasteners_per_sqft': 3.5, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/decking-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"unit_system":"customary","deck_length":12,"deck_width":10,"board_width":5.5,"board_length":12,"board_gap":0.125,"joist_spacing":16,"beam_spacing":8,"waste_factor":10,"fasteners_per_sqft":3.5,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'unit_system' => 'customary', 'deck_length' => 12, 'deck_width' => 10, 'board_width' => 5.5, 'board_length' => 12, 'board_gap' => 0.125, 'joist_spacing' => 16, 'beam_spacing' => 8, 'waste_factor' => 10, 'fasteners_per_sqft' => 3.5, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/decking-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'unit_system' => 'customary', 'deck_length' => 12, 'deck_width' => 10, 'board_width' => 5.5, 'board_length' => 12, 'board_gap' => 0.125, 'joist_spacing' => 16, 'beam_spacing' => 8, 'waste_factor' => 10, 'fasteners_per_sqft' => 3.5, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "unit_system": "customary", "deck_length": 12, "deck_width": 10, "board_width": 5.5, "board_length": 12, "board_gap": 0.125, "joist_spacing": 16, "beam_spacing": 8, "waste_factor": 10, "fasteners_per_sqft": 3.5, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/decking-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/decking-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"unit_system\":\"customary\",\"deck_length\":12,\"deck_width\":10,\"board_width\":5.5,\"board_length\":12,\"board_gap\":0.125,\"joist_spacing\":16,\"beam_spacing\":8,\"waste_factor\":10,\"fasteners_per_sqft\":3.5,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call decking-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/decking-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Decking Calculator API do? + Estimate decking boards, joists, beams, posts, fasteners, and waste. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Decking Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Decking Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Decking Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Decking Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `decking-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`decking-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="decking-calculator")' ``` see-also related construction tools [ Carpet Calculator Estimate carpet area, waste, roll length, padding, installation, and cost. ](/tools/carpet-calculator/) [ Tile Calculator Estimate tile count, boxes, grout, adhesive, sealer, waste, and optional cost. ](/tools/tile-calculator/) [ Wallpaper Calculator Estimate wallpaper drops, rolls, waste, coverage, and optional cost. ](/tools/wallpaper-calculator/) [ Board Foot Calculator Calculate lumber volume in board feet, cubic volume, weight, and optional cost. ](/tools/board-foot-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [construction](/tools/#construction) - / - Tile Calculator API # Tile Calculator API construction 1 credit / call v2026-04-22 Estimate tile count, boxes, grout, adhesive, sealer, waste, and optional cost. One POST adds Tile Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Tile Calculator on miniwebtool.com →](https://miniwebtool.com/tile-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/tile-calculator/run ``` ### Request body Field Type Req. `project_type` floor | wall `str` — `unit_system` imperial | metric `str` — `layout_pattern` straight | brick | diagonal | herringbone `str` — `room_length` `float` — `room_width` `float | None` — `wall_height` `float | None` — `tile_length` `float` — `tile_width` `float` — `grout_width` `float` — `waste_percentage` `float` — `tiles_per_box` `int` — `tile_price` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "tile-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) project_type (str) floor wall floor | wall unit_system (str) imperial metric imperial | metric layout_pattern (str) straight brick diagonal herringbone straight | brick | diagonal | herringbone room_length (float) room_width (float | None) wall_height (float | None) tile_length (float) tile_width (float) grout_width (float) waste_percentage (float) tiles_per_box (int) tile_price (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`tile-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/tile-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"project_type":"floor","unit_system":"imperial","layout_pattern":"straight","room_length":12,"room_width":10,"tile_length":12,"tile_width":12,"grout_width":0.125,"waste_percentage":10,"tiles_per_box":10,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/tile-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'project_type': 'floor', 'unit_system': 'imperial', 'layout_pattern': 'straight', 'room_length': 12, 'room_width': 10, 'tile_length': 12, 'tile_width': 12, 'grout_width': 0.125, 'waste_percentage': 10, 'tiles_per_box': 10, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/tile-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"project_type":"floor","unit_system":"imperial","layout_pattern":"straight","room_length":12,"room_width":10,"tile_length":12,"tile_width":12,"grout_width":0.125,"waste_percentage":10,"tiles_per_box":10,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'project_type' => 'floor', 'unit_system' => 'imperial', 'layout_pattern' => 'straight', 'room_length' => 12, 'room_width' => 10, 'tile_length' => 12, 'tile_width' => 12, 'grout_width' => 0.125, 'waste_percentage' => 10, 'tiles_per_box' => 10, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/tile-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'project_type' => 'floor', 'unit_system' => 'imperial', 'layout_pattern' => 'straight', 'room_length' => 12, 'room_width' => 10, 'tile_length' => 12, 'tile_width' => 12, 'grout_width' => 0.125, 'waste_percentage' => 10, 'tiles_per_box' => 10, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "project_type": "floor", "unit_system": "imperial", "layout_pattern": "straight", "room_length": 12, "room_width": 10, "tile_length": 12, "tile_width": 12, "grout_width": 0.125, "waste_percentage": 10, "tiles_per_box": 10, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/tile-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/tile-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"project_type\":\"floor\",\"unit_system\":\"imperial\",\"layout_pattern\":\"straight\",\"room_length\":12,\"room_width\":10,\"tile_length\":12,\"tile_width\":12,\"grout_width\":0.125,\"waste_percentage\":10,\"tiles_per_box\":10,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call tile-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/tile-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Tile Calculator API do? + Estimate tile count, boxes, grout, adhesive, sealer, waste, and optional cost. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Tile Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Tile Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Tile Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Tile Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `tile-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`tile-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="tile-calculator")' ``` see-also related construction tools [ Carpet Calculator Estimate carpet area, waste, roll length, padding, installation, and cost. ](/tools/carpet-calculator/) [ Decking Calculator Estimate decking boards, joists, beams, posts, fasteners, and waste. ](/tools/decking-calculator/) [ Wallpaper Calculator Estimate wallpaper drops, rolls, waste, coverage, and optional cost. ](/tools/wallpaper-calculator/) [ Board Foot Calculator Calculate lumber volume in board feet, cubic volume, weight, and optional cost. ](/tools/board-foot-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [construction](/tools/#construction) - / - Wallpaper Calculator API # Wallpaper Calculator API construction 1 credit / call v2026-04-22 Estimate wallpaper drops, rolls, waste, coverage, and optional cost. One POST adds Wallpaper Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Wallpaper Calculator on miniwebtool.com →](https://miniwebtool.com/wallpaper-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/wallpaper-calculator/run ``` ### Request body Field Type Req. `unit_system` imperial | metric `str` — `wall_height` `float` — `total_width` `float` — `door_window_area` `float` — `roll_width` `float` — `roll_length` `float` — `pattern_repeat` `float` — `waste_factor` `float` — `price_per_roll` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "wallpaper-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) unit_system (str) imperial metric imperial | metric wall_height (float) total_width (float) door_window_area (float) roll_width (float) roll_length (float) pattern_repeat (float) waste_factor (float) price_per_roll (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`wallpaper-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/wallpaper-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"unit_system":"imperial","wall_height":8,"total_width":40,"door_window_area":20,"roll_width":20.5,"roll_length":33,"pattern_repeat":0,"waste_factor":10,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/wallpaper-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'unit_system': 'imperial', 'wall_height': 8, 'total_width': 40, 'door_window_area': 20, 'roll_width': 20.5, 'roll_length': 33, 'pattern_repeat': 0, 'waste_factor': 10, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/wallpaper-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"unit_system":"imperial","wall_height":8,"total_width":40,"door_window_area":20,"roll_width":20.5,"roll_length":33,"pattern_repeat":0,"waste_factor":10,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'unit_system' => 'imperial', 'wall_height' => 8, 'total_width' => 40, 'door_window_area' => 20, 'roll_width' => 20.5, 'roll_length' => 33, 'pattern_repeat' => 0, 'waste_factor' => 10, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/wallpaper-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'unit_system' => 'imperial', 'wall_height' => 8, 'total_width' => 40, 'door_window_area' => 20, 'roll_width' => 20.5, 'roll_length' => 33, 'pattern_repeat' => 0, 'waste_factor' => 10, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "unit_system": "imperial", "wall_height": 8, "total_width": 40, "door_window_area": 20, "roll_width": 20.5, "roll_length": 33, "pattern_repeat": 0, "waste_factor": 10, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/wallpaper-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/wallpaper-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"unit_system\":\"imperial\",\"wall_height\":8,\"total_width\":40,\"door_window_area\":20,\"roll_width\":20.5,\"roll_length\":33,\"pattern_repeat\":0,\"waste_factor\":10,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call wallpaper-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/wallpaper-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Wallpaper Calculator API do? + Estimate wallpaper drops, rolls, waste, coverage, and optional cost. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Wallpaper Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Wallpaper Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Wallpaper Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Wallpaper Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `wallpaper-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`wallpaper-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="wallpaper-calculator")' ``` see-also related construction tools [ Carpet Calculator Estimate carpet area, waste, roll length, padding, installation, and cost. ](/tools/carpet-calculator/) [ Decking Calculator Estimate decking boards, joists, beams, posts, fasteners, and waste. ](/tools/decking-calculator/) [ Tile Calculator Estimate tile count, boxes, grout, adhesive, sealer, waste, and optional cost. ](/tools/tile-calculator/) [ Board Foot Calculator Calculate lumber volume in board feet, cubic volume, weight, and optional cost. ](/tools/board-foot-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [conversion](/tools/#conversion) - / - Fuel Efficiency Converter API # Fuel Efficiency Converter API conversion 1 credit / call v2026-04-22 Convert MPG, L/100km, km/L, and miles/L fuel-efficiency values. One POST adds Fuel Efficiency Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fuel Efficiency Converter on miniwebtool.com →](https://miniwebtool.com/fuel-efficiency-converter-mpg-l-100km-km-l/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fuel-efficiency-converter-mpg-l-100km-km-l/run ``` ### Request body Field Type Req. `value` `float` — `from_unit` mpg_us | mpg_uk | l_100km | km_l | mi_l `str` — `tank_size_l` `float | None` — `fuel_price_per_l` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fuel-efficiency-converter-mpg-l-100km-km-l", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) from_unit (str) mpg_us mpg_uk l_100km km_l mi_l mpg_us | mpg_uk | l_100km | km_l | mi_l tank_size_l (float | None) fuel_price_per_l (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fuel-efficiency-converter-mpg-l-100km-km-l`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fuel-efficiency-converter-mpg-l-100km-km-l/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":30,"from_unit":"mpg_us","tank_size_l":50,"fuel_price_per_l":1.5,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fuel-efficiency-converter-mpg-l-100km-km-l/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 30, 'from_unit': 'mpg_us', 'tank_size_l': 50, 'fuel_price_per_l': 1.5, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fuel-efficiency-converter-mpg-l-100km-km-l/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":30,"from_unit":"mpg_us","tank_size_l":50,"fuel_price_per_l":1.5,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 30, 'from_unit' => 'mpg_us', 'tank_size_l' => 50, 'fuel_price_per_l' => 1.5, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fuel-efficiency-converter-mpg-l-100km-km-l/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 30, 'from_unit' => 'mpg_us', 'tank_size_l' => 50, 'fuel_price_per_l' => 1.5, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 30, "from_unit": "mpg_us", "tank_size_l": 50, "fuel_price_per_l": 1.5, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fuel-efficiency-converter-mpg-l-100km-km-l/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fuel-efficiency-converter-mpg-l-100km-km-l/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":30,\"from_unit\":\"mpg_us\",\"tank_size_l\":50,\"fuel_price_per_l\":1.5,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fuel-efficiency-converter-mpg-l-100km-km-l - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fuel-efficiency-converter-mpg-l-100km-km-l/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fuel Efficiency Converter API do? + Convert MPG, L/100km, km/L, and miles/L fuel-efficiency values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fuel Efficiency Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fuel Efficiency Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Fuel Efficiency Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fuel Efficiency Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fuel-efficiency-converter-mpg-l-100km-km-l` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fuel-efficiency-converter-mpg-l-100km-km-l`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fuel-efficiency-converter-mpg-l-100km-km-l")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [converters](/tools/#converters) - / - Torque Converter API # Torque Converter API converters 1 credit / call v2026-04-22 Convert torque between Nm, ft-lb, in-lb, kgf-cm, kgf-m, dyn-cm, oz-in, and oz-ft. One POST adds Torque Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Torque Converter on miniwebtool.com →](https://miniwebtool.com/torque-converter-nm-ft-lb-kgf-cm/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/torque-converter-nm-ft-lb-kgf-cm/run ``` ### Request body Field Type Req. `value` `float` — `from_unit` nm | ftlb | inlb | kgfcm | kgfm | dyncm | ozin | ozft `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "torque-converter-nm-ft-lb-kgf-cm", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) from_unit (str) nm ftlb inlb kgfcm kgfm dyncm ozin ozft nm | ftlb | inlb | kgfcm | kgfm | dyncm | ozin | ozft precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`torque-converter-nm-ft-lb-kgf-cm`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/torque-converter-nm-ft-lb-kgf-cm/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":1,"from_unit":"nm","precision":8}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/torque-converter-nm-ft-lb-kgf-cm/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 1, 'from_unit': 'nm', 'precision': 8}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/torque-converter-nm-ft-lb-kgf-cm/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":1,"from_unit":"nm","precision":8}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 1, 'from_unit' => 'nm', 'precision' => 8 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/torque-converter-nm-ft-lb-kgf-cm/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 1, 'from_unit' => 'nm', 'precision' => 8 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 1, "from_unit": "nm", "precision": 8, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/torque-converter-nm-ft-lb-kgf-cm/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/torque-converter-nm-ft-lb-kgf-cm/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":1,\"from_unit\":\"nm\",\"precision\":8}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call torque-converter-nm-ft-lb-kgf-cm - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/torque-converter-nm-ft-lb-kgf-cm/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Torque Converter API do? + Convert torque between Nm, ft-lb, in-lb, kgf-cm, kgf-m, dyn-cm, oz-in, and oz-ft. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Torque Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Torque Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Torque Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Torque Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `torque-converter-nm-ft-lb-kgf-cm` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`torque-converter-nm-ft-lb-kgf-cm`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="torque-converter-nm-ft-lb-kgf-cm")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [cooking](/tools/#cooking) - / - Baking Pan Size Converter API # Baking Pan Size Converter API cooking 1 credit / call v2026-04-22 Scale a recipe when switching between common baking pan sizes. One POST adds Baking Pan Size Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Baking Pan Size Converter on miniwebtool.com →](https://miniwebtool.com/baking-pan-size-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/baking-pan-size-converter/run ``` ### Request body Field Type Req. `original_pan_type` round | square | rectangle | springform | bundt | loaf | tube `str` — `new_pan_type` round | square | rectangle | springform | bundt | loaf | tube `str` — `unit` in | cm `str` — `original_diameter` `float | None` — `original_length` `float | None` — `original_width` `float | None` — `original_depth` `float | None` — `new_diameter` `float | None` — `new_length` `float | None` — `new_width` `float | None` — `new_depth` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "baking-pan-size-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) original_pan_type (str) round square rectangle springform bundt loaf tube round | square | rectangle | springform | bundt | loaf | tube new_pan_type (str) round square rectangle springform bundt loaf tube round | square | rectangle | springform | bundt | loaf | tube unit (str) in cm in | cm original_diameter (float | None) original_length (float | None) original_width (float | None) original_depth (float | None) new_diameter (float | None) new_length (float | None) new_width (float | None) new_depth (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`baking-pan-size-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/baking-pan-size-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"original_pan_type":"rectangle","new_pan_type":"round","unit":"in","original_length":13,"original_width":9,"new_diameter":9,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/baking-pan-size-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'original_pan_type': 'rectangle', 'new_pan_type': 'round', 'unit': 'in', 'original_length': 13, 'original_width': 9, 'new_diameter': 9, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/baking-pan-size-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"original_pan_type":"rectangle","new_pan_type":"round","unit":"in","original_length":13,"original_width":9,"new_diameter":9,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'original_pan_type' => 'rectangle', 'new_pan_type' => 'round', 'unit' => 'in', 'original_length' => 13, 'original_width' => 9, 'new_diameter' => 9, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/baking-pan-size-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'original_pan_type' => 'rectangle', 'new_pan_type' => 'round', 'unit' => 'in', 'original_length' => 13, 'original_width' => 9, 'new_diameter' => 9, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "original_pan_type": "rectangle", "new_pan_type": "round", "unit": "in", "original_length": 13, "original_width": 9, "new_diameter": 9, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/baking-pan-size-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/baking-pan-size-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"original_pan_type\":\"rectangle\",\"new_pan_type\":\"round\",\"unit\":\"in\",\"original_length\":13,\"original_width\":9,\"new_diameter\":9,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call baking-pan-size-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/baking-pan-size-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Baking Pan Size Converter API do? + Scale a recipe when switching between common baking pan sizes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Baking Pan Size Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Baking Pan Size Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Baking Pan Size Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Baking Pan Size Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `baking-pan-size-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`baking-pan-size-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="baking-pan-size-converter")' ``` see-also related cooking tools [ Cups to Grams Converter Convert cups to grams for common cooking ingredients. ](/tools/cups-to-grams-converter/) [ Dough Hydration Calculator Calculate dough hydration, required water, or a simple baker's percentage recip… ](/tools/dough-hydration-calculator/) [ Baker's Percentage Calculator Scale bread ingredients from flour weight and baker's percentages. ](/tools/baker-s-percentage-calculator/) [ Brine and Salinity Calculator Calculate salt, water, or salinity for brines and fermentation recipes. ](/tools/brine-and-salinity-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [cooking](/tools/#cooking) - / - Dough Hydration Calculator API # Dough Hydration Calculator API cooking 1 credit / call v2026-04-22 Calculate dough hydration, required water, or a simple baker's percentage recipe. One POST adds Dough Hydration Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Dough Hydration Calculator on miniwebtool.com →](https://miniwebtool.com/dough-hydration-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/dough-hydration-calculator/run ``` ### Request body Field Type Req. `mode` hydration | water | recipe `str` — `flour_weight` `float` — `water_weight` `float | None` — `target_hydration` `float` — `salt_percent` `float` — `yeast_percent` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "dough-hydration-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) hydration water recipe hydration | water | recipe flour_weight (float) water_weight (float | None) target_hydration (float) salt_percent (float) yeast_percent (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`dough-hydration-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/dough-hydration-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"recipe","flour_weight":500,"target_hydration":70,"salt_percent":2,"yeast_percent":1,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/dough-hydration-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'recipe', 'flour_weight': 500, 'target_hydration': 70, 'salt_percent': 2, 'yeast_percent': 1, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/dough-hydration-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"recipe","flour_weight":500,"target_hydration":70,"salt_percent":2,"yeast_percent":1,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'recipe', 'flour_weight' => 500, 'target_hydration' => 70, 'salt_percent' => 2, 'yeast_percent' => 1, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/dough-hydration-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'recipe', 'flour_weight' => 500, 'target_hydration' => 70, 'salt_percent' => 2, 'yeast_percent' => 1, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "recipe", "flour_weight": 500, "target_hydration": 70, "salt_percent": 2, "yeast_percent": 1, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/dough-hydration-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/dough-hydration-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"recipe\",\"flour_weight\":500,\"target_hydration\":70,\"salt_percent\":2,\"yeast_percent\":1,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call dough-hydration-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/dough-hydration-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Dough Hydration Calculator API do? + Calculate dough hydration, required water, or a simple baker's percentage recipe. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Dough Hydration Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Dough Hydration Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Dough Hydration Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Dough Hydration Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `dough-hydration-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`dough-hydration-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="dough-hydration-calculator")' ``` see-also related cooking tools [ Cups to Grams Converter Convert cups to grams for common cooking ingredients. ](/tools/cups-to-grams-converter/) [ Baker's Percentage Calculator Scale bread ingredients from flour weight and baker's percentages. ](/tools/baker-s-percentage-calculator/) [ Baking Pan Size Converter Scale a recipe when switching between common baking pan sizes. ](/tools/baking-pan-size-converter/) [ Brine and Salinity Calculator Calculate salt, water, or salinity for brines and fermentation recipes. ](/tools/brine-and-salinity-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [cooking](/tools/#cooking) - / - Coffee Brew Ratio Calculator API # Coffee Brew Ratio Calculator API cooking 1 credit / call v2026-04-22 Calculate coffee and water amounts for common brewing methods and strengths. One POST adds Coffee Brew Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Coffee Brew Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/coffee-brew-ratio-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/coffee-brew-ratio-calculator/run ``` ### Request body Field Type Req. `method` pour_over | espresso | french_press | cold_brew | aeropress | moka_pot | drip `str` — `solve_for` water | coffee `str` — `amount_grams` `float` — `strength` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "coffee-brew-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) method (str) pour_over espresso french_press cold_brew aeropress moka_pot drip pour_over | espresso | french_press | cold_brew | aeropress | moka_pot | drip solve_for (str) water coffee water | coffee amount_grams (float) strength (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`coffee-brew-ratio-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/coffee-brew-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"method":"pour_over","solve_for":"water","amount_grams":18,"strength":1,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/coffee-brew-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'method': 'pour_over', 'solve_for': 'water', 'amount_grams': 18, 'strength': 1, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/coffee-brew-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"method":"pour_over","solve_for":"water","amount_grams":18,"strength":1,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'method' => 'pour_over', 'solve_for' => 'water', 'amount_grams' => 18, 'strength' => 1, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/coffee-brew-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'method' => 'pour_over', 'solve_for' => 'water', 'amount_grams' => 18, 'strength' => 1, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "method": "pour_over", "solve_for": "water", "amount_grams": 18, "strength": 1, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/coffee-brew-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/coffee-brew-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"method\":\"pour_over\",\"solve_for\":\"water\",\"amount_grams\":18,\"strength\":1,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call coffee-brew-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/coffee-brew-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Coffee Brew Ratio Calculator API do? + Calculate coffee and water amounts for common brewing methods and strengths. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Coffee Brew Ratio Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Coffee Brew Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Coffee Brew Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Coffee Brew Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `coffee-brew-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`coffee-brew-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="coffee-brew-ratio-calculator")' ``` see-also related cooking tools [ Cups to Grams Converter Convert cups to grams for common cooking ingredients. ](/tools/cups-to-grams-converter/) [ Dough Hydration Calculator Calculate dough hydration, required water, or a simple baker's percentage recip… ](/tools/dough-hydration-calculator/) [ Baker's Percentage Calculator Scale bread ingredients from flour weight and baker's percentages. ](/tools/baker-s-percentage-calculator/) [ Baking Pan Size Converter Scale a recipe when switching between common baking pan sizes. ](/tools/baking-pan-size-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [cooking](/tools/#cooking) - / - Cooking Unit Converter API # Cooking Unit Converter API cooking 1 credit / call v2026-04-22 Convert cooking volume and weight units using ingredient density. One POST adds Cooking Unit Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cooking Unit Converter on miniwebtool.com →](https://miniwebtool.com/cooking-unit-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cooking-unit-converter/run ``` ### Request body Field Type Req. `amount` `float` — `from_unit` teaspoon | tablespoon | cup | fluid_ounce | pint | quart | gallon | milliliter | liter | gram | kilogram | ounce | pound `str` — `to_unit` teaspoon | tablespoon | cup | fluid_ounce | pint | quart | gallon | milliliter | liter | gram | kilogram | ounce | pound `str` — `ingredient` water | all_purpose_flour | bread_flour | granulated_sugar | brown_sugar | butter | milk | oil | honey | rice | salt `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cooking-unit-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) amount (float) from_unit (str) teaspoon tablespoon cup fluid_ounce pint quart gallon milliliter liter gram kilogram ounce pound teaspoon | tablespoon | cup | fluid_ounce | pint | quart | gallon | milliliter | liter | gram | kilogram | ounce | pound to_unit (str) teaspoon tablespoon cup fluid_ounce pint quart gallon milliliter liter gram kilogram ounce pound teaspoon | tablespoon | cup | fluid_ounce | pint | quart | gallon | milliliter | liter | gram | kilogram | ounce | pound ingredient (str) water all_purpose_flour bread_flour granulated_sugar brown_sugar butter milk oil honey rice salt water | all_purpose_flour | bread_flour | granulated_sugar | brown_sugar | butter | milk | oil | honey | rice | salt precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cooking-unit-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cooking-unit-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"amount":1,"from_unit":"cup","to_unit":"gram","ingredient":"all_purpose_flour","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cooking-unit-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'amount': 1, 'from_unit': 'cup', 'to_unit': 'gram', 'ingredient': 'all_purpose_flour', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cooking-unit-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"amount":1,"from_unit":"cup","to_unit":"gram","ingredient":"all_purpose_flour","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'amount' => 1, 'from_unit' => 'cup', 'to_unit' => 'gram', 'ingredient' => 'all_purpose_flour', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cooking-unit-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'amount' => 1, 'from_unit' => 'cup', 'to_unit' => 'gram', 'ingredient' => 'all_purpose_flour', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "amount": 1, "from_unit": "cup", "to_unit": "gram", "ingredient": "all_purpose_flour", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cooking-unit-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cooking-unit-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"amount\":1,\"from_unit\":\"cup\",\"to_unit\":\"gram\",\"ingredient\":\"all_purpose_flour\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cooking-unit-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cooking-unit-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cooking Unit Converter API do? + Convert cooking volume and weight units using ingredient density. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cooking Unit Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cooking Unit Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cooking Unit Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cooking Unit Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cooking-unit-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cooking-unit-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cooking-unit-converter")' ``` see-also related cooking tools [ Cups to Grams Converter Convert cups to grams for common cooking ingredients. ](/tools/cups-to-grams-converter/) [ Dough Hydration Calculator Calculate dough hydration, required water, or a simple baker's percentage recip… ](/tools/dough-hydration-calculator/) [ Baker's Percentage Calculator Scale bread ingredients from flour weight and baker's percentages. ](/tools/baker-s-percentage-calculator/) [ Baking Pan Size Converter Scale a recipe when switching between common baking pan sizes. ](/tools/baking-pan-size-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [cooking](/tools/#cooking) - / - Cups to Grams Converter API # Cups to Grams Converter API cooking 1 credit / call v2026-04-22 Convert cups to grams for common cooking ingredients. One POST adds Cups to Grams Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cups to Grams Converter on miniwebtool.com →](https://miniwebtool.com/cups-to-grams-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cups-to-grams-converter/run ``` ### Request body Field Type Req. `amount_cups` `float` — `ingredient` water | all_purpose_flour | bread_flour | cake_flour | granulated_sugar | brown_sugar | powdered_sugar | butter | honey | milk | oil | cocoa_powder | rice | rolled_oats | salt `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cups-to-grams-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) amount_cups (float) ingredient (str) water all_purpose_flour bread_flour cake_flour granulated_sugar brown_sugar powdered_sugar butter honey milk oil cocoa_powder rice rolled_oats salt water | all_purpose_flour | bread_flour | cake_flour | granulated_sugar | brown_sugar | powdered_sugar | butter | honey | milk | oil | cocoa_powder | rice | rolled_oats | salt precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cups-to-grams-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cups-to-grams-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"amount_cups":2,"ingredient":"all_purpose_flour","precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cups-to-grams-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'amount_cups': 2, 'ingredient': 'all_purpose_flour', 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cups-to-grams-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"amount_cups":2,"ingredient":"all_purpose_flour","precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'amount_cups' => 2, 'ingredient' => 'all_purpose_flour', 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cups-to-grams-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'amount_cups' => 2, 'ingredient' => 'all_purpose_flour', 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "amount_cups": 2, "ingredient": "all_purpose_flour", "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cups-to-grams-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cups-to-grams-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"amount_cups\":2,\"ingredient\":\"all_purpose_flour\",\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cups-to-grams-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cups-to-grams-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cups to Grams Converter API do? + Convert cups to grams for common cooking ingredients. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cups to Grams Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cups to Grams Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cups to Grams Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cups to Grams Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cups-to-grams-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cups-to-grams-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cups-to-grams-converter")' ``` see-also related cooking tools [ Dough Hydration Calculator Calculate dough hydration, required water, or a simple baker's percentage recip… ](/tools/dough-hydration-calculator/) [ Baker's Percentage Calculator Scale bread ingredients from flour weight and baker's percentages. ](/tools/baker-s-percentage-calculator/) [ Baking Pan Size Converter Scale a recipe when switching between common baking pan sizes. ](/tools/baking-pan-size-converter/) [ Brine and Salinity Calculator Calculate salt, water, or salinity for brines and fermentation recipes. ](/tools/brine-and-salinity-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [cooking](/tools/#cooking) - / - Yeast Conversion Calculator API # Yeast Conversion Calculator API cooking 1 credit / call v2026-04-22 Convert fresh, active dry, and instant yeast amounts. One POST adds Yeast Conversion Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Yeast Conversion Calculator on miniwebtool.com →](https://miniwebtool.com/yeast-conversion-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/yeast-conversion-calculator/run ``` ### Request body Field Type Req. `amount` `float` — `unit` g | oz | tsp | tbsp `str` — `from_type` fresh | active_dry | instant `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "yeast-conversion-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) amount (float) unit (str) g oz tsp tbsp g | oz | tsp | tbsp from_type (str) fresh active_dry instant fresh | active_dry | instant Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`yeast-conversion-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/yeast-conversion-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"amount":21,"unit":"g","from_type":"fresh"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/yeast-conversion-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'amount': 21, 'unit': 'g', 'from_type': 'fresh'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/yeast-conversion-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"amount":21,"unit":"g","from_type":"fresh"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'amount' => 21, 'unit' => 'g', 'from_type' => 'fresh' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/yeast-conversion-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'amount' => 21, 'unit' => 'g', 'from_type' => 'fresh' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "amount": 21, "unit": "g", "from_type": "fresh", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/yeast-conversion-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/yeast-conversion-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"amount\":21,\"unit\":\"g\",\"from_type\":\"fresh\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call yeast-conversion-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/yeast-conversion-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Yeast Conversion Calculator API do? + Convert fresh, active dry, and instant yeast amounts. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Yeast Conversion Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Yeast Conversion Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Yeast Conversion Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Yeast Conversion Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `yeast-conversion-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`yeast-conversion-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="yeast-conversion-calculator")' ``` see-also related cooking tools [ Cups to Grams Converter Convert cups to grams for common cooking ingredients. ](/tools/cups-to-grams-converter/) [ Dough Hydration Calculator Calculate dough hydration, required water, or a simple baker's percentage recip… ](/tools/dough-hydration-calculator/) [ Baker's Percentage Calculator Scale bread ingredients from flour weight and baker's percentages. ](/tools/baker-s-percentage-calculator/) [ Baking Pan Size Converter Scale a recipe when switching between common baking pan sizes. ](/tools/baking-pan-size-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [cooking](/tools/#cooking) - / - Brine and Salinity Calculator API # Brine and Salinity Calculator API cooking 1 credit / call v2026-04-22 Calculate salt, water, or salinity for brines and fermentation recipes. One POST adds Brine and Salinity Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Brine and Salinity Calculator on miniwebtool.com →](https://miniwebtool.com/brine-and-salinity-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/brine-and-salinity-calculator/run ``` ### Request body Field Type Req. `calculation_type` salt_needed | salinity_check | water_needed `str` — `preset` custom | vegetable_pickle | sauerkraut | kimchi | meat_brine | turkey_brine | fish_cure | olives | fermented_hot_sauce | mild_pickle `str` — `water_amount` `float | None` — `water_unit` cups | liters | ml | gallons | quarts `str` — `salt_amount` `float | None` — `salt_unit` tbsp | tsp | grams | ounces | cups `str` — `salt_type` table | kosher_morton | kosher_diamond | sea_coarse | sea_fine | pickling | himalayan `str` — `target_salinity` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "brine-and-salinity-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calculation_type (str) salt_needed salinity_check water_needed salt_needed | salinity_check | water_needed preset (str) custom vegetable_pickle sauerkraut kimchi meat_brine turkey_brine fish_cure olives fermented_hot_sauce mild_pickle custom | vegetable_pickle | sauerkraut | kimchi | meat_brine | turkey_brine | fish_cure | olives | fermented_hot_sauce | mild_pickle water_amount (float | None) water_unit (str) cups liters ml gallons quarts cups | liters | ml | gallons | quarts salt_amount (float | None) salt_unit (str) tbsp tsp grams ounces cups tbsp | tsp | grams | ounces | cups salt_type (str) table kosher_morton kosher_diamond sea_coarse sea_fine pickling himalayan table | kosher_morton | kosher_diamond | sea_coarse | sea_fine | pickling | himalayan target_salinity (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`brine-and-salinity-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/brine-and-salinity-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calculation_type":"salt_needed","preset":"custom","water_amount":4,"water_unit":"cups","salt_unit":"tbsp","salt_type":"table","target_salinity":3.5,"precision":3}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/brine-and-salinity-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calculation_type': 'salt_needed', 'preset': 'custom', 'water_amount': 4, 'water_unit': 'cups', 'salt_unit': 'tbsp', 'salt_type': 'table', 'target_salinity': 3.5, 'precision': 3}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/brine-and-salinity-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calculation_type":"salt_needed","preset":"custom","water_amount":4,"water_unit":"cups","salt_unit":"tbsp","salt_type":"table","target_salinity":3.5,"precision":3}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calculation_type' => 'salt_needed', 'preset' => 'custom', 'water_amount' => 4, 'water_unit' => 'cups', 'salt_unit' => 'tbsp', 'salt_type' => 'table', 'target_salinity' => 3.5, 'precision' => 3 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/brine-and-salinity-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calculation_type' => 'salt_needed', 'preset' => 'custom', 'water_amount' => 4, 'water_unit' => 'cups', 'salt_unit' => 'tbsp', 'salt_type' => 'table', 'target_salinity' => 3.5, 'precision' => 3 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calculation_type": "salt_needed", "preset": "custom", "water_amount": 4, "water_unit": "cups", "salt_unit": "tbsp", "salt_type": "table", "target_salinity": 3.5, "precision": 3, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/brine-and-salinity-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/brine-and-salinity-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calculation_type\":\"salt_needed\",\"preset\":\"custom\",\"water_amount\":4,\"water_unit\":\"cups\",\"salt_unit\":\"tbsp\",\"salt_type\":\"table\",\"target_salinity\":3.5,\"precision\":3}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call brine-and-salinity-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/brine-and-salinity-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Brine and Salinity Calculator API do? + Calculate salt, water, or salinity for brines and fermentation recipes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Brine and Salinity Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Brine and Salinity Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Brine and Salinity Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Brine and Salinity Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `brine-and-salinity-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`brine-and-salinity-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="brine-and-salinity-calculator")' ``` see-also related cooking tools [ Cups to Grams Converter Convert cups to grams for common cooking ingredients. ](/tools/cups-to-grams-converter/) [ Dough Hydration Calculator Calculate dough hydration, required water, or a simple baker's percentage recip… ](/tools/dough-hydration-calculator/) [ Baker's Percentage Calculator Scale bread ingredients from flour weight and baker's percentages. ](/tools/baker-s-percentage-calculator/) [ Baking Pan Size Converter Scale a recipe when switching between common baking pan sizes. ](/tools/baking-pan-size-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [cooking](/tools/#cooking) - / - Baker's Percentage Calculator API # Baker's Percentage Calculator API cooking 1 credit / call v2026-04-22 Scale bread ingredients from flour weight and baker's percentages. One POST adds Baker's Percentage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Baker's Percentage Calculator on miniwebtool.com →](https://miniwebtool.com/baker-s-percentage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/baker-s-percentage-calculator/run ``` ### Request body Field Type Req. `flour_weight` `float` ✓ `water_percent` `float` — `salt_percent` `float` — `yeast_percent` `float` — `sugar_percent` `float` — `fat_percent` `float` — `milk_percent` `float` — `eggs_percent` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "baker-s-percentage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) flour_weight (float) * water_percent (float) salt_percent (float) yeast_percent (float) sugar_percent (float) fat_percent (float) milk_percent (float) eggs_percent (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`baker-s-percentage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/baker-s-percentage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"flour_weight":1000,"water_percent":65,"salt_percent":2,"yeast_percent":1}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/baker-s-percentage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'flour_weight': 1000, 'water_percent': 65, 'salt_percent': 2, 'yeast_percent': 1}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/baker-s-percentage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"flour_weight":1000,"water_percent":65,"salt_percent":2,"yeast_percent":1}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'flour_weight' => 1000, 'water_percent' => 65, 'salt_percent' => 2, 'yeast_percent' => 1 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/baker-s-percentage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'flour_weight' => 1000, 'water_percent' => 65, 'salt_percent' => 2, 'yeast_percent' => 1 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "flour_weight": 1000, "water_percent": 65, "salt_percent": 2, "yeast_percent": 1, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/baker-s-percentage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/baker-s-percentage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"flour_weight\":1000,\"water_percent\":65,\"salt_percent\":2,\"yeast_percent\":1}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call baker-s-percentage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`flour_weight`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/baker-s-percentage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Baker's Percentage Calculator API do? + Scale bread ingredients from flour weight and baker's percentages. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Baker's Percentage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Baker's Percentage Calculator API require? + Required fields: flour_weight. Full schema at /v1/openapi.json. Is the Baker's Percentage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Baker's Percentage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `baker-s-percentage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`baker-s-percentage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="baker-s-percentage-calculator")' ``` see-also related cooking tools [ Cups to Grams Converter Convert cups to grams for common cooking ingredients. ](/tools/cups-to-grams-converter/) [ Dough Hydration Calculator Calculate dough hydration, required water, or a simple baker's percentage recip… ](/tools/dough-hydration-calculator/) [ Baking Pan Size Converter Scale a recipe when switching between common baking pan sizes. ](/tools/baking-pan-size-converter/) [ Brine and Salinity Calculator Calculate salt, water, or salinity for brines and fermentation recipes. ](/tools/brine-and-salinity-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [craft](/tools/#craft) - / - Cross-Stitch Size Calculator API # Cross-Stitch Size Calculator API craft 1 credit / call v2026-04-22 Calculate finished cross-stitch design and fabric sizes from stitch and fabric counts. One POST adds Cross-Stitch Size Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cross-Stitch Size Calculator on miniwebtool.com →](https://miniwebtool.com/cross-stitch-size-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cross-stitch-size-calculator/run ``` ### Request body Field Type Req. `width_stitches` `int` — `height_stitches` `int` — `fabric_preset` 6 | 8 | 11 | 14 | 16 | 18 | 20 | 22 | 25 | 28 | 32 | 36 | 40 | custom `str` — `custom_count` `float | None` — `over_threads` 1 | 2 `str` — `margin` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cross-stitch-size-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) width_stitches (int) height_stitches (int) fabric_preset (str) 6 8 11 14 16 18 20 22 25 28 32 36 40 custom 6 | 8 | 11 | 14 | 16 | 18 | 20 | 22 | 25 | 28 | 32 | 36 | 40 | custom custom_count (float | None) over_threads (str) 1 2 1 | 2 margin (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cross-stitch-size-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cross-stitch-size-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"width_stitches":150,"height_stitches":200,"fabric_preset":"14","over_threads":"1","margin":3,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cross-stitch-size-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'width_stitches': 150, 'height_stitches': 200, 'fabric_preset': '14', 'over_threads': '1', 'margin': 3, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cross-stitch-size-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"width_stitches":150,"height_stitches":200,"fabric_preset":"14","over_threads":"1","margin":3,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'width_stitches' => 150, 'height_stitches' => 200, 'fabric_preset' => '14', 'over_threads' => '1', 'margin' => 3, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cross-stitch-size-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'width_stitches' => 150, 'height_stitches' => 200, 'fabric_preset' => '14', 'over_threads' => '1', 'margin' => 3, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "width_stitches": 150, "height_stitches": 200, "fabric_preset": "14", "over_threads": "1", "margin": 3, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cross-stitch-size-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cross-stitch-size-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"width_stitches\":150,\"height_stitches\":200,\"fabric_preset\":\"14\",\"over_threads\":\"1\",\"margin\":3,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cross-stitch-size-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cross-stitch-size-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cross-Stitch Size Calculator API do? + Calculate finished cross-stitch design and fabric sizes from stitch and fabric counts. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cross-Stitch Size Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cross-Stitch Size Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cross-Stitch Size Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cross-Stitch Size Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cross-stitch-size-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cross-stitch-size-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cross-stitch-size-calculator")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [creator](/tools/#creator) - / - YouTube Earnings Estimator API # YouTube Earnings Estimator API creator 1 credit / call v2026-04-22 Estimate YouTube ad revenue from views, CPM range, monetized percentage, and revenue share. One POST adds YouTube Earnings Estimator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the YouTube Earnings Estimator on miniwebtool.com →](https://miniwebtool.com/youtube-earnings-estimator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/youtube-earnings-estimator/run ``` ### Request body Field Type Req. `daily_views` `float` — `niche` custom | finance | technology | education | business | food | travel | gaming | entertainment | sports | beauty | fitness | auto | science `str` — `cpm_low` `float` — `cpm_high` `float` — `monetized_pct` `float` — `revenue_share` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "youtube-earnings-estimator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) daily_views (float) niche (str) custom finance technology education business food travel gaming entertainment sports beauty fitness auto science custom | finance | technology | education | business | food | travel | gaming | entertainment | sports | beauty | fitness | auto | science cpm_low (float) cpm_high (float) monetized_pct (float) revenue_share (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`youtube-earnings-estimator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/youtube-earnings-estimator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"daily_views":10000,"niche":"entertainment","monetized_pct":55,"revenue_share":55}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/youtube-earnings-estimator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'daily_views': 10000, 'niche': 'entertainment', 'monetized_pct': 55, 'revenue_share': 55}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/youtube-earnings-estimator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"daily_views":10000,"niche":"entertainment","monetized_pct":55,"revenue_share":55}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'daily_views' => 10000, 'niche' => 'entertainment', 'monetized_pct' => 55, 'revenue_share' => 55 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/youtube-earnings-estimator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'daily_views' => 10000, 'niche' => 'entertainment', 'monetized_pct' => 55, 'revenue_share' => 55 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "daily_views": 10000, "niche": "entertainment", "monetized_pct": 55, "revenue_share": 55, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/youtube-earnings-estimator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/youtube-earnings-estimator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"daily_views\":10000,\"niche\":\"entertainment\",\"monetized_pct\":55,\"revenue_share\":55}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call youtube-earnings-estimator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/youtube-earnings-estimator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the YouTube Earnings Estimator API do? + Estimate YouTube ad revenue from views, CPM range, monetized percentage, and revenue share. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to YouTube Earnings Estimator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the YouTube Earnings Estimator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the YouTube Earnings Estimator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the YouTube Earnings Estimator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `youtube-earnings-estimator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`youtube-earnings-estimator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="youtube-earnings-estimator")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [datetime](/tools/#datetime) - / - Autumnal Equinox Day API # Autumnal Equinox Day API datetime 1 credit / call v2026-04-22 Return autumn equinox date, UTC time, seasonal markers, and optional countdown data. One POST adds Autumnal Equinox Day to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Autumnal Equinox Day on miniwebtool.com →](https://miniwebtool.com/autumnal-equinox-day/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/autumnal-equinox-day/run ``` ### Request body Field Type Req. `year` `int` — `hemisphere` north | south `str` — `as_of_utc` Optional ISO datetime for countdown `str | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "autumnal-equinox-day", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) year (int) hemisphere (str) north south north | south as_of_utc (str | None) Optional ISO datetime for countdown Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`autumnal-equinox-day`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/autumnal-equinox-day/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/autumnal-equinox-day/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/autumnal-equinox-day/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/autumnal-equinox-day/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/autumnal-equinox-day/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/autumnal-equinox-day/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call autumnal-equinox-day - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/autumnal-equinox-day/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Autumnal Equinox Day API do? + Return autumn equinox date, UTC time, seasonal markers, and optional countdown data. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Autumnal Equinox Day cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Autumnal Equinox Day API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Autumnal Equinox Day API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Autumnal Equinox Day API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `autumnal-equinox-day` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`autumnal-equinox-day`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="autumnal-equinox-day")' ``` see-also related datetime tools [ Decimal to Time Converter Convert decimal hours to hours, minutes, and seconds. ](/tools/decimal-to-time-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [datetime](/tools/#datetime) - / - Decimal to Time Converter API # Decimal to Time Converter API datetime 1 credit / call v2026-04-22 Convert decimal hours to hours, minutes, and seconds. One POST adds Decimal to Time Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Decimal to Time Converter on miniwebtool.com →](https://miniwebtool.com/decimal-to-time-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/decimal-to-time-converter/run ``` ### Request body Field Type Req. `decimal_hours` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "decimal-to-time-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) decimal_hours (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`decimal-to-time-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/decimal-to-time-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"decimal_hours":1.75,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/decimal-to-time-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'decimal_hours': 1.75, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/decimal-to-time-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"decimal_hours":1.75,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'decimal_hours' => 1.75, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/decimal-to-time-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'decimal_hours' => 1.75, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "decimal_hours": 1.75, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/decimal-to-time-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/decimal-to-time-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"decimal_hours\":1.75,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call decimal-to-time-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/decimal-to-time-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Decimal to Time Converter API do? + Convert decimal hours to hours, minutes, and seconds. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Decimal to Time Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Decimal to Time Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Decimal to Time Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Decimal to Time Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `decimal-to-time-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`decimal-to-time-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="decimal-to-time-converter")' ``` see-also related datetime tools [ Autumnal Equinox Day Return autumn equinox date, UTC time, seasonal markers, and optional countdown … ](/tools/autumnal-equinox-day/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [dev](/tools/#dev) - / - CMYK to Hex Converter API # CMYK to Hex Converter API dev 1 credit / call v2026-04-22 Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. One POST adds CMYK to Hex Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the CMYK to Hex Converter on miniwebtool.com →](https://miniwebtool.com/cmyk-to-hex-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cmyk-to-hex-converter/run ``` ### Request body Field Type Req. `cyan` `int` ✓ `magenta` `int` ✓ `yellow` `int` ✓ `black` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cmyk-to-hex-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) cyan (int) * magenta (int) * yellow (int) * black (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cmyk-to-hex-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cmyk-to-hex-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"cyan":0,"magenta":50,"yellow":100,"black":0}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cmyk-to-hex-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'cyan': 0, 'magenta': 50, 'yellow': 100, 'black': 0}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cmyk-to-hex-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"cyan":0,"magenta":50,"yellow":100,"black":0}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'cyan' => 0, 'magenta' => 50, 'yellow' => 100, 'black' => 0 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cmyk-to-hex-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'cyan' => 0, 'magenta' => 50, 'yellow' => 100, 'black' => 0 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "cyan": 0, "magenta": 50, "yellow": 100, "black": 0, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cmyk-to-hex-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cmyk-to-hex-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"cyan\":0,\"magenta\":50,\"yellow\":100,\"black\":0}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cmyk-to-hex-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`cyan`,`magenta`,`yellow`,`black`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cmyk-to-hex-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the CMYK to Hex Converter API do? + Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to CMYK to Hex Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the CMYK to Hex Converter API require? + Required fields: cyan, magenta, yellow, black. Full schema at /v1/openapi.json. Is the CMYK to Hex Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the CMYK to Hex Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cmyk-to-hex-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cmyk-to-hex-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cmyk-to-hex-converter")' ``` see-also related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ Cron Job Generator Generate a cron expression from common schedule presets. ](/tools/cron-job-generator/) [ Crontab Expression Generator Build and validate a crontab expression from individual fields. ](/tools/crontab-expression-generator/) [ Base64 Decoder Decode standard or URL-safe Base64 text and return byte and character analysis. ](/tools/base64-decoder/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [dev](/tools/#dev) - / - Hex to CMYK Converter API # Hex to CMYK Converter API dev 1 credit / call v2026-04-22 Convert a hex color to CMYK print percentages. One POST adds Hex to CMYK Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hex to CMYK Converter on miniwebtool.com →](https://miniwebtool.com/hex-to-cmyk-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hex-to-cmyk-converter/run ``` ### Request body Field Type Req. `hex_color` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hex-to-cmyk-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) hex_color (str) * #AABBCC Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hex-to-cmyk-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hex-to-cmyk-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hex_color":"#AABBCC"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hex-to-cmyk-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hex_color': '#AABBCC'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hex-to-cmyk-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hex_color":"#AABBCC"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hex_color' => '#AABBCC' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hex-to-cmyk-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hex_color' => '#AABBCC' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hex_color": "#AABBCC", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hex-to-cmyk-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hex-to-cmyk-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hex_color\":\"#AABBCC\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hex-to-cmyk-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`hex_color`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hex-to-cmyk-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hex to CMYK Converter API do? + Convert a hex color to CMYK print percentages. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hex to CMYK Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hex to CMYK Converter API require? + Required fields: hex_color. Full schema at /v1/openapi.json. Is the Hex to CMYK Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hex to CMYK Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hex-to-cmyk-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hex-to-cmyk-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hex-to-cmyk-converter")' ``` see-also related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ Cron Job Generator Generate a cron expression from common schedule presets. ](/tools/cron-job-generator/) [ Crontab Expression Generator Build and validate a crontab expression from individual fields. ](/tools/crontab-expression-generator/) [ Base64 Decoder Decode standard or URL-safe Base64 text and return byte and character analysis. ](/tools/base64-decoder/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [dev](/tools/#dev) - / - Hex to RGB Converter API # Hex to RGB Converter API dev 1 credit / call v2026-04-22 Convert a hex color to RGB, HSL, CMYK, and contrast metrics. One POST adds Hex to RGB Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hex to RGB Converter on miniwebtool.com →](https://miniwebtool.com/hex-to-rgb-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hex-to-rgb-converter/run ``` ### Request body Field Type Req. `hex_color` `str` ✓ `alpha` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hex-to-rgb-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) hex_color (str) * #FF5733 alpha (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hex-to-rgb-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hex-to-rgb-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hex_color":"#FF5733","alpha":1}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hex-to-rgb-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hex_color': '#FF5733', 'alpha': 1}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hex-to-rgb-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hex_color":"#FF5733","alpha":1}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hex_color' => '#FF5733', 'alpha' => 1 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hex-to-rgb-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hex_color' => '#FF5733', 'alpha' => 1 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hex_color": "#FF5733", "alpha": 1, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hex-to-rgb-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hex-to-rgb-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hex_color\":\"#FF5733\",\"alpha\":1}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hex-to-rgb-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`hex_color`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hex-to-rgb-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hex to RGB Converter API do? + Convert a hex color to RGB, HSL, CMYK, and contrast metrics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hex to RGB Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hex to RGB Converter API require? + Required fields: hex_color. Full schema at /v1/openapi.json. Is the Hex to RGB Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hex to RGB Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hex-to-rgb-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hex-to-rgb-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hex-to-rgb-converter")' ``` see-also related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ Cron Job Generator Generate a cron expression from common schedule presets. ](/tools/cron-job-generator/) [ Crontab Expression Generator Build and validate a crontab expression from individual fields. ](/tools/crontab-expression-generator/) [ Base64 Decoder Decode standard or URL-safe Base64 text and return byte and character analysis. ](/tools/base64-decoder/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [dev](/tools/#dev) - / - RGB to Hex Converter API # RGB to Hex Converter API dev 1 credit / call v2026-04-22 Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. One POST adds RGB to Hex Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the RGB to Hex Converter on miniwebtool.com →](https://miniwebtool.com/rgb-to-hex-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/rgb-to-hex-converter/run ``` ### Request body Field Type Req. `red` `int` ✓ `green` `int` ✓ `blue` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "rgb-to-hex-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) red (int) * green (int) * blue (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`rgb-to-hex-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/rgb-to-hex-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"red":255,"green":128,"blue":0}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/rgb-to-hex-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'red': 255, 'green': 128, 'blue': 0}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/rgb-to-hex-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"red":255,"green":128,"blue":0}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'red' => 255, 'green' => 128, 'blue' => 0 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/rgb-to-hex-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'red' => 255, 'green' => 128, 'blue' => 0 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "red": 255, "green": 128, "blue": 0, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/rgb-to-hex-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/rgb-to-hex-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"red\":255,\"green\":128,\"blue\":0}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call rgb-to-hex-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`red`,`green`,`blue`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/rgb-to-hex-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the RGB to Hex Converter API do? + Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to RGB to Hex Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the RGB to Hex Converter API require? + Required fields: red, green, blue. Full schema at /v1/openapi.json. Is the RGB to Hex Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the RGB to Hex Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `rgb-to-hex-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`rgb-to-hex-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="rgb-to-hex-converter")' ``` see-also related dev tools [ Cron Job Generator Generate a cron expression from common schedule presets. ](/tools/cron-job-generator/) [ Crontab Expression Generator Build and validate a crontab expression from individual fields. ](/tools/crontab-expression-generator/) [ Base64 Decoder Decode standard or URL-safe Base64 text and return byte and character analysis. ](/tools/base64-decoder/) [ CMYK to Hex Converter Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. ](/tools/cmyk-to-hex-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [dev](/tools/#dev) - / - Base64 Decoder API # Base64 Decoder API dev 1 credit / call v2026-04-22 Decode standard or URL-safe Base64 text and return byte and character analysis. One POST adds Base64 Decoder to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Base64 Decoder on miniwebtool.com →](https://miniwebtool.com/base64-decoder/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/base64-decoder/run ``` ### Request body Field Type Req. `text` `str` ✓ `encoding` utf-8 | ascii | latin-1 | utf-16 `str` — `url_safe` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`262144`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "base64-decoder", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * SGVsbG8gV29ybGQh encoding (str) utf-8 ascii latin-1 utf-16 utf-8 | ascii | latin-1 | utf-16 url_safe (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`base64-decoder`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/base64-decoder/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"SGVsbG8gV29ybGQh"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/base64-decoder/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'SGVsbG8gV29ybGQh'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/base64-decoder/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"SGVsbG8gV29ybGQh"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'SGVsbG8gV29ybGQh' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/base64-decoder/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'SGVsbG8gV29ybGQh' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "SGVsbG8gV29ybGQh", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/base64-decoder/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/base64-decoder/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"SGVsbG8gV29ybGQh\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call base64-decoder - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/base64-decoder/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Base64 Decoder API do? + Decode standard or URL-safe Base64 text and return byte and character analysis. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Base64 Decoder cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Base64 Decoder API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Base64 Decoder API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Base64 Decoder API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `base64-decoder` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`base64-decoder`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="base64-decoder")' ``` see-also related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ Cron Job Generator Generate a cron expression from common schedule presets. ](/tools/cron-job-generator/) [ Crontab Expression Generator Build and validate a crontab expression from individual fields. ](/tools/crontab-expression-generator/) [ CMYK to Hex Converter Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. ](/tools/cmyk-to-hex-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [dev](/tools/#dev) - / - Cron Job Generator API # Cron Job Generator API dev 1 credit / call v2026-04-22 Generate a cron expression from common schedule presets. One POST adds Cron Job Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cron Job Generator on miniwebtool.com →](https://miniwebtool.com/cron-job-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cron-job-generator/run ``` ### Request body Field Type Req. `schedule_type` every_minute | hourly | daily | weekly | monthly | yearly `str` — `minute` `int` — `hour` `int` — `day_of_month` `int` — `month` `int` — `day_of_week` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cron-job-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) schedule_type (str) every_minute hourly daily weekly monthly yearly every_minute | hourly | daily | weekly | monthly | yearly minute (int) hour (int) day_of_month (int) month (int) day_of_week (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cron-job-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cron-job-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cron-job-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cron-job-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cron-job-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cron-job-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cron-job-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cron-job-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cron-job-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cron Job Generator API do? + Generate a cron expression from common schedule presets. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cron Job Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cron Job Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cron Job Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cron Job Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cron-job-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cron-job-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cron-job-generator")' ``` see-also related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ Crontab Expression Generator Build and validate a crontab expression from individual fields. ](/tools/crontab-expression-generator/) [ Base64 Decoder Decode standard or URL-safe Base64 text and return byte and character analysis. ](/tools/base64-decoder/) [ CMYK to Hex Converter Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. ](/tools/cmyk-to-hex-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [dev](/tools/#dev) - / - Crontab Expression Generator API # Crontab Expression Generator API dev 1 credit / call v2026-04-22 Build and validate a crontab expression from individual fields. One POST adds Crontab Expression Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Crontab Expression Generator on miniwebtool.com →](https://miniwebtool.com/crontab-expression-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/crontab-expression-generator/run ``` ### Request body Field Type Req. `minute` `str` — `hour` `str` — `day_of_month` `str` — `month` `str` — `day_of_week` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "crontab-expression-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) minute (str) hour (str) day_of_month (str) month (str) day_of_week (str) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`crontab-expression-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/crontab-expression-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/crontab-expression-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/crontab-expression-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/crontab-expression-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/crontab-expression-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/crontab-expression-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call crontab-expression-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/crontab-expression-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Crontab Expression Generator API do? + Build and validate a crontab expression from individual fields. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Crontab Expression Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Crontab Expression Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Crontab Expression Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Crontab Expression Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `crontab-expression-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`crontab-expression-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="crontab-expression-generator")' ``` see-also related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ Cron Job Generator Generate a cron expression from common schedule presets. ](/tools/cron-job-generator/) [ Base64 Decoder Decode standard or URL-safe Base64 text and return byte and character analysis. ](/tools/base64-decoder/) [ CMYK to Hex Converter Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. ](/tools/cmyk-to-hex-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [developer](/tools/#developer) - / - XML to JSON Converter API # XML to JSON Converter API developer 1 credit / call v2026-04-22 Convert XML into JSON using standard, compact, JsonML, or preserve styles. One POST adds XML to JSON Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the XML to JSON Converter on miniwebtool.com →](https://miniwebtool.com/xml-to-json-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/xml-to-json-converter/run ``` ### Request body Field Type Req. `xml_input` `str` ✓ `style` standard | compact | jsonml | preserve `str` — `indent` 0 | 2 | 4 | tab `str` — `parse_types` `bool` — `sort_keys` `bool` — `preserve_namespaces` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "xml-to-json-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) xml_input (str) * Demo12.99 style (str) standard compact jsonml preserve standard | compact | jsonml | preserve indent (str) 0 2 4 tab 0 | 2 | 4 | tab parse_types (bool) false true sort_keys (bool) false true preserve_namespaces (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`xml-to-json-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/xml-to-json-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"xml_input":"Demo12.99","style":"standard","indent":"2","parse_types":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/xml-to-json-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'xml_input': 'Demo12.99', 'style': 'standard', 'indent': '2', 'parse_types': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/xml-to-json-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"xml_input":"Demo12.99","style":"standard","indent":"2","parse_types":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'xml_input' => 'Demo12.99', 'style' => 'standard', 'indent' => '2', 'parse_types' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/xml-to-json-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'xml_input' => 'Demo12.99', 'style' => 'standard', 'indent' => '2', 'parse_types' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "xml_input": "Demo12.99", "style": "standard", "indent": "2", "parse_types": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/xml-to-json-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/xml-to-json-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"xml_input\":\"Demo12.99\",\"style\":\"standard\",\"indent\":\"2\",\"parse_types\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call xml-to-json-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`xml_input`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/xml-to-json-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the XML to JSON Converter API do? + Convert XML into JSON using standard, compact, JsonML, or preserve styles. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to XML to JSON Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the XML to JSON Converter API require? + Required fields: xml_input. Full schema at /v1/openapi.json. Is the XML to JSON Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the XML to JSON Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `xml-to-json-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`xml-to-json-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="xml-to-json-converter")' ``` see-also related developer tools [ Unix Permission Calculator Convert Unix permission digits into symbolic permissions and chmod notation. ](/tools/unix-permission-calculator/) [ YAML Formatter/Validator Validate, format, minify, or convert YAML to JSON. ](/tools/yaml-formatter-validator/) [ XML Validator Validate XML well-formedness and return document statistics. ](/tools/xml-validator/) [ Text to Binary/Hex/ASCII Converter Encode or decode text, binary, hex, and ASCII byte values. ](/tools/text-to-binary-hex-ascii-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [developer](/tools/#developer) - / - YAML Formatter/Validator API # YAML Formatter/Validator API developer 1 credit / call v2026-04-22 Validate, format, minify, or convert YAML to JSON. One POST adds YAML Formatter/Validator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the YAML Formatter/Validator on miniwebtool.com →](https://miniwebtool.com/yaml-formatter-validator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/yaml-formatter-validator/run ``` ### Request body Field Type Req. `yaml_input` `str` ✓ `action` beautify | minify | validate | to_json `str` — `indent_size` 2 | 4 `str` — `sort_keys` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "yaml-formatter-validator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) yaml_input (str) * name: demo items: - 1 - 2 action (str) beautify minify validate to_json beautify | minify | validate | to_json indent_size (str) 2 4 2 | 4 sort_keys (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`yaml-formatter-validator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/yaml-formatter-validator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"yaml_input":"name: demo\nitems:\n - 1\n - 2","action":"to_json","indent_size":"2","sort_keys":false}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/yaml-formatter-validator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'yaml_input': 'name: demo\nitems:\n - 1\n - 2', 'action': 'to_json', 'indent_size': '2', 'sort_keys': False}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/yaml-formatter-validator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"yaml_input":"name: demo\nitems:\n - 1\n - 2","action":"to_json","indent_size":"2","sort_keys":false}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'yaml_input' => 'name: demo items: - 1 - 2', 'action' => 'to_json', 'indent_size' => '2', 'sort_keys' => false ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/yaml-formatter-validator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'yaml_input' => 'name: demo items: - 1 - 2', 'action' => 'to_json', 'indent_size' => '2', 'sort_keys' => false }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "yaml_input": "name: demo items: - 1 - 2", "action": "to_json", "indent_size": "2", "sort_keys": false, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/yaml-formatter-validator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/yaml-formatter-validator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"yaml_input\":\"name: demo\\nitems:\\n - 1\\n - 2\",\"action\":\"to_json\",\"indent_size\":\"2\",\"sort_keys\":false}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call yaml-formatter-validator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`yaml_input`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/yaml-formatter-validator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the YAML Formatter/Validator API do? + Validate, format, minify, or convert YAML to JSON. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to YAML Formatter/Validator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the YAML Formatter/Validator API require? + Required fields: yaml_input. Full schema at /v1/openapi.json. Is the YAML Formatter/Validator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the YAML Formatter/Validator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `yaml-formatter-validator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`yaml-formatter-validator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="yaml-formatter-validator")' ``` see-also related developer tools [ Unix Permission Calculator Convert Unix permission digits into symbolic permissions and chmod notation. ](/tools/unix-permission-calculator/) [ XML to JSON Converter Convert XML into JSON using standard, compact, JsonML, or preserve styles. ](/tools/xml-to-json-converter/) [ XML Validator Validate XML well-formedness and return document statistics. ](/tools/xml-validator/) [ Text to Binary/Hex/ASCII Converter Encode or decode text, binary, hex, and ASCII byte values. ](/tools/text-to-binary-hex-ascii-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [developer](/tools/#developer) - / - XML Validator API # XML Validator API developer 1 credit / call v2026-04-22 Validate XML well-formedness and return document statistics. One POST adds XML Validator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the XML Validator on miniwebtool.com →](https://miniwebtool.com/xml-validator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/xml-validator/run ``` ### Request body Field Type Req. `xml_content` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "xml-validator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) xml_content (str) * Demo Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`xml-validator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/xml-validator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"xml_content":"Demo"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/xml-validator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'xml_content': 'Demo'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/xml-validator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"xml_content":"Demo"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'xml_content' => 'Demo' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/xml-validator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'xml_content' => 'Demo' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "xml_content": "Demo", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/xml-validator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/xml-validator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"xml_content\":\"Demo\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call xml-validator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`xml_content`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/xml-validator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the XML Validator API do? + Validate XML well-formedness and return document statistics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to XML Validator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the XML Validator API require? + Required fields: xml_content. Full schema at /v1/openapi.json. Is the XML Validator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the XML Validator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `xml-validator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`xml-validator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="xml-validator")' ``` see-also related developer tools [ Unix Permission Calculator Convert Unix permission digits into symbolic permissions and chmod notation. ](/tools/unix-permission-calculator/) [ XML to JSON Converter Convert XML into JSON using standard, compact, JsonML, or preserve styles. ](/tools/xml-to-json-converter/) [ YAML Formatter/Validator Validate, format, minify, or convert YAML to JSON. ](/tools/yaml-formatter-validator/) [ Text to Binary/Hex/ASCII Converter Encode or decode text, binary, hex, and ASCII byte values. ](/tools/text-to-binary-hex-ascii-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [developer](/tools/#developer) - / - Text to Binary/Hex/ASCII Converter API # Text to Binary/Hex/ASCII Converter API developer 1 credit / call v2026-04-22 Encode or decode text, binary, hex, and ASCII byte values. One POST adds Text to Binary/Hex/ASCII Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Text to Binary/Hex/ASCII Converter on miniwebtool.com →](https://miniwebtool.com/text-to-binary-hex-ascii-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/text-to-binary-hex-ascii-converter/run ``` ### Request body Field Type Req. `value` `str` ✓ `mode` encode | decode `str` — `input_format` text | binary | hex | ascii `str` — `separator` space | comma | none `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "text-to-binary-hex-ascii-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (str) * Hi mode (str) encode decode encode | decode input_format (str) text binary hex ascii text | binary | hex | ascii separator (str) space comma none space | comma | none Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`text-to-binary-hex-ascii-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/text-to-binary-hex-ascii-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":"Hi","mode":"encode","input_format":"text","separator":"space"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/text-to-binary-hex-ascii-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 'Hi', 'mode': 'encode', 'input_format': 'text', 'separator': 'space'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/text-to-binary-hex-ascii-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":"Hi","mode":"encode","input_format":"text","separator":"space"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 'Hi', 'mode' => 'encode', 'input_format' => 'text', 'separator' => 'space' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/text-to-binary-hex-ascii-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 'Hi', 'mode' => 'encode', 'input_format' => 'text', 'separator' => 'space' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": "Hi", "mode": "encode", "input_format": "text", "separator": "space", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/text-to-binary-hex-ascii-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/text-to-binary-hex-ascii-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":\"Hi\",\"mode\":\"encode\",\"input_format\":\"text\",\"separator\":\"space\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call text-to-binary-hex-ascii-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/text-to-binary-hex-ascii-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Text to Binary/Hex/ASCII Converter API do? + Encode or decode text, binary, hex, and ASCII byte values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Text to Binary/Hex/ASCII Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Text to Binary/Hex/ASCII Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Text to Binary/Hex/ASCII Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Text to Binary/Hex/ASCII Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `text-to-binary-hex-ascii-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`text-to-binary-hex-ascii-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="text-to-binary-hex-ascii-converter")' ``` see-also related developer tools [ Unix Permission Calculator Convert Unix permission digits into symbolic permissions and chmod notation. ](/tools/unix-permission-calculator/) [ XML to JSON Converter Convert XML into JSON using standard, compact, JsonML, or preserve styles. ](/tools/xml-to-json-converter/) [ YAML Formatter/Validator Validate, format, minify, or convert YAML to JSON. ](/tools/yaml-formatter-validator/) [ XML Validator Validate XML well-formedness and return document statistics. ](/tools/xml-validator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [developer](/tools/#developer) - / - Unix Permission Calculator API # Unix Permission Calculator API developer 1 credit / call v2026-04-22 Convert Unix permission digits into symbolic permissions and chmod notation. One POST adds Unix Permission Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Unix Permission Calculator on miniwebtool.com →](https://miniwebtool.com/unix-permission-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/unix-permission-calculator/run ``` ### Request body Field Type Req. `owner` `int` — `group` `int` — `others` `int` — `permission_format` octal | symbolic `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "unix-permission-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) owner (int) group (int) others (int) permission_format (str) octal symbolic octal | symbolic Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`unix-permission-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/unix-permission-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"owner":7,"group":5,"others":4,"permission_format":"octal"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/unix-permission-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'owner': 7, 'group': 5, 'others': 4, 'permission_format': 'octal'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/unix-permission-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"owner":7,"group":5,"others":4,"permission_format":"octal"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'owner' => 7, 'group' => 5, 'others' => 4, 'permission_format' => 'octal' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/unix-permission-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'owner' => 7, 'group' => 5, 'others' => 4, 'permission_format' => 'octal' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "owner": 7, "group": 5, "others": 4, "permission_format": "octal", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/unix-permission-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/unix-permission-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"owner\":7,\"group\":5,\"others\":4,\"permission_format\":\"octal\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call unix-permission-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/unix-permission-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Unix Permission Calculator API do? + Convert Unix permission digits into symbolic permissions and chmod notation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Unix Permission Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Unix Permission Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Unix Permission Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Unix Permission Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `unix-permission-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`unix-permission-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="unix-permission-calculator")' ``` see-also related developer tools [ XML to JSON Converter Convert XML into JSON using standard, compact, JsonML, or preserve styles. ](/tools/xml-to-json-converter/) [ YAML Formatter/Validator Validate, format, minify, or convert YAML to JSON. ](/tools/yaml-formatter-validator/) [ XML Validator Validate XML well-formedness and return document statistics. ](/tools/xml-validator/) [ Text to Binary/Hex/ASCII Converter Encode or decode text, binary, hex, and ASCII byte values. ](/tools/text-to-binary-hex-ascii-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [developer](/tools/#developer) - / - Text to SQL List Converter API # Text to SQL List Converter API developer 1 credit / call v2026-04-22 Convert lines of text into quoted SQL IN-list or tuple syntax. One POST adds Text to SQL List Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Text to SQL List Converter on miniwebtool.com →](https://miniwebtool.com/text-to-sql-list-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/text-to-sql-list-converter/run ``` ### Request body Field Type Req. `text` `str` ✓ `quote_type` single | double `str` — `output_format` in_clause | tuple | csv `str` — `trim_items` `bool` — `remove_empty` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "text-to-sql-list-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * alpha beta gamma quote_type (str) single double single | double output_format (str) in_clause tuple csv in_clause | tuple | csv trim_items (bool) false true remove_empty (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`text-to-sql-list-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/text-to-sql-list-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"alpha\nbeta\ngamma","quote_type":"single","output_format":"in_clause","trim_items":true,"remove_empty":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/text-to-sql-list-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'alpha\nbeta\ngamma', 'quote_type': 'single', 'output_format': 'in_clause', 'trim_items': True, 'remove_empty': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/text-to-sql-list-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"alpha\nbeta\ngamma","quote_type":"single","output_format":"in_clause","trim_items":true,"remove_empty":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'alpha beta gamma', 'quote_type' => 'single', 'output_format' => 'in_clause', 'trim_items' => true, 'remove_empty' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/text-to-sql-list-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'alpha beta gamma', 'quote_type' => 'single', 'output_format' => 'in_clause', 'trim_items' => true, 'remove_empty' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "alpha beta gamma", "quote_type": "single", "output_format": "in_clause", "trim_items": true, "remove_empty": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/text-to-sql-list-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/text-to-sql-list-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"alpha\\nbeta\\ngamma\",\"quote_type\":\"single\",\"output_format\":\"in_clause\",\"trim_items\":true,\"remove_empty\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call text-to-sql-list-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/text-to-sql-list-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Text to SQL List Converter API do? + Convert lines of text into quoted SQL IN-list or tuple syntax. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Text to SQL List Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Text to SQL List Converter API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Text to SQL List Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Text to SQL List Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `text-to-sql-list-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`text-to-sql-list-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="text-to-sql-list-converter")' ``` see-also related developer tools [ Unix Permission Calculator Convert Unix permission digits into symbolic permissions and chmod notation. ](/tools/unix-permission-calculator/) [ XML to JSON Converter Convert XML into JSON using standard, compact, JsonML, or preserve styles. ](/tools/xml-to-json-converter/) [ YAML Formatter/Validator Validate, format, minify, or convert YAML to JSON. ](/tools/yaml-formatter-validator/) [ XML Validator Validate XML well-formedness and return document statistics. ](/tools/xml-validator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [electronics](/tools/#electronics) - / - Transformer Calculator API # Transformer Calculator API electronics 1 credit / call v2026-04-22 Calculate transformer turns ratio, secondary voltage, current, power, and impedance ratio. One POST adds Transformer Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Transformer Calculator on miniwebtool.com →](https://miniwebtool.com/transformer-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/transformer-calculator/run ``` ### Request body Field Type Req. `primary_voltage` `float` — `v1_unit` v | mv | kv `str` — `primary_turns` `float` — `secondary_turns` `float` — `primary_current` `float | None` — `i1_unit` a | ma `str` — `power_rating` `float | None` — `p_unit` w | mw | kw `str` — `efficiency` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "transformer-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) primary_voltage (float) v1_unit (str) v mv kv v | mv | kv primary_turns (float) secondary_turns (float) primary_current (float | None) i1_unit (str) a ma a | ma power_rating (float | None) p_unit (str) w mw kw w | mw | kw efficiency (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`transformer-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/transformer-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"primary_voltage":120,"v1_unit":"v","primary_turns":1000,"secondary_turns":100,"primary_current":1,"i1_unit":"a","p_unit":"w","efficiency":100,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/transformer-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'primary_voltage': 120, 'v1_unit': 'v', 'primary_turns': 1000, 'secondary_turns': 100, 'primary_current': 1, 'i1_unit': 'a', 'p_unit': 'w', 'efficiency': 100, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/transformer-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"primary_voltage":120,"v1_unit":"v","primary_turns":1000,"secondary_turns":100,"primary_current":1,"i1_unit":"a","p_unit":"w","efficiency":100,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'primary_voltage' => 120, 'v1_unit' => 'v', 'primary_turns' => 1000, 'secondary_turns' => 100, 'primary_current' => 1, 'i1_unit' => 'a', 'p_unit' => 'w', 'efficiency' => 100, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/transformer-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'primary_voltage' => 120, 'v1_unit' => 'v', 'primary_turns' => 1000, 'secondary_turns' => 100, 'primary_current' => 1, 'i1_unit' => 'a', 'p_unit' => 'w', 'efficiency' => 100, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "primary_voltage": 120, "v1_unit": "v", "primary_turns": 1000, "secondary_turns": 100, "primary_current": 1, "i1_unit": "a", "p_unit": "w", "efficiency": 100, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/transformer-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/transformer-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"primary_voltage\":120,\"v1_unit\":\"v\",\"primary_turns\":1000,\"secondary_turns\":100,\"primary_current\":1,\"i1_unit\":\"a\",\"p_unit\":\"w\",\"efficiency\":100,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call transformer-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/transformer-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Transformer Calculator API do? + Calculate transformer turns ratio, secondary voltage, current, power, and impedance ratio. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Transformer Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Transformer Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Transformer Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Transformer Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `transformer-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`transformer-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="transformer-calculator")' ``` see-also related electronics tools [ Voltage Divider Calculator Calculate voltage divider output or solve for R1 or R2. ](/tools/voltage-divider-calculator/) [ Voltage Drop Calculator Calculate electrical voltage drop for AWG copper or aluminum wire runs. ](/tools/voltage-drop-calculator/) [ Battery Life Calculator Estimate battery runtime from capacity, consumption, and efficiency. ](/tools/battery-life-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [electronics](/tools/#electronics) - / - Voltage Divider Calculator API # Voltage Divider Calculator API electronics 1 credit / call v2026-04-22 Calculate voltage divider output or solve for R1 or R2. One POST adds Voltage Divider Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Voltage Divider Calculator on miniwebtool.com →](https://miniwebtool.com/voltage-divider-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/voltage-divider-calculator/run ``` ### Request body Field Type Req. `mode` vout | r1 | r2 `str` — `vin` `float` — `r1` `float | None` — `r1_unit` ohm | kohm | mohm `str` — `r2` `float | None` — `r2_unit` ohm | kohm | mohm `str` — `vout_target` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "voltage-divider-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) vout r1 r2 vout | r1 | r2 vin (float) r1 (float | None) r1_unit (str) ohm kohm mohm ohm | kohm | mohm r2 (float | None) r2_unit (str) ohm kohm mohm ohm | kohm | mohm vout_target (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`voltage-divider-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/voltage-divider-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"vout","vin":12,"r1":10,"r1_unit":"kohm","r2":10,"r2_unit":"kohm","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/voltage-divider-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'vout', 'vin': 12, 'r1': 10, 'r1_unit': 'kohm', 'r2': 10, 'r2_unit': 'kohm', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/voltage-divider-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"vout","vin":12,"r1":10,"r1_unit":"kohm","r2":10,"r2_unit":"kohm","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'vout', 'vin' => 12, 'r1' => 10, 'r1_unit' => 'kohm', 'r2' => 10, 'r2_unit' => 'kohm', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/voltage-divider-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'vout', 'vin' => 12, 'r1' => 10, 'r1_unit' => 'kohm', 'r2' => 10, 'r2_unit' => 'kohm', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "vout", "vin": 12, "r1": 10, "r1_unit": "kohm", "r2": 10, "r2_unit": "kohm", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/voltage-divider-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/voltage-divider-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"vout\",\"vin\":12,\"r1\":10,\"r1_unit\":\"kohm\",\"r2\":10,\"r2_unit\":\"kohm\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call voltage-divider-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/voltage-divider-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Voltage Divider Calculator API do? + Calculate voltage divider output or solve for R1 or R2. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Voltage Divider Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Voltage Divider Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Voltage Divider Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Voltage Divider Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `voltage-divider-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`voltage-divider-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="voltage-divider-calculator")' ``` see-also related electronics tools [ Voltage Drop Calculator Calculate electrical voltage drop for AWG copper or aluminum wire runs. ](/tools/voltage-drop-calculator/) [ Transformer Calculator Calculate transformer turns ratio, secondary voltage, current, power, and imped… ](/tools/transformer-calculator/) [ Battery Life Calculator Estimate battery runtime from capacity, consumption, and efficiency. ](/tools/battery-life-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [electronics](/tools/#electronics) - / - Battery Life Calculator API # Battery Life Calculator API electronics 1 credit / call v2026-04-22 Estimate battery runtime from capacity, consumption, and efficiency. One POST adds Battery Life Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Battery Life Calculator on miniwebtool.com →](https://miniwebtool.com/battery-life-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/battery-life-calculator/run ``` ### Request body Field Type Req. `capacity_mah` `float` ✓ `consumption_ma` `float` ✓ `efficiency_percent` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "battery-life-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) capacity_mah (float) * consumption_ma (float) * efficiency_percent (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`battery-life-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/battery-life-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"capacity_mah":3000,"consumption_ma":150,"efficiency_percent":85}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/battery-life-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'capacity_mah': 3000, 'consumption_ma': 150, 'efficiency_percent': 85}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/battery-life-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"capacity_mah":3000,"consumption_ma":150,"efficiency_percent":85}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'capacity_mah' => 3000, 'consumption_ma' => 150, 'efficiency_percent' => 85 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/battery-life-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'capacity_mah' => 3000, 'consumption_ma' => 150, 'efficiency_percent' => 85 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "capacity_mah": 3000, "consumption_ma": 150, "efficiency_percent": 85, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/battery-life-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/battery-life-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"capacity_mah\":3000,\"consumption_ma\":150,\"efficiency_percent\":85}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call battery-life-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`capacity_mah`,`consumption_ma`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/battery-life-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Battery Life Calculator API do? + Estimate battery runtime from capacity, consumption, and efficiency. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Battery Life Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Battery Life Calculator API require? + Required fields: capacity_mah, consumption_ma. Full schema at /v1/openapi.json. Is the Battery Life Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Battery Life Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `battery-life-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`battery-life-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="battery-life-calculator")' ``` see-also related electronics tools [ Voltage Divider Calculator Calculate voltage divider output or solve for R1 or R2. ](/tools/voltage-divider-calculator/) [ Voltage Drop Calculator Calculate electrical voltage drop for AWG copper or aluminum wire runs. ](/tools/voltage-drop-calculator/) [ Transformer Calculator Calculate transformer turns ratio, secondary voltage, current, power, and imped… ](/tools/transformer-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [electronics](/tools/#electronics) - / - Voltage Drop Calculator API # Voltage Drop Calculator API electronics 1 credit / call v2026-04-22 Calculate electrical voltage drop for AWG copper or aluminum wire runs. One POST adds Voltage Drop Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Voltage Drop Calculator on miniwebtool.com →](https://miniwebtool.com/voltage-drop-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/voltage-drop-calculator/run ``` ### Request body Field Type Req. `wire_type` copper | aluminum `str` — `wire_size` 0000 | 000 | 00 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 `str` — `voltage` `float` — `phase` single | three `str` — `current` `float` — `wire_length` `float` — `length_unit` feet | meters `str` — `power_factor` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "voltage-drop-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) wire_type (str) copper aluminum copper | aluminum wire_size (str) 0000 000 00 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 0000 | 000 | 00 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 voltage (float) phase (str) single three single | three current (float) wire_length (float) length_unit (str) feet meters feet | meters power_factor (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`voltage-drop-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/voltage-drop-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"wire_type":"copper","wire_size":"12","voltage":120,"phase":"single","current":15,"wire_length":100,"length_unit":"feet","power_factor":1,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/voltage-drop-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'wire_type': 'copper', 'wire_size': '12', 'voltage': 120, 'phase': 'single', 'current': 15, 'wire_length': 100, 'length_unit': 'feet', 'power_factor': 1, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/voltage-drop-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"wire_type":"copper","wire_size":"12","voltage":120,"phase":"single","current":15,"wire_length":100,"length_unit":"feet","power_factor":1,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'wire_type' => 'copper', 'wire_size' => '12', 'voltage' => 120, 'phase' => 'single', 'current' => 15, 'wire_length' => 100, 'length_unit' => 'feet', 'power_factor' => 1, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/voltage-drop-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'wire_type' => 'copper', 'wire_size' => '12', 'voltage' => 120, 'phase' => 'single', 'current' => 15, 'wire_length' => 100, 'length_unit' => 'feet', 'power_factor' => 1, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "wire_type": "copper", "wire_size": "12", "voltage": 120, "phase": "single", "current": 15, "wire_length": 100, "length_unit": "feet", "power_factor": 1, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/voltage-drop-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/voltage-drop-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"wire_type\":\"copper\",\"wire_size\":\"12\",\"voltage\":120,\"phase\":\"single\",\"current\":15,\"wire_length\":100,\"length_unit\":\"feet\",\"power_factor\":1,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call voltage-drop-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/voltage-drop-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Voltage Drop Calculator API do? + Calculate electrical voltage drop for AWG copper or aluminum wire runs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Voltage Drop Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Voltage Drop Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Voltage Drop Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Voltage Drop Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `voltage-drop-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`voltage-drop-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="voltage-drop-calculator")' ``` see-also related electronics tools [ Voltage Divider Calculator Calculate voltage divider output or solve for R1 or R2. ](/tools/voltage-divider-calculator/) [ Transformer Calculator Calculate transformer turns ratio, secondary voltage, current, power, and imped… ](/tools/transformer-calculator/) [ Battery Life Calculator Estimate battery runtime from capacity, consumption, and efficiency. ](/tools/battery-life-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [engineering](/tools/#engineering) - / - Wire Gauge Calculator API # Wire Gauge Calculator API engineering 1 credit / call v2026-04-22 Calculate AWG diameter, area, resistance, ampacity, and optional voltage drop. One POST adds Wire Gauge Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Wire Gauge Calculator on miniwebtool.com →](https://miniwebtool.com/wire-gauge-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/wire-gauge-calculator/run ``` ### Request body Field Type Req. `awg_gauge` `int` — `conductor_material` copper | aluminum `str` — `temp_rating` 60 | 75 | 90 `str` — `voltage` `float | None` — `current` `float | None` — `wire_length_ft` `float | None` — `phase` single | three `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "wire-gauge-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) awg_gauge (int) conductor_material (str) copper aluminum copper | aluminum temp_rating (str) 60 75 90 60 | 75 | 90 voltage (float | None) current (float | None) wire_length_ft (float | None) phase (str) single three single | three Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`wire-gauge-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/wire-gauge-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"awg_gauge":12,"conductor_material":"copper","temp_rating":"75","voltage":120,"current":20,"wire_length_ft":100,"phase":"single"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/wire-gauge-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'awg_gauge': 12, 'conductor_material': 'copper', 'temp_rating': '75', 'voltage': 120, 'current': 20, 'wire_length_ft': 100, 'phase': 'single'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/wire-gauge-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"awg_gauge":12,"conductor_material":"copper","temp_rating":"75","voltage":120,"current":20,"wire_length_ft":100,"phase":"single"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'awg_gauge' => 12, 'conductor_material' => 'copper', 'temp_rating' => '75', 'voltage' => 120, 'current' => 20, 'wire_length_ft' => 100, 'phase' => 'single' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/wire-gauge-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'awg_gauge' => 12, 'conductor_material' => 'copper', 'temp_rating' => '75', 'voltage' => 120, 'current' => 20, 'wire_length_ft' => 100, 'phase' => 'single' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "awg_gauge": 12, "conductor_material": "copper", "temp_rating": "75", "voltage": 120, "current": 20, "wire_length_ft": 100, "phase": "single", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/wire-gauge-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/wire-gauge-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"awg_gauge\":12,\"conductor_material\":\"copper\",\"temp_rating\":\"75\",\"voltage\":120,\"current\":20,\"wire_length_ft\":100,\"phase\":\"single\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call wire-gauge-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/wire-gauge-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Wire Gauge Calculator API do? + Calculate AWG diameter, area, resistance, ampacity, and optional voltage drop. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Wire Gauge Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Wire Gauge Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Wire Gauge Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Wire Gauge Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `wire-gauge-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`wire-gauge-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="wire-gauge-calculator")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [environment](/tools/#environment) - / - Water Usage Calculator API # Water Usage Calculator API environment 1 credit / call v2026-04-22 Estimate household daily, monthly, and annual water use by activity. One POST adds Water Usage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Water Usage Calculator on miniwebtool.com →](https://miniwebtool.com/water-usage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/water-usage-calculator/run ``` ### Request body Field Type Req. `household_size` `int` — `unit_system` gallons | liters `str` — `shower_flow` `float` — `shower_minutes` `float` — `showers_per_person` `float` — `toilet_volume` `float` — `flushes_per_person` `float` — `washer_volume` `float` — `laundry_loads_week` `float` — `dishwasher_volume` `float` — `dishwasher_loads_week` `float` — `faucet_flow` `float` — `faucet_minutes` `float` — `outdoor_daily` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "water-usage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) household_size (int) unit_system (str) gallons liters gallons | liters shower_flow (float) shower_minutes (float) showers_per_person (float) toilet_volume (float) flushes_per_person (float) washer_volume (float) laundry_loads_week (float) dishwasher_volume (float) dishwasher_loads_week (float) faucet_flow (float) faucet_minutes (float) outdoor_daily (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`water-usage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/water-usage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"household_size":4,"unit_system":"gallons","shower_flow":2.5,"shower_minutes":8,"showers_per_person":1,"toilet_volume":1.6,"flushes_per_person":5,"washer_volume":25,"laundry_loads_week":7,"dishwasher_volume":5,"dishwasher_loads_week":5,"faucet_flow":1.5,"faucet_minutes":8,"outdoor_daily":25}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/water-usage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'household_size': 4, 'unit_system': 'gallons', 'shower_flow': 2.5, 'shower_minutes': 8, 'showers_per_person': 1, 'toilet_volume': 1.6, 'flushes_per_person': 5, 'washer_volume': 25, 'laundry_loads_week': 7, 'dishwasher_volume': 5, 'dishwasher_loads_week': 5, 'faucet_flow': 1.5, 'faucet_minutes': 8, 'outdoor_daily': 25}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/water-usage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"household_size":4,"unit_system":"gallons","shower_flow":2.5,"shower_minutes":8,"showers_per_person":1,"toilet_volume":1.6,"flushes_per_person":5,"washer_volume":25,"laundry_loads_week":7,"dishwasher_volume":5,"dishwasher_loads_week":5,"faucet_flow":1.5,"faucet_minutes":8,"outdoor_daily":25}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'household_size' => 4, 'unit_system' => 'gallons', 'shower_flow' => 2.5, 'shower_minutes' => 8, 'showers_per_person' => 1, 'toilet_volume' => 1.6, 'flushes_per_person' => 5, 'washer_volume' => 25, 'laundry_loads_week' => 7, 'dishwasher_volume' => 5, 'dishwasher_loads_week' => 5, 'faucet_flow' => 1.5, 'faucet_minutes' => 8, 'outdoor_daily' => 25 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/water-usage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'household_size' => 4, 'unit_system' => 'gallons', 'shower_flow' => 2.5, 'shower_minutes' => 8, 'showers_per_person' => 1, 'toilet_volume' => 1.6, 'flushes_per_person' => 5, 'washer_volume' => 25, 'laundry_loads_week' => 7, 'dishwasher_volume' => 5, 'dishwasher_loads_week' => 5, 'faucet_flow' => 1.5, 'faucet_minutes' => 8, 'outdoor_daily' => 25 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "household_size": 4, "unit_system": "gallons", "shower_flow": 2.5, "shower_minutes": 8, "showers_per_person": 1, "toilet_volume": 1.6, "flushes_per_person": 5, "washer_volume": 25, "laundry_loads_week": 7, "dishwasher_volume": 5, "dishwasher_loads_week": 5, "faucet_flow": 1.5, "faucet_minutes": 8, "outdoor_daily": 25, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/water-usage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/water-usage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"household_size\":4,\"unit_system\":\"gallons\",\"shower_flow\":2.5,\"shower_minutes\":8,\"showers_per_person\":1,\"toilet_volume\":1.6,\"flushes_per_person\":5,\"washer_volume\":25,\"laundry_loads_week\":7,\"dishwasher_volume\":5,\"dishwasher_loads_week\":5,\"faucet_flow\":1.5,\"faucet_minutes\":8,\"outdoor_daily\":25}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call water-usage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/water-usage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Water Usage Calculator API do? + Estimate household daily, monthly, and annual water use by activity. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Water Usage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Water Usage Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Water Usage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Water Usage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `water-usage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`water-usage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="water-usage-calculator")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [event](/tools/#event) - / - Wedding Alcohol Calculator API # Wedding Alcohol Calculator API event 1 credit / call v2026-04-22 Estimate wine, beer, spirits, and champagne quantities for an event. One POST adds Wedding Alcohol Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Wedding Alcohol Calculator on miniwebtool.com →](https://miniwebtool.com/wedding-alcohol-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/wedding-alcohol-calculator/run ``` ### Request body Field Type Req. `guests` `int` — `duration_hours` `int` — `drinking_level` light | moderate | heavy `str` — `non_drinkers_pct` `float` — `wine_pct` `float` — `beer_pct` `float` — `spirits_pct` `float` — `champagne_toast` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "wedding-alcohol-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) guests (int) duration_hours (int) drinking_level (str) light moderate heavy light | moderate | heavy non_drinkers_pct (float) wine_pct (float) beer_pct (float) spirits_pct (float) champagne_toast (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`wedding-alcohol-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/wedding-alcohol-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"guests":120,"duration_hours":5,"drinking_level":"moderate","non_drinkers_pct":15,"wine_pct":50,"beer_pct":30,"spirits_pct":20,"champagne_toast":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/wedding-alcohol-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'guests': 120, 'duration_hours': 5, 'drinking_level': 'moderate', 'non_drinkers_pct': 15, 'wine_pct': 50, 'beer_pct': 30, 'spirits_pct': 20, 'champagne_toast': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/wedding-alcohol-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"guests":120,"duration_hours":5,"drinking_level":"moderate","non_drinkers_pct":15,"wine_pct":50,"beer_pct":30,"spirits_pct":20,"champagne_toast":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'guests' => 120, 'duration_hours' => 5, 'drinking_level' => 'moderate', 'non_drinkers_pct' => 15, 'wine_pct' => 50, 'beer_pct' => 30, 'spirits_pct' => 20, 'champagne_toast' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/wedding-alcohol-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'guests' => 120, 'duration_hours' => 5, 'drinking_level' => 'moderate', 'non_drinkers_pct' => 15, 'wine_pct' => 50, 'beer_pct' => 30, 'spirits_pct' => 20, 'champagne_toast' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "guests": 120, "duration_hours": 5, "drinking_level": "moderate", "non_drinkers_pct": 15, "wine_pct": 50, "beer_pct": 30, "spirits_pct": 20, "champagne_toast": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/wedding-alcohol-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/wedding-alcohol-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"guests\":120,\"duration_hours\":5,\"drinking_level\":\"moderate\",\"non_drinkers_pct\":15,\"wine_pct\":50,\"beer_pct\":30,\"spirits_pct\":20,\"champagne_toast\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call wedding-alcohol-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/wedding-alcohol-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Wedding Alcohol Calculator API do? + Estimate wine, beer, spirits, and champagne quantities for an event. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Wedding Alcohol Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Wedding Alcohol Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Wedding Alcohol Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Wedding Alcohol Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `wedding-alcohol-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`wedding-alcohol-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="wedding-alcohol-calculator")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Car Depreciation Calculator API # Car Depreciation Calculator API finance 2 credits / call v2026-04-22 Estimate vehicle depreciation using a declining-balance annual rate. One POST adds Car Depreciation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Car Depreciation Calculator on miniwebtool.com →](https://miniwebtool.com/car-depreciation-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/car-depreciation-calculator/run ``` ### Request body Field Type Req. `purchase_price` `float` ✓ `annual_rate` `float` ✓ `years` `int` ✓ ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "car-depreciation-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) purchase_price (float) * annual_rate (float) * years (int) * Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`car-depreciation-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/car-depreciation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"purchase_price":30000,"annual_rate":15,"years":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/car-depreciation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'purchase_price': 30000, 'annual_rate': 15, 'years': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/car-depreciation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"purchase_price":30000,"annual_rate":15,"years":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'purchase_price' => 30000, 'annual_rate' => 15, 'years' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/car-depreciation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'purchase_price' => 30000, 'annual_rate' => 15, 'years' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "purchase_price": 30000, "annual_rate": 15, "years": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/car-depreciation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/car-depreciation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"purchase_price\":30000,\"annual_rate\":15,\"years\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call car-depreciation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`purchase_price`,`annual_rate`,`years`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/car-depreciation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Car Depreciation Calculator API do? + Estimate vehicle depreciation using a declining-balance annual rate. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Car Depreciation Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Car Depreciation Calculator API require? + Required fields: purchase_price, annual_rate, years. Full schema at /v1/openapi.json. Is the Car Depreciation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Car Depreciation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `car-depreciation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`car-depreciation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="car-depreciation-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Car Lease Calculator API # Car Lease Calculator API finance 2 credits / call v2026-04-22 Estimate monthly auto lease payment from cap cost, residual value, money factor, tax, and fees. One POST adds Car Lease Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Car Lease Calculator on miniwebtool.com →](https://miniwebtool.com/car-lease-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/car-lease-calculator/run ``` ### Request body Field Type Req. `vehicle_price` `float` ✓ `residual_value` `float` ✓ `residual_mode` percent | amount `str` — `money_factor` `float` — `lease_term` `int` — `down_payment` `float` — `tax_rate` `float` — `fees` `float` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "car-lease-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) vehicle_price (float) * residual_value (float) * residual_mode (str) percent amount percent | amount money_factor (float) lease_term (int) down_payment (float) tax_rate (float) fees (float) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`car-lease-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/car-lease-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"vehicle_price":42000,"residual_value":58,"residual_mode":"percent","money_factor":0.00185,"lease_term":36,"down_payment":3000,"tax_rate":7.5,"fees":895}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/car-lease-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'vehicle_price': 42000, 'residual_value': 58, 'residual_mode': 'percent', 'money_factor': 0.00185, 'lease_term': 36, 'down_payment': 3000, 'tax_rate': 7.5, 'fees': 895}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/car-lease-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"vehicle_price":42000,"residual_value":58,"residual_mode":"percent","money_factor":0.00185,"lease_term":36,"down_payment":3000,"tax_rate":7.5,"fees":895}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'vehicle_price' => 42000, 'residual_value' => 58, 'residual_mode' => 'percent', 'money_factor' => 0.00185, 'lease_term' => 36, 'down_payment' => 3000, 'tax_rate' => 7.5, 'fees' => 895 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/car-lease-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'vehicle_price' => 42000, 'residual_value' => 58, 'residual_mode' => 'percent', 'money_factor' => 0.00185, 'lease_term' => 36, 'down_payment' => 3000, 'tax_rate' => 7.5, 'fees' => 895 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "vehicle_price": 42000, "residual_value": 58, "residual_mode": "percent", "money_factor": 0.00185, "lease_term": 36, "down_payment": 3000, "tax_rate": 7.5, "fees": 895, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/car-lease-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/car-lease-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"vehicle_price\":42000,\"residual_value\":58,\"residual_mode\":\"percent\",\"money_factor\":0.00185,\"lease_term\":36,\"down_payment\":3000,\"tax_rate\":7.5,\"fees\":895}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call car-lease-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`vehicle_price`,`residual_value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/car-lease-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Car Lease Calculator API do? + Estimate monthly auto lease payment from cap cost, residual value, money factor, tax, and fees. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Car Lease Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Car Lease Calculator API require? + Required fields: vehicle_price, residual_value. Full schema at /v1/openapi.json. Is the Car Lease Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Car Lease Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `car-lease-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`car-lease-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="car-lease-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Bond Equivalent Yield Calculator API # Bond Equivalent Yield Calculator API finance 2 credits / call v2026-04-22 Calculate bond equivalent yield for a discount security. One POST adds Bond Equivalent Yield Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Bond Equivalent Yield Calculator on miniwebtool.com →](https://miniwebtool.com/bond-equivalent-yield-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/bond-equivalent-yield-calculator/run ``` ### Request body Field Type Req. `face_value` `float` ✓ `purchase_price` `float` ✓ `days_to_maturity` `int` ✓ ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bond-equivalent-yield-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) face_value (float) * purchase_price (float) * days_to_maturity (int) * Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`bond-equivalent-yield-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bond-equivalent-yield-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"face_value":10000,"purchase_price":9800,"days_to_maturity":182}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bond-equivalent-yield-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'face_value': 10000, 'purchase_price': 9800, 'days_to_maturity': 182}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bond-equivalent-yield-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"face_value":10000,"purchase_price":9800,"days_to_maturity":182}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'face_value' => 10000, 'purchase_price' => 9800, 'days_to_maturity' => 182 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bond-equivalent-yield-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'face_value' => 10000, 'purchase_price' => 9800, 'days_to_maturity' => 182 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "face_value": 10000, "purchase_price": 9800, "days_to_maturity": 182, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bond-equivalent-yield-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bond-equivalent-yield-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"face_value\":10000,\"purchase_price\":9800,\"days_to_maturity\":182}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bond-equivalent-yield-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`face_value`,`purchase_price`,`days_to_maturity`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bond-equivalent-yield-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Bond Equivalent Yield Calculator API do? + Calculate bond equivalent yield for a discount security. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Bond Equivalent Yield Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Bond Equivalent Yield Calculator API require? + Required fields: face_value, purchase_price, days_to_maturity. Full schema at /v1/openapi.json. Is the Bond Equivalent Yield Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Bond Equivalent Yield Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bond-equivalent-yield-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bond-equivalent-yield-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bond-equivalent-yield-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Bond Yield to Maturity Calculator API # Bond Yield to Maturity Calculator API finance 2 credits / call v2026-04-22 Calculate bond yield to maturity with current yield and return metrics. One POST adds Bond Yield to Maturity Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Bond Yield to Maturity Calculator on miniwebtool.com →](https://miniwebtool.com/bond-yield-to-maturity-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/bond-yield-to-maturity-calculator/run ``` ### Request body Field Type Req. `current_bond_price` `float` — `bond_par_value` `float` — `bond_coupon_rate` `float` — `years` `int` — `payments_per_year` 1, 2, 4, or 12 `int` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bond-yield-to-maturity-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) current_bond_price (float) bond_par_value (float) bond_coupon_rate (float) years (int) payments_per_year (int) 1, 2, 4, or 12 precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`bond-yield-to-maturity-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bond-yield-to-maturity-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bond-yield-to-maturity-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bond-yield-to-maturity-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bond-yield-to-maturity-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bond-yield-to-maturity-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bond-yield-to-maturity-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bond-yield-to-maturity-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bond-yield-to-maturity-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Bond Yield to Maturity Calculator API do? + Calculate bond yield to maturity with current yield and return metrics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Bond Yield to Maturity Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Bond Yield to Maturity Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Bond Yield to Maturity Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Bond Yield to Maturity Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bond-yield-to-maturity-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bond-yield-to-maturity-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bond-yield-to-maturity-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) [ Discount Calculator Calculate final price, savings, tax, stacked discounts, or BOGO deals. ](/tools/discount-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Zero Coupon Bond Calculator API # Zero Coupon Bond Calculator API finance 2 credits / call v2026-04-22 Calculate zero coupon bond price or yield to maturity. One POST adds Zero Coupon Bond Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Zero Coupon Bond Calculator on miniwebtool.com →](https://miniwebtool.com/zero-coupon-bond-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/zero-coupon-bond-calculator/run ``` ### Request body Field Type Req. `calc_type` price | ytm `str` — `face_value` `float` — `current_price` `float | None` — `rate_percent` `float | None` — `years` `float` — `compound` 1 | 2 | 4 | 12 | 365 | continuous `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "zero-coupon-bond-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_type (str) price ytm price | ytm face_value (float) current_price (float | None) rate_percent (float | None) years (float) compound (str) 1 2 4 12 365 continuous 1 | 2 | 4 | 12 | 365 | continuous precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`zero-coupon-bond-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/zero-coupon-bond-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_type":"price","face_value":1000,"rate_percent":5,"years":10,"compound":"1"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/zero-coupon-bond-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_type': 'price', 'face_value': 1000, 'rate_percent': 5, 'years': 10, 'compound': '1'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/zero-coupon-bond-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_type":"price","face_value":1000,"rate_percent":5,"years":10,"compound":"1"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_type' => 'price', 'face_value' => 1000, 'rate_percent' => 5, 'years' => 10, 'compound' => '1' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/zero-coupon-bond-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_type' => 'price', 'face_value' => 1000, 'rate_percent' => 5, 'years' => 10, 'compound' => '1' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_type": "price", "face_value": 1000, "rate_percent": 5, "years": 10, "compound": "1", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/zero-coupon-bond-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/zero-coupon-bond-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_type\":\"price\",\"face_value\":1000,\"rate_percent\":5,\"years\":10,\"compound\":\"1\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call zero-coupon-bond-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/zero-coupon-bond-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Zero Coupon Bond Calculator API do? + Calculate zero coupon bond price or yield to maturity. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Zero Coupon Bond Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Zero Coupon Bond Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Zero Coupon Bond Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Zero Coupon Bond Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `zero-coupon-bond-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`zero-coupon-bond-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="zero-coupon-bond-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Credit Card Interest Calculator API # Credit Card Interest Calculator API finance 2 credits / call v2026-04-22 Estimate credit card payoff time, interest cost, and payment strategy savings. One POST adds Credit Card Interest Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Credit Card Interest Calculator on miniwebtool.com →](https://miniwebtool.com/credit-card-interest-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/credit-card-interest-calculator/run ``` ### Request body Field Type Req. `balance` `float` ✓ `apr_percent` `float` ✓ `min_percent` `float` — `min_amount` `float` — `fixed_payment` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "credit-card-interest-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) balance (float) * apr_percent (float) * min_percent (float) min_amount (float) fixed_payment (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`credit-card-interest-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/credit-card-interest-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"balance":5000,"apr_percent":19.99,"min_percent":2,"min_amount":25,"fixed_payment":200}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/credit-card-interest-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'balance': 5000, 'apr_percent': 19.99, 'min_percent': 2, 'min_amount': 25, 'fixed_payment': 200}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/credit-card-interest-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"balance":5000,"apr_percent":19.99,"min_percent":2,"min_amount":25,"fixed_payment":200}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'balance' => 5000, 'apr_percent' => 19.99, 'min_percent' => 2, 'min_amount' => 25, 'fixed_payment' => 200 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/credit-card-interest-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'balance' => 5000, 'apr_percent' => 19.99, 'min_percent' => 2, 'min_amount' => 25, 'fixed_payment' => 200 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "balance": 5000, "apr_percent": 19.99, "min_percent": 2, "min_amount": 25, "fixed_payment": 200, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/credit-card-interest-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/credit-card-interest-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"balance\":5000,\"apr_percent\":19.99,\"min_percent\":2,\"min_amount\":25,\"fixed_payment\":200}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call credit-card-interest-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`balance`,`apr_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/credit-card-interest-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Credit Card Interest Calculator API do? + Estimate credit card payoff time, interest cost, and payment strategy savings. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Credit Card Interest Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Credit Card Interest Calculator API require? + Required fields: balance, apr_percent. Full schema at /v1/openapi.json. Is the Credit Card Interest Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Credit Card Interest Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `credit-card-interest-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`credit-card-interest-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="credit-card-interest-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Credit Card Payment Calculator API # Credit Card Payment Calculator API finance 1 credit / call v2026-04-22 Calculate the fixed monthly payment needed to pay off a credit card balance over a chosen number of months. One POST adds Credit Card Payment Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Credit Card Payment Calculator on miniwebtool.com →](https://miniwebtool.com/credit-card-payment-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/credit-card-payment-calculator/run ``` ### Request body Field Type Req. `balance` `float` — `apr` `float` — `months` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "credit-card-payment-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) balance (float) apr (float) months (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`credit-card-payment-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/credit-card-payment-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"balance":3000,"apr":17,"months":12}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/credit-card-payment-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'balance': 3000, 'apr': 17, 'months': 12}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/credit-card-payment-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"balance":3000,"apr":17,"months":12}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'balance' => 3000, 'apr' => 17, 'months' => 12 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/credit-card-payment-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'balance' => 3000, 'apr' => 17, 'months' => 12 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "balance": 3000, "apr": 17, "months": 12, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/credit-card-payment-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/credit-card-payment-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"balance\":3000,\"apr\":17,\"months\":12}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call credit-card-payment-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/credit-card-payment-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Credit Card Payment Calculator API do? + Calculate the fixed monthly payment needed to pay off a credit card balance over a chosen number of months. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Credit Card Payment Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Credit Card Payment Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Credit Card Payment Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Credit Card Payment Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `credit-card-payment-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`credit-card-payment-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="credit-card-payment-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Credit Card Payoff Calculator API # Credit Card Payoff Calculator API finance 1 credit / call v2026-04-22 Estimate how long a credit card payoff plan will take and how much interest it costs. One POST adds Credit Card Payoff Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Credit Card Payoff Calculator on miniwebtool.com →](https://miniwebtool.com/credit-card-payoff-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/credit-card-payoff-calculator/run ``` ### Request body Field Type Req. `balance` `float` — `apr` `float` — `payment` `float` — `monthly_charges` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "credit-card-payoff-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) balance (float) apr (float) payment (float) monthly_charges (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`credit-card-payoff-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/credit-card-payoff-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"balance":5000,"apr":22.99,"payment":200,"monthly_charges":0}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/credit-card-payoff-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'balance': 5000, 'apr': 22.99, 'payment': 200, 'monthly_charges': 0}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/credit-card-payoff-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"balance":5000,"apr":22.99,"payment":200,"monthly_charges":0}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'balance' => 5000, 'apr' => 22.99, 'payment' => 200, 'monthly_charges' => 0 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/credit-card-payoff-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'balance' => 5000, 'apr' => 22.99, 'payment' => 200, 'monthly_charges' => 0 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "balance": 5000, "apr": 22.99, "payment": 200, "monthly_charges": 0, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/credit-card-payoff-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/credit-card-payoff-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"balance\":5000,\"apr\":22.99,\"payment\":200,\"monthly_charges\":0}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call credit-card-payoff-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/credit-card-payoff-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Credit Card Payoff Calculator API do? + Estimate how long a credit card payoff plan will take and how much interest it costs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Credit Card Payoff Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Credit Card Payoff Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Credit Card Payoff Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Credit Card Payoff Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `credit-card-payoff-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`credit-card-payoff-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="credit-card-payoff-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Debt Consolidation Calculator API # Debt Consolidation Calculator API finance 2 credits / call v2026-04-22 Estimate a consolidated debt payment and interest cost. One POST adds Debt Consolidation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Debt Consolidation Calculator on miniwebtool.com →](https://miniwebtool.com/debt-consolidation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/debt-consolidation-calculator/run ``` ### Request body Field Type Req. `balances` `list` — `aprs` `list` — `new_apr` `float` — `term_months` `int` — `minimum_payment_percent` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "debt-consolidation-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) balances (list) aprs (list) new_apr (float) term_months (int) minimum_payment_percent (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`debt-consolidation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/debt-consolidation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/debt-consolidation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/debt-consolidation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/debt-consolidation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/debt-consolidation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/debt-consolidation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call debt-consolidation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/debt-consolidation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Debt Consolidation Calculator API do? + Estimate a consolidated debt payment and interest cost. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Debt Consolidation Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Debt Consolidation Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Debt Consolidation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Debt Consolidation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `debt-consolidation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`debt-consolidation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="debt-consolidation-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) [ Discount Calculator Calculate final price, savings, tax, stacked discounts, or BOGO deals. ](/tools/discount-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Debt Coverage Ratio Calculator API # Debt Coverage Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate debt service coverage ratio from NOI and debt service, or build NOI from property inputs. One POST adds Debt Coverage Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Debt Coverage Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/debt-coverage-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/debt-coverage-ratio-calculator/run ``` ### Request body Field Type Req. `calc_mode` basic | advanced | reverse `str` — `net_operating_income` `float | None` — `total_debt_service` `float | None` — `target_dscr` `float | None` — `gross_rental_income` `float | None` — `other_income` `float` — `vacancy_rate_percent` `float` — `operating_expenses` `float | None` — `loan_amount` `float | None` — `interest_rate_percent` `float | None` — `loan_term_years` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "debt-coverage-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_mode (str) basic advanced reverse basic | advanced | reverse net_operating_income (float | None) total_debt_service (float | None) target_dscr (float | None) gross_rental_income (float | None) other_income (float) vacancy_rate_percent (float) operating_expenses (float | None) loan_amount (float | None) interest_rate_percent (float | None) loan_term_years (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`debt-coverage-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/debt-coverage-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"basic","net_operating_income":150000,"total_debt_service":120000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/debt-coverage-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'basic', 'net_operating_income': 150000, 'total_debt_service': 120000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/debt-coverage-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"basic","net_operating_income":150000,"total_debt_service":120000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'basic', 'net_operating_income' => 150000, 'total_debt_service' => 120000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/debt-coverage-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'basic', 'net_operating_income' => 150000, 'total_debt_service' => 120000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "basic", "net_operating_income": 150000, "total_debt_service": 120000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/debt-coverage-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/debt-coverage-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"basic\",\"net_operating_income\":150000,\"total_debt_service\":120000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call debt-coverage-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/debt-coverage-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Debt Coverage Ratio Calculator API do? + Calculate debt service coverage ratio from NOI and debt service, or build NOI from property inputs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Debt Coverage Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Debt Coverage Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Debt Coverage Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Debt Coverage Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `debt-coverage-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`debt-coverage-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="debt-coverage-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Debt to Income Ratio Calculator API # Debt to Income Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate debt-to-income ratio from monthly income and debt payments. One POST adds Debt to Income Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Debt to Income Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/debt-to-income-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/debt-to-income-ratio-calculator/run ``` ### Request body Field Type Req. `gross_monthly_income` `float` ✓ `mortgage_rent` `float` — `auto_loans` `float` — `student_loans` `float` — `credit_cards` `float` — `personal_loans` `float` — `other_debts` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "debt-to-income-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) gross_monthly_income (float) * mortgage_rent (float) auto_loans (float) student_loans (float) credit_cards (float) personal_loans (float) other_debts (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`debt-to-income-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/debt-to-income-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"gross_monthly_income":6000,"mortgage_rent":1500,"auto_loans":350,"student_loans":250,"credit_cards":100}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/debt-to-income-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'gross_monthly_income': 6000, 'mortgage_rent': 1500, 'auto_loans': 350, 'student_loans': 250, 'credit_cards': 100}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/debt-to-income-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"gross_monthly_income":6000,"mortgage_rent":1500,"auto_loans":350,"student_loans":250,"credit_cards":100}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'gross_monthly_income' => 6000, 'mortgage_rent' => 1500, 'auto_loans' => 350, 'student_loans' => 250, 'credit_cards' => 100 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/debt-to-income-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'gross_monthly_income' => 6000, 'mortgage_rent' => 1500, 'auto_loans' => 350, 'student_loans' => 250, 'credit_cards' => 100 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "gross_monthly_income": 6000, "mortgage_rent": 1500, "auto_loans": 350, "student_loans": 250, "credit_cards": 100, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/debt-to-income-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/debt-to-income-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"gross_monthly_income\":6000,\"mortgage_rent\":1500,\"auto_loans\":350,\"student_loans\":250,\"credit_cards\":100}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call debt-to-income-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`gross_monthly_income`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/debt-to-income-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Debt to Income Ratio Calculator API do? + Calculate debt-to-income ratio from monthly income and debt payments. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Debt to Income Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Debt to Income Ratio Calculator API require? + Required fields: gross_monthly_income. Full schema at /v1/openapi.json. Is the Debt to Income Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Debt to Income Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `debt-to-income-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`debt-to-income-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="debt-to-income-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Fixed Charge Coverage Ratio Calculator API # Fixed Charge Coverage Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate fixed charge coverage ratio with optional EBITDA and principal-payment adjustments. One POST adds Fixed Charge Coverage Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fixed Charge Coverage Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/fixed-charge-coverage-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/fixed-charge-coverage-ratio-calculator/run ``` ### Request body Field Type Req. `ebit` `float` — `lease_payments` `float` — `interest_expense` `float` — `depreciation_amortization` `float` — `principal_payments` `float` — `tax_rate_percent` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fixed-charge-coverage-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) ebit (float) lease_payments (float) interest_expense (float) depreciation_amortization (float) principal_payments (float) tax_rate_percent (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`fixed-charge-coverage-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fixed-charge-coverage-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"ebit":500000,"lease_payments":100000,"interest_expense":75000,"depreciation_amortization":50000,"principal_payments":25000,"tax_rate_percent":25,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fixed-charge-coverage-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'ebit': 500000, 'lease_payments': 100000, 'interest_expense': 75000, 'depreciation_amortization': 50000, 'principal_payments': 25000, 'tax_rate_percent': 25, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fixed-charge-coverage-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"ebit":500000,"lease_payments":100000,"interest_expense":75000,"depreciation_amortization":50000,"principal_payments":25000,"tax_rate_percent":25,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'ebit' => 500000, 'lease_payments' => 100000, 'interest_expense' => 75000, 'depreciation_amortization' => 50000, 'principal_payments' => 25000, 'tax_rate_percent' => 25, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fixed-charge-coverage-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'ebit' => 500000, 'lease_payments' => 100000, 'interest_expense' => 75000, 'depreciation_amortization' => 50000, 'principal_payments' => 25000, 'tax_rate_percent' => 25, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "ebit": 500000, "lease_payments": 100000, "interest_expense": 75000, "depreciation_amortization": 50000, "principal_payments": 25000, "tax_rate_percent": 25, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fixed-charge-coverage-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fixed-charge-coverage-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"ebit\":500000,\"lease_payments\":100000,\"interest_expense\":75000,\"depreciation_amortization\":50000,\"principal_payments\":25000,\"tax_rate_percent\":25,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fixed-charge-coverage-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fixed-charge-coverage-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fixed Charge Coverage Ratio Calculator API do? + Calculate fixed charge coverage ratio with optional EBITDA and principal-payment adjustments. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fixed Charge Coverage Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fixed Charge Coverage Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Fixed Charge Coverage Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fixed Charge Coverage Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fixed-charge-coverage-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fixed-charge-coverage-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fixed-charge-coverage-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Interest Coverage Ratio Calculator API # Interest Coverage Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate EBIT or EBITDA based interest coverage ratio. One POST adds Interest Coverage Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Interest Coverage Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/interest-coverage-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/interest-coverage-ratio-calculator/run ``` ### Request body Field Type Req. `calculation_method` ebit | ebitda `str` — `ebit` `float` — `interest_expense` `float` — `depreciation_amortization` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "interest-coverage-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calculation_method (str) ebit ebitda ebit | ebitda ebit (float) interest_expense (float) depreciation_amortization (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`interest-coverage-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/interest-coverage-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calculation_method":"ebit","ebit":500000,"interest_expense":100000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/interest-coverage-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calculation_method': 'ebit', 'ebit': 500000, 'interest_expense': 100000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/interest-coverage-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calculation_method":"ebit","ebit":500000,"interest_expense":100000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calculation_method' => 'ebit', 'ebit' => 500000, 'interest_expense' => 100000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/interest-coverage-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calculation_method' => 'ebit', 'ebit' => 500000, 'interest_expense' => 100000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calculation_method": "ebit", "ebit": 500000, "interest_expense": 100000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/interest-coverage-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/interest-coverage-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calculation_method\":\"ebit\",\"ebit\":500000,\"interest_expense\":100000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call interest-coverage-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/interest-coverage-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Interest Coverage Ratio Calculator API do? + Calculate EBIT or EBITDA based interest coverage ratio. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Interest Coverage Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Interest Coverage Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Interest Coverage Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Interest Coverage Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `interest-coverage-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`interest-coverage-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="interest-coverage-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Times Interest Earned Ratio Calculator API # Times Interest Earned Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate times interest earned ratio and interest coverage safety margin. One POST adds Times Interest Earned Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Times Interest Earned Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/times-interest-earned-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/times-interest-earned-ratio-calculator/run ``` ### Request body Field Type Req. `ebit` `float` — `interest_expense` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "times-interest-earned-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) ebit (float) interest_expense (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`times-interest-earned-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/times-interest-earned-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"ebit":500000,"interest_expense":100000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/times-interest-earned-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'ebit': 500000, 'interest_expense': 100000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/times-interest-earned-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"ebit":500000,"interest_expense":100000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'ebit' => 500000, 'interest_expense' => 100000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/times-interest-earned-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'ebit' => 500000, 'interest_expense' => 100000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "ebit": 500000, "interest_expense": 100000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/times-interest-earned-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/times-interest-earned-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"ebit\":500000,\"interest_expense\":100000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call times-interest-earned-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/times-interest-earned-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Times Interest Earned Ratio Calculator API do? + Calculate times interest earned ratio and interest coverage safety margin. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Times Interest Earned Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Times Interest Earned Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Times Interest Earned Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Times Interest Earned Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `times-interest-earned-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`times-interest-earned-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="times-interest-earned-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Debt Payoff Calculator API # Debt Payoff Calculator API finance 1 credit / call v2026-04-22 Compare debt snowball and avalanche payoff strategies for a small list of debts. One POST adds Debt Payoff Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Debt Payoff Calculator on miniwebtool.com →](https://miniwebtool.com/debt-payoff-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/debt-payoff-calculator/run ``` ### Request body Field Type Req. `debts` `list` — `extra_monthly_payment` `float` — `method` both | avalanche | snowball `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "debt-payoff-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) debts (list) extra_monthly_payment (float) method (str) both avalanche snowball both | avalanche | snowball Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`debt-payoff-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/debt-payoff-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"extra_monthly_payment":100,"method":"both"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/debt-payoff-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'extra_monthly_payment': 100, 'method': 'both'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/debt-payoff-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"extra_monthly_payment":100,"method":"both"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'extra_monthly_payment' => 100, 'method' => 'both' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/debt-payoff-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'extra_monthly_payment' => 100, 'method' => 'both' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "extra_monthly_payment": 100, "method": "both", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/debt-payoff-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/debt-payoff-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"extra_monthly_payment\":100,\"method\":\"both\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call debt-payoff-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/debt-payoff-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Debt Payoff Calculator API do? + Compare debt snowball and avalanche payoff strategies for a small list of debts. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Debt Payoff Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Debt Payoff Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Debt Payoff Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Debt Payoff Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `debt-payoff-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`debt-payoff-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="debt-payoff-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Actual Cash Value Calculator API # Actual Cash Value Calculator API finance 1 credit / call v2026-04-22 Calculate actual cash value from replacement cost, age, lifespan, salvage, and depreciation method. One POST adds Actual Cash Value Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Actual Cash Value Calculator on miniwebtool.com →](https://miniwebtool.com/actual-cash-value-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/actual-cash-value-calculator/run ``` ### Request body Field Type Req. `category` custom | smartphone | laptop | desktop | television | refrigerator | washer | dryer | dishwasher | microwave | hvac | water_heater | sofa | mattress | dining_set | carpet | roof | bicycle | jewelry | camera | furniture | appliance `str` — `replacement_cost` `float` — `current_age` `float` — `expected_life` `float | None` — `salvage_percent` `float` — `method` straight | declining | double_declining `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "actual-cash-value-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) category (str) custom smartphone laptop desktop television refrigerator washer dryer dishwasher microwave hvac water_heater sofa mattress dining_set carpet roof bicycle jewelry camera furniture appliance custom | smartphone | laptop | desktop | television | refrigerator | washer | dryer | dishwasher | microwave | hvac | water_heater | sofa | mattress | dining_set | carpet | roof | bicycle | jewelry | camera | furniture | appliance replacement_cost (float) current_age (float) expected_life (float | None) salvage_percent (float) method (str) straight declining double_declining straight | declining | double_declining precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`actual-cash-value-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/actual-cash-value-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"category":"laptop","replacement_cost":1000,"current_age":3,"method":"straight","precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/actual-cash-value-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'category': 'laptop', 'replacement_cost': 1000, 'current_age': 3, 'method': 'straight', 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/actual-cash-value-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"category":"laptop","replacement_cost":1000,"current_age":3,"method":"straight","precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'category' => 'laptop', 'replacement_cost' => 1000, 'current_age' => 3, 'method' => 'straight', 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/actual-cash-value-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'category' => 'laptop', 'replacement_cost' => 1000, 'current_age' => 3, 'method' => 'straight', 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "category": "laptop", "replacement_cost": 1000, "current_age": 3, "method": "straight", "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/actual-cash-value-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/actual-cash-value-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"category\":\"laptop\",\"replacement_cost\":1000,\"current_age\":3,\"method\":\"straight\",\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call actual-cash-value-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/actual-cash-value-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Actual Cash Value Calculator API do? + Calculate actual cash value from replacement cost, age, lifespan, salvage, and depreciation method. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Actual Cash Value Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Actual Cash Value Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Actual Cash Value Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Actual Cash Value Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `actual-cash-value-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`actual-cash-value-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="actual-cash-value-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Discount Calculator API # Discount Calculator API finance 1 credit / call v2026-04-22 Calculate final price, savings, tax, stacked discounts, or BOGO deals. One POST adds Discount Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Discount Calculator on miniwebtool.com →](https://miniwebtool.com/discount-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/discount-calculator/run ``` ### Request body Field Type Req. `calc_mode` simple | stacked | bogo `str` — `original_price` `float` ✓ `discount_type` percent | fixed `str` — `discount_value` `float` — `discount2_type` percent | fixed `str` — `discount2_value` `float | None` — `buy_quantity` `int` — `get_quantity` `int` — `quantity` `int` — `sales_tax_percent` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "discount-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calc_mode (str) simple stacked bogo simple | stacked | bogo original_price (float) * discount_type (str) percent fixed percent | fixed discount_value (float) discount2_type (str) percent fixed percent | fixed discount2_value (float | None) buy_quantity (int) get_quantity (int) quantity (int) sales_tax_percent (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`discount-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/discount-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"simple","original_price":100,"discount_type":"percent","discount_value":20,"discount2_type":"percent","quantity":1,"sales_tax_percent":0}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/discount-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'simple', 'original_price': 100, 'discount_type': 'percent', 'discount_value': 20, 'discount2_type': 'percent', 'quantity': 1, 'sales_tax_percent': 0}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/discount-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"simple","original_price":100,"discount_type":"percent","discount_value":20,"discount2_type":"percent","quantity":1,"sales_tax_percent":0}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'simple', 'original_price' => 100, 'discount_type' => 'percent', 'discount_value' => 20, 'discount2_type' => 'percent', 'quantity' => 1, 'sales_tax_percent' => 0 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/discount-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'simple', 'original_price' => 100, 'discount_type' => 'percent', 'discount_value' => 20, 'discount2_type' => 'percent', 'quantity' => 1, 'sales_tax_percent' => 0 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "simple", "original_price": 100, "discount_type": "percent", "discount_value": 20, "discount2_type": "percent", "quantity": 1, "sales_tax_percent": 0, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/discount-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/discount-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"simple\",\"original_price\":100,\"discount_type\":\"percent\",\"discount_value\":20,\"discount2_type\":\"percent\",\"quantity\":1,\"sales_tax_percent\":0}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call discount-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`original_price`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/discount-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Discount Calculator API do? + Calculate final price, savings, tax, stacked discounts, or BOGO deals. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Discount Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Discount Calculator API require? + Required fields: original_price. Full schema at /v1/openapi.json. Is the Discount Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Discount Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `discount-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`discount-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="discount-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Percent Off Calculator API # Percent Off Calculator API finance 1 credit / call v2026-04-22 Calculate discount amount and sale price from original price and percent off. One POST adds Percent Off Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Percent Off Calculator on miniwebtool.com →](https://miniwebtool.com/percent-off-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/percent-off-calculator/run ``` ### Request body Field Type Req. `original_price` `float` ✓ `percent_off` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "percent-off-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) original_price (float) * percent_off (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`percent-off-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/percent-off-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"original_price":80,"percent_off":25}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/percent-off-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'original_price': 80, 'percent_off': 25}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/percent-off-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"original_price":80,"percent_off":25}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'original_price' => 80, 'percent_off' => 25 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/percent-off-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'original_price' => 80, 'percent_off' => 25 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "original_price": 80, "percent_off": 25, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/percent-off-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/percent-off-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"original_price\":80,\"percent_off\":25}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call percent-off-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`original_price`,`percent_off`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/percent-off-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Percent Off Calculator API do? + Calculate discount amount and sale price from original price and percent off. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Percent Off Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Percent Off Calculator API require? + Required fields: original_price, percent_off. Full schema at /v1/openapi.json. Is the Percent Off Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Percent Off Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `percent-off-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`percent-off-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="percent-off-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Average Collection Period Calculator API # Average Collection Period Calculator API finance 2 credits / call v2026-04-22 Calculate average collection period, receivables turnover, and industry benchmark spread. One POST adds Average Collection Period Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Average Collection Period Calculator on miniwebtool.com →](https://miniwebtool.com/average-collection-period-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/average-collection-period-calculator/run ``` ### Request body Field Type Req. `credit_sales` `float` — `average_accounts_receivable` `float` — `days_in_period` `int` — `industry` custom | retail | manufacturing | healthcare | technology | construction | wholesale | services `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "average-collection-period-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) credit_sales (float) average_accounts_receivable (float) days_in_period (int) industry (str) custom retail manufacturing healthcare technology construction wholesale services custom | retail | manufacturing | healthcare | technology | construction | wholesale | services precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`average-collection-period-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/average-collection-period-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"credit_sales":1000000,"average_accounts_receivable":125000,"days_in_period":365,"industry":"custom","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/average-collection-period-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'credit_sales': 1000000, 'average_accounts_receivable': 125000, 'days_in_period': 365, 'industry': 'custom', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/average-collection-period-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"credit_sales":1000000,"average_accounts_receivable":125000,"days_in_period":365,"industry":"custom","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'credit_sales' => 1000000, 'average_accounts_receivable' => 125000, 'days_in_period' => 365, 'industry' => 'custom', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/average-collection-period-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'credit_sales' => 1000000, 'average_accounts_receivable' => 125000, 'days_in_period' => 365, 'industry' => 'custom', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "credit_sales": 1000000, "average_accounts_receivable": 125000, "days_in_period": 365, "industry": "custom", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/average-collection-period-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/average-collection-period-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"credit_sales\":1000000,\"average_accounts_receivable\":125000,\"days_in_period\":365,\"industry\":\"custom\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call average-collection-period-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/average-collection-period-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Average Collection Period Calculator API do? + Calculate average collection period, receivables turnover, and industry benchmark spread. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Average Collection Period Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Average Collection Period Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Average Collection Period Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Average Collection Period Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `average-collection-period-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`average-collection-period-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="average-collection-period-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Debtor Days Calculator API # Debtor Days Calculator API finance 2 credits / call v2026-04-22 Calculate debtor days, receivables ratio, and working capital above a 30-day target. One POST adds Debtor Days Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Debtor Days Calculator on miniwebtool.com →](https://miniwebtool.com/debtor-days-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/debtor-days-calculator/run ``` ### Request body Field Type Req. `debtors` `float` ✓ `sales` `float` ✓ `days` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "debtor-days-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) debtors (float) * sales (float) * days (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`debtor-days-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/debtor-days-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"debtors":50000,"sales":500000,"days":365}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/debtor-days-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'debtors': 50000, 'sales': 500000, 'days': 365}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/debtor-days-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"debtors":50000,"sales":500000,"days":365}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'debtors' => 50000, 'sales' => 500000, 'days' => 365 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/debtor-days-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'debtors' => 50000, 'sales' => 500000, 'days' => 365 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "debtors": 50000, "sales": 500000, "days": 365, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/debtor-days-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/debtor-days-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"debtors\":50000,\"sales\":500000,\"days\":365}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call debtor-days-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`debtors`,`sales`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/debtor-days-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Debtor Days Calculator API do? + Calculate debtor days, receivables ratio, and working capital above a 30-day target. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Debtor Days Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Debtor Days Calculator API require? + Required fields: debtors, sales. Full schema at /v1/openapi.json. Is the Debtor Days Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Debtor Days Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `debtor-days-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`debtor-days-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="debtor-days-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Fixed Asset Turnover Calculator API # Fixed Asset Turnover Calculator API finance 2 credits / call v2026-04-22 Measure revenue generated per dollar of net fixed assets. One POST adds Fixed Asset Turnover Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fixed Asset Turnover Calculator on miniwebtool.com →](https://miniwebtool.com/fixed-asset-turnover-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/fixed-asset-turnover-calculator/run ``` ### Request body Field Type Req. `net_sales` `float` — `average_fixed_assets` `float | None` — `beginning_fixed_assets` `float | None` — `ending_fixed_assets` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fixed-asset-turnover-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) net_sales (float) average_fixed_assets (float | None) beginning_fixed_assets (float | None) ending_fixed_assets (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`fixed-asset-turnover-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fixed-asset-turnover-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"net_sales":5000000,"average_fixed_assets":2000000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fixed-asset-turnover-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'net_sales': 5000000, 'average_fixed_assets': 2000000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fixed-asset-turnover-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"net_sales":5000000,"average_fixed_assets":2000000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'net_sales' => 5000000, 'average_fixed_assets' => 2000000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fixed-asset-turnover-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'net_sales' => 5000000, 'average_fixed_assets' => 2000000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "net_sales": 5000000, "average_fixed_assets": 2000000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fixed-asset-turnover-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fixed-asset-turnover-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"net_sales\":5000000,\"average_fixed_assets\":2000000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fixed-asset-turnover-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fixed-asset-turnover-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fixed Asset Turnover Calculator API do? + Measure revenue generated per dollar of net fixed assets. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fixed Asset Turnover Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fixed Asset Turnover Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Fixed Asset Turnover Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fixed Asset Turnover Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fixed-asset-turnover-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fixed-asset-turnover-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fixed-asset-turnover-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Inventory Turnover Calculator API # Inventory Turnover Calculator API finance 2 credits / call v2026-04-22 Calculate inventory turnover, days sales in inventory, and annualized turnover. One POST adds Inventory Turnover Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Inventory Turnover Calculator on miniwebtool.com →](https://miniwebtool.com/inventory-turnover-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/inventory-turnover-calculator/run ``` ### Request body Field Type Req. `cogs` `float` — `average_inventory` `float | None` — `beginning_inventory` `float | None` — `ending_inventory` `float | None` — `period` annual | quarterly | monthly `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "inventory-turnover-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) cogs (float) average_inventory (float | None) beginning_inventory (float | None) ending_inventory (float | None) period (str) annual quarterly monthly annual | quarterly | monthly precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`inventory-turnover-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/inventory-turnover-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"cogs":500000,"average_inventory":100000,"period":"annual","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/inventory-turnover-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'cogs': 500000, 'average_inventory': 100000, 'period': 'annual', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/inventory-turnover-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"cogs":500000,"average_inventory":100000,"period":"annual","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'cogs' => 500000, 'average_inventory' => 100000, 'period' => 'annual', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/inventory-turnover-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'cogs' => 500000, 'average_inventory' => 100000, 'period' => 'annual', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "cogs": 500000, "average_inventory": 100000, "period": "annual", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/inventory-turnover-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/inventory-turnover-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"cogs\":500000,\"average_inventory\":100000,\"period\":\"annual\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call inventory-turnover-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/inventory-turnover-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Inventory Turnover Calculator API do? + Calculate inventory turnover, days sales in inventory, and annualized turnover. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Inventory Turnover Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Inventory Turnover Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Inventory Turnover Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Inventory Turnover Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `inventory-turnover-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`inventory-turnover-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="inventory-turnover-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Receivables Turnover Ratio Calculator API # Receivables Turnover Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate receivables turnover and days sales outstanding. One POST adds Receivables Turnover Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Receivables Turnover Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/receivables-turnover-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/receivables-turnover-ratio-calculator/run ``` ### Request body Field Type Req. `net_credit_sales` `float` — `average_receivables` `float | None` — `beginning_receivables` `float | None` — `ending_receivables` `float | None` — `period_days` `int` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "receivables-turnover-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) net_credit_sales (float) average_receivables (float | None) beginning_receivables (float | None) ending_receivables (float | None) period_days (int) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`receivables-turnover-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/receivables-turnover-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"net_credit_sales":1000000,"beginning_receivables":200000,"ending_receivables":160000,"period_days":365,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/receivables-turnover-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'net_credit_sales': 1000000, 'beginning_receivables': 200000, 'ending_receivables': 160000, 'period_days': 365, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/receivables-turnover-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"net_credit_sales":1000000,"beginning_receivables":200000,"ending_receivables":160000,"period_days":365,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'net_credit_sales' => 1000000, 'beginning_receivables' => 200000, 'ending_receivables' => 160000, 'period_days' => 365, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/receivables-turnover-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'net_credit_sales' => 1000000, 'beginning_receivables' => 200000, 'ending_receivables' => 160000, 'period_days' => 365, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "net_credit_sales": 1000000, "beginning_receivables": 200000, "ending_receivables": 160000, "period_days": 365, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/receivables-turnover-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/receivables-turnover-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"net_credit_sales\":1000000,\"beginning_receivables\":200000,\"ending_receivables\":160000,\"period_days\":365,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call receivables-turnover-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/receivables-turnover-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Receivables Turnover Ratio Calculator API do? + Calculate receivables turnover and days sales outstanding. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Receivables Turnover Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Receivables Turnover Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Receivables Turnover Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Receivables Turnover Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `receivables-turnover-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`receivables-turnover-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="receivables-turnover-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Total Asset Turnover Calculator API # Total Asset Turnover Calculator API finance 2 credits / call v2026-04-22 Measure revenue generated per dollar of average total assets. One POST adds Total Asset Turnover Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Total Asset Turnover Calculator on miniwebtool.com →](https://miniwebtool.com/total-asset-turnover-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/total-asset-turnover-calculator/run ``` ### Request body Field Type Req. `net_sales` `float` — `total_assets` `float | None` — `total_assets_begin` `float | None` — `total_assets_end` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "total-asset-turnover-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) net_sales (float) total_assets (float | None) total_assets_begin (float | None) total_assets_end (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`total-asset-turnover-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/total-asset-turnover-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"net_sales":5000000,"total_assets_begin":3000000,"total_assets_end":3500000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/total-asset-turnover-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'net_sales': 5000000, 'total_assets_begin': 3000000, 'total_assets_end': 3500000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/total-asset-turnover-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"net_sales":5000000,"total_assets_begin":3000000,"total_assets_end":3500000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'net_sales' => 5000000, 'total_assets_begin' => 3000000, 'total_assets_end' => 3500000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/total-asset-turnover-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'net_sales' => 5000000, 'total_assets_begin' => 3000000, 'total_assets_end' => 3500000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "net_sales": 5000000, "total_assets_begin": 3000000, "total_assets_end": 3500000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/total-asset-turnover-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/total-asset-turnover-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"net_sales\":5000000,\"total_assets_begin\":3000000,\"total_assets_end\":3500000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call total-asset-turnover-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/total-asset-turnover-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Total Asset Turnover Calculator API do? + Measure revenue generated per dollar of average total assets. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Total Asset Turnover Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Total Asset Turnover Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Total Asset Turnover Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Total Asset Turnover Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `total-asset-turnover-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`total-asset-turnover-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="total-asset-turnover-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Goodwill to Assets Ratio Calculator API # Goodwill to Assets Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate goodwill-to-assets ratio and tangible asset share. One POST adds Goodwill to Assets Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Goodwill to Assets Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/goodwill-to-assets-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/goodwill-to-assets-ratio-calculator/run ``` ### Request body Field Type Req. `unamortized_goodwill` `float` — `total_assets` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "goodwill-to-assets-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) unamortized_goodwill (float) total_assets (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`goodwill-to-assets-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/goodwill-to-assets-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"unamortized_goodwill":150000,"total_assets":1000000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/goodwill-to-assets-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'unamortized_goodwill': 150000, 'total_assets': 1000000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/goodwill-to-assets-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"unamortized_goodwill":150000,"total_assets":1000000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'unamortized_goodwill' => 150000, 'total_assets' => 1000000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/goodwill-to-assets-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'unamortized_goodwill' => 150000, 'total_assets' => 1000000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "unamortized_goodwill": 150000, "total_assets": 1000000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/goodwill-to-assets-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/goodwill-to-assets-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"unamortized_goodwill\":150000,\"total_assets\":1000000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call goodwill-to-assets-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/goodwill-to-assets-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Goodwill to Assets Ratio Calculator API do? + Calculate goodwill-to-assets ratio and tangible asset share. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Goodwill to Assets Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Goodwill to Assets Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Goodwill to Assets Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Goodwill to Assets Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `goodwill-to-assets-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`goodwill-to-assets-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="goodwill-to-assets-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Retention Ratio Calculator API # Retention Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate retention ratio, payout ratio, and retained earnings. One POST adds Retention Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Retention Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/retention-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/retention-ratio-calculator/run ``` ### Request body Field Type Req. `net_income` `float` — `dividends` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "retention-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) net_income (float) dividends (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`retention-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/retention-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"net_income":1000000,"dividends":400000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/retention-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'net_income': 1000000, 'dividends': 400000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/retention-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"net_income":1000000,"dividends":400000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'net_income' => 1000000, 'dividends' => 400000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/retention-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'net_income' => 1000000, 'dividends' => 400000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "net_income": 1000000, "dividends": 400000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/retention-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/retention-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"net_income\":1000000,\"dividends\":400000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call retention-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/retention-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Retention Ratio Calculator API do? + Calculate retention ratio, payout ratio, and retained earnings. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Retention Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Retention Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Retention Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Retention Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `retention-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`retention-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="retention-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - APR Calculator API # APR Calculator API finance 2 credits / call v2026-04-22 Calculate true APR from loan amount, rolled-in fees, nominal rate, and term. One POST adds APR Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the APR Calculator on miniwebtool.com →](https://miniwebtool.com/apr-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/apr-calculator/run ``` ### Request body Field Type Req. `loan_amount` `float` ✓ `extra_cost` `float` — `interest_rate_percent` `float` — `term_months` `int` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "apr-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) loan_amount (float) * extra_cost (float) interest_rate_percent (float) term_months (int) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`apr-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/apr-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"loan_amount":250000,"extra_cost":5000,"interest_rate_percent":6.5,"term_months":360}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/apr-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'loan_amount': 250000, 'extra_cost': 5000, 'interest_rate_percent': 6.5, 'term_months': 360}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/apr-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"loan_amount":250000,"extra_cost":5000,"interest_rate_percent":6.5,"term_months":360}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'loan_amount' => 250000, 'extra_cost' => 5000, 'interest_rate_percent' => 6.5, 'term_months' => 360 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/apr-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'loan_amount' => 250000, 'extra_cost' => 5000, 'interest_rate_percent' => 6.5, 'term_months' => 360 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "loan_amount": 250000, "extra_cost": 5000, "interest_rate_percent": 6.5, "term_months": 360, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/apr-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/apr-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"loan_amount\":250000,\"extra_cost\":5000,\"interest_rate_percent\":6.5,\"term_months\":360}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call apr-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`loan_amount`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/apr-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the APR Calculator API do? + Calculate true APR from loan amount, rolled-in fees, nominal rate, and term. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to APR Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the APR Calculator API require? + Required fields: loan_amount. Full schema at /v1/openapi.json. Is the APR Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the APR Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `apr-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`apr-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="apr-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - APR to APY Calculator API # APR to APY Calculator API finance 2 credits / call v2026-04-22 Convert APR to APY for a selected compounding frequency. One POST adds APR to APY Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the APR to APY Calculator on miniwebtool.com →](https://miniwebtool.com/apr-to-apy-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/apr-to-apy-calculator/run ``` ### Request body Field Type Req. `apr_percent` `float` ✓ `compounding` annually | semiannually | quarterly | monthly | biweekly | weekly | daily | continuous `str` — `principal` `float` — `years` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "apr-to-apy-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) apr_percent (float) * compounding (str) annually semiannually quarterly monthly biweekly weekly daily continuous annually | semiannually | quarterly | monthly | biweekly | weekly | daily | continuous principal (float) years (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`apr-to-apy-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/apr-to-apy-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"apr_percent":5,"compounding":"monthly","principal":1000,"years":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/apr-to-apy-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'apr_percent': 5, 'compounding': 'monthly', 'principal': 1000, 'years': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/apr-to-apy-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"apr_percent":5,"compounding":"monthly","principal":1000,"years":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'apr_percent' => 5, 'compounding' => 'monthly', 'principal' => 1000, 'years' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/apr-to-apy-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'apr_percent' => 5, 'compounding' => 'monthly', 'principal' => 1000, 'years' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "apr_percent": 5, "compounding": "monthly", "principal": 1000, "years": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/apr-to-apy-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/apr-to-apy-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"apr_percent\":5,\"compounding\":\"monthly\",\"principal\":1000,\"years\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call apr-to-apy-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`apr_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/apr-to-apy-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the APR to APY Calculator API do? + Convert APR to APY for a selected compounding frequency. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to APR to APY Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the APR to APY Calculator API require? + Required fields: apr_percent. Full schema at /v1/openapi.json. Is the APR to APY Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the APR to APY Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `apr-to-apy-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`apr-to-apy-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="apr-to-apy-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - APY Calculator API # APY Calculator API finance 2 credits / call v2026-04-22 Calculate annual percentage yield and compound growth. One POST adds APY Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the APY Calculator on miniwebtool.com →](https://miniwebtool.com/apy-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/apy-calculator/run ``` ### Request body Field Type Req. `rate_percent` `float` ✓ `compounding` annually | semiannually | quarterly | monthly | biweekly | weekly | daily | continuous `str` — `principal` `float` — `years` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "apy-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) rate_percent (float) * compounding (str) annually semiannually quarterly monthly biweekly weekly daily continuous annually | semiannually | quarterly | monthly | biweekly | weekly | daily | continuous principal (float) years (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`apy-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/apy-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"rate_percent":5,"compounding":"monthly","principal":10000,"years":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/apy-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'rate_percent': 5, 'compounding': 'monthly', 'principal': 10000, 'years': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/apy-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"rate_percent":5,"compounding":"monthly","principal":10000,"years":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'rate_percent' => 5, 'compounding' => 'monthly', 'principal' => 10000, 'years' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/apy-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'rate_percent' => 5, 'compounding' => 'monthly', 'principal' => 10000, 'years' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "rate_percent": 5, "compounding": "monthly", "principal": 10000, "years": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/apy-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/apy-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"rate_percent\":5,\"compounding\":\"monthly\",\"principal\":10000,\"years\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call apy-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`rate_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/apy-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the APY Calculator API do? + Calculate annual percentage yield and compound growth. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to APY Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the APY Calculator API require? + Required fields: rate_percent. Full schema at /v1/openapi.json. Is the APY Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the APY Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `apy-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`apy-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="apy-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - APY to APR Calculator API # APY to APR Calculator API finance 2 credits / call v2026-04-22 Convert APY back to nominal APR for a compounding frequency. One POST adds APY to APR Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the APY to APR Calculator on miniwebtool.com →](https://miniwebtool.com/apy-to-apr-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/apy-to-apr-calculator/run ``` ### Request body Field Type Req. `apy_percent` `float` ✓ `compounding` annually | semiannually | quarterly | monthly | biweekly | weekly | daily | continuous `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "apy-to-apr-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) apy_percent (float) * compounding (str) annually semiannually quarterly monthly biweekly weekly daily continuous annually | semiannually | quarterly | monthly | biweekly | weekly | daily | continuous precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`apy-to-apr-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/apy-to-apr-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"apy_percent":5.11619,"compounding":"monthly"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/apy-to-apr-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'apy_percent': 5.11619, 'compounding': 'monthly'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/apy-to-apr-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"apy_percent":5.11619,"compounding":"monthly"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'apy_percent' => 5.11619, 'compounding' => 'monthly' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/apy-to-apr-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'apy_percent' => 5.11619, 'compounding' => 'monthly' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "apy_percent": 5.11619, "compounding": "monthly", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/apy-to-apr-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/apy-to-apr-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"apy_percent\":5.11619,\"compounding\":\"monthly\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call apy-to-apr-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`apy_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/apy-to-apr-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the APY to APR Calculator API do? + Convert APY back to nominal APR for a compounding frequency. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to APY to APR Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the APY to APR Calculator API require? + Required fields: apy_percent. Full schema at /v1/openapi.json. Is the APY to APR Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the APY to APR Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `apy-to-apr-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`apy-to-apr-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="apy-to-apr-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Compound Interest Calculator API # Compound Interest Calculator API finance 2 credits / call v2026-04-22 Compound-interest formula with selectable compounding frequency. One POST adds Compound Interest Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Compound Interest Calculator on miniwebtool.com →](https://miniwebtool.com/compound-interest-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/compound-interest-calculator/run ``` ### Request body Field Type Req. `principal` `float` ✓ `annual_rate_percent` `float` ✓ `years` `float` ✓ `compounding` annually | semiannually | quarterly | monthly | weekly | daily `str` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "compound-interest-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) principal (float) * annual_rate_percent (float) * years (float) * compounding (str) annually semiannually quarterly monthly weekly daily annually | semiannually | quarterly | monthly | weekly | daily Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`compound-interest-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/compound-interest-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"principal":1000,"annual_rate_percent":5,"years":10,"compounding":"monthly"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/compound-interest-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'principal': 1000, 'annual_rate_percent': 5, 'years': 10, 'compounding': 'monthly'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/compound-interest-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"principal":1000,"annual_rate_percent":5,"years":10,"compounding":"monthly"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'principal' => 1000, 'annual_rate_percent' => 5, 'years' => 10, 'compounding' => 'monthly' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/compound-interest-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'principal' => 1000, 'annual_rate_percent' => 5, 'years' => 10, 'compounding' => 'monthly' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "principal": 1000, "annual_rate_percent": 5, "years": 10, "compounding": "monthly", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/compound-interest-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/compound-interest-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"principal\":1000,\"annual_rate_percent\":5,\"years\":10,\"compounding\":\"monthly\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call compound-interest-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`principal`,`annual_rate_percent`,`years`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/compound-interest-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Compound Interest Calculator API do? + Compound-interest formula with selectable compounding frequency. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Compound Interest Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Compound Interest Calculator API require? + Required fields: principal, annual_rate_percent, years. Full schema at /v1/openapi.json. Is the Compound Interest Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Compound Interest Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `compound-interest-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`compound-interest-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="compound-interest-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Continuous Compounding Calculator API # Continuous Compounding Calculator API finance 1 credit / call v2026-04-22 Calculate future value and interest with continuous compounding. One POST adds Continuous Compounding Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Continuous Compounding Calculator on miniwebtool.com →](https://miniwebtool.com/continuous-compounding-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/continuous-compounding-calculator/run ``` ### Request body Field Type Req. `principal` `float` — `annual_rate_percent` `float` — `time_value` `float` — `time_unit` years | months | days `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "continuous-compounding-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) principal (float) annual_rate_percent (float) time_value (float) time_unit (str) years months days years | months | days precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`continuous-compounding-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/continuous-compounding-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"principal":10000,"annual_rate_percent":5,"time_value":10,"time_unit":"years","precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/continuous-compounding-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'principal': 10000, 'annual_rate_percent': 5, 'time_value': 10, 'time_unit': 'years', 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/continuous-compounding-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"principal":10000,"annual_rate_percent":5,"time_value":10,"time_unit":"years","precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'principal' => 10000, 'annual_rate_percent' => 5, 'time_value' => 10, 'time_unit' => 'years', 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/continuous-compounding-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'principal' => 10000, 'annual_rate_percent' => 5, 'time_value' => 10, 'time_unit' => 'years', 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "principal": 10000, "annual_rate_percent": 5, "time_value": 10, "time_unit": "years", "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/continuous-compounding-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/continuous-compounding-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"principal\":10000,\"annual_rate_percent\":5,\"time_value\":10,\"time_unit\":\"years\",\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call continuous-compounding-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/continuous-compounding-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Continuous Compounding Calculator API do? + Calculate future value and interest with continuous compounding. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Continuous Compounding Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Continuous Compounding Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Continuous Compounding Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Continuous Compounding Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `continuous-compounding-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`continuous-compounding-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="continuous-compounding-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Doubling Time Calculator API # Doubling Time Calculator API finance 1 credit / call v2026-04-22 Calculate exact doubling time, Rule of 72 estimates, or the rate required to double. One POST adds Doubling Time Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Doubling Time Calculator on miniwebtool.com →](https://miniwebtool.com/doubling-time-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/doubling-time-calculator/run ``` ### Request body Field Type Req. `mode` rate_to_time | time_to_rate `str` — `growth_rate_percent` `float | None` — `target_time` `float | None` — `period` yearly | monthly | daily `str` — `initial_value` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "doubling-time-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) rate_to_time time_to_rate rate_to_time | time_to_rate growth_rate_percent (float | None) target_time (float | None) period (str) yearly monthly daily yearly | monthly | daily initial_value (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`doubling-time-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/doubling-time-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"rate_to_time","growth_rate_percent":7,"period":"yearly","initial_value":1000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/doubling-time-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'rate_to_time', 'growth_rate_percent': 7, 'period': 'yearly', 'initial_value': 1000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/doubling-time-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"rate_to_time","growth_rate_percent":7,"period":"yearly","initial_value":1000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'rate_to_time', 'growth_rate_percent' => 7, 'period' => 'yearly', 'initial_value' => 1000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/doubling-time-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'rate_to_time', 'growth_rate_percent' => 7, 'period' => 'yearly', 'initial_value' => 1000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "rate_to_time", "growth_rate_percent": 7, "period": "yearly", "initial_value": 1000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/doubling-time-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/doubling-time-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"rate_to_time\",\"growth_rate_percent\":7,\"period\":\"yearly\",\"initial_value\":1000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call doubling-time-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/doubling-time-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Doubling Time Calculator API do? + Calculate exact doubling time, Rule of 72 estimates, or the rate required to double. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Doubling Time Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Doubling Time Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Doubling Time Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Doubling Time Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `doubling-time-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`doubling-time-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="doubling-time-calculator")' ``` see-also related finance tools [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) [ Discount Calculator Calculate final price, savings, tax, stacked discounts, or BOGO deals. ](/tools/discount-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Effective Interest Rate Calculator API # Effective Interest Rate Calculator API finance 2 credits / call v2026-04-22 Convert a nominal interest rate to its effective annual rate. One POST adds Effective Interest Rate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Effective Interest Rate Calculator on miniwebtool.com →](https://miniwebtool.com/effective-interest-rate-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/effective-interest-rate-calculator/run ``` ### Request body Field Type Req. `nominal_rate_percent` `float` ✓ `compounding` annually | semiannually | quarterly | monthly | biweekly | weekly | daily | continuous `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "effective-interest-rate-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) nominal_rate_percent (float) * compounding (str) annually semiannually quarterly monthly biweekly weekly daily continuous annually | semiannually | quarterly | monthly | biweekly | weekly | daily | continuous precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`effective-interest-rate-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/effective-interest-rate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"nominal_rate_percent":7.5,"compounding":"monthly"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/effective-interest-rate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'nominal_rate_percent': 7.5, 'compounding': 'monthly'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/effective-interest-rate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"nominal_rate_percent":7.5,"compounding":"monthly"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'nominal_rate_percent' => 7.5, 'compounding' => 'monthly' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/effective-interest-rate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'nominal_rate_percent' => 7.5, 'compounding' => 'monthly' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "nominal_rate_percent": 7.5, "compounding": "monthly", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/effective-interest-rate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/effective-interest-rate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"nominal_rate_percent\":7.5,\"compounding\":\"monthly\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call effective-interest-rate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`nominal_rate_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/effective-interest-rate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Effective Interest Rate Calculator API do? + Convert a nominal interest rate to its effective annual rate. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Effective Interest Rate Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Effective Interest Rate Calculator API require? + Required fields: nominal_rate_percent. Full schema at /v1/openapi.json. Is the Effective Interest Rate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Effective Interest Rate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `effective-interest-rate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`effective-interest-rate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="effective-interest-rate-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Effective Yield Calculator API # Effective Yield Calculator API finance 2 credits / call v2026-04-22 Calculate effective annual yield from nominal APR and compounding frequency. One POST adds Effective Yield Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Effective Yield Calculator on miniwebtool.com →](https://miniwebtool.com/effective-yield-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/effective-yield-calculator/run ``` ### Request body Field Type Req. `nominal_rate` `float` ✓ `periods` 1 | 2 | 4 | 12 | 26 | 52 | 365 `int` — `principal` `float` — `years` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "effective-yield-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) nominal_rate (float) * periods (int) 1 | 2 | 4 | 12 | 26 | 52 | 365 principal (float) years (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`effective-yield-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/effective-yield-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"nominal_rate":6.5,"periods":12,"principal":10000,"years":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/effective-yield-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'nominal_rate': 6.5, 'periods': 12, 'principal': 10000, 'years': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/effective-yield-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"nominal_rate":6.5,"periods":12,"principal":10000,"years":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'nominal_rate' => 6.5, 'periods' => 12, 'principal' => 10000, 'years' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/effective-yield-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'nominal_rate' => 6.5, 'periods' => 12, 'principal' => 10000, 'years' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "nominal_rate": 6.5, "periods": 12, "principal": 10000, "years": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/effective-yield-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/effective-yield-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"nominal_rate\":6.5,\"periods\":12,\"principal\":10000,\"years\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call effective-yield-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`nominal_rate`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/effective-yield-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Effective Yield Calculator API do? + Calculate effective annual yield from nominal APR and compounding frequency. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Effective Yield Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Effective Yield Calculator API require? + Required fields: nominal_rate. Full schema at /v1/openapi.json. Is the Effective Yield Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Effective Yield Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `effective-yield-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`effective-yield-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="effective-yield-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Interest Rate Calculator API # Interest Rate Calculator API finance 2 credits / call v2026-04-22 Solve the implied annual interest rate from principal, term, and monthly payment. One POST adds Interest Rate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Interest Rate Calculator on miniwebtool.com →](https://miniwebtool.com/interest-rate-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/interest-rate-calculator/run ``` ### Request body Field Type Req. `loan_amount` `float` ✓ `term_value` `int` ✓ `term_unit` years | months `str` — `monthly_payment` `float` ✓ `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "interest-rate-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) loan_amount (float) * term_value (int) * term_unit (str) years months years | months monthly_payment (float) * precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`interest-rate-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/interest-rate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"loan_amount":250000,"term_value":30,"term_unit":"years","monthly_payment":1580}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/interest-rate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'loan_amount': 250000, 'term_value': 30, 'term_unit': 'years', 'monthly_payment': 1580}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/interest-rate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"loan_amount":250000,"term_value":30,"term_unit":"years","monthly_payment":1580}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'loan_amount' => 250000, 'term_value' => 30, 'term_unit' => 'years', 'monthly_payment' => 1580 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/interest-rate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'loan_amount' => 250000, 'term_value' => 30, 'term_unit' => 'years', 'monthly_payment' => 1580 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "loan_amount": 250000, "term_value": 30, "term_unit": "years", "monthly_payment": 1580, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/interest-rate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/interest-rate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"loan_amount\":250000,\"term_value\":30,\"term_unit\":\"years\",\"monthly_payment\":1580}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call interest-rate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`loan_amount`,`term_value`,`monthly_payment`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/interest-rate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Interest Rate Calculator API do? + Solve the implied annual interest rate from principal, term, and monthly payment. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Interest Rate Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Interest Rate Calculator API require? + Required fields: loan_amount, term_value, monthly_payment. Full schema at /v1/openapi.json. Is the Interest Rate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Interest Rate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `interest-rate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`interest-rate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="interest-rate-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Nominal Interest Rate Calculator API # Nominal Interest Rate Calculator API finance 2 credits / call v2026-04-22 Convert an effective annual rate to a nominal annual rate. One POST adds Nominal Interest Rate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Nominal Interest Rate Calculator on miniwebtool.com →](https://miniwebtool.com/nominal-interest-rate-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/nominal-interest-rate-calculator/run ``` ### Request body Field Type Req. `effective_rate_percent` `float` ✓ `compounding` 1 | 2 | 4 | 12 | 24 | 26 | 52 | 365 | continuous `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "nominal-interest-rate-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) effective_rate_percent (float) * compounding (str) 1 2 4 12 24 26 52 365 continuous 1 | 2 | 4 | 12 | 24 | 26 | 52 | 365 | continuous precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`nominal-interest-rate-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/nominal-interest-rate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"effective_rate_percent":6.17,"compounding":"12"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/nominal-interest-rate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'effective_rate_percent': 6.17, 'compounding': '12'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/nominal-interest-rate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"effective_rate_percent":6.17,"compounding":"12"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'effective_rate_percent' => 6.17, 'compounding' => '12' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/nominal-interest-rate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'effective_rate_percent' => 6.17, 'compounding' => '12' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "effective_rate_percent": 6.17, "compounding": "12", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/nominal-interest-rate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/nominal-interest-rate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"effective_rate_percent\":6.17,\"compounding\":\"12\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call nominal-interest-rate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`effective_rate_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/nominal-interest-rate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Nominal Interest Rate Calculator API do? + Convert an effective annual rate to a nominal annual rate. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Nominal Interest Rate Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Nominal Interest Rate Calculator API require? + Required fields: effective_rate_percent. Full schema at /v1/openapi.json. Is the Nominal Interest Rate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Nominal Interest Rate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `nominal-interest-rate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`nominal-interest-rate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="nominal-interest-rate-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Simple Interest Calculator API # Simple Interest Calculator API finance 2 credits / call v2026-04-22 Simple-interest formula: I = P * r * t. One POST adds Simple Interest Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Simple Interest Calculator on miniwebtool.com →](https://miniwebtool.com/simple-interest-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/simple-interest-calculator/run ``` ### Request body Field Type Req. `principal` `float` ✓ `annual_rate_percent` `float` ✓ `years` `float` ✓ ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "simple-interest-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) principal (float) * annual_rate_percent (float) * years (float) * Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`simple-interest-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/simple-interest-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"principal":1000,"annual_rate_percent":5,"years":3}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/simple-interest-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'principal': 1000, 'annual_rate_percent': 5, 'years': 3}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/simple-interest-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"principal":1000,"annual_rate_percent":5,"years":3}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'principal' => 1000, 'annual_rate_percent' => 5, 'years' => 3 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/simple-interest-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'principal' => 1000, 'annual_rate_percent' => 5, 'years' => 3 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "principal": 1000, "annual_rate_percent": 5, "years": 3, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/simple-interest-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/simple-interest-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"principal\":1000,\"annual_rate_percent\":5,\"years\":3}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call simple-interest-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`principal`,`annual_rate_percent`,`years`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/simple-interest-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Simple Interest Calculator API do? + Simple-interest formula: I = P * r * t. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Simple Interest Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Simple Interest Calculator API require? + Required fields: principal, annual_rate_percent, years. Full schema at /v1/openapi.json. Is the Simple Interest Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Simple Interest Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `simple-interest-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`simple-interest-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="simple-interest-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Stock Profit Loss Calculator API # Stock Profit Loss Calculator API finance 2 credits / call v2026-04-22 Calculate stock trade profit, loss, ROI, and breakeven price. One POST adds Stock Profit Loss Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Stock Profit Loss Calculator on miniwebtool.com →](https://miniwebtool.com/stock-profit-loss-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/stock-profit-loss-calculator/run ``` ### Request body Field Type Req. `buy_price` `float` ✓ `sell_price` `float` ✓ `shares` `float` ✓ `buy_commission` `float` — `sell_commission` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "stock-profit-loss-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) buy_price (float) * sell_price (float) * shares (float) * buy_commission (float) sell_commission (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`stock-profit-loss-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/stock-profit-loss-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"buy_price":150,"sell_price":185,"shares":100,"buy_commission":9.99,"sell_commission":9.99}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/stock-profit-loss-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'buy_price': 150, 'sell_price': 185, 'shares': 100, 'buy_commission': 9.99, 'sell_commission': 9.99}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/stock-profit-loss-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"buy_price":150,"sell_price":185,"shares":100,"buy_commission":9.99,"sell_commission":9.99}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'buy_price' => 150, 'sell_price' => 185, 'shares' => 100, 'buy_commission' => 9.99, 'sell_commission' => 9.99 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/stock-profit-loss-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'buy_price' => 150, 'sell_price' => 185, 'shares' => 100, 'buy_commission' => 9.99, 'sell_commission' => 9.99 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "buy_price": 150, "sell_price": 185, "shares": 100, "buy_commission": 9.99, "sell_commission": 9.99, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/stock-profit-loss-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/stock-profit-loss-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"buy_price\":150,\"sell_price\":185,\"shares\":100,\"buy_commission\":9.99,\"sell_commission\":9.99}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call stock-profit-loss-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`buy_price`,`sell_price`,`shares`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/stock-profit-loss-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Stock Profit Loss Calculator API do? + Calculate stock trade profit, loss, ROI, and breakeven price. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Stock Profit Loss Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Stock Profit Loss Calculator API require? + Required fields: buy_price, sell_price, shares. Full schema at /v1/openapi.json. Is the Stock Profit Loss Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Stock Profit Loss Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `stock-profit-loss-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`stock-profit-loss-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="stock-profit-loss-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Capital Employed Calculator API # Capital Employed Calculator API finance 2 credits / call v2026-04-22 Calculate capital employed by common balance-sheet methods and optional ROCE. One POST adds Capital Employed Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Capital Employed Calculator on miniwebtool.com →](https://miniwebtool.com/capital-employed-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/capital-employed-calculator/run ``` ### Request body Field Type Req. `calc_method` method1 | method2 | method3 `str` — `total_assets` `float | None` — `current_liabilities` `float | None` — `non_current_assets` `float | None` — `current_assets` `float | None` — `shareholders_equity` `float | None` — `non_current_liabilities` `float | None` — `operating_profit` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "capital-employed-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_method (str) method1 method2 method3 method1 | method2 | method3 total_assets (float | None) current_liabilities (float | None) non_current_assets (float | None) current_assets (float | None) shareholders_equity (float | None) non_current_liabilities (float | None) operating_profit (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`capital-employed-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/capital-employed-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_method":"method1","total_assets":500000,"current_liabilities":100000,"operating_profit":80000,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/capital-employed-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_method': 'method1', 'total_assets': 500000, 'current_liabilities': 100000, 'operating_profit': 80000, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/capital-employed-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_method":"method1","total_assets":500000,"current_liabilities":100000,"operating_profit":80000,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_method' => 'method1', 'total_assets' => 500000, 'current_liabilities' => 100000, 'operating_profit' => 80000, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/capital-employed-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_method' => 'method1', 'total_assets' => 500000, 'current_liabilities' => 100000, 'operating_profit' => 80000, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_method": "method1", "total_assets": 500000, "current_liabilities": 100000, "operating_profit": 80000, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/capital-employed-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/capital-employed-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_method\":\"method1\",\"total_assets\":500000,\"current_liabilities\":100000,\"operating_profit\":80000,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call capital-employed-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/capital-employed-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Capital Employed Calculator API do? + Calculate capital employed by common balance-sheet methods and optional ROCE. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Capital Employed Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Capital Employed Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Capital Employed Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Capital Employed Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `capital-employed-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`capital-employed-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="capital-employed-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - WACC Calculator API # WACC Calculator API finance 1 credit / call v2026-04-22 Calculate weighted average cost of capital and component contributions. One POST adds WACC Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the WACC Calculator on miniwebtool.com →](https://miniwebtool.com/wacc-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/wacc-calculator/run ``` ### Request body Field Type Req. `cost_of_equity` `float` — `market_value_equity` `float` — `cost_of_debt` `float` — `market_value_debt` `float` — `tax_rate` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "wacc-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) cost_of_equity (float) market_value_equity (float) cost_of_debt (float) market_value_debt (float) tax_rate (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`wacc-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/wacc-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"cost_of_equity":12,"market_value_equity":5000000,"cost_of_debt":6,"market_value_debt":2000000,"tax_rate":25,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/wacc-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'cost_of_equity': 12, 'market_value_equity': 5000000, 'cost_of_debt': 6, 'market_value_debt': 2000000, 'tax_rate': 25, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/wacc-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"cost_of_equity":12,"market_value_equity":5000000,"cost_of_debt":6,"market_value_debt":2000000,"tax_rate":25,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'cost_of_equity' => 12, 'market_value_equity' => 5000000, 'cost_of_debt' => 6, 'market_value_debt' => 2000000, 'tax_rate' => 25, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/wacc-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'cost_of_equity' => 12, 'market_value_equity' => 5000000, 'cost_of_debt' => 6, 'market_value_debt' => 2000000, 'tax_rate' => 25, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "cost_of_equity": 12, "market_value_equity": 5000000, "cost_of_debt": 6, "market_value_debt": 2000000, "tax_rate": 25, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/wacc-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/wacc-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"cost_of_equity\":12,\"market_value_equity\":5000000,\"cost_of_debt\":6,\"market_value_debt\":2000000,\"tax_rate\":25,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call wacc-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/wacc-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the WACC Calculator API do? + Calculate weighted average cost of capital and component contributions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to WACC Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the WACC Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the WACC Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the WACC Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `wacc-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`wacc-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="wacc-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Debt to Asset Ratio Calculator API # Debt to Asset Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate debt-to-asset ratio, equity ratio, and optional industry benchmark spread. One POST adds Debt to Asset Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Debt to Asset Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/debt-to-asset-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/debt-to-asset-ratio-calculator/run ``` ### Request body Field Type Req. `total_liabilities` `float` — `total_assets` `float` — `industry` none | utilities | real_estate | manufacturing | retail | technology | healthcare | financial | consumer_goods `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "debt-to-asset-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) total_liabilities (float) total_assets (float) industry (str) none utilities real_estate manufacturing retail technology healthcare financial consumer_goods none | utilities | real_estate | manufacturing | retail | technology | healthcare | financial | consumer_goods precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`debt-to-asset-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/debt-to-asset-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"total_liabilities":500000,"total_assets":1200000,"industry":"technology","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/debt-to-asset-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'total_liabilities': 500000, 'total_assets': 1200000, 'industry': 'technology', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/debt-to-asset-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"total_liabilities":500000,"total_assets":1200000,"industry":"technology","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'total_liabilities' => 500000, 'total_assets' => 1200000, 'industry' => 'technology', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/debt-to-asset-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'total_liabilities' => 500000, 'total_assets' => 1200000, 'industry' => 'technology', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "total_liabilities": 500000, "total_assets": 1200000, "industry": "technology", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/debt-to-asset-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/debt-to-asset-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"total_liabilities\":500000,\"total_assets\":1200000,\"industry\":\"technology\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call debt-to-asset-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/debt-to-asset-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Debt to Asset Ratio Calculator API do? + Calculate debt-to-asset ratio, equity ratio, and optional industry benchmark spread. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Debt to Asset Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Debt to Asset Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Debt to Asset Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Debt to Asset Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `debt-to-asset-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`debt-to-asset-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="debt-to-asset-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Debt to Equity Ratio Calculator API # Debt to Equity Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate debt-to-equity ratio, equity multiplier, and capital structure shares. One POST adds Debt to Equity Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Debt to Equity Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/debt-to-equity-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/debt-to-equity-ratio-calculator/run ``` ### Request body Field Type Req. `total_liabilities` `float` — `stockholders_equity` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "debt-to-equity-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) total_liabilities (float) stockholders_equity (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`debt-to-equity-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/debt-to-equity-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"total_liabilities":500000,"stockholders_equity":250000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/debt-to-equity-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'total_liabilities': 500000, 'stockholders_equity': 250000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/debt-to-equity-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"total_liabilities":500000,"stockholders_equity":250000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'total_liabilities' => 500000, 'stockholders_equity' => 250000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/debt-to-equity-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'total_liabilities' => 500000, 'stockholders_equity' => 250000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "total_liabilities": 500000, "stockholders_equity": 250000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/debt-to-equity-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/debt-to-equity-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"total_liabilities\":500000,\"stockholders_equity\":250000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call debt-to-equity-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/debt-to-equity-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Debt to Equity Ratio Calculator API do? + Calculate debt-to-equity ratio, equity multiplier, and capital structure shares. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Debt to Equity Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Debt to Equity Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Debt to Equity Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Debt to Equity Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `debt-to-equity-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`debt-to-equity-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="debt-to-equity-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Equity Ratio Calculator API # Equity Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate equity ratio, debt ratio, equity multiplier, and industry benchmark spread. One POST adds Equity Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Equity Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/equity-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/equity-ratio-calculator/run ``` ### Request body Field Type Req. `total_equity` `float` — `total_assets` `float` — `industry` general | technology | healthcare | financial | manufacturing | retail | utilities | real_estate | energy | consumer `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "equity-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) total_equity (float) total_assets (float) industry (str) general technology healthcare financial manufacturing retail utilities real_estate energy consumer general | technology | healthcare | financial | manufacturing | retail | utilities | real_estate | energy | consumer precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`equity-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/equity-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"total_equity":500000,"total_assets":1000000,"industry":"general","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/equity-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'total_equity': 500000, 'total_assets': 1000000, 'industry': 'general', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/equity-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"total_equity":500000,"total_assets":1000000,"industry":"general","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'total_equity' => 500000, 'total_assets' => 1000000, 'industry' => 'general', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/equity-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'total_equity' => 500000, 'total_assets' => 1000000, 'industry' => 'general', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "total_equity": 500000, "total_assets": 1000000, "industry": "general", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/equity-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/equity-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"total_equity\":500000,\"total_assets\":1000000,\"industry\":\"general\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call equity-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/equity-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Equity Ratio Calculator API do? + Calculate equity ratio, debt ratio, equity multiplier, and industry benchmark spread. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Equity Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Equity Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Equity Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Equity Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `equity-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`equity-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="equity-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Cash Ratio Calculator API # Cash Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate cash ratio from cash, marketable securities, and current liabilities. One POST adds Cash Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cash Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/cash-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/cash-ratio-calculator/run ``` ### Request body Field Type Req. `cash` `float` — `marketable_securities` `float` — `current_liabilities` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cash-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) cash (float) marketable_securities (float) current_liabilities (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`cash-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cash-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"cash":250000,"marketable_securities":150000,"current_liabilities":600000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cash-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'cash': 250000, 'marketable_securities': 150000, 'current_liabilities': 600000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cash-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"cash":250000,"marketable_securities":150000,"current_liabilities":600000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'cash' => 250000, 'marketable_securities' => 150000, 'current_liabilities' => 600000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cash-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'cash' => 250000, 'marketable_securities' => 150000, 'current_liabilities' => 600000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "cash": 250000, "marketable_securities": 150000, "current_liabilities": 600000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cash-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cash-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"cash\":250000,\"marketable_securities\":150000,\"current_liabilities\":600000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cash-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cash-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cash Ratio Calculator API do? + Calculate cash ratio from cash, marketable securities, and current liabilities. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cash Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cash Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cash Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cash Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cash-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cash-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cash-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Current Ratio Calculator API # Current Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate current ratio and working capital from current assets and liabilities. One POST adds Current Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Current Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/current-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/current-ratio-calculator/run ``` ### Request body Field Type Req. `current_assets` `float` — `current_liabilities` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "current-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) current_assets (float) current_liabilities (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`current-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/current-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"current_assets":500000,"current_liabilities":250000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/current-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'current_assets': 500000, 'current_liabilities': 250000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/current-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"current_assets":500000,"current_liabilities":250000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'current_assets' => 500000, 'current_liabilities' => 250000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/current-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'current_assets' => 500000, 'current_liabilities' => 250000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "current_assets": 500000, "current_liabilities": 250000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/current-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/current-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"current_assets\":500000,\"current_liabilities\":250000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call current-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/current-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Current Ratio Calculator API do? + Calculate current ratio and working capital from current assets and liabilities. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Current Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Current Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Current Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Current Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `current-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`current-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="current-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Loan to Deposit Ratio Calculator API # Loan to Deposit Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate bank loan-to-deposit ratio, deposit coverage, and liquidity status. One POST adds Loan to Deposit Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Loan to Deposit Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/loan-to-deposit-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/loan-to-deposit-ratio-calculator/run ``` ### Request body Field Type Req. `total_loans` `float` — `total_deposits` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "loan-to-deposit-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) total_loans (float) total_deposits (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`loan-to-deposit-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/loan-to-deposit-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"total_loans":850000000,"total_deposits":1000000000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/loan-to-deposit-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'total_loans': 850000000, 'total_deposits': 1000000000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/loan-to-deposit-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"total_loans":850000000,"total_deposits":1000000000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'total_loans' => 850000000, 'total_deposits' => 1000000000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/loan-to-deposit-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'total_loans' => 850000000, 'total_deposits' => 1000000000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "total_loans": 850000000, "total_deposits": 1000000000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/loan-to-deposit-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/loan-to-deposit-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"total_loans\":850000000,\"total_deposits\":1000000000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call loan-to-deposit-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/loan-to-deposit-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Loan to Deposit Ratio Calculator API do? + Calculate bank loan-to-deposit ratio, deposit coverage, and liquidity status. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Loan to Deposit Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Loan to Deposit Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Loan to Deposit Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Loan to Deposit Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `loan-to-deposit-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`loan-to-deposit-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="loan-to-deposit-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Quick Ratio Calculator API # Quick Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate quick ratio, quick assets, current ratio, and liquidity rating. One POST adds Quick Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Quick Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/quick-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/quick-ratio-calculator/run ``` ### Request body Field Type Req. `current_assets` `float` ✓ `inventory` `float` ✓ `current_liabilities` `float` ✓ `prepaid_expenses` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "quick-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) current_assets (float) * inventory (float) * current_liabilities (float) * prepaid_expenses (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`quick-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/quick-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"current_assets":500000,"inventory":150000,"prepaid_expenses":20000,"current_liabilities":300000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/quick-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'current_assets': 500000, 'inventory': 150000, 'prepaid_expenses': 20000, 'current_liabilities': 300000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/quick-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"current_assets":500000,"inventory":150000,"prepaid_expenses":20000,"current_liabilities":300000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'current_assets' => 500000, 'inventory' => 150000, 'prepaid_expenses' => 20000, 'current_liabilities' => 300000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/quick-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'current_assets' => 500000, 'inventory' => 150000, 'prepaid_expenses' => 20000, 'current_liabilities' => 300000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "current_assets": 500000, "inventory": 150000, "prepaid_expenses": 20000, "current_liabilities": 300000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/quick-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/quick-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"current_assets\":500000,\"inventory\":150000,\"prepaid_expenses\":20000,\"current_liabilities\":300000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call quick-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`current_assets`,`inventory`,`current_liabilities`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/quick-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Quick Ratio Calculator API do? + Calculate quick ratio, quick assets, current ratio, and liquidity rating. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Quick Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Quick Ratio Calculator API require? + Required fields: current_assets, inventory, current_liabilities. Full schema at /v1/openapi.json. Is the Quick Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Quick Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `quick-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`quick-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="quick-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Amortization Calculator API # Amortization Calculator API finance 1 credit / call v2026-04-22 Calculate loan payment, interest, payoff timing, and savings from extra monthly principal. One POST adds Amortization Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Amortization Calculator on miniwebtool.com →](https://miniwebtool.com/amortization-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/amortization-calculator/run ``` ### Request body Field Type Req. `loan_amount` `float` — `interest_rate` `float` — `term_years` `int` — `extra_monthly_payment` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "amortization-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) loan_amount (float) interest_rate (float) term_years (int) extra_monthly_payment (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`amortization-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/amortization-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"loan_amount":100000,"interest_rate":7,"term_years":20,"extra_monthly_payment":0}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/amortization-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'loan_amount': 100000, 'interest_rate': 7, 'term_years': 20, 'extra_monthly_payment': 0}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/amortization-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"loan_amount":100000,"interest_rate":7,"term_years":20,"extra_monthly_payment":0}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'loan_amount' => 100000, 'interest_rate' => 7, 'term_years' => 20, 'extra_monthly_payment' => 0 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/amortization-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'loan_amount' => 100000, 'interest_rate' => 7, 'term_years' => 20, 'extra_monthly_payment' => 0 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "loan_amount": 100000, "interest_rate": 7, "term_years": 20, "extra_monthly_payment": 0, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/amortization-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/amortization-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"loan_amount\":100000,\"interest_rate\":7,\"term_years\":20,\"extra_monthly_payment\":0}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call amortization-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/amortization-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Amortization Calculator API do? + Calculate loan payment, interest, payoff timing, and savings from extra monthly principal. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Amortization Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Amortization Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Amortization Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Amortization Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `amortization-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`amortization-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="amortization-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - HELOC Calculator API # HELOC Calculator API finance 1 credit / call v2026-04-22 Estimate HELOC draw-period and repayment-period payments, interest cost, and combined loan-to-value. One POST adds HELOC Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the HELOC Calculator on miniwebtool.com →](https://miniwebtool.com/heloc-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/heloc-calculator/run ``` ### Request body Field Type Req. `home_value` `float` — `mortgage_balance` `float` — `heloc_amount` `float` — `interest_rate` `float` — `draw_period` 5 | 7 | 10 `str` — `repayment_period` 10 | 15 | 20 `str` — `payment_type` interest_only | full `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "heloc-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) home_value (float) mortgage_balance (float) heloc_amount (float) interest_rate (float) draw_period (str) 5 7 10 5 | 7 | 10 repayment_period (str) 10 15 20 10 | 15 | 20 payment_type (str) interest_only full interest_only | full Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`heloc-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/heloc-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"home_value":500000,"mortgage_balance":300000,"heloc_amount":50000,"interest_rate":8.5,"draw_period":"10","repayment_period":"20","payment_type":"interest_only"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/heloc-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'home_value': 500000, 'mortgage_balance': 300000, 'heloc_amount': 50000, 'interest_rate': 8.5, 'draw_period': '10', 'repayment_period': '20', 'payment_type': 'interest_only'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/heloc-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"home_value":500000,"mortgage_balance":300000,"heloc_amount":50000,"interest_rate":8.5,"draw_period":"10","repayment_period":"20","payment_type":"interest_only"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'home_value' => 500000, 'mortgage_balance' => 300000, 'heloc_amount' => 50000, 'interest_rate' => 8.5, 'draw_period' => '10', 'repayment_period' => '20', 'payment_type' => 'interest_only' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/heloc-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'home_value' => 500000, 'mortgage_balance' => 300000, 'heloc_amount' => 50000, 'interest_rate' => 8.5, 'draw_period' => '10', 'repayment_period' => '20', 'payment_type' => 'interest_only' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "home_value": 500000, "mortgage_balance": 300000, "heloc_amount": 50000, "interest_rate": 8.5, "draw_period": "10", "repayment_period": "20", "payment_type": "interest_only", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/heloc-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/heloc-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"home_value\":500000,\"mortgage_balance\":300000,\"heloc_amount\":50000,\"interest_rate\":8.5,\"draw_period\":\"10\",\"repayment_period\":\"20\",\"payment_type\":\"interest_only\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call heloc-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/heloc-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the HELOC Calculator API do? + Estimate HELOC draw-period and repayment-period payments, interest cost, and combined loan-to-value. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to HELOC Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the HELOC Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the HELOC Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the HELOC Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `heloc-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`heloc-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="heloc-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Auto Loan Calculator API # Auto Loan Calculator API finance 2 credits / call v2026-04-22 Calculate auto loan amount, monthly payment, tax, and total interest. One POST adds Auto Loan Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Auto Loan Calculator on miniwebtool.com →](https://miniwebtool.com/auto-loan-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/auto-loan-calculator/run ``` ### Request body Field Type Req. `auto_price` `float` ✓ `down_payment` `float` — `trade_in` `float` — `sales_tax_percent` `float` — `interest_rate_percent` `float` — `term_months` `int` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "auto-loan-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) auto_price (float) * down_payment (float) trade_in (float) sales_tax_percent (float) interest_rate_percent (float) term_months (int) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`auto-loan-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/auto-loan-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"auto_price":30000,"down_payment":5000,"trade_in":2000,"sales_tax_percent":7,"interest_rate_percent":6.5,"term_months":60}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/auto-loan-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'auto_price': 30000, 'down_payment': 5000, 'trade_in': 2000, 'sales_tax_percent': 7, 'interest_rate_percent': 6.5, 'term_months': 60}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/auto-loan-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"auto_price":30000,"down_payment":5000,"trade_in":2000,"sales_tax_percent":7,"interest_rate_percent":6.5,"term_months":60}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'auto_price' => 30000, 'down_payment' => 5000, 'trade_in' => 2000, 'sales_tax_percent' => 7, 'interest_rate_percent' => 6.5, 'term_months' => 60 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/auto-loan-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'auto_price' => 30000, 'down_payment' => 5000, 'trade_in' => 2000, 'sales_tax_percent' => 7, 'interest_rate_percent' => 6.5, 'term_months' => 60 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "auto_price": 30000, "down_payment": 5000, "trade_in": 2000, "sales_tax_percent": 7, "interest_rate_percent": 6.5, "term_months": 60, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/auto-loan-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/auto-loan-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"auto_price\":30000,\"down_payment\":5000,\"trade_in\":2000,\"sales_tax_percent\":7,\"interest_rate_percent\":6.5,\"term_months\":60}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call auto-loan-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`auto_price`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/auto-loan-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Auto Loan Calculator API do? + Calculate auto loan amount, monthly payment, tax, and total interest. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Auto Loan Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Auto Loan Calculator API require? + Required fields: auto_price. Full schema at /v1/openapi.json. Is the Auto Loan Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Auto Loan Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `auto-loan-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`auto-loan-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="auto-loan-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Business Loan Calculator API # Business Loan Calculator API finance 2 credits / call v2026-04-22 Estimate business loan payments, fees, payoff time, and interest. One POST adds Business Loan Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Business Loan Calculator on miniwebtool.com →](https://miniwebtool.com/business-loan-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/business-loan-calculator/run ``` ### Request body Field Type Req. `loan_amount` `float` ✓ `interest_rate_percent` `float` ✓ `loan_term_years` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 12 | 15 | 20 | 25 `str` — `origination_fee_percent` `float` — `extra_payment` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "business-loan-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) loan_amount (float) * interest_rate_percent (float) * loan_term_years (str) 1 2 3 4 5 6 7 8 10 12 15 20 25 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 12 | 15 | 20 | 25 origination_fee_percent (float) extra_payment (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`business-loan-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/business-loan-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"loan_amount":100000,"interest_rate_percent":7,"loan_term_years":"5","origination_fee_percent":2,"extra_payment":100}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/business-loan-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'loan_amount': 100000, 'interest_rate_percent': 7, 'loan_term_years': '5', 'origination_fee_percent': 2, 'extra_payment': 100}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/business-loan-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"loan_amount":100000,"interest_rate_percent":7,"loan_term_years":"5","origination_fee_percent":2,"extra_payment":100}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'loan_amount' => 100000, 'interest_rate_percent' => 7, 'loan_term_years' => '5', 'origination_fee_percent' => 2, 'extra_payment' => 100 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/business-loan-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'loan_amount' => 100000, 'interest_rate_percent' => 7, 'loan_term_years' => '5', 'origination_fee_percent' => 2, 'extra_payment' => 100 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "loan_amount": 100000, "interest_rate_percent": 7, "loan_term_years": "5", "origination_fee_percent": 2, "extra_payment": 100, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/business-loan-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/business-loan-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"loan_amount\":100000,\"interest_rate_percent\":7,\"loan_term_years\":\"5\",\"origination_fee_percent\":2,\"extra_payment\":100}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call business-loan-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`loan_amount`,`interest_rate_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/business-loan-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Business Loan Calculator API do? + Estimate business loan payments, fees, payoff time, and interest. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Business Loan Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Business Loan Calculator API require? + Required fields: loan_amount, interest_rate_percent. Full schema at /v1/openapi.json. Is the Business Loan Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Business Loan Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `business-loan-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`business-loan-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="business-loan-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Car Loan Payoff Calculator API # Car Loan Payoff Calculator API finance 2 credits / call v2026-04-22 Compare standard and accelerated payoff for a car loan. One POST adds Car Loan Payoff Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Car Loan Payoff Calculator on miniwebtool.com →](https://miniwebtool.com/car-loan-payoff-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/car-loan-payoff-calculator/run ``` ### Request body Field Type Req. `loan_balance` `float` ✓ `interest_rate_percent` `float` ✓ `monthly_payment` `float` ✓ `extra_monthly` `float` — `one_time_payment` `float` — `one_time_month` `int` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "car-loan-payoff-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) loan_balance (float) * interest_rate_percent (float) * monthly_payment (float) * extra_monthly (float) one_time_payment (float) one_time_month (int) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`car-loan-payoff-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/car-loan-payoff-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"loan_balance":18000,"interest_rate_percent":6.5,"monthly_payment":400,"extra_monthly":50}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/car-loan-payoff-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'loan_balance': 18000, 'interest_rate_percent': 6.5, 'monthly_payment': 400, 'extra_monthly': 50}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/car-loan-payoff-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"loan_balance":18000,"interest_rate_percent":6.5,"monthly_payment":400,"extra_monthly":50}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'loan_balance' => 18000, 'interest_rate_percent' => 6.5, 'monthly_payment' => 400, 'extra_monthly' => 50 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/car-loan-payoff-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'loan_balance' => 18000, 'interest_rate_percent' => 6.5, 'monthly_payment' => 400, 'extra_monthly' => 50 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "loan_balance": 18000, "interest_rate_percent": 6.5, "monthly_payment": 400, "extra_monthly": 50, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/car-loan-payoff-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/car-loan-payoff-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"loan_balance\":18000,\"interest_rate_percent\":6.5,\"monthly_payment\":400,\"extra_monthly\":50}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call car-loan-payoff-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`loan_balance`,`interest_rate_percent`,`monthly_payment`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/car-loan-payoff-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Car Loan Payoff Calculator API do? + Compare standard and accelerated payoff for a car loan. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Car Loan Payoff Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Car Loan Payoff Calculator API require? + Required fields: loan_balance, interest_rate_percent, monthly_payment. Full schema at /v1/openapi.json. Is the Car Loan Payoff Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Car Loan Payoff Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `car-loan-payoff-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`car-loan-payoff-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="car-loan-payoff-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Down Payment Calculator API # Down Payment Calculator API finance 2 credits / call v2026-04-22 Estimate mortgage down payment, loan amount, monthly payment, PMI, and comparison scenarios. One POST adds Down Payment Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Down Payment Calculator on miniwebtool.com →](https://miniwebtool.com/down-payment-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/down-payment-calculator/run ``` ### Request body Field Type Req. `home_price` `float` ✓ `interest_rate_percent` `float` ✓ `down_payment_percent` `float | None` — `down_payment_amount` `float | None` — `loan_term_years` 10 | 15 | 20 | 25 | 30 `str` — `property_tax_percent` `float` — `annual_insurance` `float` — `pmi_rate_percent` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "down-payment-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) home_price (float) * interest_rate_percent (float) * down_payment_percent (float | None) down_payment_amount (float | None) loan_term_years (str) 10 15 20 25 30 10 | 15 | 20 | 25 | 30 property_tax_percent (float) annual_insurance (float) pmi_rate_percent (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`down-payment-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/down-payment-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"home_price":350000,"interest_rate_percent":6.5,"down_payment_percent":20,"loan_term_years":"30"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/down-payment-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'home_price': 350000, 'interest_rate_percent': 6.5, 'down_payment_percent': 20, 'loan_term_years': '30'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/down-payment-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"home_price":350000,"interest_rate_percent":6.5,"down_payment_percent":20,"loan_term_years":"30"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'home_price' => 350000, 'interest_rate_percent' => 6.5, 'down_payment_percent' => 20, 'loan_term_years' => '30' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/down-payment-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'home_price' => 350000, 'interest_rate_percent' => 6.5, 'down_payment_percent' => 20, 'loan_term_years' => '30' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "home_price": 350000, "interest_rate_percent": 6.5, "down_payment_percent": 20, "loan_term_years": "30", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/down-payment-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/down-payment-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"home_price\":350000,\"interest_rate_percent\":6.5,\"down_payment_percent\":20,\"loan_term_years\":\"30\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call down-payment-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`home_price`,`interest_rate_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/down-payment-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Down Payment Calculator API do? + Estimate mortgage down payment, loan amount, monthly payment, PMI, and comparison scenarios. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Down Payment Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Down Payment Calculator API require? + Required fields: home_price, interest_rate_percent. Full schema at /v1/openapi.json. Is the Down Payment Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Down Payment Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `down-payment-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`down-payment-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="down-payment-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - EMI Calculator API # EMI Calculator API finance 2 credits / call v2026-04-22 Calculate equated monthly installment and total interest for a loan. One POST adds EMI Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the EMI Calculator on miniwebtool.com →](https://miniwebtool.com/emi-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/emi-calculator/run ``` ### Request body Field Type Req. `loan_amount` `float` ✓ `annual_interest_rate` `float` ✓ `tenure_value` `int` ✓ `tenure_unit` years | months `str` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "emi-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) loan_amount (float) * annual_interest_rate (float) * tenure_value (int) * tenure_unit (str) years months years | months Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`emi-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/emi-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"loan_amount":250000,"annual_interest_rate":7.5,"tenure_value":20,"tenure_unit":"years"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/emi-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'loan_amount': 250000, 'annual_interest_rate': 7.5, 'tenure_value': 20, 'tenure_unit': 'years'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/emi-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"loan_amount":250000,"annual_interest_rate":7.5,"tenure_value":20,"tenure_unit":"years"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'loan_amount' => 250000, 'annual_interest_rate' => 7.5, 'tenure_value' => 20, 'tenure_unit' => 'years' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/emi-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'loan_amount' => 250000, 'annual_interest_rate' => 7.5, 'tenure_value' => 20, 'tenure_unit' => 'years' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "loan_amount": 250000, "annual_interest_rate": 7.5, "tenure_value": 20, "tenure_unit": "years", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/emi-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/emi-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"loan_amount\":250000,\"annual_interest_rate\":7.5,\"tenure_value\":20,\"tenure_unit\":\"years\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call emi-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`loan_amount`,`annual_interest_rate`,`tenure_value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/emi-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the EMI Calculator API do? + Calculate equated monthly installment and total interest for a loan. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to EMI Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the EMI Calculator API require? + Required fields: loan_amount, annual_interest_rate, tenure_value. Full schema at /v1/openapi.json. Is the EMI Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the EMI Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `emi-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`emi-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="emi-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Loan Payoff Calculator API # Loan Payoff Calculator API finance 2 credits / call v2026-04-22 Calculate loan payoff months and savings from extra monthly payments. One POST adds Loan Payoff Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Loan Payoff Calculator on miniwebtool.com →](https://miniwebtool.com/loan-payoff-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/loan-payoff-calculator/run ``` ### Request body Field Type Req. `loan_amount` `float` ✓ `payment_amount` `float` ✓ `interest_rate_percent` `float` ✓ `extra_payment` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "loan-payoff-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) loan_amount (float) * payment_amount (float) * interest_rate_percent (float) * extra_payment (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`loan-payoff-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/loan-payoff-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"loan_amount":25000,"payment_amount":500,"interest_rate_percent":6.5,"extra_payment":100}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/loan-payoff-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'loan_amount': 25000, 'payment_amount': 500, 'interest_rate_percent': 6.5, 'extra_payment': 100}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/loan-payoff-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"loan_amount":25000,"payment_amount":500,"interest_rate_percent":6.5,"extra_payment":100}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'loan_amount' => 25000, 'payment_amount' => 500, 'interest_rate_percent' => 6.5, 'extra_payment' => 100 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/loan-payoff-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'loan_amount' => 25000, 'payment_amount' => 500, 'interest_rate_percent' => 6.5, 'extra_payment' => 100 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "loan_amount": 25000, "payment_amount": 500, "interest_rate_percent": 6.5, "extra_payment": 100, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/loan-payoff-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/loan-payoff-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"loan_amount\":25000,\"payment_amount\":500,\"interest_rate_percent\":6.5,\"extra_payment\":100}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call loan-payoff-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`loan_amount`,`payment_amount`,`interest_rate_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/loan-payoff-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Loan Payoff Calculator API do? + Calculate loan payoff months and savings from extra monthly payments. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Loan Payoff Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Loan Payoff Calculator API require? + Required fields: loan_amount, payment_amount, interest_rate_percent. Full schema at /v1/openapi.json. Is the Loan Payoff Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Loan Payoff Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `loan-payoff-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`loan-payoff-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="loan-payoff-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Mortgage Calculator API # Mortgage Calculator API finance 5 credits / call v2026-04-22 Monthly payment, total interest, LTV, and optional amortization schedule. One POST adds Mortgage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Mortgage Calculator on miniwebtool.com →](https://miniwebtool.com/mortgage-calculator/) [Start Pro →](/billing/checkout/?plan=pro) Requires Pro+ · $79/mo Starts on Pro Free keys can view docs and examples, but calls to this endpoint require Pro or higher. [Start Pro →](/billing/checkout/?plan=pro) ### Endpoint POST · 5cr ```text POST https://api.miniwebtool.com/v1/tools/mortgage-calculator/run ``` ### Request body Field Type Req. `home_price` `float` ✓ `down_payment` `float` ✓ `annual_rate_percent` `float` ✓ `years` `float` ✓ `include_schedule` `bool` — `property_tax_annual` `float` — `home_insurance_annual` `float` — `pmi_annual_percent` `float` — ### Cost & access - 5 credits per successful call — failed calls refund. - Starts on: Pro or higher. - Max payload:`4096`bytes. - Privacy mode:`hash_only` - Available on: pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "mortgage-calculator", "tool_version": "2026-04-22", "credits_used": 5, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=pro) home_price (float) * down_payment (float) * annual_rate_percent (float) * years (float) * include_schedule (bool) false true property_tax_annual (float) home_insurance_annual (float) pmi_annual_percent (float) Send request → Response copy body This endpoint starts on Pro Your key is valid, but its current plan cannot call`mortgage-calculator`. Upgrade to Pro or higher to run this tool. [Start Pro →](/billing/checkout/?plan=pro) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/mortgage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"home_price":500000,"down_payment":100000,"annual_rate_percent":6.5,"years":30,"include_schedule":false,"property_tax_annual":6000,"home_insurance_annual":1800,"pmi_annual_percent":0}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/mortgage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'home_price': 500000, 'down_payment': 100000, 'annual_rate_percent': 6.5, 'years': 30, 'include_schedule': False, 'property_tax_annual': 6000, 'home_insurance_annual': 1800, 'pmi_annual_percent': 0}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/mortgage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"home_price":500000,"down_payment":100000,"annual_rate_percent":6.5,"years":30,"include_schedule":false,"property_tax_annual":6000,"home_insurance_annual":1800,"pmi_annual_percent":0}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'home_price' => 500000, 'down_payment' => 100000, 'annual_rate_percent' => 6.5, 'years' => 30, 'include_schedule' => false, 'property_tax_annual' => 6000, 'home_insurance_annual' => 1800, 'pmi_annual_percent' => 0 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/mortgage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'home_price' => 500000, 'down_payment' => 100000, 'annual_rate_percent' => 6.5, 'years' => 30, 'include_schedule' => false, 'property_tax_annual' => 6000, 'home_insurance_annual' => 1800, 'pmi_annual_percent' => 0 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "home_price": 500000, "down_payment": 100000, "annual_rate_percent": 6.5, "years": 30, "include_schedule": false, "property_tax_annual": 6000, "home_insurance_annual": 1800, "pmi_annual_percent": 0, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/mortgage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/mortgage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"home_price\":500000,\"down_payment\":100000,\"annual_rate_percent\":6.5,\"years\":30,\"include_schedule\":false,\"property_tax_annual\":6000,\"home_insurance_annual\":1800,\"pmi_annual_percent\":0}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call mortgage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=pro). Choose the Pro plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`home_price`,`down_payment`,`annual_rate_percent`,`years`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/mortgage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Mortgage Calculator API do? + Monthly payment, total interest, LTV, and optional amortization schedule. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Mortgage Calculator cost? + 5 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Mortgage Calculator API require? + Required fields: home_price, down_payment, annual_rate_percent, years. Full schema at /v1/openapi.json. Is the Mortgage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Mortgage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `mortgage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`mortgage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="mortgage-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Personal Loan Calculator API # Personal Loan Calculator API finance 2 credits / call v2026-04-22 Calculate personal loan payment, payoff time, interest, and extra-payment savings. One POST adds Personal Loan Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Personal Loan Calculator on miniwebtool.com →](https://miniwebtool.com/personal-loan-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/personal-loan-calculator/run ``` ### Request body Field Type Req. `loan_amount` `float` ✓ `interest_rate_percent` `float` ✓ `loan_term_months` 6 | 12 | 18 | 24 | 30 | 36 | 48 | 60 | 72 | 84 `str` — `extra_payment` `float` — `loan_purpose` general | debt_consolidation | home_improvement | medical | auto | education | wedding | vacation | moving | other `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "personal-loan-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) loan_amount (float) * interest_rate_percent (float) * loan_term_months (str) 6 12 18 24 30 36 48 60 72 84 6 | 12 | 18 | 24 | 30 | 36 | 48 | 60 | 72 | 84 extra_payment (float) loan_purpose (str) general debt_consolidation home_improvement medical auto education wedding vacation moving other general | debt_consolidation | home_improvement | medical | auto | education | wedding | vacation | moving | other precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`personal-loan-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/personal-loan-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"loan_amount":15000,"interest_rate_percent":8.5,"loan_term_months":"36","extra_payment":50,"loan_purpose":"debt_consolidation"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/personal-loan-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'loan_amount': 15000, 'interest_rate_percent': 8.5, 'loan_term_months': '36', 'extra_payment': 50, 'loan_purpose': 'debt_consolidation'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/personal-loan-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"loan_amount":15000,"interest_rate_percent":8.5,"loan_term_months":"36","extra_payment":50,"loan_purpose":"debt_consolidation"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'loan_amount' => 15000, 'interest_rate_percent' => 8.5, 'loan_term_months' => '36', 'extra_payment' => 50, 'loan_purpose' => 'debt_consolidation' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/personal-loan-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'loan_amount' => 15000, 'interest_rate_percent' => 8.5, 'loan_term_months' => '36', 'extra_payment' => 50, 'loan_purpose' => 'debt_consolidation' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "loan_amount": 15000, "interest_rate_percent": 8.5, "loan_term_months": "36", "extra_payment": 50, "loan_purpose": "debt_consolidation", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/personal-loan-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/personal-loan-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"loan_amount\":15000,\"interest_rate_percent\":8.5,\"loan_term_months\":\"36\",\"extra_payment\":50,\"loan_purpose\":\"debt_consolidation\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call personal-loan-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`loan_amount`,`interest_rate_percent`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/personal-loan-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Personal Loan Calculator API do? + Calculate personal loan payment, payoff time, interest, and extra-payment savings. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Personal Loan Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Personal Loan Calculator API require? + Required fields: loan_amount, interest_rate_percent. Full schema at /v1/openapi.json. Is the Personal Loan Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Personal Loan Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `personal-loan-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`personal-loan-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="personal-loan-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - ROAS Calculator API # ROAS Calculator API finance 2 credits / call v2026-04-22 Calculate return on ad spend, profit, ROI, or target revenue. One POST adds ROAS Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the ROAS Calculator on miniwebtool.com →](https://miniwebtool.com/roas-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/roas-calculator/run ``` ### Request body Field Type Req. `mode` basic | target `str` — `ad_spend` `float` — `revenue` `float` — `target_roas` `float` — `target_spend` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "roas-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) mode (str) basic target basic | target ad_spend (float) revenue (float) target_roas (float) target_spend (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`roas-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/roas-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"basic","ad_spend":1000,"revenue":4200}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/roas-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'basic', 'ad_spend': 1000, 'revenue': 4200}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/roas-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"basic","ad_spend":1000,"revenue":4200}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'basic', 'ad_spend' => 1000, 'revenue' => 4200 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/roas-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'basic', 'ad_spend' => 1000, 'revenue' => 4200 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "basic", "ad_spend": 1000, "revenue": 4200, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/roas-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/roas-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"basic\",\"ad_spend\":1000,\"revenue\":4200}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call roas-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/roas-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the ROAS Calculator API do? + Calculate return on ad spend, profit, ROI, or target revenue. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to ROAS Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the ROAS Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the ROAS Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the ROAS Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `roas-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`roas-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="roas-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Break-Even Calculator API # Break-Even Calculator API finance 1 credit / call v2026-04-22 Calculate break-even units, revenue, contribution margin, and target-profit units. One POST adds Break-Even Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Break-Even Calculator on miniwebtool.com →](https://miniwebtool.com/break-even-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/break-even-calculator/run ``` ### Request body Field Type Req. `fixed_costs` `float` — `selling_price` `float` — `variable_cost` `float` — `target_profit` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "break-even-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) fixed_costs (float) selling_price (float) variable_cost (float) target_profit (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`break-even-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/break-even-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"fixed_costs":10000,"selling_price":50,"variable_cost":30,"target_profit":5000,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/break-even-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'fixed_costs': 10000, 'selling_price': 50, 'variable_cost': 30, 'target_profit': 5000, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/break-even-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"fixed_costs":10000,"selling_price":50,"variable_cost":30,"target_profit":5000,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'fixed_costs' => 10000, 'selling_price' => 50, 'variable_cost' => 30, 'target_profit' => 5000, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/break-even-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'fixed_costs' => 10000, 'selling_price' => 50, 'variable_cost' => 30, 'target_profit' => 5000, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "fixed_costs": 10000, "selling_price": 50, "variable_cost": 30, "target_profit": 5000, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/break-even-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/break-even-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"fixed_costs\":10000,\"selling_price\":50,\"variable_cost\":30,\"target_profit\":5000,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call break-even-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/break-even-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Break-Even Calculator API do? + Calculate break-even units, revenue, contribution margin, and target-profit units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Break-Even Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Break-Even Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Break-Even Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Break-Even Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `break-even-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`break-even-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="break-even-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - EBIT Calculator API # EBIT Calculator API finance 2 credits / call v2026-04-22 Calculate EBIT and EBIT margin from revenue, expenses, and non-operating income. One POST adds EBIT Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the EBIT Calculator on miniwebtool.com →](https://miniwebtool.com/ebit-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/ebit-calculator/run ``` ### Request body Field Type Req. `revenue` `float` ✓ `expenses` `float` ✓ `non_operating_income` `float` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ebit-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) revenue (float) * expenses (float) * non_operating_income (float) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`ebit-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ebit-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"revenue":1000000,"expenses":750000,"non_operating_income":10000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ebit-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'revenue': 1000000, 'expenses': 750000, 'non_operating_income': 10000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ebit-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"revenue":1000000,"expenses":750000,"non_operating_income":10000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'revenue' => 1000000, 'expenses' => 750000, 'non_operating_income' => 10000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ebit-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'revenue' => 1000000, 'expenses' => 750000, 'non_operating_income' => 10000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "revenue": 1000000, "expenses": 750000, "non_operating_income": 10000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ebit-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ebit-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"revenue\":1000000,\"expenses\":750000,\"non_operating_income\":10000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ebit-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`revenue`,`expenses`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ebit-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the EBIT Calculator API do? + Calculate EBIT and EBIT margin from revenue, expenses, and non-operating income. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to EBIT Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the EBIT Calculator API require? + Required fields: revenue, expenses. Full schema at /v1/openapi.json. Is the EBIT Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the EBIT Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ebit-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ebit-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ebit-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - EBITDA Calculator API # EBITDA Calculator API finance 2 credits / call v2026-04-22 Calculate EBITDA using net income or operating income inputs. One POST adds EBITDA Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the EBITDA Calculator on miniwebtool.com →](https://miniwebtool.com/ebitda-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/ebitda-calculator/run ``` ### Request body Field Type Req. `method` net_income | operating_income `str` — `revenue` `Optional` — `net_income` `Optional` — `interest` `float` — `taxes` `float` — `depreciation` `float` — `amortization` `float` — `operating_income` `Optional` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ebitda-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) method (str) net_income operating_income net_income | operating_income revenue (Optional) 1000000 net_income (Optional) 120000 interest (float) taxes (float) depreciation (float) amortization (float) operating_income (Optional) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`ebitda-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ebitda-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"method":"net_income","revenue":1000000,"net_income":120000,"interest":15000,"taxes":30000,"depreciation":25000,"amortization":10000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ebitda-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'method': 'net_income', 'revenue': 1000000, 'net_income': 120000, 'interest': 15000, 'taxes': 30000, 'depreciation': 25000, 'amortization': 10000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ebitda-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"method":"net_income","revenue":1000000,"net_income":120000,"interest":15000,"taxes":30000,"depreciation":25000,"amortization":10000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'method' => 'net_income', 'revenue' => 1000000, 'net_income' => 120000, 'interest' => 15000, 'taxes' => 30000, 'depreciation' => 25000, 'amortization' => 10000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ebitda-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'method' => 'net_income', 'revenue' => 1000000, 'net_income' => 120000, 'interest' => 15000, 'taxes' => 30000, 'depreciation' => 25000, 'amortization' => 10000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "method": "net_income", "revenue": 1000000, "net_income": 120000, "interest": 15000, "taxes": 30000, "depreciation": 25000, "amortization": 10000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ebitda-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ebitda-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"method\":\"net_income\",\"revenue\":1000000,\"net_income\":120000,\"interest\":15000,\"taxes\":30000,\"depreciation\":25000,\"amortization\":10000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ebitda-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ebitda-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the EBITDA Calculator API do? + Calculate EBITDA using net income or operating income inputs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to EBITDA Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the EBITDA Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the EBITDA Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the EBITDA Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ebitda-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ebitda-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ebitda-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Cash Flow Margin Calculator API # Cash Flow Margin Calculator API finance 2 credits / call v2026-04-22 Calculate operating cash flow margin as a percentage of net sales. One POST adds Cash Flow Margin Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cash Flow Margin Calculator on miniwebtool.com →](https://miniwebtool.com/cash-flow-margin-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/cash-flow-margin-calculator/run ``` ### Request body Field Type Req. `operating_cash_flow` `float` — `net_sales` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cash-flow-margin-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) operating_cash_flow (float) net_sales (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`cash-flow-margin-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cash-flow-margin-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"operating_cash_flow":250000,"net_sales":1000000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cash-flow-margin-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'operating_cash_flow': 250000, 'net_sales': 1000000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cash-flow-margin-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"operating_cash_flow":250000,"net_sales":1000000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'operating_cash_flow' => 250000, 'net_sales' => 1000000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cash-flow-margin-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'operating_cash_flow' => 250000, 'net_sales' => 1000000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "operating_cash_flow": 250000, "net_sales": 1000000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cash-flow-margin-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cash-flow-margin-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"operating_cash_flow\":250000,\"net_sales\":1000000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cash-flow-margin-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cash-flow-margin-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cash Flow Margin Calculator API do? + Calculate operating cash flow margin as a percentage of net sales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cash Flow Margin Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cash Flow Margin Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cash Flow Margin Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cash Flow Margin Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cash-flow-margin-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cash-flow-margin-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cash-flow-margin-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Earnings per Share Calculator API # Earnings per Share Calculator API finance 2 credits / call v2026-04-22 Calculate basic, diluted, or weighted earnings per share. One POST adds Earnings per Share Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Earnings per Share Calculator on miniwebtool.com →](https://miniwebtool.com/earnings-per-share-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/earnings-per-share-calculator/run ``` ### Request body Field Type Req. `calc_type` basic | diluted | weighted `str` — `net_income` `float` — `shares_outstanding` `float` — `preferred_dividends` `float` — `convertible_shares` `float` — `convertible_interest` `float` — `stock_options` `float` — `weighted_average_shares` `float | None` — `previous_eps` `float | None` — `industry_eps` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "earnings-per-share-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_type (str) basic diluted weighted basic | diluted | weighted net_income (float) shares_outstanding (float) preferred_dividends (float) convertible_shares (float) convertible_interest (float) stock_options (float) weighted_average_shares (float | None) previous_eps (float | None) industry_eps (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`earnings-per-share-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/earnings-per-share-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_type":"basic","net_income":5000000,"shares_outstanding":1000000,"preferred_dividends":200000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/earnings-per-share-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_type': 'basic', 'net_income': 5000000, 'shares_outstanding': 1000000, 'preferred_dividends': 200000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/earnings-per-share-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_type":"basic","net_income":5000000,"shares_outstanding":1000000,"preferred_dividends":200000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_type' => 'basic', 'net_income' => 5000000, 'shares_outstanding' => 1000000, 'preferred_dividends' => 200000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/earnings-per-share-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_type' => 'basic', 'net_income' => 5000000, 'shares_outstanding' => 1000000, 'preferred_dividends' => 200000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_type": "basic", "net_income": 5000000, "shares_outstanding": 1000000, "preferred_dividends": 200000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/earnings-per-share-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/earnings-per-share-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_type\":\"basic\",\"net_income\":5000000,\"shares_outstanding\":1000000,\"preferred_dividends\":200000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call earnings-per-share-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/earnings-per-share-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Earnings per Share Calculator API do? + Calculate basic, diluted, or weighted earnings per share. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Earnings per Share Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Earnings per Share Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Earnings per Share Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Earnings per Share Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `earnings-per-share-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`earnings-per-share-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="earnings-per-share-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - EBIT Margin Calculator API # EBIT Margin Calculator API finance 2 credits / call v2026-04-22 Calculate EBIT margin and EBIT-to-revenue ratio. One POST adds EBIT Margin Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the EBIT Margin Calculator on miniwebtool.com →](https://miniwebtool.com/ebit-margin-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/ebit-margin-calculator/run ``` ### Request body Field Type Req. `ebit` `float` ✓ `revenue` `float` ✓ `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ebit-margin-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) ebit (float) * revenue (float) * precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`ebit-margin-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ebit-margin-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"ebit":500000,"revenue":2000000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ebit-margin-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'ebit': 500000, 'revenue': 2000000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ebit-margin-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"ebit":500000,"revenue":2000000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'ebit' => 500000, 'revenue' => 2000000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ebit-margin-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'ebit' => 500000, 'revenue' => 2000000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "ebit": 500000, "revenue": 2000000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ebit-margin-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ebit-margin-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"ebit\":500000,\"revenue\":2000000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ebit-margin-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`ebit`,`revenue`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ebit-margin-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the EBIT Margin Calculator API do? + Calculate EBIT margin and EBIT-to-revenue ratio. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to EBIT Margin Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the EBIT Margin Calculator API require? + Required fields: ebit, revenue. Full schema at /v1/openapi.json. Is the EBIT Margin Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the EBIT Margin Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ebit-margin-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ebit-margin-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ebit-margin-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - EBITDA Margin Calculator API # EBITDA Margin Calculator API finance 2 credits / call v2026-04-22 Calculate EBITDA margin from direct EBITDA or component inputs. One POST adds EBITDA Margin Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the EBITDA Margin Calculator on miniwebtool.com →](https://miniwebtool.com/ebitda-margin-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/ebitda-margin-calculator/run ``` ### Request body Field Type Req. `calc_mode` direct | components `str` — `ebitda` `float | None` — `revenue` `float` — `net_income` `float | None` — `interest` `float | None` — `taxes` `float | None` — `depreciation` `float | None` — `amortization` `float | None` — `industry` technology | software | healthcare | retail | manufacturing | financial | energy | telecom | consumer | hospitality | real_estate | utilities | construction | transportation | media | custom `str` — `custom_benchmark_percent` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ebitda-margin-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_mode (str) direct components direct | components ebitda (float | None) revenue (float) net_income (float | None) interest (float | None) taxes (float | None) depreciation (float | None) amortization (float | None) industry (str) technology software healthcare retail manufacturing financial energy telecom consumer hospitality real_estate utilities construction transportation media custom technology | software | healthcare | retail | manufacturing | financial | energy | telecom | consumer | hospitality | real_estate | utilities | construction | transportation | media | custom custom_benchmark_percent (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`ebitda-margin-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ebitda-margin-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"direct","ebitda":500000,"revenue":2000000,"industry":"manufacturing"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ebitda-margin-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'direct', 'ebitda': 500000, 'revenue': 2000000, 'industry': 'manufacturing'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ebitda-margin-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"direct","ebitda":500000,"revenue":2000000,"industry":"manufacturing"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'direct', 'ebitda' => 500000, 'revenue' => 2000000, 'industry' => 'manufacturing' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ebitda-margin-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'direct', 'ebitda' => 500000, 'revenue' => 2000000, 'industry' => 'manufacturing' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "direct", "ebitda": 500000, "revenue": 2000000, "industry": "manufacturing", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ebitda-margin-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ebitda-margin-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"direct\",\"ebitda\":500000,\"revenue\":2000000,\"industry\":\"manufacturing\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ebitda-margin-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ebitda-margin-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the EBITDA Margin Calculator API do? + Calculate EBITDA margin from direct EBITDA or component inputs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to EBITDA Margin Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the EBITDA Margin Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the EBITDA Margin Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the EBITDA Margin Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ebitda-margin-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ebitda-margin-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ebitda-margin-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Gross Profit Margin Calculator API # Gross Profit Margin Calculator API finance 2 credits / call v2026-04-22 Calculate gross profit, gross margin, markup, and cost ratio. One POST adds Gross Profit Margin Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Gross Profit Margin Calculator on miniwebtool.com →](https://miniwebtool.com/gross-profit-margin-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/gross-profit-margin-calculator/run ``` ### Request body Field Type Req. `revenue` `float` ✓ `cogs` `float` ✓ `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "gross-profit-margin-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) revenue (float) * cogs (float) * precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`gross-profit-margin-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/gross-profit-margin-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"revenue":100000,"cogs":60000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/gross-profit-margin-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'revenue': 100000, 'cogs': 60000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/gross-profit-margin-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"revenue":100000,"cogs":60000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'revenue' => 100000, 'cogs' => 60000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/gross-profit-margin-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'revenue' => 100000, 'cogs' => 60000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "revenue": 100000, "cogs": 60000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/gross-profit-margin-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/gross-profit-margin-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"revenue\":100000,\"cogs\":60000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call gross-profit-margin-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`revenue`,`cogs`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/gross-profit-margin-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Gross Profit Margin Calculator API do? + Calculate gross profit, gross margin, markup, and cost ratio. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Gross Profit Margin Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Gross Profit Margin Calculator API require? + Required fields: revenue, cogs. Full schema at /v1/openapi.json. Is the Gross Profit Margin Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Gross Profit Margin Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `gross-profit-margin-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`gross-profit-margin-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="gross-profit-margin-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Net Profit Margin Calculator API # Net Profit Margin Calculator API finance 2 credits / call v2026-04-22 Calculate net profit margin and profit per revenue dollar. One POST adds Net Profit Margin Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Net Profit Margin Calculator on miniwebtool.com →](https://miniwebtool.com/net-profit-margin-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/net-profit-margin-calculator/run ``` ### Request body Field Type Req. `net_profit` `float` ✓ `revenue` `float` ✓ `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "net-profit-margin-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) net_profit (float) * revenue (float) * precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`net-profit-margin-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/net-profit-margin-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"net_profit":250000,"revenue":1500000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/net-profit-margin-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'net_profit': 250000, 'revenue': 1500000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/net-profit-margin-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"net_profit":250000,"revenue":1500000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'net_profit' => 250000, 'revenue' => 1500000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/net-profit-margin-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'net_profit' => 250000, 'revenue' => 1500000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "net_profit": 250000, "revenue": 1500000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/net-profit-margin-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/net-profit-margin-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"net_profit\":250000,\"revenue\":1500000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call net-profit-margin-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`net_profit`,`revenue`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/net-profit-margin-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Net Profit Margin Calculator API do? + Calculate net profit margin and profit per revenue dollar. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Net Profit Margin Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Net Profit Margin Calculator API require? + Required fields: net_profit, revenue. Full schema at /v1/openapi.json. Is the Net Profit Margin Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Net Profit Margin Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `net-profit-margin-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`net-profit-margin-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="net-profit-margin-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Operating Margin Calculator API # Operating Margin Calculator API finance 2 credits / call v2026-04-22 Calculate operating margin from operating income or detailed operating components. One POST adds Operating Margin Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Operating Margin Calculator on miniwebtool.com →](https://miniwebtool.com/operating-margin-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/operating-margin-calculator/run ``` ### Request body Field Type Req. `calc_mode` basic | detailed `str` — `operating_income` `float | None` — `net_sales` `float | None` — `revenue` `float | None` — `cogs` `float | None` — `operating_expenses` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "operating-margin-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_mode (str) basic detailed basic | detailed operating_income (float | None) net_sales (float | None) revenue (float | None) cogs (float | None) operating_expenses (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`operating-margin-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/operating-margin-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"basic","operating_income":350000,"net_sales":1200000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/operating-margin-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'basic', 'operating_income': 350000, 'net_sales': 1200000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/operating-margin-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"basic","operating_income":350000,"net_sales":1200000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'basic', 'operating_income' => 350000, 'net_sales' => 1200000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/operating-margin-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'basic', 'operating_income' => 350000, 'net_sales' => 1200000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "basic", "operating_income": 350000, "net_sales": 1200000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/operating-margin-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/operating-margin-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"basic\",\"operating_income\":350000,\"net_sales\":1200000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call operating-margin-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/operating-margin-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Operating Margin Calculator API do? + Calculate operating margin from operating income or detailed operating components. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Operating Margin Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Operating Margin Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Operating Margin Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Operating Margin Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `operating-margin-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`operating-margin-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="operating-margin-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Profit Calculator API # Profit Calculator API finance 2 credits / call v2026-04-22 Solve profit, margin, markup, revenue, or cost from the known values. One POST adds Profit Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Profit Calculator on miniwebtool.com →](https://miniwebtool.com/profit-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/profit-calculator/run ``` ### Request body Field Type Req. `calc_mode` margin_from_values | profit_from_margin | profit_from_markup | revenue_from_margin | revenue_from_markup | cost_from_margin | cost_from_markup `str` — `revenue` `float | None` — `cost` `float | None` — `margin_percent` `float | None` — `markup_percent` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "profit-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_mode (str) margin_from_values profit_from_margin profit_from_markup revenue_from_margin revenue_from_markup cost_from_margin cost_from_markup margin_from_values | profit_from_margin | profit_from_markup | revenue_from_margin | revenue_from_markup | cost_from_margin | cost_from_markup revenue (float | None) cost (float | None) margin_percent (float | None) markup_percent (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`profit-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/profit-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"margin_from_values","revenue":1000,"cost":600}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/profit-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'margin_from_values', 'revenue': 1000, 'cost': 600}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/profit-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"margin_from_values","revenue":1000,"cost":600}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'margin_from_values', 'revenue' => 1000, 'cost' => 600 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/profit-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'margin_from_values', 'revenue' => 1000, 'cost' => 600 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "margin_from_values", "revenue": 1000, "cost": 600, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/profit-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/profit-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"margin_from_values\",\"revenue\":1000,\"cost\":600}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call profit-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/profit-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Profit Calculator API do? + Solve profit, margin, markup, revenue, or cost from the known values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Profit Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Profit Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Profit Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Profit Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `profit-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`profit-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="profit-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Profit to Sales Ratio Calculator API # Profit to Sales Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate profit-to-sales ratio and compare it with an industry benchmark. One POST adds Profit to Sales Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Profit to Sales Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/profit-to-sales-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/profit-to-sales-ratio-calculator/run ``` ### Request body Field Type Req. `net_profit` `float` ✓ `net_sales` `float` ✓ `gross_profit` `float | None` — `operating_profit` `float | None` — `industry` general | technology | finance | healthcare | services | manufacturing | ecommerce | restaurant | retail | grocery `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "profit-to-sales-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) net_profit (float) * net_sales (float) * gross_profit (float | None) operating_profit (float | None) industry (str) general technology finance healthcare services manufacturing ecommerce restaurant retail grocery general | technology | finance | healthcare | services | manufacturing | ecommerce | restaurant | retail | grocery precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`profit-to-sales-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/profit-to-sales-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"net_profit":150000,"net_sales":1000000,"gross_profit":400000,"operating_profit":220000,"industry":"general"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/profit-to-sales-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'net_profit': 150000, 'net_sales': 1000000, 'gross_profit': 400000, 'operating_profit': 220000, 'industry': 'general'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/profit-to-sales-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"net_profit":150000,"net_sales":1000000,"gross_profit":400000,"operating_profit":220000,"industry":"general"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'net_profit' => 150000, 'net_sales' => 1000000, 'gross_profit' => 400000, 'operating_profit' => 220000, 'industry' => 'general' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/profit-to-sales-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'net_profit' => 150000, 'net_sales' => 1000000, 'gross_profit' => 400000, 'operating_profit' => 220000, 'industry' => 'general' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "net_profit": 150000, "net_sales": 1000000, "gross_profit": 400000, "operating_profit": 220000, "industry": "general", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/profit-to-sales-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/profit-to-sales-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"net_profit\":150000,\"net_sales\":1000000,\"gross_profit\":400000,\"operating_profit\":220000,\"industry\":\"general\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call profit-to-sales-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`net_profit`,`net_sales`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/profit-to-sales-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Profit to Sales Ratio Calculator API do? + Calculate profit-to-sales ratio and compare it with an industry benchmark. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Profit to Sales Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Profit to Sales Ratio Calculator API require? + Required fields: net_profit, net_sales. Full schema at /v1/openapi.json. Is the Profit to Sales Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Profit to Sales Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `profit-to-sales-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`profit-to-sales-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="profit-to-sales-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Return on Assets Ratio Calculator API # Return on Assets Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate ROA with optional DuPont margin and asset-turnover breakdown. One POST adds Return on Assets Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Return on Assets Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/return-on-assets-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/return-on-assets-ratio-calculator/run ``` ### Request body Field Type Req. `net_income` `float` — `total_assets` `float` — `revenue` `float | None` — `industry` general | technology | healthcare | financial | retail | manufacturing | utilities | realestate | energy | consumer `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "return-on-assets-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) net_income (float) total_assets (float) revenue (float | None) industry (str) general technology healthcare financial retail manufacturing utilities realestate energy consumer general | technology | healthcare | financial | retail | manufacturing | utilities | realestate | energy | consumer precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`return-on-assets-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/return-on-assets-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"net_income":500000,"total_assets":5000000,"revenue":2000000,"industry":"general","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/return-on-assets-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'net_income': 500000, 'total_assets': 5000000, 'revenue': 2000000, 'industry': 'general', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/return-on-assets-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"net_income":500000,"total_assets":5000000,"revenue":2000000,"industry":"general","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'net_income' => 500000, 'total_assets' => 5000000, 'revenue' => 2000000, 'industry' => 'general', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/return-on-assets-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'net_income' => 500000, 'total_assets' => 5000000, 'revenue' => 2000000, 'industry' => 'general', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "net_income": 500000, "total_assets": 5000000, "revenue": 2000000, "industry": "general", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/return-on-assets-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/return-on-assets-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"net_income\":500000,\"total_assets\":5000000,\"revenue\":2000000,\"industry\":\"general\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call return-on-assets-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/return-on-assets-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Return on Assets Ratio Calculator API do? + Calculate ROA with optional DuPont margin and asset-turnover breakdown. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Return on Assets Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Return on Assets Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Return on Assets Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Return on Assets Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `return-on-assets-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`return-on-assets-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="return-on-assets-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Return On Equity Calculator API # Return On Equity Calculator API finance 2 credits / call v2026-04-22 Calculate ROE with optional 3- or 5-component DuPont analysis. One POST adds Return On Equity Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Return On Equity Calculator on miniwebtool.com →](https://miniwebtool.com/return-on-equity-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/return-on-equity-calculator/run ``` ### Request body Field Type Req. `calc_mode` basic | dupont3 | dupont5 `str` — `net_income` `float` — `shareholders_equity` `float` — `revenue` `float | None` — `total_assets` `float | None` — `ebit` `float | None` — `pretax_income` `float | None` — `industry` none | technology | healthcare | financial | consumer | industrial | energy | utilities | realestate | materials | telecom `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "return-on-equity-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_mode (str) basic dupont3 dupont5 basic | dupont3 | dupont5 net_income (float) shareholders_equity (float) revenue (float | None) total_assets (float | None) ebit (float | None) pretax_income (float | None) industry (str) none technology healthcare financial consumer industrial energy utilities realestate materials telecom none | technology | healthcare | financial | consumer | industrial | energy | utilities | realestate | materials | telecom precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`return-on-equity-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/return-on-equity-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"basic","net_income":5000000,"shareholders_equity":25000000,"industry":"none","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/return-on-equity-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'basic', 'net_income': 5000000, 'shareholders_equity': 25000000, 'industry': 'none', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/return-on-equity-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"basic","net_income":5000000,"shareholders_equity":25000000,"industry":"none","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'basic', 'net_income' => 5000000, 'shareholders_equity' => 25000000, 'industry' => 'none', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/return-on-equity-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'basic', 'net_income' => 5000000, 'shareholders_equity' => 25000000, 'industry' => 'none', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "basic", "net_income": 5000000, "shareholders_equity": 25000000, "industry": "none", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/return-on-equity-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/return-on-equity-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"basic\",\"net_income\":5000000,\"shareholders_equity\":25000000,\"industry\":\"none\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call return-on-equity-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/return-on-equity-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Return On Equity Calculator API do? + Calculate ROE with optional 3- or 5-component DuPont analysis. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Return On Equity Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Return On Equity Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Return On Equity Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Return On Equity Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `return-on-equity-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`return-on-equity-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="return-on-equity-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Return On Sales Calculator API # Return On Sales Calculator API finance 2 credits / call v2026-04-22 Calculate return on sales, operating cost ratio, and ROS decimal. One POST adds Return On Sales Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Return On Sales Calculator on miniwebtool.com →](https://miniwebtool.com/return-on-sales-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/return-on-sales-calculator/run ``` ### Request body Field Type Req. `net_income` `float` ✓ `sales` `float` ✓ `currency` usd | eur | gbp | jpy | inr | aud | cad | chf | none `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "return-on-sales-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) net_income (float) * sales (float) * currency (str) usd eur gbp jpy inr aud cad chf none usd | eur | gbp | jpy | inr | aud | cad | chf | none precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`return-on-sales-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/return-on-sales-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"net_income":150000,"sales":1000000,"currency":"usd"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/return-on-sales-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'net_income': 150000, 'sales': 1000000, 'currency': 'usd'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/return-on-sales-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"net_income":150000,"sales":1000000,"currency":"usd"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'net_income' => 150000, 'sales' => 1000000, 'currency' => 'usd' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/return-on-sales-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'net_income' => 150000, 'sales' => 1000000, 'currency' => 'usd' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "net_income": 150000, "sales": 1000000, "currency": "usd", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/return-on-sales-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/return-on-sales-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"net_income\":150000,\"sales\":1000000,\"currency\":\"usd\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call return-on-sales-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`net_income`,`sales`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/return-on-sales-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Return On Sales Calculator API do? + Calculate return on sales, operating cost ratio, and ROS decimal. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Return On Sales Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Return On Sales Calculator API require? + Required fields: net_income, sales. Full schema at /v1/openapi.json. Is the Return On Sales Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Return On Sales Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `return-on-sales-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`return-on-sales-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="return-on-sales-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Capitalization Rate Calculator API # Capitalization Rate Calculator API finance 2 credits / call v2026-04-22 Solve cap rate, property value, or required NOI for real estate income analysis. One POST adds Capitalization Rate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Capitalization Rate Calculator on miniwebtool.com →](https://miniwebtool.com/capitalization-rate-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/capitalization-rate-calculator/run ``` ### Request body Field Type Req. `calc_mode` cap_rate | property_value | noi `str` — `noi` `float | None` — `property_value` `float | None` — `target_rate_percent` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "capitalization-rate-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_mode (str) cap_rate property_value noi cap_rate | property_value | noi noi (float | None) property_value (float | None) target_rate_percent (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`capitalization-rate-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/capitalization-rate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"cap_rate","noi":75000,"property_value":1000000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/capitalization-rate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'cap_rate', 'noi': 75000, 'property_value': 1000000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/capitalization-rate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"cap_rate","noi":75000,"property_value":1000000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'cap_rate', 'noi' => 75000, 'property_value' => 1000000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/capitalization-rate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'cap_rate', 'noi' => 75000, 'property_value' => 1000000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "cap_rate", "noi": 75000, "property_value": 1000000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/capitalization-rate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/capitalization-rate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"cap_rate\",\"noi\":75000,\"property_value\":1000000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call capitalization-rate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/capitalization-rate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Capitalization Rate Calculator API do? + Solve cap rate, property value, or required NOI for real estate income analysis. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Capitalization Rate Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Capitalization Rate Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Capitalization Rate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Capitalization Rate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `capitalization-rate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`capitalization-rate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="capitalization-rate-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Gross Rent Multiplier Calculator API # Gross Rent Multiplier Calculator API finance 2 credits / call v2026-04-22 Calculate gross rent multiplier and rental yield for a property. One POST adds Gross Rent Multiplier Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Gross Rent Multiplier Calculator on miniwebtool.com →](https://miniwebtool.com/gross-rent-multiplier-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/gross-rent-multiplier-calculator/run ``` ### Request body Field Type Req. `property_price` `float` ✓ `rental_income` `float` ✓ `rent_period` monthly | annual `str` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "gross-rent-multiplier-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) property_price (float) * rental_income (float) * rent_period (str) monthly annual monthly | annual Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`gross-rent-multiplier-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/gross-rent-multiplier-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"property_price":350000,"rental_income":2500,"rent_period":"monthly"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/gross-rent-multiplier-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'property_price': 350000, 'rental_income': 2500, 'rent_period': 'monthly'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/gross-rent-multiplier-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"property_price":350000,"rental_income":2500,"rent_period":"monthly"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'property_price' => 350000, 'rental_income' => 2500, 'rent_period' => 'monthly' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/gross-rent-multiplier-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'property_price' => 350000, 'rental_income' => 2500, 'rent_period' => 'monthly' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "property_price": 350000, "rental_income": 2500, "rent_period": "monthly", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/gross-rent-multiplier-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/gross-rent-multiplier-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"property_price\":350000,\"rental_income\":2500,\"rent_period\":\"monthly\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call gross-rent-multiplier-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`property_price`,`rental_income`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/gross-rent-multiplier-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Gross Rent Multiplier Calculator API do? + Calculate gross rent multiplier and rental yield for a property. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Gross Rent Multiplier Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Gross Rent Multiplier Calculator API require? + Required fields: property_price, rental_income. Full schema at /v1/openapi.json. Is the Gross Rent Multiplier Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Gross Rent Multiplier Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `gross-rent-multiplier-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`gross-rent-multiplier-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="gross-rent-multiplier-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Home Equity Calculator API # Home Equity Calculator API finance 2 credits / call v2026-04-22 Calculate home equity, LTV, CLTV, and optional five-year equity projection. One POST adds Home Equity Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Home Equity Calculator on miniwebtool.com →](https://miniwebtool.com/home-equity-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/home-equity-calculator/run ``` ### Request body Field Type Req. `home_value` `float` ✓ `mortgage_balance` `float` ✓ `other_loans` `float` — `original_price` `Optional` — `appreciation_rate` `Optional` — `annual_paydown` `Optional` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "home-equity-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) home_value (float) * mortgage_balance (float) * other_loans (float) original_price (Optional) 320000 appreciation_rate (Optional) 3.5 annual_paydown (Optional) 8000 Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`home-equity-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/home-equity-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"home_value":400000,"mortgage_balance":280000,"other_loans":0,"original_price":320000,"appreciation_rate":3.5,"annual_paydown":8000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/home-equity-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'home_value': 400000, 'mortgage_balance': 280000, 'other_loans': 0, 'original_price': 320000, 'appreciation_rate': 3.5, 'annual_paydown': 8000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/home-equity-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"home_value":400000,"mortgage_balance":280000,"other_loans":0,"original_price":320000,"appreciation_rate":3.5,"annual_paydown":8000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'home_value' => 400000, 'mortgage_balance' => 280000, 'other_loans' => 0, 'original_price' => 320000, 'appreciation_rate' => 3.5, 'annual_paydown' => 8000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/home-equity-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'home_value' => 400000, 'mortgage_balance' => 280000, 'other_loans' => 0, 'original_price' => 320000, 'appreciation_rate' => 3.5, 'annual_paydown' => 8000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "home_value": 400000, "mortgage_balance": 280000, "other_loans": 0, "original_price": 320000, "appreciation_rate": 3.5, "annual_paydown": 8000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/home-equity-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/home-equity-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"home_value\":400000,\"mortgage_balance\":280000,\"other_loans\":0,\"original_price\":320000,\"appreciation_rate\":3.5,\"annual_paydown\":8000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call home-equity-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`home_value`,`mortgage_balance`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/home-equity-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Home Equity Calculator API do? + Calculate home equity, LTV, CLTV, and optional five-year equity projection. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Home Equity Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Home Equity Calculator API require? + Required fields: home_value, mortgage_balance. Full schema at /v1/openapi.json. Is the Home Equity Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Home Equity Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `home-equity-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`home-equity-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="home-equity-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Moving Cost Estimator API # Moving Cost Estimator API finance 2 credits / call v2026-04-22 Estimate moving costs from home size, distance, service level, and access factors. One POST adds Moving Cost Estimator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Moving Cost Estimator on miniwebtool.com →](https://miniwebtool.com/moving-cost-estimator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/moving-cost-estimator/run ``` ### Request body Field Type Req. `home_size` studio | 1bed | 2bed | 3bed | 4bed | 5bed `str` — `move_type` local | long | cross `str` — `distance_miles` `float` — `season` off | peak | holiday `str` — `packing_service` none | partial | full `str` — `stairs` none | 1flight | 2flight | elevator `str` — `insurance` basic | full `str` — `has_piano` `bool` — `has_pool_table` `bool` — `has_hot_tub` `bool` — `has_gym_equipment` `bool` — `has_antiques` `bool` — `has_safe` `bool` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "moving-cost-estimator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) home_size (str) studio 1bed 2bed 3bed 4bed 5bed studio | 1bed | 2bed | 3bed | 4bed | 5bed move_type (str) local long cross local | long | cross distance_miles (float) season (str) off peak holiday off | peak | holiday packing_service (str) none partial full none | partial | full stairs (str) none 1flight 2flight elevator none | 1flight | 2flight | elevator insurance (str) basic full basic | full has_piano (bool) false true has_pool_table (bool) false true has_hot_tub (bool) false true has_gym_equipment (bool) false true has_antiques (bool) false true has_safe (bool) false true precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`moving-cost-estimator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/moving-cost-estimator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"home_size":"2bed","move_type":"local","distance_miles":25,"season":"off","packing_service":"none","stairs":"none","insurance":"basic"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/moving-cost-estimator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'home_size': '2bed', 'move_type': 'local', 'distance_miles': 25, 'season': 'off', 'packing_service': 'none', 'stairs': 'none', 'insurance': 'basic'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/moving-cost-estimator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"home_size":"2bed","move_type":"local","distance_miles":25,"season":"off","packing_service":"none","stairs":"none","insurance":"basic"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'home_size' => '2bed', 'move_type' => 'local', 'distance_miles' => 25, 'season' => 'off', 'packing_service' => 'none', 'stairs' => 'none', 'insurance' => 'basic' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/moving-cost-estimator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'home_size' => '2bed', 'move_type' => 'local', 'distance_miles' => 25, 'season' => 'off', 'packing_service' => 'none', 'stairs' => 'none', 'insurance' => 'basic' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "home_size": "2bed", "move_type": "local", "distance_miles": 25, "season": "off", "packing_service": "none", "stairs": "none", "insurance": "basic", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/moving-cost-estimator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/moving-cost-estimator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"home_size\":\"2bed\",\"move_type\":\"local\",\"distance_miles\":25,\"season\":\"off\",\"packing_service\":\"none\",\"stairs\":\"none\",\"insurance\":\"basic\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call moving-cost-estimator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/moving-cost-estimator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Moving Cost Estimator API do? + Estimate moving costs from home size, distance, service level, and access factors. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Moving Cost Estimator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Moving Cost Estimator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Moving Cost Estimator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Moving Cost Estimator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `moving-cost-estimator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`moving-cost-estimator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="moving-cost-estimator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - BRRRR Method Calculator API # BRRRR Method Calculator API finance 1 credit / call v2026-04-22 Analyze a BRRRR real estate deal, including all-in cost, refinance proceeds, capital recycled, equity, and cash flow. One POST adds BRRRR Method Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the BRRRR Method Calculator on miniwebtool.com →](https://miniwebtool.com/brrrr-method-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/brrrr-method-calculator/run ``` ### Request body Field Type Req. `purchase_price` `float` — `down_payment_pct` `float` — `purchase_closing` `float` — `rehab_costs` `float` — `holding_costs` `float` — `after_repair_value` `float` — `refinance_ltv` `float` — `refinance_rate` `float` — `refinance_term` `int` — `refinance_closing` `float` — `monthly_rent` `float` — `vacancy_rate` `float` — `property_tax` `float` — `insurance` `float` — `other_monthly_expenses` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "brrrr-method-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) purchase_price (float) down_payment_pct (float) purchase_closing (float) rehab_costs (float) holding_costs (float) after_repair_value (float) refinance_ltv (float) refinance_rate (float) refinance_term (int) refinance_closing (float) monthly_rent (float) vacancy_rate (float) property_tax (float) insurance (float) other_monthly_expenses (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`brrrr-method-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/brrrr-method-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"purchase_price":120000,"after_repair_value":230000,"monthly_rent":1900}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/brrrr-method-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'purchase_price': 120000, 'after_repair_value': 230000, 'monthly_rent': 1900}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/brrrr-method-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"purchase_price":120000,"after_repair_value":230000,"monthly_rent":1900}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'purchase_price' => 120000, 'after_repair_value' => 230000, 'monthly_rent' => 1900 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/brrrr-method-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'purchase_price' => 120000, 'after_repair_value' => 230000, 'monthly_rent' => 1900 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "purchase_price": 120000, "after_repair_value": 230000, "monthly_rent": 1900, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/brrrr-method-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/brrrr-method-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"purchase_price\":120000,\"after_repair_value\":230000,\"monthly_rent\":1900}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call brrrr-method-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/brrrr-method-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the BRRRR Method Calculator API do? + Analyze a BRRRR real estate deal, including all-in cost, refinance proceeds, capital recycled, equity, and cash flow. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to BRRRR Method Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the BRRRR Method Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the BRRRR Method Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the BRRRR Method Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `brrrr-method-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`brrrr-method-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="brrrr-method-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Cash-on-Cash Return Calculator API # Cash-on-Cash Return Calculator API finance 1 credit / call v2026-04-22 Estimate rental property cash-on-cash return, cap rate, NOI, cash flow, and DSCR. One POST adds Cash-on-Cash Return Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cash-on-Cash Return Calculator on miniwebtool.com →](https://miniwebtool.com/cash-on-cash-return-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cash-on-cash-return-calculator/run ``` ### Request body Field Type Req. `purchase_price` `float` — `down_payment_pct` `float` — `closing_costs` `float` — `rehab_costs` `float` — `interest_rate` `float` — `loan_term` `int` — `monthly_rent` `float` — `vacancy_rate` `float` — `property_tax` `float` — `insurance` `float` — `other_monthly_expenses` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cash-on-cash-return-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) purchase_price (float) down_payment_pct (float) closing_costs (float) rehab_costs (float) interest_rate (float) loan_term (int) monthly_rent (float) vacancy_rate (float) property_tax (float) insurance (float) other_monthly_expenses (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cash-on-cash-return-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cash-on-cash-return-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"purchase_price":250000,"monthly_rent":1900,"down_payment_pct":20}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cash-on-cash-return-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'purchase_price': 250000, 'monthly_rent': 1900, 'down_payment_pct': 20}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cash-on-cash-return-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"purchase_price":250000,"monthly_rent":1900,"down_payment_pct":20}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'purchase_price' => 250000, 'monthly_rent' => 1900, 'down_payment_pct' => 20 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cash-on-cash-return-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'purchase_price' => 250000, 'monthly_rent' => 1900, 'down_payment_pct' => 20 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "purchase_price": 250000, "monthly_rent": 1900, "down_payment_pct": 20, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cash-on-cash-return-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cash-on-cash-return-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"purchase_price\":250000,\"monthly_rent\":1900,\"down_payment_pct\":20}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cash-on-cash-return-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cash-on-cash-return-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cash-on-Cash Return Calculator API do? + Estimate rental property cash-on-cash return, cap rate, NOI, cash flow, and DSCR. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cash-on-Cash Return Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cash-on-Cash Return Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cash-on-Cash Return Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cash-on-Cash Return Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cash-on-cash-return-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cash-on-cash-return-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cash-on-cash-return-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - House Flipping Profit Calculator API # House Flipping Profit Calculator API finance 1 credit / call v2026-04-22 Estimate house flip net profit, ROI, financing effects, and the 70 percent rule threshold. One POST adds House Flipping Profit Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the House Flipping Profit Calculator on miniwebtool.com →](https://miniwebtool.com/house-flipping-profit-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/house-flipping-profit-calculator/run ``` ### Request body Field Type Req. `purchase_price` `float` — `repair_costs` `float` — `after_repair_value` `float` — `holding_months` `int` — `buying_closing_pct` `float` — `selling_closing_pct` `float` — `agent_commission_pct` `float` — `use_financing` no | yes `str` — `loan_pct` `float` — `loan_rate` `float` — `loan_points` `float` — `monthly_holding_costs` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "house-flipping-profit-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) purchase_price (float) repair_costs (float) after_repair_value (float) holding_months (int) buying_closing_pct (float) selling_closing_pct (float) agent_commission_pct (float) use_financing (str) no yes no | yes loan_pct (float) loan_rate (float) loan_points (float) monthly_holding_costs (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`house-flipping-profit-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/house-flipping-profit-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"purchase_price":200000,"repair_costs":50000,"after_repair_value":320000,"holding_months":6,"use_financing":"no"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/house-flipping-profit-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'purchase_price': 200000, 'repair_costs': 50000, 'after_repair_value': 320000, 'holding_months': 6, 'use_financing': 'no'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/house-flipping-profit-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"purchase_price":200000,"repair_costs":50000,"after_repair_value":320000,"holding_months":6,"use_financing":"no"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'purchase_price' => 200000, 'repair_costs' => 50000, 'after_repair_value' => 320000, 'holding_months' => 6, 'use_financing' => 'no' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/house-flipping-profit-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'purchase_price' => 200000, 'repair_costs' => 50000, 'after_repair_value' => 320000, 'holding_months' => 6, 'use_financing' => 'no' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "purchase_price": 200000, "repair_costs": 50000, "after_repair_value": 320000, "holding_months": 6, "use_financing": "no", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/house-flipping-profit-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/house-flipping-profit-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"purchase_price\":200000,\"repair_costs\":50000,\"after_repair_value\":320000,\"holding_months\":6,\"use_financing\":\"no\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call house-flipping-profit-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/house-flipping-profit-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the House Flipping Profit Calculator API do? + Estimate house flip net profit, ROI, financing effects, and the 70 percent rule threshold. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to House Flipping Profit Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the House Flipping Profit Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the House Flipping Profit Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the House Flipping Profit Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `house-flipping-profit-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`house-flipping-profit-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="house-flipping-profit-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Housing Appreciation Calculator API # Housing Appreciation Calculator API finance 1 credit / call v2026-04-22 Calculate total home value change, annualized appreciation, and a future value projection. One POST adds Housing Appreciation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Housing Appreciation Calculator on miniwebtool.com →](https://miniwebtool.com/housing-appreciation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/housing-appreciation-calculator/run ``` ### Request body Field Type Req. `purchase_price` `float` — `purchase_date` `str` — `current_price` `float` — `current_date` `str` — `future_date` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "housing-appreciation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) purchase_price (float) purchase_date (str) 2016-01-01 current_price (float) current_date (str) 2026-01-01 future_date (str) 2031-01-01 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`housing-appreciation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/housing-appreciation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"purchase_price":300000,"purchase_date":"2016-01-01","current_price":600000,"current_date":"2026-01-01","future_date":"2031-01-01"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/housing-appreciation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'purchase_price': 300000, 'purchase_date': '2016-01-01', 'current_price': 600000, 'current_date': '2026-01-01', 'future_date': '2031-01-01'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/housing-appreciation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"purchase_price":300000,"purchase_date":"2016-01-01","current_price":600000,"current_date":"2026-01-01","future_date":"2031-01-01"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'purchase_price' => 300000, 'purchase_date' => '2016-01-01', 'current_price' => 600000, 'current_date' => '2026-01-01', 'future_date' => '2031-01-01' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/housing-appreciation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'purchase_price' => 300000, 'purchase_date' => '2016-01-01', 'current_price' => 600000, 'current_date' => '2026-01-01', 'future_date' => '2031-01-01' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "purchase_price": 300000, "purchase_date": "2016-01-01", "current_price": 600000, "current_date": "2026-01-01", "future_date": "2031-01-01", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/housing-appreciation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/housing-appreciation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"purchase_price\":300000,\"purchase_date\":\"2016-01-01\",\"current_price\":600000,\"current_date\":\"2026-01-01\",\"future_date\":\"2031-01-01\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call housing-appreciation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/housing-appreciation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Housing Appreciation Calculator API do? + Calculate total home value change, annualized appreciation, and a future value projection. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Housing Appreciation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Housing Appreciation Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Housing Appreciation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Housing Appreciation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `housing-appreciation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`housing-appreciation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="housing-appreciation-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Markup Calculator API # Markup Calculator API finance 1 credit / call v2026-04-22 Calculate markup percentage, selling price, cost, profit, and margin. One POST adds Markup Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Markup Calculator on miniwebtool.com →](https://miniwebtool.com/markup-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/markup-calculator/run ``` ### Request body Field Type Req. `calc_type` markup | selling | cost `str` — `cost` `float | None` — `selling_price` `float | None` — `markup_percent` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "markup-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calc_type (str) markup selling cost markup | selling | cost cost (float | None) selling_price (float | None) markup_percent (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`markup-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/markup-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_type":"markup","cost":100,"selling_price":150,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/markup-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_type': 'markup', 'cost': 100, 'selling_price': 150, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/markup-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_type":"markup","cost":100,"selling_price":150,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_type' => 'markup', 'cost' => 100, 'selling_price' => 150, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/markup-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_type' => 'markup', 'cost' => 100, 'selling_price' => 150, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_type": "markup", "cost": 100, "selling_price": 150, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/markup-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/markup-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_type\":\"markup\",\"cost\":100,\"selling_price\":150,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call markup-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/markup-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Markup Calculator API do? + Calculate markup percentage, selling price, cost, profit, and margin. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Markup Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Markup Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Markup Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Markup Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `markup-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`markup-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="markup-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Discount Calculator Calculate final price, savings, tax, stacked discounts, or BOGO deals. ](/tools/discount-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Dividend Payout Ratio Calculator API # Dividend Payout Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate dividend payout ratio and retention ratio from total or per-share inputs. One POST adds Dividend Payout Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Dividend Payout Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/dividend-payout-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/dividend-payout-ratio-calculator/run ``` ### Request body Field Type Req. `calc_method` total | per_share `str` — `dividends` `float | None` — `net_income` `float | None` — `dividend_per_share` `float | None` — `earnings_per_share` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "dividend-payout-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) calc_method (str) total per_share total | per_share dividends (float | None) net_income (float | None) dividend_per_share (float | None) earnings_per_share (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`dividend-payout-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/dividend-payout-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_method":"total","dividends":500000,"net_income":2000000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/dividend-payout-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_method': 'total', 'dividends': 500000, 'net_income': 2000000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/dividend-payout-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_method":"total","dividends":500000,"net_income":2000000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_method' => 'total', 'dividends' => 500000, 'net_income' => 2000000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/dividend-payout-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_method' => 'total', 'dividends' => 500000, 'net_income' => 2000000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_method": "total", "dividends": 500000, "net_income": 2000000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/dividend-payout-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/dividend-payout-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_method\":\"total\",\"dividends\":500000,\"net_income\":2000000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call dividend-payout-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/dividend-payout-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Dividend Payout Ratio Calculator API do? + Calculate dividend payout ratio and retention ratio from total or per-share inputs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Dividend Payout Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Dividend Payout Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Dividend Payout Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Dividend Payout Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `dividend-payout-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`dividend-payout-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="dividend-payout-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Dividend Yield Calculator API # Dividend Yield Calculator API finance 2 credits / call v2026-04-22 Calculate dividend yield, per-payment dividend, and optional annual income. One POST adds Dividend Yield Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Dividend Yield Calculator on miniwebtool.com →](https://miniwebtool.com/dividend-yield-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/dividend-yield-calculator/run ``` ### Request body Field Type Req. `annual_dividend_per_share` `float` — `stock_price` `float` — `shares` `float | None` — `dividend_frequency` annual | semi | quarterly | monthly `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "dividend-yield-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) annual_dividend_per_share (float) stock_price (float) shares (float | None) dividend_frequency (str) annual semi quarterly monthly annual | semi | quarterly | monthly precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`dividend-yield-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/dividend-yield-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"annual_dividend_per_share":2.5,"stock_price":100,"shares":100,"dividend_frequency":"annual","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/dividend-yield-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'annual_dividend_per_share': 2.5, 'stock_price': 100, 'shares': 100, 'dividend_frequency': 'annual', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/dividend-yield-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"annual_dividend_per_share":2.5,"stock_price":100,"shares":100,"dividend_frequency":"annual","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'annual_dividend_per_share' => 2.5, 'stock_price' => 100, 'shares' => 100, 'dividend_frequency' => 'annual', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/dividend-yield-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'annual_dividend_per_share' => 2.5, 'stock_price' => 100, 'shares' => 100, 'dividend_frequency' => 'annual', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "annual_dividend_per_share": 2.5, "stock_price": 100, "shares": 100, "dividend_frequency": "annual", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/dividend-yield-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/dividend-yield-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"annual_dividend_per_share\":2.5,\"stock_price\":100,\"shares\":100,\"dividend_frequency\":\"annual\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call dividend-yield-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/dividend-yield-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Dividend Yield Calculator API do? + Calculate dividend yield, per-payment dividend, and optional annual income. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Dividend Yield Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Dividend Yield Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Dividend Yield Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Dividend Yield Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `dividend-yield-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`dividend-yield-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="dividend-yield-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - ROI Calculator API # ROI Calculator API finance 2 credits / call v2026-04-22 Calculate ROI, annualized ROI, CAGR, and investment term from fixed dates. One POST adds ROI Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the ROI Calculator on miniwebtool.com →](https://miniwebtool.com/roi-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/roi-calculator/run ``` ### Request body Field Type Req. `original_investment` `float` — `returned_value` `float` — `investment_start_date` `date` — `investment_end_date` `date` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "roi-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) original_investment (float) returned_value (float) investment_start_date (date) 2025-01-01 investment_end_date (date) 2026-01-01 precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`roi-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/roi-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"original_investment":10000,"returned_value":12500,"investment_start_date":"2025-01-01","investment_end_date":"2026-01-01","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/roi-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'original_investment': 10000, 'returned_value': 12500, 'investment_start_date': '2025-01-01', 'investment_end_date': '2026-01-01', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/roi-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"original_investment":10000,"returned_value":12500,"investment_start_date":"2025-01-01","investment_end_date":"2026-01-01","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'original_investment' => 10000, 'returned_value' => 12500, 'investment_start_date' => '2025-01-01', 'investment_end_date' => '2026-01-01', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/roi-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'original_investment' => 10000, 'returned_value' => 12500, 'investment_start_date' => '2025-01-01', 'investment_end_date' => '2026-01-01', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "original_investment": 10000, "returned_value": 12500, "investment_start_date": "2025-01-01", "investment_end_date": "2026-01-01", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/roi-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/roi-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"original_investment\":10000,\"returned_value\":12500,\"investment_start_date\":\"2025-01-01\",\"investment_end_date\":\"2026-01-01\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call roi-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/roi-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the ROI Calculator API do? + Calculate ROI, annualized ROI, CAGR, and investment term from fixed dates. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to ROI Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the ROI Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the ROI Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the ROI Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `roi-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`roi-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="roi-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Hourly to Salary Calculator API # Hourly to Salary Calculator API finance 2 credits / call v2026-04-22 Convert an hourly wage to weekly, monthly, and annual salary. One POST adds Hourly to Salary Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hourly to Salary Calculator on miniwebtool.com →](https://miniwebtool.com/hourly-to-salary-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/hourly-to-salary-calculator/run ``` ### Request body Field Type Req. `hourly_wage` `float` ✓ `hours_per_week` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hourly-to-salary-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) hourly_wage (float) * hours_per_week (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`hourly-to-salary-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hourly-to-salary-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hourly_wage":25,"hours_per_week":40}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hourly-to-salary-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hourly_wage': 25, 'hours_per_week': 40}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hourly-to-salary-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hourly_wage":25,"hours_per_week":40}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hourly_wage' => 25, 'hours_per_week' => 40 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hourly-to-salary-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hourly_wage' => 25, 'hours_per_week' => 40 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hourly_wage": 25, "hours_per_week": 40, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hourly-to-salary-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hourly-to-salary-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hourly_wage\":25,\"hours_per_week\":40}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hourly-to-salary-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`hourly_wage`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hourly-to-salary-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hourly to Salary Calculator API do? + Convert an hourly wage to weekly, monthly, and annual salary. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hourly to Salary Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hourly to Salary Calculator API require? + Required fields: hourly_wage. Full schema at /v1/openapi.json. Is the Hourly to Salary Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hourly to Salary Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hourly-to-salary-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hourly-to-salary-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hourly-to-salary-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Hourly Wage Calculator API # Hourly Wage Calculator API finance 2 credits / call v2026-04-22 Convert annual salary to equivalent hourly wage. One POST adds Hourly Wage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hourly Wage Calculator on miniwebtool.com →](https://miniwebtool.com/hourly-wage-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/hourly-wage-calculator/run ``` ### Request body Field Type Req. `annual_salary` `float` ✓ `hours_per_week` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hourly-wage-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) annual_salary (float) * hours_per_week (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`hourly-wage-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hourly-wage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"annual_salary":52000,"hours_per_week":40}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hourly-wage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'annual_salary': 52000, 'hours_per_week': 40}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hourly-wage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"annual_salary":52000,"hours_per_week":40}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'annual_salary' => 52000, 'hours_per_week' => 40 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hourly-wage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'annual_salary' => 52000, 'hours_per_week' => 40 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "annual_salary": 52000, "hours_per_week": 40, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hourly-wage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hourly-wage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"annual_salary\":52000,\"hours_per_week\":40}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hourly-wage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`annual_salary`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hourly-wage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hourly Wage Calculator API do? + Convert annual salary to equivalent hourly wage. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hourly Wage Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hourly Wage Calculator API require? + Required fields: annual_salary. Full schema at /v1/openapi.json. Is the Hourly Wage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hourly Wage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hourly-wage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hourly-wage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hourly-wage-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Salary Conversion Calculator API # Salary Conversion Calculator API finance 2 credits / call v2026-04-22 Convert wage amounts across hourly, daily, weekly, monthly, and annual pay periods. One POST adds Salary Conversion Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Salary Conversion Calculator on miniwebtool.com →](https://miniwebtool.com/salary-conversion-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/salary-conversion-calculator/run ``` ### Request body Field Type Req. `wage` `float` ✓ `term` hourly | daily | weekly | biweekly | semimonthly | monthly | quarterly | semiannually | annually `str` — `hours_per_day` `float` — `days_per_week` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "salary-conversion-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) wage (float) * term (str) hourly daily weekly biweekly semimonthly monthly quarterly semiannually annually hourly | daily | weekly | biweekly | semimonthly | monthly | quarterly | semiannually | annually hours_per_day (float) days_per_week (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`salary-conversion-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/salary-conversion-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"wage":25,"term":"hourly","hours_per_day":8,"days_per_week":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/salary-conversion-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'wage': 25, 'term': 'hourly', 'hours_per_day': 8, 'days_per_week': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/salary-conversion-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"wage":25,"term":"hourly","hours_per_day":8,"days_per_week":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'wage' => 25, 'term' => 'hourly', 'hours_per_day' => 8, 'days_per_week' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/salary-conversion-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'wage' => 25, 'term' => 'hourly', 'hours_per_day' => 8, 'days_per_week' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "wage": 25, "term": "hourly", "hours_per_day": 8, "days_per_week": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/salary-conversion-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/salary-conversion-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"wage\":25,\"term\":\"hourly\",\"hours_per_day\":8,\"days_per_week\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call salary-conversion-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`wage`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/salary-conversion-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Salary Conversion Calculator API do? + Convert wage amounts across hourly, daily, weekly, monthly, and annual pay periods. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Salary Conversion Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Salary Conversion Calculator API require? + Required fields: wage. Full schema at /v1/openapi.json. Is the Salary Conversion Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Salary Conversion Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `salary-conversion-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`salary-conversion-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="salary-conversion-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Weekly Wage Calculator API # Weekly Wage Calculator API finance 2 credits / call v2026-04-22 Convert annual salary to weekly wage. One POST adds Weekly Wage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Weekly Wage Calculator on miniwebtool.com →](https://miniwebtool.com/weekly-wage-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/weekly-wage-calculator/run ``` ### Request body Field Type Req. `annual_salary` `float` ✓ `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "weekly-wage-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) annual_salary (float) * precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`weekly-wage-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/weekly-wage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"annual_salary":52000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/weekly-wage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'annual_salary': 52000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/weekly-wage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"annual_salary":52000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'annual_salary' => 52000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/weekly-wage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'annual_salary' => 52000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "annual_salary": 52000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/weekly-wage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/weekly-wage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"annual_salary\":52000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call weekly-wage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`annual_salary`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/weekly-wage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Weekly Wage Calculator API do? + Convert annual salary to weekly wage. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Weekly Wage Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Weekly Wage Calculator API require? + Required fields: annual_salary. Full schema at /v1/openapi.json. Is the Weekly Wage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Weekly Wage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `weekly-wage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`weekly-wage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="weekly-wage-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Commission Calculator API # Commission Calculator API finance 2 credits / call v2026-04-22 Calculate flat, tiered, or bonus-based sales commission. One POST adds Commission Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Commission Calculator on miniwebtool.com →](https://miniwebtool.com/commission-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/commission-calculator/run ``` ### Request body Field Type Req. `commission_type` flat | tiered | bonus `str` — `sales_amount` `float` — `commission_rate` `float` — `tier1_threshold` `float` — `tier1_rate` `float` — `tier2_threshold` `float` — `tier2_rate` `float` — `tier3_threshold` `float` — `tier3_rate` `float` — `tier4_rate` `float` — `bonus_threshold` `float` — `bonus_amount` `float` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "commission-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) commission_type (str) flat tiered bonus flat | tiered | bonus sales_amount (float) commission_rate (float) tier1_threshold (float) tier1_rate (float) tier2_threshold (float) tier2_rate (float) tier3_threshold (float) tier3_rate (float) tier4_rate (float) bonus_threshold (float) bonus_amount (float) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`commission-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/commission-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"commission_type":"flat","sales_amount":50000,"commission_rate":5,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/commission-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'commission_type': 'flat', 'sales_amount': 50000, 'commission_rate': 5, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/commission-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"commission_type":"flat","sales_amount":50000,"commission_rate":5,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'commission_type' => 'flat', 'sales_amount' => 50000, 'commission_rate' => 5, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/commission-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'commission_type' => 'flat', 'sales_amount' => 50000, 'commission_rate' => 5, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "commission_type": "flat", "sales_amount": 50000, "commission_rate": 5, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/commission-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/commission-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"commission_type\":\"flat\",\"sales_amount\":50000,\"commission_rate\":5,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call commission-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/commission-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Commission Calculator API do? + Calculate flat, tiered, or bonus-based sales commission. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Commission Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Commission Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Commission Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Commission Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `commission-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`commission-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="commission-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Compound Savings Calculator API # Compound Savings Calculator API finance 1 credit / call v2026-04-22 Project savings growth with compound interest and regular contributions. One POST adds Compound Savings Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Compound Savings Calculator on miniwebtool.com →](https://miniwebtool.com/compound-savings-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/compound-savings-calculator/run ``` ### Request body Field Type Req. `initial_balance` `float` — `contribution` `float` — `contribution_frequency` 1 | 2 | 4 | 12 | 26 | 52 | 365 `str` — `annual_rate_percent` `float` — `compound_frequency` 1 | 2 | 4 | 12 | 26 | 52 | 365 `str` — `years` `int` — `inflation_rate_percent` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "compound-savings-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) initial_balance (float) contribution (float) contribution_frequency (str) 1 2 4 12 26 52 365 1 | 2 | 4 | 12 | 26 | 52 | 365 annual_rate_percent (float) compound_frequency (str) 1 2 4 12 26 52 365 1 | 2 | 4 | 12 | 26 | 52 | 365 years (int) inflation_rate_percent (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`compound-savings-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/compound-savings-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"initial_balance":10000,"contribution":500,"contribution_frequency":"12","annual_rate_percent":6,"compound_frequency":"12","years":10,"inflation_rate_percent":0,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/compound-savings-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'initial_balance': 10000, 'contribution': 500, 'contribution_frequency': '12', 'annual_rate_percent': 6, 'compound_frequency': '12', 'years': 10, 'inflation_rate_percent': 0, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/compound-savings-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"initial_balance":10000,"contribution":500,"contribution_frequency":"12","annual_rate_percent":6,"compound_frequency":"12","years":10,"inflation_rate_percent":0,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'initial_balance' => 10000, 'contribution' => 500, 'contribution_frequency' => '12', 'annual_rate_percent' => 6, 'compound_frequency' => '12', 'years' => 10, 'inflation_rate_percent' => 0, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/compound-savings-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'initial_balance' => 10000, 'contribution' => 500, 'contribution_frequency' => '12', 'annual_rate_percent' => 6, 'compound_frequency' => '12', 'years' => 10, 'inflation_rate_percent' => 0, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "initial_balance": 10000, "contribution": 500, "contribution_frequency": "12", "annual_rate_percent": 6, "compound_frequency": "12", "years": 10, "inflation_rate_percent": 0, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/compound-savings-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/compound-savings-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"initial_balance\":10000,\"contribution\":500,\"contribution_frequency\":\"12\",\"annual_rate_percent\":6,\"compound_frequency\":\"12\",\"years\":10,\"inflation_rate_percent\":0,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call compound-savings-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/compound-savings-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Compound Savings Calculator API do? + Project savings growth with compound interest and regular contributions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Compound Savings Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Compound Savings Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Compound Savings Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Compound Savings Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `compound-savings-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`compound-savings-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="compound-savings-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Future Value Calculator API # Future Value Calculator API finance 2 credits / call v2026-04-22 Calculate future value from a lump sum plus optional recurring contributions. One POST adds Future Value Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Future Value Calculator on miniwebtool.com →](https://miniwebtool.com/future-value-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/future-value-calculator/run ``` ### Request body Field Type Req. `present_value` `float` ✓ `annual_rate_percent` `float` ✓ `years` `float` ✓ `compound_frequency` annually | semiannually | quarterly | monthly | daily `str` — `contribution` `float` — `contribution_frequency` annually | quarterly | monthly `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "future-value-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) present_value (float) * annual_rate_percent (float) * years (float) * compound_frequency (str) annually semiannually quarterly monthly daily annually | semiannually | quarterly | monthly | daily contribution (float) contribution_frequency (str) annually quarterly monthly annually | quarterly | monthly precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`future-value-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/future-value-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"present_value":10000,"annual_rate_percent":7,"years":10,"compound_frequency":"monthly","contribution":100,"contribution_frequency":"monthly"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/future-value-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'present_value': 10000, 'annual_rate_percent': 7, 'years': 10, 'compound_frequency': 'monthly', 'contribution': 100, 'contribution_frequency': 'monthly'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/future-value-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"present_value":10000,"annual_rate_percent":7,"years":10,"compound_frequency":"monthly","contribution":100,"contribution_frequency":"monthly"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'present_value' => 10000, 'annual_rate_percent' => 7, 'years' => 10, 'compound_frequency' => 'monthly', 'contribution' => 100, 'contribution_frequency' => 'monthly' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/future-value-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'present_value' => 10000, 'annual_rate_percent' => 7, 'years' => 10, 'compound_frequency' => 'monthly', 'contribution' => 100, 'contribution_frequency' => 'monthly' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "present_value": 10000, "annual_rate_percent": 7, "years": 10, "compound_frequency": "monthly", "contribution": 100, "contribution_frequency": "monthly", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/future-value-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/future-value-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"present_value\":10000,\"annual_rate_percent\":7,\"years\":10,\"compound_frequency\":\"monthly\",\"contribution\":100,\"contribution_frequency\":\"monthly\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call future-value-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`present_value`,`annual_rate_percent`,`years`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/future-value-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Future Value Calculator API do? + Calculate future value from a lump sum plus optional recurring contributions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Future Value Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Future Value Calculator API require? + Required fields: present_value, annual_rate_percent, years. Full schema at /v1/openapi.json. Is the Future Value Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Future Value Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `future-value-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`future-value-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="future-value-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Future Value Factor Calculator API # Future Value Factor Calculator API finance 2 credits / call v2026-04-22 Calculate the future value factor for a rate and number of periods. One POST adds Future Value Factor Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Future Value Factor Calculator on miniwebtool.com →](https://miniwebtool.com/future-value-factor-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/future-value-factor-calculator/run ``` ### Request body Field Type Req. `rate_percent` `float` ✓ `periods` `int` ✓ `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "future-value-factor-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) rate_percent (float) * periods (int) * precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`future-value-factor-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/future-value-factor-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"rate_percent":5,"periods":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/future-value-factor-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'rate_percent': 5, 'periods': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/future-value-factor-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"rate_percent":5,"periods":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'rate_percent' => 5, 'periods' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/future-value-factor-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'rate_percent' => 5, 'periods' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "rate_percent": 5, "periods": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/future-value-factor-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/future-value-factor-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"rate_percent\":5,\"periods\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call future-value-factor-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`rate_percent`,`periods`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/future-value-factor-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Future Value Factor Calculator API do? + Calculate the future value factor for a rate and number of periods. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Future Value Factor Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Future Value Factor Calculator API require? + Required fields: rate_percent, periods. Full schema at /v1/openapi.json. Is the Future Value Factor Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Future Value Factor Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `future-value-factor-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`future-value-factor-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="future-value-factor-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Future Value of Annuity Calculator API # Future Value of Annuity Calculator API finance 2 credits / call v2026-04-22 Calculate future value for ordinary annuities and annuities due. One POST adds Future Value of Annuity Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Future Value of Annuity Calculator on miniwebtool.com →](https://miniwebtool.com/future-value-of-annuity-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/future-value-of-annuity-calculator/run ``` ### Request body Field Type Req. `payment` `float` ✓ `rate_percent` `float` ✓ `periods` `int` ✓ `annuity_type` ordinary | due `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "future-value-of-annuity-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) payment (float) * rate_percent (float) * periods (int) * annuity_type (str) ordinary due ordinary | due precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`future-value-of-annuity-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/future-value-of-annuity-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"payment":1000,"rate_percent":5,"periods":10,"annuity_type":"ordinary"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/future-value-of-annuity-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'payment': 1000, 'rate_percent': 5, 'periods': 10, 'annuity_type': 'ordinary'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/future-value-of-annuity-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"payment":1000,"rate_percent":5,"periods":10,"annuity_type":"ordinary"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'payment' => 1000, 'rate_percent' => 5, 'periods' => 10, 'annuity_type' => 'ordinary' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/future-value-of-annuity-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'payment' => 1000, 'rate_percent' => 5, 'periods' => 10, 'annuity_type' => 'ordinary' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "payment": 1000, "rate_percent": 5, "periods": 10, "annuity_type": "ordinary", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/future-value-of-annuity-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/future-value-of-annuity-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"payment\":1000,\"rate_percent\":5,\"periods\":10,\"annuity_type\":\"ordinary\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call future-value-of-annuity-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`payment`,`rate_percent`,`periods`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/future-value-of-annuity-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Future Value of Annuity Calculator API do? + Calculate future value for ordinary annuities and annuities due. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Future Value of Annuity Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Future Value of Annuity Calculator API require? + Required fields: payment, rate_percent, periods. Full schema at /v1/openapi.json. Is the Future Value of Annuity Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Future Value of Annuity Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `future-value-of-annuity-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`future-value-of-annuity-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="future-value-of-annuity-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Future Value of Annuity Due Calculator API # Future Value of Annuity Due Calculator API finance 2 credits / call v2026-04-22 Calculate future value of an annuity due and compare it with an ordinary annuity. One POST adds Future Value of Annuity Due Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Future Value of Annuity Due Calculator on miniwebtool.com →](https://miniwebtool.com/future-value-of-annuity-due-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/future-value-of-annuity-due-calculator/run ``` ### Request body Field Type Req. `payment` `float` ✓ `annual_rate` `float` ✓ `periods` `int` ✓ `compounding` annual | semiannual | quarterly | monthly `str` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "future-value-of-annuity-due-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) payment (float) * annual_rate (float) * periods (int) * compounding (str) annual semiannual quarterly monthly annual | semiannual | quarterly | monthly Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`future-value-of-annuity-due-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/future-value-of-annuity-due-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"payment":1000,"annual_rate":5,"periods":10,"compounding":"annual"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/future-value-of-annuity-due-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'payment': 1000, 'annual_rate': 5, 'periods': 10, 'compounding': 'annual'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/future-value-of-annuity-due-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"payment":1000,"annual_rate":5,"periods":10,"compounding":"annual"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'payment' => 1000, 'annual_rate' => 5, 'periods' => 10, 'compounding' => 'annual' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/future-value-of-annuity-due-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'payment' => 1000, 'annual_rate' => 5, 'periods' => 10, 'compounding' => 'annual' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "payment": 1000, "annual_rate": 5, "periods": 10, "compounding": "annual", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/future-value-of-annuity-due-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/future-value-of-annuity-due-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"payment\":1000,\"annual_rate\":5,\"periods\":10,\"compounding\":\"annual\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call future-value-of-annuity-due-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`payment`,`annual_rate`,`periods`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/future-value-of-annuity-due-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Future Value of Annuity Due Calculator API do? + Calculate future value of an annuity due and compare it with an ordinary annuity. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Future Value of Annuity Due Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Future Value of Annuity Due Calculator API require? + Required fields: payment, annual_rate, periods. Full schema at /v1/openapi.json. Is the Future Value of Annuity Due Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Future Value of Annuity Due Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `future-value-of-annuity-due-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`future-value-of-annuity-due-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="future-value-of-annuity-due-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Future Value of Growing Annuity Calculator API # Future Value of Growing Annuity Calculator API finance 2 credits / call v2026-04-22 Calculate future value for payments that grow each period. One POST adds Future Value of Growing Annuity Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Future Value of Growing Annuity Calculator on miniwebtool.com →](https://miniwebtool.com/future-value-of-growing-annuity-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/future-value-of-growing-annuity-calculator/run ``` ### Request body Field Type Req. `first_payment` `float` ✓ `interest_rate` `float` ✓ `growth_rate` `float` ✓ `periods` `int` ✓ ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "future-value-of-growing-annuity-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) first_payment (float) * interest_rate (float) * growth_rate (float) * periods (int) * Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`future-value-of-growing-annuity-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/future-value-of-growing-annuity-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"first_payment":1000,"interest_rate":8,"growth_rate":3,"periods":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/future-value-of-growing-annuity-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'first_payment': 1000, 'interest_rate': 8, 'growth_rate': 3, 'periods': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/future-value-of-growing-annuity-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"first_payment":1000,"interest_rate":8,"growth_rate":3,"periods":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'first_payment' => 1000, 'interest_rate' => 8, 'growth_rate' => 3, 'periods' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/future-value-of-growing-annuity-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'first_payment' => 1000, 'interest_rate' => 8, 'growth_rate' => 3, 'periods' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "first_payment": 1000, "interest_rate": 8, "growth_rate": 3, "periods": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/future-value-of-growing-annuity-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/future-value-of-growing-annuity-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"first_payment\":1000,\"interest_rate\":8,\"growth_rate\":3,\"periods\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call future-value-of-growing-annuity-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`first_payment`,`interest_rate`,`growth_rate`,`periods`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/future-value-of-growing-annuity-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Future Value of Growing Annuity Calculator API do? + Calculate future value for payments that grow each period. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Future Value of Growing Annuity Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Future Value of Growing Annuity Calculator API require? + Required fields: first_payment, interest_rate, growth_rate, periods. Full schema at /v1/openapi.json. Is the Future Value of Growing Annuity Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Future Value of Growing Annuity Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `future-value-of-growing-annuity-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`future-value-of-growing-annuity-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="future-value-of-growing-annuity-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Future Value of Lump Sum Calculator API # Future Value of Lump Sum Calculator API finance 2 credits / call v2026-04-22 Calculate compound future value for a single lump-sum investment. One POST adds Future Value of Lump Sum Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Future Value of Lump Sum Calculator on miniwebtool.com →](https://miniwebtool.com/future-value-of-lump-sum-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/future-value-of-lump-sum-calculator/run ``` ### Request body Field Type Req. `present_value` `float` ✓ `annual_rate` `float` ✓ `years` `float` ✓ `compounding` annual | semiannual | quarterly | monthly | daily `str` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "future-value-of-lump-sum-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) present_value (float) * annual_rate (float) * years (float) * compounding (str) annual semiannual quarterly monthly daily annual | semiannual | quarterly | monthly | daily Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`future-value-of-lump-sum-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/future-value-of-lump-sum-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"present_value":10000,"annual_rate":7,"years":10,"compounding":"annual"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/future-value-of-lump-sum-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'present_value': 10000, 'annual_rate': 7, 'years': 10, 'compounding': 'annual'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/future-value-of-lump-sum-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"present_value":10000,"annual_rate":7,"years":10,"compounding":"annual"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'present_value' => 10000, 'annual_rate' => 7, 'years' => 10, 'compounding' => 'annual' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/future-value-of-lump-sum-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'present_value' => 10000, 'annual_rate' => 7, 'years' => 10, 'compounding' => 'annual' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "present_value": 10000, "annual_rate": 7, "years": 10, "compounding": "annual", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/future-value-of-lump-sum-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/future-value-of-lump-sum-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"present_value\":10000,\"annual_rate\":7,\"years\":10,\"compounding\":\"annual\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call future-value-of-lump-sum-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`present_value`,`annual_rate`,`years`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/future-value-of-lump-sum-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Future Value of Lump Sum Calculator API do? + Calculate compound future value for a single lump-sum investment. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Future Value of Lump Sum Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Future Value of Lump Sum Calculator API require? + Required fields: present_value, annual_rate, years. Full schema at /v1/openapi.json. Is the Future Value of Lump Sum Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Future Value of Lump Sum Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `future-value-of-lump-sum-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`future-value-of-lump-sum-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="future-value-of-lump-sum-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - FVIFA Calculator API # FVIFA Calculator API finance 2 credits / call v2026-04-22 Calculate the future value interest factor of an annuity. One POST adds FVIFA Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the FVIFA Calculator on miniwebtool.com →](https://miniwebtool.com/fvifa-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/fvifa-calculator/run ``` ### Request body Field Type Req. `rate_per_period` `float` ✓ `periods` `int` ✓ `payment` `Optional` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fvifa-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) rate_per_period (float) * periods (int) * payment (Optional) 1000 Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`fvifa-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fvifa-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"rate_per_period":5,"periods":10,"payment":1000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fvifa-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'rate_per_period': 5, 'periods': 10, 'payment': 1000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fvifa-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"rate_per_period":5,"periods":10,"payment":1000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'rate_per_period' => 5, 'periods' => 10, 'payment' => 1000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fvifa-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'rate_per_period' => 5, 'periods' => 10, 'payment' => 1000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "rate_per_period": 5, "periods": 10, "payment": 1000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fvifa-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fvifa-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"rate_per_period\":5,\"periods\":10,\"payment\":1000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fvifa-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`rate_per_period`,`periods`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fvifa-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the FVIFA Calculator API do? + Calculate the future value interest factor of an annuity. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to FVIFA Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the FVIFA Calculator API require? + Required fields: rate_per_period, periods. Full schema at /v1/openapi.json. Is the FVIFA Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the FVIFA Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fvifa-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fvifa-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fvifa-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Present Value of Annuity Calculator API # Present Value of Annuity Calculator API finance 2 credits / call v2026-04-22 Calculate present value for ordinary annuities and annuities due. One POST adds Present Value of Annuity Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Present Value of Annuity Calculator on miniwebtool.com →](https://miniwebtool.com/present-value-of-annuity-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/present-value-of-annuity-calculator/run ``` ### Request body Field Type Req. `payment` `float` ✓ `rate_percent` `float` ✓ `periods` `int` ✓ `annuity_type` ordinary | due `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "present-value-of-annuity-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) payment (float) * rate_percent (float) * periods (int) * annuity_type (str) ordinary due ordinary | due precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`present-value-of-annuity-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/present-value-of-annuity-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"payment":1000,"rate_percent":5,"periods":10,"annuity_type":"ordinary"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/present-value-of-annuity-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'payment': 1000, 'rate_percent': 5, 'periods': 10, 'annuity_type': 'ordinary'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/present-value-of-annuity-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"payment":1000,"rate_percent":5,"periods":10,"annuity_type":"ordinary"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'payment' => 1000, 'rate_percent' => 5, 'periods' => 10, 'annuity_type' => 'ordinary' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/present-value-of-annuity-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'payment' => 1000, 'rate_percent' => 5, 'periods' => 10, 'annuity_type' => 'ordinary' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "payment": 1000, "rate_percent": 5, "periods": 10, "annuity_type": "ordinary", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/present-value-of-annuity-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/present-value-of-annuity-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"payment\":1000,\"rate_percent\":5,\"periods\":10,\"annuity_type\":\"ordinary\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call present-value-of-annuity-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`payment`,`rate_percent`,`periods`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/present-value-of-annuity-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Present Value of Annuity Calculator API do? + Calculate present value for ordinary annuities and annuities due. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Present Value of Annuity Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Present Value of Annuity Calculator API require? + Required fields: payment, rate_percent, periods. Full schema at /v1/openapi.json. Is the Present Value of Annuity Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Present Value of Annuity Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `present-value-of-annuity-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`present-value-of-annuity-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="present-value-of-annuity-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Present Value of Lump Sum Calculator API # Present Value of Lump Sum Calculator API finance 2 credits / call v2026-04-22 Discount a future lump sum back to present value. One POST adds Present Value of Lump Sum Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Present Value of Lump Sum Calculator on miniwebtool.com →](https://miniwebtool.com/present-value-of-lump-sum-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/present-value-of-lump-sum-calculator/run ``` ### Request body Field Type Req. `future_value` `float` ✓ `annual_rate_percent` `float` ✓ `years` `float` ✓ `compound_frequency` annually | semiannually | quarterly | monthly | daily `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "present-value-of-lump-sum-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) future_value (float) * annual_rate_percent (float) * years (float) * compound_frequency (str) annually semiannually quarterly monthly daily annually | semiannually | quarterly | monthly | daily precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`present-value-of-lump-sum-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/present-value-of-lump-sum-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"future_value":10000,"annual_rate_percent":5,"years":10,"compound_frequency":"annually"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/present-value-of-lump-sum-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'future_value': 10000, 'annual_rate_percent': 5, 'years': 10, 'compound_frequency': 'annually'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/present-value-of-lump-sum-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"future_value":10000,"annual_rate_percent":5,"years":10,"compound_frequency":"annually"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'future_value' => 10000, 'annual_rate_percent' => 5, 'years' => 10, 'compound_frequency' => 'annually' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/present-value-of-lump-sum-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'future_value' => 10000, 'annual_rate_percent' => 5, 'years' => 10, 'compound_frequency' => 'annually' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "future_value": 10000, "annual_rate_percent": 5, "years": 10, "compound_frequency": "annually", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/present-value-of-lump-sum-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/present-value-of-lump-sum-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"future_value\":10000,\"annual_rate_percent\":5,\"years\":10,\"compound_frequency\":\"annually\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call present-value-of-lump-sum-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`future_value`,`annual_rate_percent`,`years`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/present-value-of-lump-sum-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Present Value of Lump Sum Calculator API do? + Discount a future lump sum back to present value. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Present Value of Lump Sum Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Present Value of Lump Sum Calculator API require? + Required fields: future_value, annual_rate_percent, years. Full schema at /v1/openapi.json. Is the Present Value of Lump Sum Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Present Value of Lump Sum Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `present-value-of-lump-sum-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`present-value-of-lump-sum-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="present-value-of-lump-sum-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - VAT Calculator API # VAT Calculator API finance 2 credits / call v2026-04-22 Add, remove, or extract VAT from an amount using a preset or custom rate. One POST adds VAT Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the VAT Calculator on miniwebtool.com →](https://miniwebtool.com/vat-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/vat-calculator/run ``` ### Request body Field Type Req. `amount` `float` ✓ `calc_mode` add | remove | extract `str` — `country` custom | gb | de | fr | it | es | nl | au | nz | ca | in | sg `str` — `vat_rate_percent` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "vat-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) amount (float) * calc_mode (str) add remove extract add | remove | extract country (str) custom gb de fr it es nl au nz ca in sg custom | gb | de | fr | it | es | nl | au | nz | ca | in | sg vat_rate_percent (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`vat-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/vat-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"amount":100,"calc_mode":"add","country":"gb"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/vat-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'amount': 100, 'calc_mode': 'add', 'country': 'gb'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/vat-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"amount":100,"calc_mode":"add","country":"gb"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'amount' => 100, 'calc_mode' => 'add', 'country' => 'gb' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/vat-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'amount' => 100, 'calc_mode' => 'add', 'country' => 'gb' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "amount": 100, "calc_mode": "add", "country": "gb", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/vat-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/vat-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"amount\":100,\"calc_mode\":\"add\",\"country\":\"gb\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call vat-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`amount`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/vat-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the VAT Calculator API do? + Add, remove, or extract VAT from an amount using a preset or custom rate. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to VAT Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the VAT Calculator API require? + Required fields: amount. Full schema at /v1/openapi.json. Is the VAT Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the VAT Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `vat-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`vat-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="vat-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Book Value per Share Calculator API # Book Value per Share Calculator API finance 2 credits / call v2026-04-22 Calculate book value per share, common equity, and optional price-to-book ratio. One POST adds Book Value per Share Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Book Value per Share Calculator on miniwebtool.com →](https://miniwebtool.com/book-value-per-share-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/book-value-per-share-calculator/run ``` ### Request body Field Type Req. `total_equity` `float` — `shares_outstanding` `float` — `preferred_equity` `float` — `market_price_per_share` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "book-value-per-share-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) total_equity (float) shares_outstanding (float) preferred_equity (float) market_price_per_share (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`book-value-per-share-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/book-value-per-share-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"total_equity":5000000,"shares_outstanding":1000000,"preferred_equity":0,"market_price_per_share":7.5,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/book-value-per-share-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'total_equity': 5000000, 'shares_outstanding': 1000000, 'preferred_equity': 0, 'market_price_per_share': 7.5, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/book-value-per-share-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"total_equity":5000000,"shares_outstanding":1000000,"preferred_equity":0,"market_price_per_share":7.5,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'total_equity' => 5000000, 'shares_outstanding' => 1000000, 'preferred_equity' => 0, 'market_price_per_share' => 7.5, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/book-value-per-share-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'total_equity' => 5000000, 'shares_outstanding' => 1000000, 'preferred_equity' => 0, 'market_price_per_share' => 7.5, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "total_equity": 5000000, "shares_outstanding": 1000000, "preferred_equity": 0, "market_price_per_share": 7.5, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/book-value-per-share-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/book-value-per-share-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"total_equity\":5000000,\"shares_outstanding\":1000000,\"preferred_equity\":0,\"market_price_per_share\":7.5,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call book-value-per-share-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/book-value-per-share-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Book Value per Share Calculator API do? + Calculate book value per share, common equity, and optional price-to-book ratio. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Book Value per Share Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Book Value per Share Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Book Value per Share Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Book Value per Share Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `book-value-per-share-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`book-value-per-share-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="book-value-per-share-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - P/E Ratio Calculator API # P/E Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate price-to-earnings ratio, earnings yield, and sector benchmark premium. One POST adds P/E Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the P/E Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/p-e-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/p-e-ratio-calculator/run ``` ### Request body Field Type Req. `price_per_share` `float` — `earnings_per_share` `float` — `sector` sp500 | technology | healthcare | financials | consumer_discretionary | consumer_staples | energy | industrials | materials | utilities | real_estate | communication `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "p-e-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) price_per_share (float) earnings_per_share (float) sector (str) sp500 technology healthcare financials consumer_discretionary consumer_staples energy industrials materials utilities real_estate communication sp500 | technology | healthcare | financials | consumer_discretionary | consumer_staples | energy | industrials | materials | utilities | real_estate | communication precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`p-e-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/p-e-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"price_per_share":150,"earnings_per_share":6.5,"sector":"sp500","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/p-e-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'price_per_share': 150, 'earnings_per_share': 6.5, 'sector': 'sp500', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/p-e-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"price_per_share":150,"earnings_per_share":6.5,"sector":"sp500","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'price_per_share' => 150, 'earnings_per_share' => 6.5, 'sector' => 'sp500', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/p-e-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'price_per_share' => 150, 'earnings_per_share' => 6.5, 'sector' => 'sp500', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "price_per_share": 150, "earnings_per_share": 6.5, "sector": "sp500", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/p-e-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/p-e-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"price_per_share\":150,\"earnings_per_share\":6.5,\"sector\":\"sp500\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call p-e-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/p-e-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the P/E Ratio Calculator API do? + Calculate price-to-earnings ratio, earnings yield, and sector benchmark premium. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to P/E Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the P/E Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the P/E Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the P/E Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `p-e-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`p-e-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="p-e-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [finance](/tools/#finance) - / - Price to Book Ratio Calculator API # Price to Book Ratio Calculator API finance 2 credits / call v2026-04-22 Calculate price-to-book ratio and compare it to industry benchmark ranges. One POST adds Price to Book Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Price to Book Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/price-to-book-ratio-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/price-to-book-ratio-calculator/run ``` ### Request body Field Type Req. `share_price` `float` — `book_value_per_share` `float` — `industry` general | technology | banking | healthcare | consumer | industrial | energy | utilities | realestate | retail `str` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "price-to-book-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) share_price (float) book_value_per_share (float) industry (str) general technology banking healthcare consumer industrial energy utilities realestate retail general | technology | banking | healthcare | consumer | industrial | energy | utilities | realestate | retail precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`price-to-book-ratio-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/price-to-book-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"share_price":150,"book_value_per_share":25,"industry":"general","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/price-to-book-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'share_price': 150, 'book_value_per_share': 25, 'industry': 'general', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/price-to-book-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"share_price":150,"book_value_per_share":25,"industry":"general","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'share_price' => 150, 'book_value_per_share' => 25, 'industry' => 'general', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/price-to-book-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'share_price' => 150, 'book_value_per_share' => 25, 'industry' => 'general', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "share_price": 150, "book_value_per_share": 25, "industry": "general", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/price-to-book-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/price-to-book-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"share_price\":150,\"book_value_per_share\":25,\"industry\":\"general\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call price-to-book-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/price-to-book-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Price to Book Ratio Calculator API do? + Calculate price-to-book ratio and compare it to industry benchmark ranges. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Price to Book Ratio Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Price to Book Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Price to Book Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Price to Book Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `price-to-book-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`price-to-book-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="price-to-book-ratio-calculator")' ``` see-also related finance tools [ Doubling Time Calculator Calculate exact doubling time, Rule of 72 estimates, or the rate required to do… ](/tools/doubling-time-calculator/) [ Debt Consolidation Calculator Estimate a consolidated debt payment and interest cost. ](/tools/debt-consolidation-calculator/) [ Bond Yield to Maturity Calculator Calculate bond yield to maturity with current yield and return metrics. ](/tools/bond-yield-to-maturity-calculator/) [ Markup Calculator Calculate markup percentage, selling price, cost, profit, and margin. ](/tools/markup-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [hash](/tools/#hash) - / - BLAKE2b Hash Generator API # BLAKE2b Hash Generator API hash 1 credit / call v2026-04-22 Generate a BLAKE2b digest with 256, 384, or 512-bit output. One POST adds BLAKE2b Hash Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the BLAKE2b Hash Generator on miniwebtool.com →](https://miniwebtool.com/blake2b-hash-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/blake2b-hash-generator/run ``` ### Request body Field Type Req. `text` `str` ✓ `digest_size` One of: 32, 48, 64 bytes. `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "blake2b-hash-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * hello digest_size (int) One of: 32, 48, 64 bytes. Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`blake2b-hash-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/blake2b-hash-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"hello","digest_size":64}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/blake2b-hash-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'hello', 'digest_size': 64}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/blake2b-hash-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"hello","digest_size":64}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'hello', 'digest_size' => 64 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/blake2b-hash-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'hello', 'digest_size' => 64 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "hello", "digest_size": 64, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/blake2b-hash-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/blake2b-hash-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"hello\",\"digest_size\":64}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call blake2b-hash-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/blake2b-hash-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the BLAKE2b Hash Generator API do? + Generate a BLAKE2b digest with 256, 384, or 512-bit output. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to BLAKE2b Hash Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the BLAKE2b Hash Generator API require? + Required fields: text. Full schema at /v1/openapi.json. Is the BLAKE2b Hash Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the BLAKE2b Hash Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `blake2b-hash-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`blake2b-hash-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="blake2b-hash-generator")' ``` see-also related hash tools [ SHA-384 Hash Generator Generate a SHA-384 hex digest of a UTF-8 string. ](/tools/sha384-hash-generator/) [ SHA-512 Hash Generator Generate a SHA-512 hex digest of a UTF-8 string. ](/tools/sha512-hash-generator/) [ SHA3-512 Hash Generator Generate a SHA3-512 hex digest of a UTF-8 string. ](/tools/sha3-512-hash-generator/) [ SHA-256 Hash Generator Generate a SHA-256 hex digest of a UTF-8 string. ](/tools/sha256-hash-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [hash](/tools/#hash) - / - MD5 Hash Generator API # MD5 Hash Generator API hash 1 credit / call v2026-04-22 Generate an MD5 hex digest for checksum and legacy compatibility. One POST adds MD5 Hash Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the MD5 Hash Generator on miniwebtool.com →](https://miniwebtool.com/md5-hash-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/md5-hash-generator/run ``` ### Request body Field Type Req. `text` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "md5-hash-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * hello Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`md5-hash-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/md5-hash-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"hello"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/md5-hash-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'hello'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/md5-hash-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"hello"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'hello' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/md5-hash-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'hello' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "hello", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/md5-hash-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/md5-hash-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"hello\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call md5-hash-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/md5-hash-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the MD5 Hash Generator API do? + Generate an MD5 hex digest for checksum and legacy compatibility. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to MD5 Hash Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the MD5 Hash Generator API require? + Required fields: text. Full schema at /v1/openapi.json. Is the MD5 Hash Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the MD5 Hash Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `md5-hash-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`md5-hash-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="md5-hash-generator")' ``` see-also related hash tools [ SHA-384 Hash Generator Generate a SHA-384 hex digest of a UTF-8 string. ](/tools/sha384-hash-generator/) [ SHA-512 Hash Generator Generate a SHA-512 hex digest of a UTF-8 string. ](/tools/sha512-hash-generator/) [ SHA3-512 Hash Generator Generate a SHA3-512 hex digest of a UTF-8 string. ](/tools/sha3-512-hash-generator/) [ BLAKE2b Hash Generator Generate a BLAKE2b digest with 256, 384, or 512-bit output. ](/tools/blake2b-hash-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [hash](/tools/#hash) - / - SHA-256 Hash Generator API # SHA-256 Hash Generator API hash 1 credit / call v2026-04-22 Generate a SHA-256 hex digest of a UTF-8 string. One POST adds SHA-256 Hash Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the SHA-256 Hash Generator on miniwebtool.com →](https://miniwebtool.com/sha256-hash-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sha256-hash-generator/run ``` ### Request body Field Type Req. `text` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sha256-hash-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * hello Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sha256-hash-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sha256-hash-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"hello"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sha256-hash-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'hello'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sha256-hash-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"hello"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'hello' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sha256-hash-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'hello' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "hello", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sha256-hash-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sha256-hash-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"hello\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sha256-hash-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sha256-hash-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the SHA-256 Hash Generator API do? + Generate a SHA-256 hex digest of a UTF-8 string. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to SHA-256 Hash Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the SHA-256 Hash Generator API require? + Required fields: text. Full schema at /v1/openapi.json. Is the SHA-256 Hash Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the SHA-256 Hash Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sha256-hash-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sha256-hash-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sha256-hash-generator")' ``` see-also related hash tools [ SHA-384 Hash Generator Generate a SHA-384 hex digest of a UTF-8 string. ](/tools/sha384-hash-generator/) [ SHA-512 Hash Generator Generate a SHA-512 hex digest of a UTF-8 string. ](/tools/sha512-hash-generator/) [ SHA3-512 Hash Generator Generate a SHA3-512 hex digest of a UTF-8 string. ](/tools/sha3-512-hash-generator/) [ BLAKE2b Hash Generator Generate a BLAKE2b digest with 256, 384, or 512-bit output. ](/tools/blake2b-hash-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [hash](/tools/#hash) - / - SHA3-512 Hash Generator API # SHA3-512 Hash Generator API hash 1 credit / call v2026-04-22 Generate a SHA3-512 hex digest of a UTF-8 string. One POST adds SHA3-512 Hash Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the SHA3-512 Hash Generator on miniwebtool.com →](https://miniwebtool.com/sha3-512-hash-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sha3-512-hash-generator/run ``` ### Request body Field Type Req. `text` `str` ✓ `compare_hash` `str | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sha3-512-hash-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * hello compare_hash (str | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sha3-512-hash-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sha3-512-hash-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"hello"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sha3-512-hash-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'hello'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sha3-512-hash-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"hello"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'hello' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sha3-512-hash-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'hello' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "hello", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sha3-512-hash-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sha3-512-hash-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"hello\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sha3-512-hash-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sha3-512-hash-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the SHA3-512 Hash Generator API do? + Generate a SHA3-512 hex digest of a UTF-8 string. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to SHA3-512 Hash Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the SHA3-512 Hash Generator API require? + Required fields: text. Full schema at /v1/openapi.json. Is the SHA3-512 Hash Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the SHA3-512 Hash Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sha3-512-hash-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sha3-512-hash-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sha3-512-hash-generator")' ``` see-also related hash tools [ SHA-384 Hash Generator Generate a SHA-384 hex digest of a UTF-8 string. ](/tools/sha384-hash-generator/) [ SHA-512 Hash Generator Generate a SHA-512 hex digest of a UTF-8 string. ](/tools/sha512-hash-generator/) [ BLAKE2b Hash Generator Generate a BLAKE2b digest with 256, 384, or 512-bit output. ](/tools/blake2b-hash-generator/) [ SHA-256 Hash Generator Generate a SHA-256 hex digest of a UTF-8 string. ](/tools/sha256-hash-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [hash](/tools/#hash) - / - SHA-384 Hash Generator API # SHA-384 Hash Generator API hash 1 credit / call v2026-04-22 Generate a SHA-384 hex digest of a UTF-8 string. One POST adds SHA-384 Hash Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the SHA-384 Hash Generator on miniwebtool.com →](https://miniwebtool.com/sha384-hash-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sha384-hash-generator/run ``` ### Request body Field Type Req. `text` `str` ✓ `compare_hash` `str | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sha384-hash-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * hello compare_hash (str | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sha384-hash-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sha384-hash-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"hello"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sha384-hash-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'hello'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sha384-hash-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"hello"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'hello' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sha384-hash-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'hello' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "hello", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sha384-hash-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sha384-hash-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"hello\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sha384-hash-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sha384-hash-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the SHA-384 Hash Generator API do? + Generate a SHA-384 hex digest of a UTF-8 string. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to SHA-384 Hash Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the SHA-384 Hash Generator API require? + Required fields: text. Full schema at /v1/openapi.json. Is the SHA-384 Hash Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the SHA-384 Hash Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sha384-hash-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sha384-hash-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sha384-hash-generator")' ``` see-also related hash tools [ SHA-512 Hash Generator Generate a SHA-512 hex digest of a UTF-8 string. ](/tools/sha512-hash-generator/) [ SHA3-512 Hash Generator Generate a SHA3-512 hex digest of a UTF-8 string. ](/tools/sha3-512-hash-generator/) [ BLAKE2b Hash Generator Generate a BLAKE2b digest with 256, 384, or 512-bit output. ](/tools/blake2b-hash-generator/) [ SHA-256 Hash Generator Generate a SHA-256 hex digest of a UTF-8 string. ](/tools/sha256-hash-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [hash](/tools/#hash) - / - SHA-512 Hash Generator API # SHA-512 Hash Generator API hash 1 credit / call v2026-04-22 Generate a SHA-512 hex digest of a UTF-8 string. One POST adds SHA-512 Hash Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the SHA-512 Hash Generator on miniwebtool.com →](https://miniwebtool.com/sha512-hash-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sha512-hash-generator/run ``` ### Request body Field Type Req. `text` `str` ✓ `compare_hash` `str | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sha512-hash-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * hello compare_hash (str | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sha512-hash-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sha512-hash-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"hello"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sha512-hash-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'hello'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sha512-hash-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"hello"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'hello' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sha512-hash-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'hello' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "hello", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sha512-hash-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sha512-hash-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"hello\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sha512-hash-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sha512-hash-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the SHA-512 Hash Generator API do? + Generate a SHA-512 hex digest of a UTF-8 string. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to SHA-512 Hash Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the SHA-512 Hash Generator API require? + Required fields: text. Full schema at /v1/openapi.json. Is the SHA-512 Hash Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the SHA-512 Hash Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sha512-hash-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sha512-hash-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sha512-hash-generator")' ``` see-also related hash tools [ SHA-384 Hash Generator Generate a SHA-384 hex digest of a UTF-8 string. ](/tools/sha384-hash-generator/) [ SHA3-512 Hash Generator Generate a SHA3-512 hex digest of a UTF-8 string. ](/tools/sha3-512-hash-generator/) [ BLAKE2b Hash Generator Generate a BLAKE2b digest with 256, 384, or 512-bit output. ](/tools/blake2b-hash-generator/) [ SHA-256 Hash Generator Generate a SHA-256 hex digest of a UTF-8 string. ](/tools/sha256-hash-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Beading Pattern Calculator API # Beading Pattern Calculator API lifestyle 1 credit / call v2026-04-22 Calculate beads needed from strand length and a repeating bead pattern. One POST adds Beading Pattern Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Beading Pattern Calculator on miniwebtool.com →](https://miniwebtool.com/beading-pattern-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/beading-pattern-calculator/run ``` ### Request body Field Type Req. `length` `float` — `length_unit` in | cm `str` — `clasp` `float` — `pieces` `int` — `waste_percent` `float` — `bead_sizes_mm` `list` — `bead_counts` `list` — `bead_names` `list[str] | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "beading-pattern-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) length (float) length_unit (str) in cm in | cm clasp (float) pieces (int) waste_percent (float) bead_sizes_mm (list) bead_counts (list) bead_names (list[str] | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`beading-pattern-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/beading-pattern-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/beading-pattern-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/beading-pattern-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/beading-pattern-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/beading-pattern-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/beading-pattern-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call beading-pattern-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/beading-pattern-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Beading Pattern Calculator API do? + Calculate beads needed from strand length and a repeating bead pattern. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Beading Pattern Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Beading Pattern Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Beading Pattern Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Beading Pattern Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `beading-pattern-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`beading-pattern-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="beading-pattern-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Yarn Calculator API # Yarn Calculator API lifestyle 1 credit / call v2026-04-22 Estimate yarn yards, meters, grams, and skeins for common knitting/crochet projects. One POST adds Yarn Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Yarn Calculator on miniwebtool.com →](https://miniwebtool.com/yarn-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/yarn-calculator/run ``` ### Request body Field Type Req. `project_type` sweater_m | cardigan_m | baby_blanket | throw_blanket | queen_blanket | scarf | hat_adult | mittens | socks_crew | pillow_18 | dishcloth | market_bag | custom `str` — `yarn_weight` lace | super_fine | fine | light | medium | bulky | super_bulky | jumbo `str` — `stitch_pattern` stockinette | ribbing | cables | lace | colorwork | textured | brioche `str` — `custom_yards` `float | None` — `gauge_sts` `float | None` — `skein_yards` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "yarn-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) project_type (str) sweater_m cardigan_m baby_blanket throw_blanket queen_blanket scarf hat_adult mittens socks_crew pillow_18 dishcloth market_bag custom sweater_m | cardigan_m | baby_blanket | throw_blanket | queen_blanket | scarf | hat_adult | mittens | socks_crew | pillow_18 | dishcloth | market_bag | custom yarn_weight (str) lace super_fine fine light medium bulky super_bulky jumbo lace | super_fine | fine | light | medium | bulky | super_bulky | jumbo stitch_pattern (str) stockinette ribbing cables lace colorwork textured brioche stockinette | ribbing | cables | lace | colorwork | textured | brioche custom_yards (float | None) gauge_sts (float | None) skein_yards (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`yarn-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/yarn-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"project_type":"sweater_m","yarn_weight":"medium","stitch_pattern":"stockinette","skein_yards":200}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/yarn-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'project_type': 'sweater_m', 'yarn_weight': 'medium', 'stitch_pattern': 'stockinette', 'skein_yards': 200}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/yarn-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"project_type":"sweater_m","yarn_weight":"medium","stitch_pattern":"stockinette","skein_yards":200}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'project_type' => 'sweater_m', 'yarn_weight' => 'medium', 'stitch_pattern' => 'stockinette', 'skein_yards' => 200 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/yarn-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'project_type' => 'sweater_m', 'yarn_weight' => 'medium', 'stitch_pattern' => 'stockinette', 'skein_yards' => 200 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "project_type": "sweater_m", "yarn_weight": "medium", "stitch_pattern": "stockinette", "skein_yards": 200, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/yarn-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/yarn-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"project_type\":\"sweater_m\",\"yarn_weight\":\"medium\",\"stitch_pattern\":\"stockinette\",\"skein_yards\":200}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call yarn-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/yarn-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Yarn Calculator API do? + Estimate yarn yards, meters, grams, and skeins for common knitting/crochet projects. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Yarn Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Yarn Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Yarn Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Yarn Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `yarn-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`yarn-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="yarn-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Bench Press Calculator API # Bench Press Calculator API lifestyle 1 credit / call v2026-04-22 Estimate bench press one-rep max, formula comparisons, and training zones. One POST adds Bench Press Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Bench Press Calculator on miniwebtool.com →](https://miniwebtool.com/bench-press-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bench-press-calculator/run ``` ### Request body Field Type Req. `weight_lifted` `float` — `repetitions` `int` — `formula` brzycki | epley | lander `str` — `body_weight` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bench-press-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) weight_lifted (float) repetitions (int) formula (str) brzycki epley lander brzycki | epley | lander body_weight (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bench-press-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bench-press-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bench-press-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bench-press-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bench-press-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bench-press-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bench-press-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bench-press-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bench-press-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Bench Press Calculator API do? + Estimate bench press one-rep max, formula comparisons, and training zones. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Bench Press Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Bench Press Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Bench Press Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Bench Press Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bench-press-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bench-press-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bench-press-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) [ BMR Calculator Calculate BMR, RMR estimate, TDEE, macro estimates, and activity-level calorie … ](/tools/bmr-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - BMR Calculator API # BMR Calculator API lifestyle 1 credit / call v2026-04-22 Calculate BMR, RMR estimate, TDEE, macro estimates, and activity-level calorie needs. One POST adds BMR Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the BMR Calculator on miniwebtool.com →](https://miniwebtool.com/bmr-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bmr-calculator/run ``` ### Request body Field Type Req. `gender` male | female `str` — `unit_system` imperial | metric `str` — `age` `float` — `weight` `float` — `height_cm` `float | None` — `height_feet` `int | None` — `height_inch` `int | None` — `activity` `str` — `formula` mifflin | harris `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bmr-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) gender (str) male female male | female unit_system (str) imperial metric imperial | metric age (float) weight (float) height_cm (float | None) height_feet (int | None) height_inch (int | None) activity (str) formula (str) mifflin harris mifflin | harris Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bmr-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bmr-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bmr-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bmr-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bmr-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bmr-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bmr-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bmr-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bmr-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the BMR Calculator API do? + Calculate BMR, RMR estimate, TDEE, macro estimates, and activity-level calorie needs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to BMR Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the BMR Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the BMR Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the BMR Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bmr-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bmr-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bmr-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - BAC Calculator API # BAC Calculator API lifestyle 1 credit / call v2026-04-22 Estimate blood alcohol content using standard-drink counts and the Widmark formula. One POST adds BAC Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the BAC Calculator on miniwebtool.com →](https://miniwebtool.com/bac-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bac-calculator/run ``` ### Request body Field Type Req. `beers` `float` — `wines` `float` — `spirits` `float` — `cocktails` `float` — `weight` `float` — `weight_unit` lb | kg `str` — `gender` male | female `str` — `hours` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bac-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) beers (float) wines (float) spirits (float) cocktails (float) weight (float) weight_unit (str) lb kg lb | kg gender (str) male female male | female hours (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bac-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bac-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bac-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bac-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bac-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bac-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bac-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bac-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bac-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the BAC Calculator API do? + Estimate blood alcohol content using standard-drink counts and the Widmark formula. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to BAC Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the BAC Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the BAC Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the BAC Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bac-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bac-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bac-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) [ BMR Calculator Calculate BMR, RMR estimate, TDEE, macro estimates, and activity-level calorie … ](/tools/bmr-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Biological Age Calculator API # Biological Age Calculator API lifestyle 1 credit / call v2026-04-22 Estimate biological age from lifestyle and health-factor adjustments. One POST adds Biological Age Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Biological Age Calculator on miniwebtool.com →](https://miniwebtool.com/biological-age-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/biological-age-calculator/run ``` ### Request body Field Type Req. `age` `int` — `gender` male | female `str` — `resting_hr` `str` — `exercise` `str` — `blood_pressure` `str` — `bmi` `str` — `diet` `str` — `hydration` `str` — `sleep` `str` — `smoking` `str` — `alcohol` `str` — `stress` `str` — `social` `str` — `mental_activity` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "biological-age-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) age (int) gender (str) male female male | female resting_hr (str) exercise (str) blood_pressure (str) bmi (str) diet (str) hydration (str) sleep (str) smoking (str) alcohol (str) stress (str) social (str) mental_activity (str) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`biological-age-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/biological-age-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/biological-age-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/biological-age-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/biological-age-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/biological-age-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/biological-age-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call biological-age-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/biological-age-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Biological Age Calculator API do? + Estimate biological age from lifestyle and health-factor adjustments. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Biological Age Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Biological Age Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Biological Age Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Biological Age Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `biological-age-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`biological-age-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="biological-age-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ BMR Calculator Calculate BMR, RMR estimate, TDEE, macro estimates, and activity-level calorie … ](/tools/bmr-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Angel Number Calculator API # Angel Number Calculator API lifestyle 1 credit / call v2026-04-22 Find recurring angel-number interpretations or derive one from a birth date. One POST adds Angel Number Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Angel Number Calculator on miniwebtool.com →](https://miniwebtool.com/angel-number-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/angel-number-calculator/run ``` ### Request body Field Type Req. `calculation_type` number | birthdate `str` — `number` `str | None` — `birthdate` ISO date, required when calculation_type=birthdate `str | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "angel-number-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calculation_type (str) number birthdate number | birthdate number (str | None) birthdate (str | None) ISO date, required when calculation_type=birthdate Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`angel-number-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/angel-number-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/angel-number-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/angel-number-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/angel-number-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/angel-number-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/angel-number-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call angel-number-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/angel-number-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Angel Number Calculator API do? + Find recurring angel-number interpretations or derive one from a birth date. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Angel Number Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Angel Number Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Angel Number Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Angel Number Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `angel-number-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`angel-number-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="angel-number-calculator")' ``` see-also related lifestyle tools [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) [ BMR Calculator Calculate BMR, RMR estimate, TDEE, macro estimates, and activity-level calorie … ](/tools/bmr-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Aquarium Heater Wattage Calculator API # Aquarium Heater Wattage Calculator API lifestyle 1 credit / call v2026-04-22 Estimate aquarium heater wattage from tank size and temperature gap. One POST adds Aquarium Heater Wattage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Aquarium Heater Wattage Calculator on miniwebtool.com →](https://miniwebtool.com/aquarium-heater-wattage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/aquarium-heater-wattage-calculator/run ``` ### Request body Field Type Req. `volume` `float` — `volume_unit` gallon | liter `str` — `target_temp` `float` — `room_temp` `float` — `temp_unit` f | c `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "aquarium-heater-wattage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) volume (float) volume_unit (str) gallon liter gallon | liter target_temp (float) room_temp (float) temp_unit (str) f c f | c precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`aquarium-heater-wattage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/aquarium-heater-wattage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/aquarium-heater-wattage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/aquarium-heater-wattage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/aquarium-heater-wattage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/aquarium-heater-wattage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/aquarium-heater-wattage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call aquarium-heater-wattage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/aquarium-heater-wattage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Aquarium Heater Wattage Calculator API do? + Estimate aquarium heater wattage from tank size and temperature gap. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Aquarium Heater Wattage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Aquarium Heater Wattage Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Aquarium Heater Wattage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Aquarium Heater Wattage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `aquarium-heater-wattage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`aquarium-heater-wattage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="aquarium-heater-wattage-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Bird Cage Size Calculator API # Bird Cage Size Calculator API lifestyle 1 credit / call v2026-04-22 Recommend minimum bird cage dimensions and bar spacing by species. One POST adds Bird Cage Size Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Bird Cage Size Calculator on miniwebtool.com →](https://miniwebtool.com/bird-cage-size-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bird-cage-size-calculator/run ``` ### Request body Field Type Req. `species` finch | canary | budgie | lovebird | parrotlet | cockatiel | conure | african_grey | amazon | cockatoo | macaw `str` — `bird_count` `int` — `unit_system` imperial | metric `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bird-cage-size-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) species (str) finch canary budgie lovebird parrotlet cockatiel conure african_grey amazon cockatoo macaw finch | canary | budgie | lovebird | parrotlet | cockatiel | conure | african_grey | amazon | cockatoo | macaw bird_count (int) unit_system (str) imperial metric imperial | metric precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bird-cage-size-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bird-cage-size-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bird-cage-size-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bird-cage-size-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bird-cage-size-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bird-cage-size-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bird-cage-size-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bird-cage-size-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bird-cage-size-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Bird Cage Size Calculator API do? + Recommend minimum bird cage dimensions and bar spacing by species. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Bird Cage Size Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Bird Cage Size Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Bird Cage Size Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Bird Cage Size Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bird-cage-size-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bird-cage-size-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bird-cage-size-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Cat Litter Box Calculator API # Cat Litter Box Calculator API lifestyle 1 credit / call v2026-04-22 Estimate recommended cat litter boxes, placement, and monthly litter use. One POST adds Cat Litter Box Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cat Litter Box Calculator on miniwebtool.com →](https://miniwebtool.com/cat-litter-box-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cat-litter-box-calculator/run ``` ### Request body Field Type Req. `cats` `int` — `floors` `int` — `bag_litres` `float | None` — `bag_cost` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cat-litter-box-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) cats (int) floors (int) bag_litres (float | None) bag_cost (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cat-litter-box-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cat-litter-box-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cat-litter-box-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cat-litter-box-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cat-litter-box-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cat-litter-box-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cat-litter-box-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cat-litter-box-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cat-litter-box-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cat Litter Box Calculator API do? + Estimate recommended cat litter boxes, placement, and monthly litter use. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cat Litter Box Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cat Litter Box Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cat Litter Box Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cat Litter Box Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cat-litter-box-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cat-litter-box-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cat-litter-box-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Cat Years Calculator API # Cat Years Calculator API lifestyle 1 credit / call v2026-04-22 Convert cat age into human-equivalent years and life stage. One POST adds Cat Years Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cat Years Calculator on miniwebtool.com →](https://miniwebtool.com/cat-years-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cat-years-calculator/run ``` ### Request body Field Type Req. `cat_years` `int` — `cat_months` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cat-years-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) cat_years (int) cat_months (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cat-years-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cat-years-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cat-years-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cat-years-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cat-years-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cat-years-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cat-years-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cat-years-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cat-years-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cat Years Calculator API do? + Convert cat age into human-equivalent years and life stage. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cat Years Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cat Years Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cat Years Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cat Years Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cat-years-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cat-years-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cat-years-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [lifestyle](/tools/#lifestyle) - / - Dog Years Calculator API # Dog Years Calculator API lifestyle 1 credit / call v2026-04-22 Convert dog age to human-equivalent years by breed size. One POST adds Dog Years Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Dog Years Calculator on miniwebtool.com →](https://miniwebtool.com/dog-years-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/dog-years-calculator/run ``` ### Request body Field Type Req. `dog_years` `int` — `dog_size` 1 small, 2 medium, 3 large, 4 giant `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "dog-years-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) dog_years (int) dog_size (int) 1 small, 2 medium, 3 large, 4 giant precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`dog-years-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/dog-years-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/dog-years-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/dog-years-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/dog-years-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/dog-years-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/dog-years-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call dog-years-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/dog-years-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Dog Years Calculator API do? + Convert dog age to human-equivalent years by breed size. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Dog Years Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Dog Years Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Dog Years Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Dog Years Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `dog-years-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`dog-years-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="dog-years-calculator")' ``` see-also related lifestyle tools [ Angel Number Calculator Find recurring angel-number interpretations or derive one from a birth date. ](/tools/angel-number-calculator/) [ BAC Calculator Estimate blood alcohol content using standard-drink counts and the Widmark form… ](/tools/bac-calculator/) [ Bench Press Calculator Estimate bench press one-rep max, formula comparisons, and training zones. ](/tools/bench-press-calculator/) [ Biological Age Calculator Estimate biological age from lifestyle and health-factor adjustments. ](/tools/biological-age-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [marketing](/tools/#marketing) - / - CTR Calculator API # CTR Calculator API marketing 1 credit / call v2026-04-22 Calculate click-through rate, required clicks for a target CTR, or bulk campaign CTR. One POST adds CTR Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the CTR Calculator on miniwebtool.com →](https://miniwebtool.com/ctr-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ctr-calculator/run ``` ### Request body Field Type Req. `mode` basic | reverse | bulk `str` — `clicks` `float | None` — `impressions` `float | None` — `target_ctr` `float | None` — `reverse_impressions` `float | None` — `bulk_data` `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ctr-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) basic reverse bulk basic | reverse | bulk clicks (float | None) impressions (float | None) target_ctr (float | None) reverse_impressions (float | None) bulk_data (str) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ctr-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ctr-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"basic","clicks":250,"impressions":10000,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ctr-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'basic', 'clicks': 250, 'impressions': 10000, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ctr-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"basic","clicks":250,"impressions":10000,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'basic', 'clicks' => 250, 'impressions' => 10000, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ctr-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'basic', 'clicks' => 250, 'impressions' => 10000, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "basic", "clicks": 250, "impressions": 10000, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ctr-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ctr-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"basic\",\"clicks\":250,\"impressions\":10000,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ctr-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ctr-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the CTR Calculator API do? + Calculate click-through rate, required clicks for a target CTR, or bulk campaign CTR. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to CTR Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the CTR Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the CTR Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the CTR Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ctr-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ctr-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ctr-calculator")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Complementary Error Function Calculator API # Complementary Error Function Calculator API math 1 credit / call v2026-04-22 Calculate erf(x), erfc(x), and related error-function values. One POST adds Complementary Error Function Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Complementary Error Function Calculator on miniwebtool.com →](https://miniwebtool.com/complementary-error-function-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/complementary-error-function-calculator/run ``` ### Request body Field Type Req. `x` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "complementary-error-function-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`complementary-error-function-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/complementary-error-function-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"x":0.5,"precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/complementary-error-function-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'x': 0.5, 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/complementary-error-function-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"x":0.5,"precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'x' => 0.5, 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/complementary-error-function-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'x' => 0.5, 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "x": 0.5, "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/complementary-error-function-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/complementary-error-function-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"x\":0.5,\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call complementary-error-function-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/complementary-error-function-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Complementary Error Function Calculator API do? + Calculate erf(x), erfc(x), and related error-function values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Complementary Error Function Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Complementary Error Function Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Complementary Error Function Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Complementary Error Function Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `complementary-error-function-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`complementary-error-function-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="complementary-error-function-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Exponential Decay Calculator API # Exponential Decay Calculator API math 1 credit / call v2026-04-22 Solve continuous exponential decay equations for final amount, initial amount, rate, or time. One POST adds Exponential Decay Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Exponential Decay Calculator on miniwebtool.com →](https://miniwebtool.com/exponential-decay-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/exponential-decay-calculator/run ``` ### Request body Field Type Req. `solve_for` final | initial | rate | time `str` — `initial_amount` `float | None` — `decay_rate` `float | None` — `time_value` `float | None` — `final_amount` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "exponential-decay-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) final initial rate time final | initial | rate | time initial_amount (float | None) decay_rate (float | None) time_value (float | None) final_amount (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`exponential-decay-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/exponential-decay-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"final","initial_amount":1000,"decay_rate":0.05,"time_value":10,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/exponential-decay-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'final', 'initial_amount': 1000, 'decay_rate': 0.05, 'time_value': 10, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/exponential-decay-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"final","initial_amount":1000,"decay_rate":0.05,"time_value":10,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'final', 'initial_amount' => 1000, 'decay_rate' => 0.05, 'time_value' => 10, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/exponential-decay-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'final', 'initial_amount' => 1000, 'decay_rate' => 0.05, 'time_value' => 10, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "final", "initial_amount": 1000, "decay_rate": 0.05, "time_value": 10, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/exponential-decay-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/exponential-decay-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"final\",\"initial_amount\":1000,\"decay_rate\":0.05,\"time_value\":10,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call exponential-decay-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/exponential-decay-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Exponential Decay Calculator API do? + Solve continuous exponential decay equations for final amount, initial amount, rate, or time. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Exponential Decay Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Exponential Decay Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Exponential Decay Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Exponential Decay Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `exponential-decay-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`exponential-decay-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="exponential-decay-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Exponential Growth Calculator API # Exponential Growth Calculator API math 1 credit / call v2026-04-22 Solve continuous exponential growth equations for final amount, initial amount, rate, or time. One POST adds Exponential Growth Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Exponential Growth Calculator on miniwebtool.com →](https://miniwebtool.com/exponential-growth-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/exponential-growth-calculator/run ``` ### Request body Field Type Req. `solve_for` final | initial | rate | time `str` — `initial_amount` `float | None` — `growth_rate` `float | None` — `time_value` `float | None` — `final_amount` `float | None` — `rate_type` decimal | percent `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "exponential-growth-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) final initial rate time final | initial | rate | time initial_amount (float | None) growth_rate (float | None) time_value (float | None) final_amount (float | None) rate_type (str) decimal percent decimal | percent precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`exponential-growth-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/exponential-growth-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"final","initial_amount":1000,"growth_rate":5,"rate_type":"percent","time_value":10,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/exponential-growth-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'final', 'initial_amount': 1000, 'growth_rate': 5, 'rate_type': 'percent', 'time_value': 10, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/exponential-growth-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"final","initial_amount":1000,"growth_rate":5,"rate_type":"percent","time_value":10,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'final', 'initial_amount' => 1000, 'growth_rate' => 5, 'rate_type' => 'percent', 'time_value' => 10, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/exponential-growth-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'final', 'initial_amount' => 1000, 'growth_rate' => 5, 'rate_type' => 'percent', 'time_value' => 10, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "final", "initial_amount": 1000, "growth_rate": 5, "rate_type": "percent", "time_value": 10, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/exponential-growth-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/exponential-growth-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"final\",\"initial_amount\":1000,\"growth_rate\":5,\"rate_type\":\"percent\",\"time_value\":10,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call exponential-growth-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/exponential-growth-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Exponential Growth Calculator API do? + Solve continuous exponential growth equations for final amount, initial amount, rate, or time. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Exponential Growth Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Exponential Growth Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Exponential Growth Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Exponential Growth Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `exponential-growth-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`exponential-growth-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="exponential-growth-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Antilog Calculator API # Antilog Calculator API math 1 credit / call v2026-04-22 Calculate an antilogarithm as base raised to an exponent. One POST adds Antilog Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Antilog Calculator on miniwebtool.com →](https://miniwebtool.com/antilog-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/antilog-calculator/run ``` ### Request body Field Type Req. `exponent` `float` — `base` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "antilog-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) exponent (float) base (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`antilog-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/antilog-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"exponent":2,"base":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/antilog-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'exponent': 2, 'base': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/antilog-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"exponent":2,"base":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'exponent' => 2, 'base' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/antilog-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'exponent' => 2, 'base' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "exponent": 2, "base": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/antilog-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/antilog-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"exponent\":2,\"base\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call antilog-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/antilog-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Antilog Calculator API do? + Calculate an antilogarithm as base raised to an exponent. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Antilog Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Antilog Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Antilog Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Antilog Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `antilog-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`antilog-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="antilog-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Absolute Value Equation Solver API # Absolute Value Equation Solver API math 1 credit / call v2026-04-22 Solve equations of the form |a*x + b| = c. One POST adds Absolute Value Equation Solver to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Absolute Value Equation Solver on miniwebtool.com →](https://miniwebtool.com/absolute-value-equation-solver/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/absolute-value-equation-solver/run ``` ### Request body Field Type Req. `a` `float` ✓ `b` `float` ✓ `c` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "absolute-value-equation-solver", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (float) * b (float) * c (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`absolute-value-equation-solver`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/absolute-value-equation-solver/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":2,"b":-3,"c":5,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/absolute-value-equation-solver/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': 2, 'b': -3, 'c': 5, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/absolute-value-equation-solver/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":2,"b":-3,"c":5,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => 2, 'b' => -3, 'c' => 5, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/absolute-value-equation-solver/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => 2, 'b' => -3, 'c' => 5, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": 2, "b": -3, "c": 5, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/absolute-value-equation-solver/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/absolute-value-equation-solver/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":2,\"b\":-3,\"c\":5,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call absolute-value-equation-solver - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`a`,`b`,`c`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/absolute-value-equation-solver/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Absolute Value Equation Solver API do? + Solve equations of the form |a*x + b| = c. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Absolute Value Equation Solver cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Absolute Value Equation Solver API require? + Required fields: a, b, c. Full schema at /v1/openapi.json. Is the Absolute Value Equation Solver API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Absolute Value Equation Solver API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `absolute-value-equation-solver` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`absolute-value-equation-solver`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="absolute-value-equation-solver")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Absolute Value Inequality Solver API # Absolute Value Inequality Solver API math 1 credit / call v2026-04-22 Solve inequalities of the form |a*x + b| compared with c. One POST adds Absolute Value Inequality Solver to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Absolute Value Inequality Solver on miniwebtool.com →](https://miniwebtool.com/absolute-value-inequality-solver/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/absolute-value-inequality-solver/run ``` ### Request body Field Type Req. `a` `float` ✓ `b` `float` ✓ `c` `float` ✓ `operator` lt | le | gt | ge `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "absolute-value-inequality-solver", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (float) * b (float) * c (float) * operator (str) lt le gt ge lt | le | gt | ge precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`absolute-value-inequality-solver`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/absolute-value-inequality-solver/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":2,"b":-3,"c":5,"operator":"le","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/absolute-value-inequality-solver/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': 2, 'b': -3, 'c': 5, 'operator': 'le', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/absolute-value-inequality-solver/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":2,"b":-3,"c":5,"operator":"le","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => 2, 'b' => -3, 'c' => 5, 'operator' => 'le', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/absolute-value-inequality-solver/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => 2, 'b' => -3, 'c' => 5, 'operator' => 'le', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": 2, "b": -3, "c": 5, "operator": "le", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/absolute-value-inequality-solver/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/absolute-value-inequality-solver/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":2,\"b\":-3,\"c\":5,\"operator\":\"le\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call absolute-value-inequality-solver - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`a`,`b`,`c`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/absolute-value-inequality-solver/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Absolute Value Inequality Solver API do? + Solve inequalities of the form |a*x + b| compared with c. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Absolute Value Inequality Solver cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Absolute Value Inequality Solver API require? + Required fields: a, b, c. Full schema at /v1/openapi.json. Is the Absolute Value Inequality Solver API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Absolute Value Inequality Solver API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `absolute-value-inequality-solver` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`absolute-value-inequality-solver`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="absolute-value-inequality-solver")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Completing the Square Calculator API # Completing the Square Calculator API math 1 credit / call v2026-04-22 Convert a quadratic to vertex form and solve by completing the square. One POST adds Completing the Square Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Completing the Square Calculator on miniwebtool.com →](https://miniwebtool.com/completing-the-square-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/completing-the-square-calculator/run ``` ### Request body Field Type Req. `a` `float` — `b` `float` — `c` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "completing-the-square-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (float) b (float) c (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`completing-the-square-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/completing-the-square-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":1,"b":6,"c":5,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/completing-the-square-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': 1, 'b': 6, 'c': 5, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/completing-the-square-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":1,"b":6,"c":5,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => 1, 'b' => 6, 'c' => 5, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/completing-the-square-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => 1, 'b' => 6, 'c' => 5, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": 1, "b": 6, "c": 5, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/completing-the-square-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/completing-the-square-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":1,\"b\":6,\"c\":5,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call completing-the-square-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/completing-the-square-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Completing the Square Calculator API do? + Convert a quadratic to vertex form and solve by completing the square. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Completing the Square Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Completing the Square Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Completing the Square Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Completing the Square Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `completing-the-square-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`completing-the-square-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="completing-the-square-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cubic Equation Solver API # Cubic Equation Solver API math 1 credit / call v2026-04-22 Solve ax^3 + bx^2 + cx + d = 0 and return all real or complex roots. One POST adds Cubic Equation Solver to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cubic Equation Solver on miniwebtool.com →](https://miniwebtool.com/cubic-equation-solver/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cubic-equation-solver/run ``` ### Request body Field Type Req. `a` `float` — `b` `float` — `c` `float` — `d` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cubic-equation-solver", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (float) b (float) c (float) d (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cubic-equation-solver`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cubic-equation-solver/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":1,"b":-6,"c":11,"d":-6,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cubic-equation-solver/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': 1, 'b': -6, 'c': 11, 'd': -6, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cubic-equation-solver/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":1,"b":-6,"c":11,"d":-6,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => 1, 'b' => -6, 'c' => 11, 'd' => -6, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cubic-equation-solver/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => 1, 'b' => -6, 'c' => 11, 'd' => -6, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": 1, "b": -6, "c": 11, "d": -6, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cubic-equation-solver/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cubic-equation-solver/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":1,\"b\":-6,\"c\":11,\"d\":-6,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cubic-equation-solver - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cubic-equation-solver/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cubic Equation Solver API do? + Solve ax^3 + bx^2 + cx + d = 0 and return all real or complex roots. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cubic Equation Solver cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cubic Equation Solver API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cubic Equation Solver API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cubic Equation Solver API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cubic-equation-solver` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cubic-equation-solver`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cubic-equation-solver")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Point Slope Form Calculator API # Point Slope Form Calculator API math 1 credit / call v2026-04-22 Build point-slope, slope-intercept, and standard-form line equations. One POST adds Point Slope Form Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Point Slope Form Calculator on miniwebtool.com →](https://miniwebtool.com/point-slope-form-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/point-slope-form-calculator/run ``` ### Request body Field Type Req. `x1` `float` — `y1` `float` — `slope` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "point-slope-form-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x1 (float) y1 (float) slope (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`point-slope-form-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/point-slope-form-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/point-slope-form-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/point-slope-form-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/point-slope-form-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/point-slope-form-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/point-slope-form-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call point-slope-form-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/point-slope-form-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Point Slope Form Calculator API do? + Build point-slope, slope-intercept, and standard-form line equations. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Point Slope Form Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Point Slope Form Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Point Slope Form Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Point Slope Form Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `point-slope-form-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`point-slope-form-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="point-slope-form-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Slope Intercept Form Calculator API # Slope Intercept Form Calculator API math 1 credit / call v2026-04-22 Build slope-intercept and standard-form line equations from m and b. One POST adds Slope Intercept Form Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Slope Intercept Form Calculator on miniwebtool.com →](https://miniwebtool.com/slope-intercept-form-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/slope-intercept-form-calculator/run ``` ### Request body Field Type Req. `slope` `float` ✓ `y_intercept` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "slope-intercept-form-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) slope (float) * y_intercept (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`slope-intercept-form-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/slope-intercept-form-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"slope":2,"y_intercept":-3}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/slope-intercept-form-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'slope': 2, 'y_intercept': -3}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/slope-intercept-form-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"slope":2,"y_intercept":-3}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'slope' => 2, 'y_intercept' => -3 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/slope-intercept-form-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'slope' => 2, 'y_intercept' => -3 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "slope": 2, "y_intercept": -3, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/slope-intercept-form-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/slope-intercept-form-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"slope\":2,\"y_intercept\":-3}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call slope-intercept-form-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`slope`,`y_intercept`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/slope-intercept-form-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Slope Intercept Form Calculator API do? + Build slope-intercept and standard-form line equations from m and b. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Slope Intercept Form Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Slope Intercept Form Calculator API require? + Required fields: slope, y_intercept. Full schema at /v1/openapi.json. Is the Slope Intercept Form Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Slope Intercept Form Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `slope-intercept-form-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`slope-intercept-form-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="slope-intercept-form-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Square Root Calculator API # Square Root Calculator API math 1 credit / call v2026-04-22 Calculate the principal and negative square roots of a non-negative number. One POST adds Square Root Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Square Root Calculator on miniwebtool.com →](https://miniwebtool.com/square-root-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/square-root-calculator/run ``` ### Request body Field Type Req. `value` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "square-root-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`square-root-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/square-root-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":144}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/square-root-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 144}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/square-root-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":144}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 144 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/square-root-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 144 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 144, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/square-root-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/square-root-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":144}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call square-root-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/square-root-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Square Root Calculator API do? + Calculate the principal and negative square roots of a non-negative number. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Square Root Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Square Root Calculator API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Square Root Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Square Root Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `square-root-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`square-root-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="square-root-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - X and Y Intercept Calculator API # X and Y Intercept Calculator API math 1 credit / call v2026-04-22 Find x- and y-intercepts for a linear equation ax + by + c = 0. One POST adds X and Y Intercept Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the X and Y Intercept Calculator on miniwebtool.com →](https://miniwebtool.com/x-y-intercept-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/x-y-intercept-calculator/run ``` ### Request body Field Type Req. `a` `float` ✓ `b` `float` ✓ `c` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "x-y-intercept-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (float) * b (float) * c (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`x-y-intercept-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/x-y-intercept-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":2,"b":3,"c":-6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/x-y-intercept-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': 2, 'b': 3, 'c': -6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/x-y-intercept-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":2,"b":3,"c":-6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => 2, 'b' => 3, 'c' => -6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/x-y-intercept-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => 2, 'b' => 3, 'c' => -6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": 2, "b": 3, "c": -6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/x-y-intercept-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/x-y-intercept-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":2,\"b\":3,\"c\":-6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call x-y-intercept-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`a`,`b`,`c`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/x-y-intercept-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the X and Y Intercept Calculator API do? + Find x- and y-intercepts for a linear equation ax + by + c = 0. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to X and Y Intercept Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the X and Y Intercept Calculator API require? + Required fields: a, b, c. Full schema at /v1/openapi.json. Is the X and Y Intercept Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the X and Y Intercept Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `x-y-intercept-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`x-y-intercept-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="x-y-intercept-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Radian to Degree Converter API # Radian to Degree Converter API math 1 credit / call v2026-04-22 Convert radians, fractions, or pi expressions to degrees. One POST adds Radian to Degree Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Radian to Degree Converter on miniwebtool.com →](https://miniwebtool.com/radian-to-degree-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/radian-to-degree-converter/run ``` ### Request body Field Type Req. `radian` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "radian-to-degree-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) radian (str) * pi/2 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`radian-to-degree-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/radian-to-degree-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"radian":"pi/2","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/radian-to-degree-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'radian': 'pi/2', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/radian-to-degree-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"radian":"pi/2","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'radian' => 'pi/2', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/radian-to-degree-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'radian' => 'pi/2', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "radian": "pi/2", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/radian-to-degree-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/radian-to-degree-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"radian\":\"pi/2\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call radian-to-degree-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`radian`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/radian-to-degree-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Radian to Degree Converter API do? + Convert radians, fractions, or pi expressions to degrees. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Radian to Degree Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Radian to Degree Converter API require? + Required fields: radian. Full schema at /v1/openapi.json. Is the Radian to Degree Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Radian to Degree Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `radian-to-degree-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`radian-to-degree-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="radian-to-degree-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Acreage Calculator API # Acreage Calculator API math 1 credit / call v2026-04-22 Calculate land acreage from rectangle, triangle, or circle dimensions. One POST adds Acreage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Acreage Calculator on miniwebtool.com →](https://miniwebtool.com/acreage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/acreage-calculator/run ``` ### Request body Field Type Req. `shape` rectangle | triangle | circle `str` — `unit` feet | meters | yards `str` — `dim1` `float` — `dim2` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "acreage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) shape (str) rectangle triangle circle rectangle | triangle | circle unit (str) feet meters yards feet | meters | yards dim1 (float) dim2 (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`acreage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/acreage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"shape":"rectangle","unit":"feet","dim1":660,"dim2":66,"precision":8}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/acreage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'shape': 'rectangle', 'unit': 'feet', 'dim1': 660, 'dim2': 66, 'precision': 8}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/acreage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"shape":"rectangle","unit":"feet","dim1":660,"dim2":66,"precision":8}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'shape' => 'rectangle', 'unit' => 'feet', 'dim1' => 660, 'dim2' => 66, 'precision' => 8 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/acreage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'shape' => 'rectangle', 'unit' => 'feet', 'dim1' => 660, 'dim2' => 66, 'precision' => 8 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "shape": "rectangle", "unit": "feet", "dim1": 660, "dim2": 66, "precision": 8, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/acreage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/acreage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"shape\":\"rectangle\",\"unit\":\"feet\",\"dim1\":660,\"dim2\":66,\"precision\":8}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call acreage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/acreage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Acreage Calculator API do? + Calculate land acreage from rectangle, triangle, or circle dimensions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Acreage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Acreage Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Acreage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Acreage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `acreage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`acreage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="acreage-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Hectares to Acres Converter API # Hectares to Acres Converter API math 1 credit / call v2026-04-22 Convert hectares to acres and related land-area units. One POST adds Hectares to Acres Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hectares to Acres Converter on miniwebtool.com →](https://miniwebtool.com/hectares-to-acres-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hectares-to-acres-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hectares-to-acres-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hectares-to-acres-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hectares-to-acres-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":2,"decimal_places":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hectares-to-acres-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 2, 'decimal_places': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hectares-to-acres-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":2,"decimal_places":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 2, 'decimal_places' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hectares-to-acres-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 2, 'decimal_places' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 2, "decimal_places": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hectares-to-acres-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hectares-to-acres-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":2,\"decimal_places\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hectares-to-acres-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hectares-to-acres-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hectares to Acres Converter API do? + Convert hectares to acres and related land-area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hectares to Acres Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hectares to Acres Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Hectares to Acres Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hectares to Acres Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hectares-to-acres-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hectares-to-acres-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hectares-to-acres-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Square Feet to Acres Converter API # Square Feet to Acres Converter API math 1 credit / call v2026-04-22 Convert square feet to acres and related land-area units. One POST adds Square Feet to Acres Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Square Feet to Acres Converter on miniwebtool.com →](https://miniwebtool.com/square-feet-to-acres-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/square-feet-to-acres-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "square-feet-to-acres-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`square-feet-to-acres-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/square-feet-to-acres-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":43560,"decimal_places":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/square-feet-to-acres-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 43560, 'decimal_places': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/square-feet-to-acres-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":43560,"decimal_places":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 43560, 'decimal_places' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/square-feet-to-acres-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 43560, 'decimal_places' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 43560, "decimal_places": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/square-feet-to-acres-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/square-feet-to-acres-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":43560,\"decimal_places\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call square-feet-to-acres-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/square-feet-to-acres-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Square Feet to Acres Converter API do? + Convert square feet to acres and related land-area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Square Feet to Acres Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Square Feet to Acres Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Square Feet to Acres Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Square Feet to Acres Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `square-feet-to-acres-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`square-feet-to-acres-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="square-feet-to-acres-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) [ Hectares to Acres Converter Convert hectares to acres and related land-area units. ](/tools/hectares-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Square Footage Calculator API # Square Footage Calculator API math 1 credit / call v2026-04-22 Calculate square footage for common room, lot, and curved shapes. One POST adds Square Footage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Square Footage Calculator on miniwebtool.com →](https://miniwebtool.com/square-footage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/square-footage-calculator/run ``` ### Request body Field Type Req. `shape` rectangle | triangle | circle | trapezoid | ellipse | lshape `str` — `unit` ft | in | m | cm | yd `str` — `length` `float | None` — `width` `float | None` — `base` `float | None` — `height` `float | None` — `radius` `float | None` — `side_a` `float | None` — `side_b` `float | None` — `semi_a` `float | None` — `semi_b` `float | None` — `l1` `float | None` — `w1` `float | None` — `l2` `float | None` — `w2` `float | None` — `price_per_sqft` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "square-footage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) shape (str) rectangle triangle circle trapezoid ellipse lshape rectangle | triangle | circle | trapezoid | ellipse | lshape unit (str) ft in m cm yd ft | in | m | cm | yd length (float | None) width (float | None) base (float | None) height (float | None) radius (float | None) side_a (float | None) side_b (float | None) semi_a (float | None) semi_b (float | None) l1 (float | None) w1 (float | None) l2 (float | None) w2 (float | None) price_per_sqft (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`square-footage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/square-footage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"shape":"rectangle","unit":"ft","length":14,"width":12,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/square-footage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'shape': 'rectangle', 'unit': 'ft', 'length': 14, 'width': 12, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/square-footage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"shape":"rectangle","unit":"ft","length":14,"width":12,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'shape' => 'rectangle', 'unit' => 'ft', 'length' => 14, 'width' => 12, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/square-footage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'shape' => 'rectangle', 'unit' => 'ft', 'length' => 14, 'width' => 12, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "shape": "rectangle", "unit": "ft", "length": 14, "width": 12, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/square-footage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/square-footage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"shape\":\"rectangle\",\"unit\":\"ft\",\"length\":14,\"width\":12,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call square-footage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/square-footage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Square Footage Calculator API do? + Calculate square footage for common room, lot, and curved shapes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Square Footage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Square Footage Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Square Footage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Square Footage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `square-footage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`square-footage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="square-footage-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Square Meters to Acres Converter API # Square Meters to Acres Converter API math 1 credit / call v2026-04-22 Convert square meters to acres and related land-area units. One POST adds Square Meters to Acres Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Square Meters to Acres Converter on miniwebtool.com →](https://miniwebtool.com/square-meters-to-acres-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/square-meters-to-acres-converter/run ``` ### Request body Field Type Req. `square_meters` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "square-meters-to-acres-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) square_meters (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`square-meters-to-acres-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/square-meters-to-acres-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"square_meters":4046.8564224,"decimal_places":8}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/square-meters-to-acres-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'square_meters': 4046.8564224, 'decimal_places': 8}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/square-meters-to-acres-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"square_meters":4046.8564224,"decimal_places":8}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'square_meters' => 4046.8564224, 'decimal_places' => 8 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/square-meters-to-acres-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'square_meters' => 4046.8564224, 'decimal_places' => 8 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "square_meters": 4046.8564224, "decimal_places": 8, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/square-meters-to-acres-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/square-meters-to-acres-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"square_meters\":4046.8564224,\"decimal_places\":8}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call square-meters-to-acres-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`square_meters`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/square-meters-to-acres-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Square Meters to Acres Converter API do? + Convert square meters to acres and related land-area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Square Meters to Acres Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Square Meters to Acres Converter API require? + Required fields: square_meters. Full schema at /v1/openapi.json. Is the Square Meters to Acres Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Square Meters to Acres Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `square-meters-to-acres-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`square-meters-to-acres-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="square-meters-to-acres-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Square Miles to Acres Converter API # Square Miles to Acres Converter API math 1 credit / call v2026-04-22 Convert square miles to acres and related land-area units. One POST adds Square Miles to Acres Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Square Miles to Acres Converter on miniwebtool.com →](https://miniwebtool.com/square-miles-to-acres-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/square-miles-to-acres-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "square-miles-to-acres-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`square-miles-to-acres-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/square-miles-to-acres-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":1.5,"decimal_places":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/square-miles-to-acres-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 1.5, 'decimal_places': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/square-miles-to-acres-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":1.5,"decimal_places":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 1.5, 'decimal_places' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/square-miles-to-acres-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 1.5, 'decimal_places' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 1.5, "decimal_places": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/square-miles-to-acres-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/square-miles-to-acres-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":1.5,\"decimal_places\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call square-miles-to-acres-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/square-miles-to-acres-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Square Miles to Acres Converter API do? + Convert square miles to acres and related land-area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Square Miles to Acres Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Square Miles to Acres Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Square Miles to Acres Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Square Miles to Acres Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `square-miles-to-acres-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`square-miles-to-acres-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="square-miles-to-acres-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Hectares to Acres Converter Convert hectares to acres and related land-area units. ](/tools/hectares-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Absolute Value Calculator API # Absolute Value Calculator API math 1 credit / call v2026-04-22 Calculate the absolute value of a real or complex number. One POST adds Absolute Value Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Absolute Value Calculator on miniwebtool.com →](https://miniwebtool.com/absolute-value-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/absolute-value-calculator/run ``` ### Request body Field Type Req. `value` Real or complex number, e.g. -12.5 or 3+4i. `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "absolute-value-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (str) * 3+4i Real or complex number, e.g. -12.5 or 3+4i. Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`absolute-value-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/absolute-value-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":"3+4i"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/absolute-value-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': '3+4i'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/absolute-value-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":"3+4i"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => '3+4i' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/absolute-value-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => '3+4i' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": "3+4i", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/absolute-value-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/absolute-value-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":\"3+4i\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call absolute-value-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/absolute-value-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Absolute Value Calculator API do? + Calculate the absolute value of a real or complex number. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Absolute Value Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Absolute Value Calculator API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Absolute Value Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Absolute Value Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `absolute-value-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`absolute-value-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="absolute-value-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cube and Cube Root Calculator API # Cube and Cube Root Calculator API math 1 credit / call v2026-04-22 Calculate a number's cube and cube root. One POST adds Cube and Cube Root Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cube and Cube Root Calculator on miniwebtool.com →](https://miniwebtool.com/cube-and-cube-root-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cube-and-cube-root-calculator/run ``` ### Request body Field Type Req. `number` `float` ✓ `mode` both | cube | cuberoot `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cube-and-cube-root-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (float) * mode (str) both cube cuberoot both | cube | cuberoot Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cube-and-cube-root-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cube-and-cube-root-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":8,"mode":"both"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cube-and-cube-root-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': 8, 'mode': 'both'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cube-and-cube-root-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":8,"mode":"both"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => 8, 'mode' => 'both' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cube-and-cube-root-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => 8, 'mode' => 'both' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": 8, "mode": "both", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cube-and-cube-root-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cube-and-cube-root-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":8,\"mode\":\"both\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cube-and-cube-root-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cube-and-cube-root-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cube and Cube Root Calculator API do? + Calculate a number's cube and cube root. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cube and Cube Root Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cube and Cube Root Calculator API require? + Required fields: number. Full schema at /v1/openapi.json. Is the Cube and Cube Root Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cube and Cube Root Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cube-and-cube-root-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cube-and-cube-root-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cube-and-cube-root-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cube Root Calculator API # Cube Root Calculator API math 1 credit / call v2026-04-22 Calculate the real cube root of a finite number. One POST adds Cube Root Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cube Root Calculator on miniwebtool.com →](https://miniwebtool.com/cube-root-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cube-root-calculator/run ``` ### Request body Field Type Req. `number` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cube-root-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cube-root-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cube-root-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":27}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cube-root-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': 27}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cube-root-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":27}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => 27 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cube-root-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => 27 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": 27, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cube-root-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cube-root-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":27}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cube-root-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cube-root-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cube Root Calculator API do? + Calculate the real cube root of a finite number. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cube Root Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cube Root Calculator API require? + Required fields: number. Full schema at /v1/openapi.json. Is the Cube Root Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cube Root Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cube-root-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cube-root-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cube-root-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Even or Odd Number Checker API # Even or Odd Number Checker API math 1 credit / call v2026-04-22 Check whether one or more integers are even or odd. One POST adds Even or Odd Number Checker to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Even or Odd Number Checker on miniwebtool.com →](https://miniwebtool.com/even-or-odd-number-checker/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/even-or-odd-number-checker/run ``` ### Request body Field Type Req. `numbers` `list` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "even-or-odd-number-checker", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) numbers (list) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`even-or-odd-number-checker`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/even-or-odd-number-checker/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"numbers":[2,7,-4]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/even-or-odd-number-checker/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'numbers': [2, 7, -4]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/even-or-odd-number-checker/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"numbers":[2,7,-4]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'numbers' => '[2, 7, -4]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/even-or-odd-number-checker/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'numbers' => '[2, 7, -4]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "numbers": "[2, 7, -4]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/even-or-odd-number-checker/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/even-or-odd-number-checker/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"numbers\":[2,7,-4]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call even-or-odd-number-checker - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`numbers`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/even-or-odd-number-checker/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Even or Odd Number Checker API do? + Check whether one or more integers are even or odd. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Even or Odd Number Checker cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Even or Odd Number Checker API require? + Required fields: numbers. Full schema at /v1/openapi.json. Is the Even or Odd Number Checker API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Even or Odd Number Checker API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `even-or-odd-number-checker` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`even-or-odd-number-checker`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="even-or-odd-number-checker")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Curvature Calculator API # Curvature Calculator API math 1 credit / call v2026-04-22 Calculate curvature and radius of curvature for a quadratic function. One POST adds Curvature Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Curvature Calculator on miniwebtool.com →](https://miniwebtool.com/curvature-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/curvature-calculator/run ``` ### Request body Field Type Req. `a` `float` — `b` `float` — `c` `float` — `x` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "curvature-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (float) b (float) c (float) x (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`curvature-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/curvature-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/curvature-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/curvature-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/curvature-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/curvature-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/curvature-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call curvature-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/curvature-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Curvature Calculator API do? + Calculate curvature and radius of curvature for a quadratic function. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Curvature Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Curvature Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Curvature Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Curvature Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `curvature-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`curvature-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="curvature-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Bar Graph Maker API # Bar Graph Maker API math 1 credit / call v2026-04-22 Prepare normalized bar-chart data from labels and numeric values. One POST adds Bar Graph Maker to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Bar Graph Maker on miniwebtool.com →](https://miniwebtool.com/bar-graph-maker/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bar-graph-maker/run ``` ### Request body Field Type Req. `labels` `list` — `values` `list` — `orientation` vertical | horizontal `str` — `theme` `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bar-graph-maker", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) labels (list) values (list) orientation (str) vertical horizontal vertical | horizontal theme (str) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bar-graph-maker`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bar-graph-maker/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bar-graph-maker/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bar-graph-maker/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bar-graph-maker/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bar-graph-maker/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bar-graph-maker/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bar-graph-maker - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bar-graph-maker/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Bar Graph Maker API do? + Prepare normalized bar-chart data from labels and numeric values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Bar Graph Maker cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Bar Graph Maker API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Bar Graph Maker API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Bar Graph Maker API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bar-graph-maker` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bar-graph-maker`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bar-graph-maker")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Binomial Coefficient Calculator API # Binomial Coefficient Calculator API math 1 credit / call v2026-04-22 Calculate C(n, k), the number of combinations choosing k items from n. One POST adds Binomial Coefficient Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Binomial Coefficient Calculator on miniwebtool.com →](https://miniwebtool.com/binomial-coefficient-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/binomial-coefficient-calculator/run ``` ### Request body Field Type Req. `n` `int` ✓ `k` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "binomial-coefficient-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n (int) * k (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`binomial-coefficient-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/binomial-coefficient-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"n":10,"k":3}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/binomial-coefficient-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'n': 10, 'k': 3}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/binomial-coefficient-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"n":10,"k":3}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'n' => 10, 'k' => 3 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/binomial-coefficient-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'n' => 10, 'k' => 3 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "n": 10, "k": 3, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/binomial-coefficient-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/binomial-coefficient-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"n\":10,\"k\":3}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call binomial-coefficient-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`n`,`k`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/binomial-coefficient-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Binomial Coefficient Calculator API do? + Calculate C(n, k), the number of combinations choosing k items from n. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Binomial Coefficient Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Binomial Coefficient Calculator API require? + Required fields: n, k. Full schema at /v1/openapi.json. Is the Binomial Coefficient Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Binomial Coefficient Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `binomial-coefficient-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`binomial-coefficient-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="binomial-coefficient-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Combination Calculator API # Combination Calculator API math 1 credit / call v2026-04-22 Calculate combinations C(n, k). One POST adds Combination Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Combination Calculator on miniwebtool.com →](https://miniwebtool.com/combination-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/combination-calculator/run ``` ### Request body Field Type Req. `n` `int` ✓ `k` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "combination-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n (int) * k (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`combination-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/combination-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"n":9,"k":3}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/combination-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'n': 9, 'k': 3}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/combination-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"n":9,"k":3}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'n' => 9, 'k' => 3 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/combination-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'n' => 9, 'k' => 3 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "n": 9, "k": 3, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/combination-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/combination-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"n\":9,\"k\":3}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call combination-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`n`,`k`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/combination-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Combination Calculator API do? + Calculate combinations C(n, k). Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Combination Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Combination Calculator API require? + Required fields: n, k. Full schema at /v1/openapi.json. Is the Combination Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Combination Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `combination-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`combination-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="combination-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Permutation Calculator API # Permutation Calculator API math 1 credit / call v2026-04-22 Calculate P(n,r), where order matters and repetition is not allowed. One POST adds Permutation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Permutation Calculator on miniwebtool.com →](https://miniwebtool.com/permutation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/permutation-calculator/run ``` ### Request body Field Type Req. `n` `int` — `r` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "permutation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n (int) r (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`permutation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/permutation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/permutation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/permutation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/permutation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/permutation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/permutation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call permutation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/permutation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Permutation Calculator API do? + Calculate P(n,r), where order matters and repetition is not allowed. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Permutation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Permutation Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Permutation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Permutation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `permutation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`permutation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="permutation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Permutations with Repetition Calculator API # Permutations with Repetition Calculator API math 1 credit / call v2026-04-22 Calculate n^r ordered arrangements where items can repeat. One POST adds Permutations with Repetition Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Permutations with Repetition Calculator on miniwebtool.com →](https://miniwebtool.com/permutations-with-repetition-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/permutations-with-repetition-calculator/run ``` ### Request body Field Type Req. `n` `int` — `r` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "permutations-with-repetition-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n (int) r (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`permutations-with-repetition-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/permutations-with-repetition-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/permutations-with-repetition-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/permutations-with-repetition-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/permutations-with-repetition-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/permutations-with-repetition-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/permutations-with-repetition-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call permutations-with-repetition-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/permutations-with-repetition-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Permutations with Repetition Calculator API do? + Calculate n^r ordered arrangements where items can repeat. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Permutations with Repetition Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Permutations with Repetition Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Permutations with Repetition Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Permutations with Repetition Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `permutations-with-repetition-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`permutations-with-repetition-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="permutations-with-repetition-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Complex Numbers Calculator API # Complex Numbers Calculator API math 1 credit / call v2026-04-22 Add, subtract, multiply, or divide two complex numbers. One POST adds Complex Numbers Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Complex Numbers Calculator on miniwebtool.com →](https://miniwebtool.com/complex-numbers-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/complex-numbers-calculator/run ``` ### Request body Field Type Req. `a1` `float` — `b1` `float` — `a2` `float` — `b2` `float` — `operation` add | subtract | multiply | divide `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "complex-numbers-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a1 (float) b1 (float) a2 (float) b2 (float) operation (str) add subtract multiply divide add | subtract | multiply | divide precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`complex-numbers-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/complex-numbers-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a1":3,"b1":2,"a2":1,"b2":4,"operation":"add","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/complex-numbers-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a1': 3, 'b1': 2, 'a2': 1, 'b2': 4, 'operation': 'add', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/complex-numbers-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a1":3,"b1":2,"a2":1,"b2":4,"operation":"add","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a1' => 3, 'b1' => 2, 'a2' => 1, 'b2' => 4, 'operation' => 'add', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/complex-numbers-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a1' => 3, 'b1' => 2, 'a2' => 1, 'b2' => 4, 'operation' => 'add', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a1": 3, "b1": 2, "a2": 1, "b2": 4, "operation": "add", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/complex-numbers-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/complex-numbers-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a1\":3,\"b1\":2,\"a2\":1,\"b2\":4,\"operation\":\"add\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call complex-numbers-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/complex-numbers-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Complex Numbers Calculator API do? + Add, subtract, multiply, or divide two complex numbers. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Complex Numbers Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Complex Numbers Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Complex Numbers Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Complex Numbers Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `complex-numbers-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`complex-numbers-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="complex-numbers-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Hyperbola Calculator API # Hyperbola Calculator API math 1 credit / call v2026-04-22 Calculate standard-form hyperbola vertices, foci, eccentricity, and asymptotes. One POST adds Hyperbola Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hyperbola Calculator on miniwebtool.com →](https://miniwebtool.com/hyperbola-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hyperbola-calculator/run ``` ### Request body Field Type Req. `a` `float` ✓ `b` `float` ✓ `orientation` horizontal | vertical `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hyperbola-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (float) * b (float) * orientation (str) horizontal vertical horizontal | vertical precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hyperbola-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hyperbola-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":3,"b":4,"orientation":"horizontal","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hyperbola-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': 3, 'b': 4, 'orientation': 'horizontal', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hyperbola-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":3,"b":4,"orientation":"horizontal","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => 3, 'b' => 4, 'orientation' => 'horizontal', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hyperbola-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => 3, 'b' => 4, 'orientation' => 'horizontal', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": 3, "b": 4, "orientation": "horizontal", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hyperbola-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hyperbola-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":3,\"b\":4,\"orientation\":\"horizontal\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hyperbola-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`a`,`b`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hyperbola-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hyperbola Calculator API do? + Calculate standard-form hyperbola vertices, foci, eccentricity, and asymptotes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hyperbola Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hyperbola Calculator API require? + Required fields: a, b. Full schema at /v1/openapi.json. Is the Hyperbola Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hyperbola Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hyperbola-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hyperbola-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hyperbola-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Flooring Calculator API # Flooring Calculator API math 1 credit / call v2026-04-22 Estimate flooring material units, waste allowance, and optional cost. One POST adds Flooring Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Flooring Calculator on miniwebtool.com →](https://miniwebtool.com/flooring-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/flooring-calculator/run ``` ### Request body Field Type Req. `material` hardwood | laminate | vinyl | tile | carpet `str` — `unit` ft | m `str` — `length` `float` — `width` `float` — `coverage_per_unit` `float` — `waste_percent` `float` — `pattern` straight | diagonal | herringbone `str` — `price_per_unit` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "flooring-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) material (str) hardwood laminate vinyl tile carpet hardwood | laminate | vinyl | tile | carpet unit (str) ft m ft | m length (float) width (float) coverage_per_unit (float) waste_percent (float) pattern (str) straight diagonal herringbone straight | diagonal | herringbone price_per_unit (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`flooring-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/flooring-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/flooring-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/flooring-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/flooring-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/flooring-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/flooring-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call flooring-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/flooring-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Flooring Calculator API do? + Estimate flooring material units, waste allowance, and optional cost. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Flooring Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Flooring Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Flooring Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Flooring Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `flooring-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`flooring-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="flooring-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Insulation Calculator API # Insulation Calculator API math 1 credit / call v2026-04-22 Estimate insulation R-value target, thickness, material quantity, and cost range. One POST adds Insulation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Insulation Calculator on miniwebtool.com →](https://miniwebtool.com/insulation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/insulation-calculator/run ``` ### Request body Field Type Req. `zone` `int` — `component` attic_floor | cathedral_ceiling | exterior_wall | floor | basement_wall | crawlspace_wall `str` — `insulation_type` fiberglass_batt | blown_fiberglass | blown_cellulose | spray_foam_open | spray_foam_closed | rigid_foam_xps | mineral_wool `str` — `area_sqft` `float` — `current_r` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "insulation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) zone (int) component (str) attic_floor cathedral_ceiling exterior_wall floor basement_wall crawlspace_wall attic_floor | cathedral_ceiling | exterior_wall | floor | basement_wall | crawlspace_wall insulation_type (str) fiberglass_batt blown_fiberglass blown_cellulose spray_foam_open spray_foam_closed rigid_foam_xps mineral_wool fiberglass_batt | blown_fiberglass | blown_cellulose | spray_foam_open | spray_foam_closed | rigid_foam_xps | mineral_wool area_sqft (float) current_r (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`insulation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/insulation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/insulation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/insulation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/insulation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/insulation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/insulation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call insulation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/insulation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Insulation Calculator API do? + Estimate insulation R-value target, thickness, material quantity, and cost range. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Insulation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Insulation Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Insulation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Insulation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `insulation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`insulation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="insulation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Butter to Oil Converter API # Butter to Oil Converter API math 1 credit / call v2026-04-22 Convert butter quantities to practical oil equivalents for baking. One POST adds Butter to Oil Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Butter to Oil Converter on miniwebtool.com →](https://miniwebtool.com/butter-to-oil-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/butter-to-oil-converter/run ``` ### Request body Field Type Req. `butter_amount` `str` — `butter_unit` cups | sticks | tbsp | tsp | grams | ounces `str` — `oil_type` vegetable | canola | olive | avocado | sunflower | coconut `str` — `recipe_style` general | cakes | brownies | muffins | cookies `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "butter-to-oil-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) butter_amount (str) 1 butter_unit (str) cups sticks tbsp tsp grams ounces cups | sticks | tbsp | tsp | grams | ounces oil_type (str) vegetable canola olive avocado sunflower coconut vegetable | canola | olive | avocado | sunflower | coconut recipe_style (str) general cakes brownies muffins cookies general | cakes | brownies | muffins | cookies Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`butter-to-oil-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/butter-to-oil-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"butter_amount":"1","butter_unit":"cups","oil_type":"vegetable","recipe_style":"general"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/butter-to-oil-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'butter_amount': '1', 'butter_unit': 'cups', 'oil_type': 'vegetable', 'recipe_style': 'general'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/butter-to-oil-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"butter_amount":"1","butter_unit":"cups","oil_type":"vegetable","recipe_style":"general"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'butter_amount' => '1', 'butter_unit' => 'cups', 'oil_type' => 'vegetable', 'recipe_style' => 'general' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/butter-to-oil-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'butter_amount' => '1', 'butter_unit' => 'cups', 'oil_type' => 'vegetable', 'recipe_style' => 'general' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "butter_amount": "1", "butter_unit": "cups", "oil_type": "vegetable", "recipe_style": "general", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/butter-to-oil-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/butter-to-oil-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"butter_amount\":\"1\",\"butter_unit\":\"cups\",\"oil_type\":\"vegetable\",\"recipe_style\":\"general\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call butter-to-oil-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/butter-to-oil-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Butter to Oil Converter API do? + Convert butter quantities to practical oil equivalents for baking. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Butter to Oil Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Butter to Oil Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Butter to Oil Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Butter to Oil Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `butter-to-oil-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`butter-to-oil-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="butter-to-oil-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Polar to Cartesian Converter API # Polar to Cartesian Converter API math 1 credit / call v2026-04-22 Convert polar coordinates to Cartesian x and y coordinates. One POST adds Polar to Cartesian Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Polar to Cartesian Converter on miniwebtool.com →](https://miniwebtool.com/polar-to-cartesian-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/polar-to-cartesian-converter/run ``` ### Request body Field Type Req. `radius` `float` — `theta` `float` — `angle_unit` degrees | radians `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "polar-to-cartesian-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) radius (float) theta (float) angle_unit (str) degrees radians degrees | radians precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`polar-to-cartesian-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/polar-to-cartesian-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/polar-to-cartesian-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/polar-to-cartesian-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/polar-to-cartesian-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/polar-to-cartesian-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/polar-to-cartesian-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call polar-to-cartesian-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/polar-to-cartesian-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Polar to Cartesian Converter API do? + Convert polar coordinates to Cartesian x and y coordinates. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Polar to Cartesian Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Polar to Cartesian Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Polar to Cartesian Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Polar to Cartesian Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `polar-to-cartesian-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`polar-to-cartesian-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="polar-to-cartesian-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Final Grade Calculator API # Final Grade Calculator API math 1 credit / call v2026-04-22 Calculate the final exam score needed to reach a target course grade. One POST adds Final Grade Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Final Grade Calculator on miniwebtool.com →](https://miniwebtool.com/final-grade-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/final-grade-calculator/run ``` ### Request body Field Type Req. `current_grade` `float` ✓ `final_weight` `float` ✓ `target_grade` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "final-grade-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) current_grade (float) * final_weight (float) * target_grade (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`final-grade-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/final-grade-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"current_grade":86,"final_weight":30,"target_grade":90}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/final-grade-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'current_grade': 86, 'final_weight': 30, 'target_grade': 90}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/final-grade-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"current_grade":86,"final_weight":30,"target_grade":90}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'current_grade' => 86, 'final_weight' => 30, 'target_grade' => 90 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/final-grade-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'current_grade' => 86, 'final_weight' => 30, 'target_grade' => 90 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "current_grade": 86, "final_weight": 30, "target_grade": 90, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/final-grade-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/final-grade-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"current_grade\":86,\"final_weight\":30,\"target_grade\":90}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call final-grade-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`current_grade`,`final_weight`,`target_grade`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/final-grade-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Final Grade Calculator API do? + Calculate the final exam score needed to reach a target course grade. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Final Grade Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Final Grade Calculator API require? + Required fields: current_grade, final_weight, target_grade. Full schema at /v1/openapi.json. Is the Final Grade Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Final Grade Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `final-grade-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`final-grade-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="final-grade-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - LED Resistor Calculator API # LED Resistor Calculator API math 1 credit / call v2026-04-22 Calculate LED current-limiting resistor values and power ratings. One POST adds LED Resistor Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the LED Resistor Calculator on miniwebtool.com →](https://miniwebtool.com/led-resistor-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/led-resistor-calculator/run ``` ### Request body Field Type Req. `supply_voltage` `float` — `forward_voltage` `float` — `led_current_ma` `float` — `num_leds` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "led-resistor-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) supply_voltage (float) forward_voltage (float) led_current_ma (float) num_leds (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`led-resistor-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/led-resistor-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/led-resistor-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/led-resistor-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/led-resistor-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/led-resistor-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/led-resistor-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call led-resistor-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/led-resistor-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the LED Resistor Calculator API do? + Calculate LED current-limiting resistor values and power ratings. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to LED Resistor Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the LED Resistor Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the LED Resistor Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the LED Resistor Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `led-resistor-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`led-resistor-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="led-resistor-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Half Life Calculator API # Half Life Calculator API math 1 credit / call v2026-04-22 Solve exponential decay for remaining amount, initial amount, elapsed time, or half-life. One POST adds Half Life Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Half Life Calculator on miniwebtool.com →](https://miniwebtool.com/half-life-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/half-life-calculator/run ``` ### Request body Field Type Req. `solve_for` remaining | initial | time | half_life `str` — `remaining` `Optional` — `initial` `Optional` — `time` `Optional` — `half_life` `Optional` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "half-life-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) remaining initial time half_life remaining | initial | time | half_life remaining (Optional) initial (Optional) 100 time (Optional) 60 half_life (Optional) 30 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`half-life-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/half-life-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"remaining","initial":100,"time":60,"half_life":30}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/half-life-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'remaining', 'initial': 100, 'time': 60, 'half_life': 30}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/half-life-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"remaining","initial":100,"time":60,"half_life":30}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'remaining', 'initial' => 100, 'time' => 60, 'half_life' => 30 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/half-life-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'remaining', 'initial' => 100, 'time' => 60, 'half_life' => 30 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "remaining", "initial": 100, "time": 60, "half_life": 30, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/half-life-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/half-life-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"remaining\",\"initial\":100,\"time\":60,\"half_life\":30}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call half-life-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/half-life-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Half Life Calculator API do? + Solve exponential decay for remaining amount, initial amount, elapsed time, or half-life. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Half Life Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Half Life Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Half Life Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Half Life Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `half-life-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`half-life-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="half-life-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Comparing Fractions Calculator API # Comparing Fractions Calculator API math 1 credit / call v2026-04-22 Compare two fractions or mixed numbers using a common denominator. One POST adds Comparing Fractions Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Comparing Fractions Calculator on miniwebtool.com →](https://miniwebtool.com/comparing-fractions-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/comparing-fractions-calculator/run ``` ### Request body Field Type Req. `a_whole` `int` — `a_numerator` `int` ✓ `a_denominator` `int` ✓ `b_whole` `int` — `b_numerator` `int` ✓ `b_denominator` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "comparing-fractions-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a_whole (int) a_numerator (int) * a_denominator (int) * b_whole (int) b_numerator (int) * b_denominator (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`comparing-fractions-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/comparing-fractions-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a_numerator":3,"a_denominator":4,"b_numerator":5,"b_denominator":8}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/comparing-fractions-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a_numerator': 3, 'a_denominator': 4, 'b_numerator': 5, 'b_denominator': 8}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/comparing-fractions-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a_numerator":3,"a_denominator":4,"b_numerator":5,"b_denominator":8}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a_numerator' => 3, 'a_denominator' => 4, 'b_numerator' => 5, 'b_denominator' => 8 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/comparing-fractions-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a_numerator' => 3, 'a_denominator' => 4, 'b_numerator' => 5, 'b_denominator' => 8 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a_numerator": 3, "a_denominator": 4, "b_numerator": 5, "b_denominator": 8, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/comparing-fractions-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/comparing-fractions-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a_numerator\":3,\"a_denominator\":4,\"b_numerator\":5,\"b_denominator\":8}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call comparing-fractions-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`a_numerator`,`a_denominator`,`b_numerator`,`b_denominator`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/comparing-fractions-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Comparing Fractions Calculator API do? + Compare two fractions or mixed numbers using a common denominator. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Comparing Fractions Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Comparing Fractions Calculator API require? + Required fields: a_numerator, a_denominator, b_numerator, b_denominator. Full schema at /v1/openapi.json. Is the Comparing Fractions Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Comparing Fractions Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `comparing-fractions-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`comparing-fractions-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="comparing-fractions-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Decimal to Fraction Calculator API # Decimal to Fraction Calculator API math 1 credit / call v2026-04-22 Convert a decimal or parenthesized repeating decimal to a fraction. One POST adds Decimal to Fraction Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Decimal to Fraction Calculator on miniwebtool.com →](https://miniwebtool.com/decimal-to-fraction-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/decimal-to-fraction-calculator/run ``` ### Request body Field Type Req. `decimal_input` `str` ✓ `max_denominator` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "decimal-to-fraction-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) decimal_input (str) * 0.75 max_denominator (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`decimal-to-fraction-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/decimal-to-fraction-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"decimal_input":"0.75"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/decimal-to-fraction-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'decimal_input': '0.75'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/decimal-to-fraction-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"decimal_input":"0.75"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'decimal_input' => '0.75' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/decimal-to-fraction-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'decimal_input' => '0.75' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "decimal_input": "0.75", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/decimal-to-fraction-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/decimal-to-fraction-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"decimal_input\":\"0.75\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call decimal-to-fraction-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`decimal_input`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/decimal-to-fraction-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Decimal to Fraction Calculator API do? + Convert a decimal or parenthesized repeating decimal to a fraction. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Decimal to Fraction Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Decimal to Fraction Calculator API require? + Required fields: decimal_input. Full schema at /v1/openapi.json. Is the Decimal to Fraction Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Decimal to Fraction Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `decimal-to-fraction-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`decimal-to-fraction-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="decimal-to-fraction-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Equivalent Fractions Calculator API # Equivalent Fractions Calculator API math 1 credit / call v2026-04-22 Generate equivalent fractions or check whether two fractions are equivalent. One POST adds Equivalent Fractions Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Equivalent Fractions Calculator on miniwebtool.com →](https://miniwebtool.com/equivalent-fractions-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/equivalent-fractions-calculator/run ``` ### Request body Field Type Req. `mode` generate | check `str` — `whole1` `int` — `num1` `int` — `den1` `int` — `whole2` `int` — `num2` `int | None` — `den2` `int | None` — `amount` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "equivalent-fractions-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) generate check generate | check whole1 (int) num1 (int) den1 (int) whole2 (int) num2 (int | None) den2 (int | None) amount (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`equivalent-fractions-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/equivalent-fractions-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"generate","whole1":0,"num1":2,"den1":3,"amount":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/equivalent-fractions-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'generate', 'whole1': 0, 'num1': 2, 'den1': 3, 'amount': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/equivalent-fractions-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"generate","whole1":0,"num1":2,"den1":3,"amount":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'generate', 'whole1' => 0, 'num1' => 2, 'den1' => 3, 'amount' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/equivalent-fractions-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'generate', 'whole1' => 0, 'num1' => 2, 'den1' => 3, 'amount' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "generate", "whole1": 0, "num1": 2, "den1": 3, "amount": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/equivalent-fractions-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/equivalent-fractions-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"generate\",\"whole1\":0,\"num1\":2,\"den1\":3,\"amount\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call equivalent-fractions-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/equivalent-fractions-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Equivalent Fractions Calculator API do? + Generate equivalent fractions or check whether two fractions are equivalent. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Equivalent Fractions Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Equivalent Fractions Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Equivalent Fractions Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Equivalent Fractions Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `equivalent-fractions-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`equivalent-fractions-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="equivalent-fractions-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Fraction Simplifier API # Fraction Simplifier API math 1 credit / call v2026-04-22 Reduce a fraction to lowest terms and return GCF, mixed number, decimal, percentage, and equivalents. One POST adds Fraction Simplifier to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fraction Simplifier on miniwebtool.com →](https://miniwebtool.com/fraction-simplifier/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fraction-simplifier/run ``` ### Request body Field Type Req. `numerator` `int` — `denominator` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fraction-simplifier", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) numerator (int) denominator (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fraction-simplifier`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fraction-simplifier/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"numerator":42,"denominator":56}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fraction-simplifier/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'numerator': 42, 'denominator': 56}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fraction-simplifier/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"numerator":42,"denominator":56}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'numerator' => 42, 'denominator' => 56 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fraction-simplifier/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'numerator' => 42, 'denominator' => 56 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "numerator": 42, "denominator": 56, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fraction-simplifier/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fraction-simplifier/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"numerator\":42,\"denominator\":56}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fraction-simplifier - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fraction-simplifier/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fraction Simplifier API do? + Reduce a fraction to lowest terms and return GCF, mixed number, decimal, percentage, and equivalents. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fraction Simplifier cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fraction Simplifier API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Fraction Simplifier API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fraction Simplifier API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fraction-simplifier` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fraction-simplifier`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fraction-simplifier")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Fraction to Decimal Calculator API # Fraction to Decimal Calculator API math 1 credit / call v2026-04-22 Convert proper, improper, or mixed fractions to decimals and detect repeating decimal patterns. One POST adds Fraction to Decimal Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fraction to Decimal Calculator on miniwebtool.com →](https://miniwebtool.com/fraction-to-decimal-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fraction-to-decimal-calculator/run ``` ### Request body Field Type Req. `whole_number` `int` — `numerator` `int` — `denominator` `int` — `decimal_places` 2 | 3 | 4 | 6 | 8 | 10 | auto `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fraction-to-decimal-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) whole_number (int) numerator (int) denominator (int) decimal_places (str) 2 3 4 6 8 10 auto 2 | 3 | 4 | 6 | 8 | 10 | auto Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fraction-to-decimal-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fraction-to-decimal-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"whole_number":0,"numerator":1,"denominator":8,"decimal_places":"auto"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fraction-to-decimal-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'whole_number': 0, 'numerator': 1, 'denominator': 8, 'decimal_places': 'auto'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fraction-to-decimal-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"whole_number":0,"numerator":1,"denominator":8,"decimal_places":"auto"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'whole_number' => 0, 'numerator' => 1, 'denominator' => 8, 'decimal_places' => 'auto' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fraction-to-decimal-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'whole_number' => 0, 'numerator' => 1, 'denominator' => 8, 'decimal_places' => 'auto' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "whole_number": 0, "numerator": 1, "denominator": 8, "decimal_places": "auto", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fraction-to-decimal-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fraction-to-decimal-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"whole_number\":0,\"numerator\":1,\"denominator\":8,\"decimal_places\":\"auto\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fraction-to-decimal-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fraction-to-decimal-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fraction to Decimal Calculator API do? + Convert proper, improper, or mixed fractions to decimals and detect repeating decimal patterns. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fraction to Decimal Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fraction to Decimal Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Fraction to Decimal Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fraction to Decimal Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fraction-to-decimal-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fraction-to-decimal-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fraction-to-decimal-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Fraction to Mixed Number Converter API # Fraction to Mixed Number Converter API math 1 credit / call v2026-04-22 Convert an improper fraction to a simplified mixed number. One POST adds Fraction to Mixed Number Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fraction to Mixed Number Converter on miniwebtool.com →](https://miniwebtool.com/fraction-to-mixed-number-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fraction-to-mixed-number-converter/run ``` ### Request body Field Type Req. `numerator` `int` — `denominator` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fraction-to-mixed-number-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) numerator (int) denominator (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fraction-to-mixed-number-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fraction-to-mixed-number-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"numerator":17,"denominator":5,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fraction-to-mixed-number-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'numerator': 17, 'denominator': 5, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fraction-to-mixed-number-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"numerator":17,"denominator":5,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'numerator' => 17, 'denominator' => 5, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fraction-to-mixed-number-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'numerator' => 17, 'denominator' => 5, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "numerator": 17, "denominator": 5, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fraction-to-mixed-number-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fraction-to-mixed-number-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"numerator\":17,\"denominator\":5,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fraction-to-mixed-number-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fraction-to-mixed-number-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fraction to Mixed Number Converter API do? + Convert an improper fraction to a simplified mixed number. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fraction to Mixed Number Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fraction to Mixed Number Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Fraction to Mixed Number Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fraction to Mixed Number Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fraction-to-mixed-number-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fraction-to-mixed-number-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fraction-to-mixed-number-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Fraction to Percent Converter API # Fraction to Percent Converter API math 1 credit / call v2026-04-22 Convert proper, improper, or mixed fractions to percentages with configurable decimal places. One POST adds Fraction to Percent Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fraction to Percent Converter on miniwebtool.com →](https://miniwebtool.com/fraction-to-percent-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fraction-to-percent-converter/run ``` ### Request body Field Type Req. `whole_number` `int` — `numerator` `int` — `denominator` `int` — `decimal_places` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | no_limit `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fraction-to-percent-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) whole_number (int) numerator (int) denominator (int) decimal_places (str) 0 1 2 3 4 5 6 7 8 no_limit 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | no_limit Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fraction-to-percent-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fraction-to-percent-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"whole_number":0,"numerator":1,"denominator":8,"decimal_places":"2"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fraction-to-percent-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'whole_number': 0, 'numerator': 1, 'denominator': 8, 'decimal_places': '2'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fraction-to-percent-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"whole_number":0,"numerator":1,"denominator":8,"decimal_places":"2"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'whole_number' => 0, 'numerator' => 1, 'denominator' => 8, 'decimal_places' => '2' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fraction-to-percent-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'whole_number' => 0, 'numerator' => 1, 'denominator' => 8, 'decimal_places' => '2' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "whole_number": 0, "numerator": 1, "denominator": 8, "decimal_places": "2", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fraction-to-percent-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fraction-to-percent-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"whole_number\":0,\"numerator\":1,\"denominator\":8,\"decimal_places\":\"2\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fraction-to-percent-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fraction-to-percent-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fraction to Percent Converter API do? + Convert proper, improper, or mixed fractions to percentages with configurable decimal places. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fraction to Percent Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fraction to Percent Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Fraction to Percent Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fraction to Percent Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fraction-to-percent-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fraction-to-percent-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fraction-to-percent-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Mixed Number to Fraction Converter API # Mixed Number to Fraction Converter API math 1 credit / call v2026-04-22 Convert a mixed number to an improper fraction and simplified form. One POST adds Mixed Number to Fraction Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Mixed Number to Fraction Converter on miniwebtool.com →](https://miniwebtool.com/mixed-number-to-fraction-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/mixed-number-to-fraction-converter/run ``` ### Request body Field Type Req. `whole_number` `int` — `numerator` `int` — `denominator` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "mixed-number-to-fraction-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) whole_number (int) numerator (int) denominator (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`mixed-number-to-fraction-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/mixed-number-to-fraction-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/mixed-number-to-fraction-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/mixed-number-to-fraction-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/mixed-number-to-fraction-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/mixed-number-to-fraction-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/mixed-number-to-fraction-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call mixed-number-to-fraction-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/mixed-number-to-fraction-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Mixed Number to Fraction Converter API do? + Convert a mixed number to an improper fraction and simplified form. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Mixed Number to Fraction Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Mixed Number to Fraction Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Mixed Number to Fraction Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Mixed Number to Fraction Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `mixed-number-to-fraction-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`mixed-number-to-fraction-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="mixed-number-to-fraction-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Reduce Fractions Calculator API # Reduce Fractions Calculator API math 1 credit / call v2026-04-22 Reduce a proper, improper, or mixed fraction to lowest terms. One POST adds Reduce Fractions Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Reduce Fractions Calculator on miniwebtool.com →](https://miniwebtool.com/reduce-fractions-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/reduce-fractions-calculator/run ``` ### Request body Field Type Req. `whole_number` `int` — `numerator` `int` — `denominator` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "reduce-fractions-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) whole_number (int) numerator (int) denominator (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`reduce-fractions-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/reduce-fractions-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/reduce-fractions-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/reduce-fractions-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/reduce-fractions-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/reduce-fractions-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/reduce-fractions-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call reduce-fractions-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/reduce-fractions-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Reduce Fractions Calculator API do? + Reduce a proper, improper, or mixed fraction to lowest terms. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Reduce Fractions Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Reduce Fractions Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Reduce Fractions Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Reduce Fractions Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `reduce-fractions-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`reduce-fractions-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="reduce-fractions-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Hyperbolic Functions Calculator API # Hyperbolic Functions Calculator API math 1 credit / call v2026-04-22 Calculate sinh, cosh, tanh and reciprocal hyperbolic functions. One POST adds Hyperbolic Functions Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hyperbolic Functions Calculator on miniwebtool.com →](https://miniwebtool.com/hyperbolic-functions-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hyperbolic-functions-calculator/run ``` ### Request body Field Type Req. `value` `float` ✓ `angle_unit` radians | degrees `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hyperbolic-functions-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * angle_unit (str) radians degrees radians | degrees precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hyperbolic-functions-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hyperbolic-functions-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":1,"angle_unit":"radians","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hyperbolic-functions-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 1, 'angle_unit': 'radians', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hyperbolic-functions-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":1,"angle_unit":"radians","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 1, 'angle_unit' => 'radians', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hyperbolic-functions-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 1, 'angle_unit' => 'radians', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 1, "angle_unit": "radians", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hyperbolic-functions-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hyperbolic-functions-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":1,\"angle_unit\":\"radians\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hyperbolic-functions-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hyperbolic-functions-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hyperbolic Functions Calculator API do? + Calculate sinh, cosh, tanh and reciprocal hyperbolic functions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hyperbolic Functions Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hyperbolic Functions Calculator API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Hyperbolic Functions Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hyperbolic Functions Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hyperbolic-functions-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hyperbolic-functions-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hyperbolic-functions-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - DPS Calculator API # DPS Calculator API math 1 credit / call v2026-04-22 Calculate raw, sustained, critical-hit, and headshot damage per second. One POST adds DPS Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the DPS Calculator on miniwebtool.com →](https://miniwebtool.com/dps-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/dps-calculator/run ``` ### Request body Field Type Req. `base_damage` `float` — `fire_rate` `float` — `magazine_size` `int` — `reload_time` `float` — `crit_chance_percent` `float` — `crit_multiplier` `float` — `headshot_multiplier` `float` — `target_hp` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "dps-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) base_damage (float) fire_rate (float) magazine_size (int) reload_time (float) crit_chance_percent (float) crit_multiplier (float) headshot_multiplier (float) target_hp (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`dps-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/dps-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/dps-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/dps-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/dps-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/dps-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/dps-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call dps-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/dps-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the DPS Calculator API do? + Calculate raw, sustained, critical-hit, and headshot damage per second. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to DPS Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the DPS Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the DPS Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the DPS Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `dps-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`dps-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="dps-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - 3D Distance Calculator API # 3D Distance Calculator API math 1 credit / call v2026-04-22 Calculate 3D Euclidean distance, midpoint, direction cosines, and related distances. One POST adds 3D Distance Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the 3D Distance Calculator on miniwebtool.com →](https://miniwebtool.com/3d-distance-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/3d-distance-calculator/run ``` ### Request body Field Type Req. `x1` `float` ✓ `y1` `float` ✓ `z1` `float` ✓ `x2` `float` ✓ `y2` `float` ✓ `z2` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "3d-distance-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x1 (float) * y1 (float) * z1 (float) * x2 (float) * y2 (float) * z2 (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`3d-distance-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/3d-distance-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"x1":0,"y1":0,"z1":0,"x2":3,"y2":4,"z2":12}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/3d-distance-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'x1': 0, 'y1': 0, 'z1': 0, 'x2': 3, 'y2': 4, 'z2': 12}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/3d-distance-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"x1":0,"y1":0,"z1":0,"x2":3,"y2":4,"z2":12}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'x1' => 0, 'y1' => 0, 'z1' => 0, 'x2' => 3, 'y2' => 4, 'z2' => 12 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/3d-distance-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'x1' => 0, 'y1' => 0, 'z1' => 0, 'x2' => 3, 'y2' => 4, 'z2' => 12 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "x1": 0, "y1": 0, "z1": 0, "x2": 3, "y2": 4, "z2": 12, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/3d-distance-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/3d-distance-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"x1\":0,\"y1\":0,\"z1\":0,\"x2\":3,\"y2\":4,\"z2\":12}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call 3d-distance-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`x1`,`y1`,`z1`,`x2`,`y2`,`z2`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/3d-distance-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the 3D Distance Calculator API do? + Calculate 3D Euclidean distance, midpoint, direction cosines, and related distances. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to 3D Distance Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the 3D Distance Calculator API require? + Required fields: x1, y1, z1, x2, y2, z2. Full schema at /v1/openapi.json. Is the 3D Distance Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the 3D Distance Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `3d-distance-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`3d-distance-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="3d-distance-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Angle Bisector Calculator API # Angle Bisector Calculator API math 1 credit / call v2026-04-22 Calculate triangle angle bisectors, angles, area, and inradius from side lengths. One POST adds Angle Bisector Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Angle Bisector Calculator on miniwebtool.com →](https://miniwebtool.com/angle-bisector-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/angle-bisector-calculator/run ``` ### Request body Field Type Req. `side_a` `float` ✓ `side_b` `float` ✓ `side_c` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "angle-bisector-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) side_a (float) * side_b (float) * side_c (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`angle-bisector-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/angle-bisector-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"side_a":13,"side_b":14,"side_c":15}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/angle-bisector-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'side_a': 13, 'side_b': 14, 'side_c': 15}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/angle-bisector-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"side_a":13,"side_b":14,"side_c":15}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'side_a' => 13, 'side_b' => 14, 'side_c' => 15 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/angle-bisector-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'side_a' => 13, 'side_b' => 14, 'side_c' => 15 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "side_a": 13, "side_b": 14, "side_c": 15, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/angle-bisector-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/angle-bisector-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"side_a\":13,\"side_b\":14,\"side_c\":15}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call angle-bisector-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`side_a`,`side_b`,`side_c`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/angle-bisector-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Angle Bisector Calculator API do? + Calculate triangle angle bisectors, angles, area, and inradius from side lengths. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Angle Bisector Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Angle Bisector Calculator API require? + Required fields: side_a, side_b, side_c. Full schema at /v1/openapi.json. Is the Angle Bisector Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Angle Bisector Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `angle-bisector-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`angle-bisector-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="angle-bisector-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Arc Length Calculator API # Arc Length Calculator API math 1 credit / call v2026-04-22 Solve arc length, radius, or central angle for a circle sector. One POST adds Arc Length Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Arc Length Calculator on miniwebtool.com →](https://miniwebtool.com/arc-length-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/arc-length-calculator/run ``` ### Request body Field Type Req. `mode` arc | radius | angle `str` — `radius` `float | None` — `angle` `float | None` — `arc_length` `float | None` — `angle_unit` degrees | radians `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "arc-length-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) arc radius angle arc | radius | angle radius (float | None) angle (float | None) arc_length (float | None) angle_unit (str) degrees radians degrees | radians Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`arc-length-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/arc-length-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"arc","radius":10,"angle":90,"angle_unit":"degrees"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/arc-length-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'arc', 'radius': 10, 'angle': 90, 'angle_unit': 'degrees'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/arc-length-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"arc","radius":10,"angle":90,"angle_unit":"degrees"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'arc', 'radius' => 10, 'angle' => 90, 'angle_unit' => 'degrees' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/arc-length-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'arc', 'radius' => 10, 'angle' => 90, 'angle_unit' => 'degrees' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "arc", "radius": 10, "angle": 90, "angle_unit": "degrees", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/arc-length-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/arc-length-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"arc\",\"radius\":10,\"angle\":90,\"angle_unit\":\"degrees\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call arc-length-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/arc-length-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Arc Length Calculator API do? + Solve arc length, radius, or central angle for a circle sector. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Arc Length Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Arc Length Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Arc Length Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Arc Length Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `arc-length-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`arc-length-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="arc-length-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Area of a Circle Calculator API # Area of a Circle Calculator API math 1 credit / call v2026-04-22 Calculate circle radius, diameter, circumference, and area from one value. One POST adds Area of a Circle Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Area of a Circle Calculator on miniwebtool.com →](https://miniwebtool.com/area-of-a-circle-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/area-of-a-circle-calculator/run ``` ### Request body Field Type Req. `input_type` radius | diameter | circumference | area `str` — `value` `float` ✓ `unit` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "area-of-a-circle-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) input_type (str) radius diameter circumference area radius | diameter | circumference | area value (float) * unit (str) cm Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`area-of-a-circle-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/area-of-a-circle-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"input_type":"radius","value":5,"unit":"cm"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/area-of-a-circle-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'input_type': 'radius', 'value': 5, 'unit': 'cm'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/area-of-a-circle-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"input_type":"radius","value":5,"unit":"cm"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'input_type' => 'radius', 'value' => 5, 'unit' => 'cm' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/area-of-a-circle-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'input_type' => 'radius', 'value' => 5, 'unit' => 'cm' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "input_type": "radius", "value": 5, "unit": "cm", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/area-of-a-circle-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/area-of-a-circle-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"input_type\":\"radius\",\"value\":5,\"unit\":\"cm\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call area-of-a-circle-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/area-of-a-circle-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Area of a Circle Calculator API do? + Calculate circle radius, diameter, circumference, and area from one value. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Area of a Circle Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Area of a Circle Calculator API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Area of a Circle Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Area of a Circle Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `area-of-a-circle-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`area-of-a-circle-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="area-of-a-circle-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Area of a Parallelogram Calculator API # Area of a Parallelogram Calculator API math 1 credit / call v2026-04-22 Find parallelogram area from base-height, sides-angle, or diagonals-angle inputs. One POST adds Area of a Parallelogram Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Area of a Parallelogram Calculator on miniwebtool.com →](https://miniwebtool.com/area-of-a-parallelogram-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/area-of-a-parallelogram-calculator/run ``` ### Request body Field Type Req. `method` base_height | sides | diagonals `str` — `base` `float | None` — `height` `float | None` — `side_a` `float | None` — `side_b` `float | None` — `angle_degrees` `float | None` — `diagonal_a` `float | None` — `diagonal_b` `float | None` — `diagonal_angle_degrees` `float | None` — `unit` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "area-of-a-parallelogram-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) method (str) base_height sides diagonals base_height | sides | diagonals base (float | None) height (float | None) side_a (float | None) side_b (float | None) angle_degrees (float | None) diagonal_a (float | None) diagonal_b (float | None) diagonal_angle_degrees (float | None) unit (str) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`area-of-a-parallelogram-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/area-of-a-parallelogram-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"method":"base_height","base":12,"height":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/area-of-a-parallelogram-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'method': 'base_height', 'base': 12, 'height': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/area-of-a-parallelogram-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"method":"base_height","base":12,"height":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'method' => 'base_height', 'base' => 12, 'height' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/area-of-a-parallelogram-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'method' => 'base_height', 'base' => 12, 'height' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "method": "base_height", "base": 12, "height": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/area-of-a-parallelogram-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/area-of-a-parallelogram-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"method\":\"base_height\",\"base\":12,\"height\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call area-of-a-parallelogram-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/area-of-a-parallelogram-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Area of a Parallelogram Calculator API do? + Find parallelogram area from base-height, sides-angle, or diagonals-angle inputs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Area of a Parallelogram Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Area of a Parallelogram Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Area of a Parallelogram Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Area of a Parallelogram Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `area-of-a-parallelogram-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`area-of-a-parallelogram-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="area-of-a-parallelogram-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Area of a Sector Calculator API # Area of a Sector Calculator API math 1 credit / call v2026-04-22 Calculate sector area, arc length, perimeter, chord, and segment area. One POST adds Area of a Sector Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Area of a Sector Calculator on miniwebtool.com →](https://miniwebtool.com/area-of-a-sector-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/area-of-a-sector-calculator/run ``` ### Request body Field Type Req. `radius` `float` ✓ `angle` `float` ✓ `angle_unit` degrees | radians `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "area-of-a-sector-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) radius (float) * angle (float) * angle_unit (str) degrees radians degrees | radians Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`area-of-a-sector-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/area-of-a-sector-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"radius":6,"angle":120,"angle_unit":"degrees"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/area-of-a-sector-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'radius': 6, 'angle': 120, 'angle_unit': 'degrees'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/area-of-a-sector-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"radius":6,"angle":120,"angle_unit":"degrees"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'radius' => 6, 'angle' => 120, 'angle_unit' => 'degrees' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/area-of-a-sector-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'radius' => 6, 'angle' => 120, 'angle_unit' => 'degrees' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "radius": 6, "angle": 120, "angle_unit": "degrees", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/area-of-a-sector-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/area-of-a-sector-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"radius\":6,\"angle\":120,\"angle_unit\":\"degrees\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call area-of-a-sector-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`radius`,`angle`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/area-of-a-sector-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Area of a Sector Calculator API do? + Calculate sector area, arc length, perimeter, chord, and segment area. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Area of a Sector Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Area of a Sector Calculator API require? + Required fields: radius, angle. Full schema at /v1/openapi.json. Is the Area of a Sector Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Area of a Sector Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `area-of-a-sector-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`area-of-a-sector-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="area-of-a-sector-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Area of a Trapezoid Calculator API # Area of a Trapezoid Calculator API math 1 credit / call v2026-04-22 Calculate trapezoid area from two parallel bases and height. One POST adds Area of a Trapezoid Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Area of a Trapezoid Calculator on miniwebtool.com →](https://miniwebtool.com/area-of-a-trapezoid-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/area-of-a-trapezoid-calculator/run ``` ### Request body Field Type Req. `base_a` `float` ✓ `base_b` `float` ✓ `height` `float` ✓ `unit` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "area-of-a-trapezoid-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) base_a (float) * base_b (float) * height (float) * unit (str) m Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`area-of-a-trapezoid-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/area-of-a-trapezoid-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"base_a":8,"base_b":12,"height":5,"unit":"m"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/area-of-a-trapezoid-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'base_a': 8, 'base_b': 12, 'height': 5, 'unit': 'm'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/area-of-a-trapezoid-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"base_a":8,"base_b":12,"height":5,"unit":"m"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'base_a' => 8, 'base_b' => 12, 'height' => 5, 'unit' => 'm' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/area-of-a-trapezoid-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'base_a' => 8, 'base_b' => 12, 'height' => 5, 'unit' => 'm' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "base_a": 8, "base_b": 12, "height": 5, "unit": "m", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/area-of-a-trapezoid-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/area-of-a-trapezoid-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"base_a\":8,\"base_b\":12,\"height\":5,\"unit\":\"m\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call area-of-a-trapezoid-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`base_a`,`base_b`,`height`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/area-of-a-trapezoid-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Area of a Trapezoid Calculator API do? + Calculate trapezoid area from two parallel bases and height. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Area of a Trapezoid Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Area of a Trapezoid Calculator API require? + Required fields: base_a, base_b, height. Full schema at /v1/openapi.json. Is the Area of a Trapezoid Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Area of a Trapezoid Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `area-of-a-trapezoid-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`area-of-a-trapezoid-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="area-of-a-trapezoid-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Area of an Ellipse Calculator API # Area of an Ellipse Calculator API math 1 credit / call v2026-04-22 Calculate ellipse area, Ramanujan perimeter, foci, and eccentricity. One POST adds Area of an Ellipse Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Area of an Ellipse Calculator on miniwebtool.com →](https://miniwebtool.com/area-of-an-ellipse-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/area-of-an-ellipse-calculator/run ``` ### Request body Field Type Req. `semi_major_axis` `float` ✓ `semi_minor_axis` `float` ✓ `unit` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "area-of-an-ellipse-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) semi_major_axis (float) * semi_minor_axis (float) * unit (str) cm Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`area-of-an-ellipse-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/area-of-an-ellipse-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"semi_major_axis":7,"semi_minor_axis":3,"unit":"cm"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/area-of-an-ellipse-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'semi_major_axis': 7, 'semi_minor_axis': 3, 'unit': 'cm'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/area-of-an-ellipse-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"semi_major_axis":7,"semi_minor_axis":3,"unit":"cm"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'semi_major_axis' => 7, 'semi_minor_axis' => 3, 'unit' => 'cm' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/area-of-an-ellipse-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'semi_major_axis' => 7, 'semi_minor_axis' => 3, 'unit' => 'cm' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "semi_major_axis": 7, "semi_minor_axis": 3, "unit": "cm", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/area-of-an-ellipse-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/area-of-an-ellipse-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"semi_major_axis\":7,\"semi_minor_axis\":3,\"unit\":\"cm\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call area-of-an-ellipse-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`semi_major_axis`,`semi_minor_axis`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/area-of-an-ellipse-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Area of an Ellipse Calculator API do? + Calculate ellipse area, Ramanujan perimeter, foci, and eccentricity. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Area of an Ellipse Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Area of an Ellipse Calculator API require? + Required fields: semi_major_axis, semi_minor_axis. Full schema at /v1/openapi.json. Is the Area of an Ellipse Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Area of an Ellipse Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `area-of-an-ellipse-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`area-of-an-ellipse-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="area-of-an-ellipse-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Area of Equilateral Triangle Calculator API # Area of Equilateral Triangle Calculator API math 1 credit / call v2026-04-22 Calculate equilateral-triangle side, area, height, perimeter, and radii. One POST adds Area of Equilateral Triangle Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Area of Equilateral Triangle Calculator on miniwebtool.com →](https://miniwebtool.com/area-of-equilateral-triangle-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/area-of-equilateral-triangle-calculator/run ``` ### Request body Field Type Req. `input_type` side | area | height | perimeter `str` — `value` `float` ✓ `unit` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "area-of-equilateral-triangle-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) input_type (str) side area height perimeter side | area | height | perimeter value (float) * unit (str) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`area-of-equilateral-triangle-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/area-of-equilateral-triangle-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"input_type":"side","value":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/area-of-equilateral-triangle-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'input_type': 'side', 'value': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/area-of-equilateral-triangle-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"input_type":"side","value":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'input_type' => 'side', 'value' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/area-of-equilateral-triangle-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'input_type' => 'side', 'value' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "input_type": "side", "value": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/area-of-equilateral-triangle-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/area-of-equilateral-triangle-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"input_type\":\"side\",\"value\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call area-of-equilateral-triangle-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/area-of-equilateral-triangle-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Area of Equilateral Triangle Calculator API do? + Calculate equilateral-triangle side, area, height, perimeter, and radii. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Area of Equilateral Triangle Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Area of Equilateral Triangle Calculator API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Area of Equilateral Triangle Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Area of Equilateral Triangle Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `area-of-equilateral-triangle-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`area-of-equilateral-triangle-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="area-of-equilateral-triangle-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cartesian to Polar Coordinates Converter API # Cartesian to Polar Coordinates Converter API math 1 credit / call v2026-04-22 Convert Cartesian x-y coordinates to polar radius and angle. One POST adds Cartesian to Polar Coordinates Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cartesian to Polar Coordinates Converter on miniwebtool.com →](https://miniwebtool.com/cartesian-to-polar-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cartesian-to-polar-converter/run ``` ### Request body Field Type Req. `x` `float` ✓ `y` `float` ✓ `angle_unit` degrees | radians `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cartesian-to-polar-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x (float) * y (float) * angle_unit (str) degrees radians degrees | radians precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cartesian-to-polar-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cartesian-to-polar-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"x":3,"y":4,"angle_unit":"degrees"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cartesian-to-polar-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'x': 3, 'y': 4, 'angle_unit': 'degrees'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cartesian-to-polar-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"x":3,"y":4,"angle_unit":"degrees"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'x' => 3, 'y' => 4, 'angle_unit' => 'degrees' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cartesian-to-polar-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'x' => 3, 'y' => 4, 'angle_unit' => 'degrees' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "x": 3, "y": 4, "angle_unit": "degrees", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cartesian-to-polar-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cartesian-to-polar-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"x\":3,\"y\":4,\"angle_unit\":\"degrees\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cartesian-to-polar-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`x`,`y`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cartesian-to-polar-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cartesian to Polar Coordinates Converter API do? + Convert Cartesian x-y coordinates to polar radius and angle. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cartesian to Polar Coordinates Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cartesian to Polar Coordinates Converter API require? + Required fields: x, y. Full schema at /v1/openapi.json. Is the Cartesian to Polar Coordinates Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cartesian to Polar Coordinates Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cartesian-to-polar-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cartesian-to-polar-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cartesian-to-polar-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Circle Calculator API # Circle Calculator API math 1 credit / call v2026-04-22 Calculate circle radius, diameter, circumference, area, and optional arc/sector values. One POST adds Circle Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Circle Calculator on miniwebtool.com →](https://miniwebtool.com/circle-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/circle-calculator/run ``` ### Request body Field Type Req. `mode` radius | diameter | circumference | area `str` — `value` `float` ✓ `angle_degrees` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "circle-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) radius diameter circumference area radius | diameter | circumference | area value (float) * angle_degrees (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`circle-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/circle-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"radius","value":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/circle-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'radius', 'value': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/circle-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"radius","value":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'radius', 'value' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/circle-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'radius', 'value' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "radius", "value": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/circle-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/circle-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"radius\",\"value\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call circle-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/circle-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Circle Calculator API do? + Calculate circle radius, diameter, circumference, area, and optional arc/sector values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Circle Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Circle Calculator API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Circle Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Circle Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `circle-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`circle-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="circle-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Circumscribed Circle Circumcircle Calculator API # Circumscribed Circle Circumcircle Calculator API math 1 credit / call v2026-04-22 Calculate the circumcircle of a triangle from side lengths or coordinates. One POST adds Circumscribed Circle Circumcircle Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Circumscribed Circle Circumcircle Calculator on miniwebtool.com →](https://miniwebtool.com/circumscribed-circle-circumcircle-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/circumscribed-circle-circumcircle-calculator/run ``` ### Request body Field Type Req. `input_mode` sides | points `str` — `side_a` `float | None` — `side_b` `float | None` — `side_c` `float | None` — `x1` `float | None` — `y1` `float | None` — `x2` `float | None` — `y2` `float | None` — `x3` `float | None` — `y3` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "circumscribed-circle-circumcircle-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) input_mode (str) sides points sides | points side_a (float | None) side_b (float | None) side_c (float | None) x1 (float | None) y1 (float | None) x2 (float | None) y2 (float | None) x3 (float | None) y3 (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`circumscribed-circle-circumcircle-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/circumscribed-circle-circumcircle-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"input_mode":"sides","side_a":13,"side_b":14,"side_c":15,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/circumscribed-circle-circumcircle-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'input_mode': 'sides', 'side_a': 13, 'side_b': 14, 'side_c': 15, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/circumscribed-circle-circumcircle-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"input_mode":"sides","side_a":13,"side_b":14,"side_c":15,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'input_mode' => 'sides', 'side_a' => 13, 'side_b' => 14, 'side_c' => 15, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/circumscribed-circle-circumcircle-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'input_mode' => 'sides', 'side_a' => 13, 'side_b' => 14, 'side_c' => 15, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "input_mode": "sides", "side_a": 13, "side_b": 14, "side_c": 15, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/circumscribed-circle-circumcircle-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/circumscribed-circle-circumcircle-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"input_mode\":\"sides\",\"side_a\":13,\"side_b\":14,\"side_c\":15,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call circumscribed-circle-circumcircle-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/circumscribed-circle-circumcircle-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Circumscribed Circle Circumcircle Calculator API do? + Calculate the circumcircle of a triangle from side lengths or coordinates. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Circumscribed Circle Circumcircle Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Circumscribed Circle Circumcircle Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Circumscribed Circle Circumcircle Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Circumscribed Circle Circumcircle Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `circumscribed-circle-circumcircle-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`circumscribed-circle-circumcircle-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="circumscribed-circle-circumcircle-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cone Flat Pattern Template Generator API # Cone Flat Pattern Template Generator API math 1 credit / call v2026-04-22 Calculate unrolled cone or frustum flat-pattern dimensions. One POST adds Cone Flat Pattern Template Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cone Flat Pattern Template Generator on miniwebtool.com →](https://miniwebtool.com/cone-flat-pattern-template-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cone-flat-pattern-template-generator/run ``` ### Request body Field Type Req. `cone_type` full | frustum `str` — `input_mode` radii_height | radii_slant | diameters_height | diameters_slant `str` — `base_value` `float` — `height_or_slant` `float` — `top_value` `float | None` — `seam_allowance` `float` — `unit` mm | cm | in | m | ft `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cone-flat-pattern-template-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) cone_type (str) full frustum full | frustum input_mode (str) radii_height radii_slant diameters_height diameters_slant radii_height | radii_slant | diameters_height | diameters_slant base_value (float) height_or_slant (float) top_value (float | None) seam_allowance (float) unit (str) mm cm in m ft mm | cm | in | m | ft precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cone-flat-pattern-template-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cone-flat-pattern-template-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"cone_type":"full","input_mode":"radii_height","base_value":50,"height_or_slant":80,"seam_allowance":0,"unit":"mm","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cone-flat-pattern-template-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'cone_type': 'full', 'input_mode': 'radii_height', 'base_value': 50, 'height_or_slant': 80, 'seam_allowance': 0, 'unit': 'mm', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cone-flat-pattern-template-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"cone_type":"full","input_mode":"radii_height","base_value":50,"height_or_slant":80,"seam_allowance":0,"unit":"mm","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'cone_type' => 'full', 'input_mode' => 'radii_height', 'base_value' => 50, 'height_or_slant' => 80, 'seam_allowance' => 0, 'unit' => 'mm', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cone-flat-pattern-template-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'cone_type' => 'full', 'input_mode' => 'radii_height', 'base_value' => 50, 'height_or_slant' => 80, 'seam_allowance' => 0, 'unit' => 'mm', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "cone_type": "full", "input_mode": "radii_height", "base_value": 50, "height_or_slant": 80, "seam_allowance": 0, "unit": "mm", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cone-flat-pattern-template-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cone-flat-pattern-template-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"cone_type\":\"full\",\"input_mode\":\"radii_height\",\"base_value\":50,\"height_or_slant\":80,\"seam_allowance\":0,\"unit\":\"mm\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cone-flat-pattern-template-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cone-flat-pattern-template-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cone Flat Pattern Template Generator API do? + Calculate unrolled cone or frustum flat-pattern dimensions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cone Flat Pattern Template Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cone Flat Pattern Template Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cone Flat Pattern Template Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cone Flat Pattern Template Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cone-flat-pattern-template-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cone-flat-pattern-template-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cone-flat-pattern-template-generator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Conic Section Identifier API # Conic Section Identifier API math 1 credit / call v2026-04-22 Classify a general second-degree equation as a conic section. One POST adds Conic Section Identifier to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Conic Section Identifier on miniwebtool.com →](https://miniwebtool.com/conic-section-identifier/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/conic-section-identifier/run ``` ### Request body Field Type Req. `A` `float` — `B` `float` — `C` `float` — `D` `float` — `E` `float` — `F` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "conic-section-identifier", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) A (float) B (float) C (float) D (float) E (float) F (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`conic-section-identifier`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/conic-section-identifier/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"A":1,"B":0,"C":1,"D":0,"E":0,"F":-25,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/conic-section-identifier/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'A': 1, 'B': 0, 'C': 1, 'D': 0, 'E': 0, 'F': -25, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/conic-section-identifier/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"A":1,"B":0,"C":1,"D":0,"E":0,"F":-25,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'A' => 1, 'B' => 0, 'C' => 1, 'D' => 0, 'E' => 0, 'F' => -25, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/conic-section-identifier/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'A' => 1, 'B' => 0, 'C' => 1, 'D' => 0, 'E' => 0, 'F' => -25, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "A": 1, "B": 0, "C": 1, "D": 0, "E": 0, "F": -25, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/conic-section-identifier/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/conic-section-identifier/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"A\":1,\"B\":0,\"C\":1,\"D\":0,\"E\":0,\"F\":-25,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call conic-section-identifier - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/conic-section-identifier/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Conic Section Identifier API do? + Classify a general second-degree equation as a conic section. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Conic Section Identifier cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Conic Section Identifier API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Conic Section Identifier API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Conic Section Identifier API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `conic-section-identifier` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`conic-section-identifier`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="conic-section-identifier")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Coordinate Geometry Distance Calculator API # Coordinate Geometry Distance Calculator API math 1 credit / call v2026-04-22 Calculate distance, midpoint, slope, and line equations between two points. One POST adds Coordinate Geometry Distance Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Coordinate Geometry Distance Calculator on miniwebtool.com →](https://miniwebtool.com/coordinate-geometry-distance-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/coordinate-geometry-distance-calculator/run ``` ### Request body Field Type Req. `x1` `float` — `y1` `float` — `x2` `float` — `y2` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "coordinate-geometry-distance-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x1 (float) y1 (float) x2 (float) y2 (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`coordinate-geometry-distance-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/coordinate-geometry-distance-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"x1":1,"y1":2,"x2":7,"y2":10,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/coordinate-geometry-distance-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'x1': 1, 'y1': 2, 'x2': 7, 'y2': 10, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/coordinate-geometry-distance-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"x1":1,"y1":2,"x2":7,"y2":10,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'x1' => 1, 'y1' => 2, 'x2' => 7, 'y2' => 10, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/coordinate-geometry-distance-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'x1' => 1, 'y1' => 2, 'x2' => 7, 'y2' => 10, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "x1": 1, "y1": 2, "x2": 7, "y2": 10, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/coordinate-geometry-distance-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/coordinate-geometry-distance-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"x1\":1,\"y1\":2,\"x2\":7,\"y2\":10,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call coordinate-geometry-distance-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/coordinate-geometry-distance-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Coordinate Geometry Distance Calculator API do? + Calculate distance, midpoint, slope, and line equations between two points. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Coordinate Geometry Distance Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Coordinate Geometry Distance Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Coordinate Geometry Distance Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Coordinate Geometry Distance Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `coordinate-geometry-distance-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`coordinate-geometry-distance-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="coordinate-geometry-distance-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Distance Between Two Points Calculator API # Distance Between Two Points Calculator API math 1 credit / call v2026-04-22 Calculate 2D point distance, midpoint, slope, and line equation. One POST adds Distance Between Two Points Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Distance Between Two Points Calculator on miniwebtool.com →](https://miniwebtool.com/distance-between-two-points-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/distance-between-two-points-calculator/run ``` ### Request body Field Type Req. `x1` `float` ✓ `y1` `float` ✓ `x2` `float` ✓ `y2` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "distance-between-two-points-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x1 (float) * y1 (float) * x2 (float) * y2 (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`distance-between-two-points-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/distance-between-two-points-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"x1":3,"y1":4,"x2":7,"y2":8}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/distance-between-two-points-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'x1': 3, 'y1': 4, 'x2': 7, 'y2': 8}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/distance-between-two-points-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"x1":3,"y1":4,"x2":7,"y2":8}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'x1' => 3, 'y1' => 4, 'x2' => 7, 'y2' => 8 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/distance-between-two-points-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'x1' => 3, 'y1' => 4, 'x2' => 7, 'y2' => 8 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "x1": 3, "y1": 4, "x2": 7, "y2": 8, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/distance-between-two-points-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/distance-between-two-points-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"x1\":3,\"y1\":4,\"x2\":7,\"y2\":8}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call distance-between-two-points-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`x1`,`y1`,`x2`,`y2`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/distance-between-two-points-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Distance Between Two Points Calculator API do? + Calculate 2D point distance, midpoint, slope, and line equation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Distance Between Two Points Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Distance Between Two Points Calculator API require? + Required fields: x1, y1, x2, y2. Full schema at /v1/openapi.json. Is the Distance Between Two Points Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Distance Between Two Points Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `distance-between-two-points-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`distance-between-two-points-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="distance-between-two-points-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Ellipse Circumference Calculator API # Ellipse Circumference Calculator API math 1 credit / call v2026-04-22 Calculate ellipse circumference with several common approximations. One POST adds Ellipse Circumference Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Ellipse Circumference Calculator on miniwebtool.com →](https://miniwebtool.com/ellipse-circumference-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ellipse-circumference-calculator/run ``` ### Request body Field Type Req. `a` `float` — `b` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ellipse-circumference-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (float) b (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ellipse-circumference-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ellipse-circumference-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":10.0,"b":6.0,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ellipse-circumference-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': 10.0, 'b': 6.0, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ellipse-circumference-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":10.0,"b":6.0,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => 10.0, 'b' => 6.0, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ellipse-circumference-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => 10.0, 'b' => 6.0, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": 10.0, "b": 6.0, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ellipse-circumference-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ellipse-circumference-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":10.0,\"b\":6.0,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ellipse-circumference-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ellipse-circumference-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Ellipse Circumference Calculator API do? + Calculate ellipse circumference with several common approximations. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Ellipse Circumference Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Ellipse Circumference Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Ellipse Circumference Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Ellipse Circumference Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ellipse-circumference-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ellipse-circumference-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ellipse-circumference-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Euler Characteristic Calculator API # Euler Characteristic Calculator API math 1 credit / call v2026-04-22 Calculate Euler characteristic V - E + F and classify common surfaces. One POST adds Euler Characteristic Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Euler Characteristic Calculator on miniwebtool.com →](https://miniwebtool.com/euler-characteristic-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/euler-characteristic-calculator/run ``` ### Request body Field Type Req. `vertices` `int` — `edges` `int` — `faces` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "euler-characteristic-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) vertices (int) edges (int) faces (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`euler-characteristic-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/euler-characteristic-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"vertices":8,"edges":12,"faces":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/euler-characteristic-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'vertices': 8, 'edges': 12, 'faces': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/euler-characteristic-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"vertices":8,"edges":12,"faces":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'vertices' => 8, 'edges' => 12, 'faces' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/euler-characteristic-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'vertices' => 8, 'edges' => 12, 'faces' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "vertices": 8, "edges": 12, "faces": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/euler-characteristic-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/euler-characteristic-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"vertices\":8,\"edges\":12,\"faces\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call euler-characteristic-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/euler-characteristic-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Euler Characteristic Calculator API do? + Calculate Euler characteristic V - E + F and classify common surfaces. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Euler Characteristic Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Euler Characteristic Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Euler Characteristic Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Euler Characteristic Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `euler-characteristic-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`euler-characteristic-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="euler-characteristic-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Frustum Calculator API # Frustum Calculator API math 1 credit / call v2026-04-22 Calculate volume and surface area for a conical frustum. One POST adds Frustum Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Frustum Calculator on miniwebtool.com →](https://miniwebtool.com/frustum-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/frustum-calculator/run ``` ### Request body Field Type Req. `radius1` `float` ✓ `radius2` `float` ✓ `height` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "frustum-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) radius1 (float) * radius2 (float) * height (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`frustum-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/frustum-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"radius1":5,"radius2":3,"height":10,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/frustum-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'radius1': 5, 'radius2': 3, 'height': 10, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/frustum-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"radius1":5,"radius2":3,"height":10,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'radius1' => 5, 'radius2' => 3, 'height' => 10, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/frustum-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'radius1' => 5, 'radius2' => 3, 'height' => 10, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "radius1": 5, "radius2": 3, "height": 10, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/frustum-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/frustum-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"radius1\":5,\"radius2\":3,\"height\":10,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call frustum-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`radius1`,`radius2`,`height`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/frustum-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Frustum Calculator API do? + Calculate volume and surface area for a conical frustum. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Frustum Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Frustum Calculator API require? + Required fields: radius1, radius2, height. Full schema at /v1/openapi.json. Is the Frustum Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Frustum Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `frustum-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`frustum-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="frustum-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Golden Ratio Calculator API # Golden Ratio Calculator API math 1 credit / call v2026-04-22 Calculate golden-ratio segments from total, larger, or smaller segment. One POST adds Golden Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Golden Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/golden-ratio-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/golden-ratio-calculator/run ``` ### Request body Field Type Req. `value` `float` ✓ `input_type` total | larger | smaller `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "golden-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * input_type (str) total larger smaller total | larger | smaller precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`golden-ratio-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/golden-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":100,"input_type":"total"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/golden-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 100, 'input_type': 'total'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/golden-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":100,"input_type":"total"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 100, 'input_type' => 'total' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/golden-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 100, 'input_type' => 'total' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 100, "input_type": "total", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/golden-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/golden-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":100,\"input_type\":\"total\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call golden-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/golden-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Golden Ratio Calculator API do? + Calculate golden-ratio segments from total, larger, or smaller segment. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Golden Ratio Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Golden Ratio Calculator API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Golden Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Golden Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `golden-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`golden-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="golden-ratio-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Golden Rectangle Calculator API # Golden Rectangle Calculator API math 1 credit / call v2026-04-22 Calculate golden rectangle dimensions, area, perimeter, and aspect ratio. One POST adds Golden Rectangle Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Golden Rectangle Calculator on miniwebtool.com →](https://miniwebtool.com/golden-rectangle-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/golden-rectangle-calculator/run ``` ### Request body Field Type Req. `width` `float | None` — `height` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "golden-rectangle-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) width (float | None) height (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`golden-rectangle-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/golden-rectangle-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"width":161.803398875}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/golden-rectangle-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'width': 161.803398875}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/golden-rectangle-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"width":161.803398875}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'width' => 161.803398875 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/golden-rectangle-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'width' => 161.803398875 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "width": 161.803398875, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/golden-rectangle-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/golden-rectangle-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"width\":161.803398875}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call golden-rectangle-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/golden-rectangle-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Golden Rectangle Calculator API do? + Calculate golden rectangle dimensions, area, perimeter, and aspect ratio. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Golden Rectangle Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Golden Rectangle Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Golden Rectangle Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Golden Rectangle Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `golden-rectangle-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`golden-rectangle-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="golden-rectangle-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Golden Section Calculator API # Golden Section Calculator API math 1 credit / call v2026-04-22 Find the golden-section points within an interval. One POST adds Golden Section Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Golden Section Calculator on miniwebtool.com →](https://miniwebtool.com/golden-section-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/golden-section-calculator/run ``` ### Request body Field Type Req. `start` `float` ✓ `end` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "golden-section-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) start (float) * end (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`golden-section-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/golden-section-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"start":0,"end":100}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/golden-section-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'start': 0, 'end': 100}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/golden-section-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"start":0,"end":100}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'start' => 0, 'end' => 100 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/golden-section-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'start' => 0, 'end' => 100 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "start": 0, "end": 100, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/golden-section-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/golden-section-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"start\":0,\"end\":100}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call golden-section-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`start`,`end`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/golden-section-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Golden Section Calculator API do? + Find the golden-section points within an interval. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Golden Section Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Golden Section Calculator API require? + Required fields: start, end. Full schema at /v1/openapi.json. Is the Golden Section Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Golden Section Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `golden-section-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`golden-section-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="golden-section-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Great Circle Distance Calculator API # Great Circle Distance Calculator API math 1 credit / call v2026-04-22 Calculate great-circle distance, bearing, and midpoint between two coordinates. One POST adds Great Circle Distance Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Great Circle Distance Calculator on miniwebtool.com →](https://miniwebtool.com/great-circle-distance-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/great-circle-distance-calculator/run ``` ### Request body Field Type Req. `lat1` `float` ✓ `lon1` `float` ✓ `lat2` `float` ✓ `lon2` `float` ✓ `radius_km` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "great-circle-distance-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) lat1 (float) * lon1 (float) * lat2 (float) * lon2 (float) * radius_km (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`great-circle-distance-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/great-circle-distance-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"lat1":40.7128,"lon1":-74.006,"lat2":51.5074,"lon2":-0.1278}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/great-circle-distance-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'lat1': 40.7128, 'lon1': -74.006, 'lat2': 51.5074, 'lon2': -0.1278}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/great-circle-distance-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"lat1":40.7128,"lon1":-74.006,"lat2":51.5074,"lon2":-0.1278}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'lat1' => 40.7128, 'lon1' => -74.006, 'lat2' => 51.5074, 'lon2' => -0.1278 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/great-circle-distance-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'lat1' => 40.7128, 'lon1' => -74.006, 'lat2' => 51.5074, 'lon2' => -0.1278 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "lat1": 40.7128, "lon1": -74.006, "lat2": 51.5074, "lon2": -0.1278, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/great-circle-distance-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/great-circle-distance-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"lat1\":40.7128,\"lon1\":-74.006,\"lat2\":51.5074,\"lon2\":-0.1278}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call great-circle-distance-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`lat1`,`lon1`,`lat2`,`lon2`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/great-circle-distance-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Great Circle Distance Calculator API do? + Calculate great-circle distance, bearing, and midpoint between two coordinates. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Great Circle Distance Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Great Circle Distance Calculator API require? + Required fields: lat1, lon1, lat2, lon2. Full schema at /v1/openapi.json. Is the Great Circle Distance Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Great Circle Distance Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `great-circle-distance-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`great-circle-distance-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="great-circle-distance-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Heron's Formula Calculator API # Heron's Formula Calculator API math 1 credit / call v2026-04-22 Calculate triangle area from three side lengths using Heron's formula. One POST adds Heron's Formula Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Heron's Formula Calculator on miniwebtool.com →](https://miniwebtool.com/heron-s-formula-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/heron-s-formula-calculator/run ``` ### Request body Field Type Req. `side_a` `float` ✓ `side_b` `float` ✓ `side_c` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "heron-s-formula-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) side_a (float) * side_b (float) * side_c (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`heron-s-formula-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/heron-s-formula-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"side_a":3,"side_b":4,"side_c":5,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/heron-s-formula-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'side_a': 3, 'side_b': 4, 'side_c': 5, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/heron-s-formula-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"side_a":3,"side_b":4,"side_c":5,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'side_a' => 3, 'side_b' => 4, 'side_c' => 5, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/heron-s-formula-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'side_a' => 3, 'side_b' => 4, 'side_c' => 5, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "side_a": 3, "side_b": 4, "side_c": 5, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/heron-s-formula-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/heron-s-formula-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"side_a\":3,\"side_b\":4,\"side_c\":5,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call heron-s-formula-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`side_a`,`side_b`,`side_c`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/heron-s-formula-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Heron's Formula Calculator API do? + Calculate triangle area from three side lengths using Heron's formula. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Heron's Formula Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Heron's Formula Calculator API require? + Required fields: side_a, side_b, side_c. Full schema at /v1/openapi.json. Is the Heron's Formula Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Heron's Formula Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `heron-s-formula-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`heron-s-formula-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="heron-s-formula-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Hypotenuse Calculator API # Hypotenuse Calculator API math 1 credit / call v2026-04-22 Calculate the hypotenuse and basic right-triangle measures from two legs. One POST adds Hypotenuse Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hypotenuse Calculator on miniwebtool.com →](https://miniwebtool.com/hypotenuse-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hypotenuse-calculator/run ``` ### Request body Field Type Req. `leg_a` `float` ✓ `leg_b` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hypotenuse-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) leg_a (float) * leg_b (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hypotenuse-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hypotenuse-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"leg_a":3,"leg_b":4,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hypotenuse-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'leg_a': 3, 'leg_b': 4, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hypotenuse-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"leg_a":3,"leg_b":4,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'leg_a' => 3, 'leg_b' => 4, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hypotenuse-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'leg_a' => 3, 'leg_b' => 4, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "leg_a": 3, "leg_b": 4, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hypotenuse-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hypotenuse-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"leg_a\":3,\"leg_b\":4,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hypotenuse-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`leg_a`,`leg_b`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hypotenuse-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hypotenuse Calculator API do? + Calculate the hypotenuse and basic right-triangle measures from two legs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hypotenuse Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hypotenuse Calculator API require? + Required fields: leg_a, leg_b. Full schema at /v1/openapi.json. Is the Hypotenuse Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hypotenuse Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hypotenuse-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hypotenuse-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hypotenuse-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Midpoint Calculator API # Midpoint Calculator API math 1 credit / call v2026-04-22 Find the midpoint, distance, slope, and angle between two points. One POST adds Midpoint Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Midpoint Calculator on miniwebtool.com →](https://miniwebtool.com/midpoint-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/midpoint-calculator/run ``` ### Request body Field Type Req. `x1` `float` — `y1` `float` — `x2` `float` — `y2` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "midpoint-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x1 (float) y1 (float) x2 (float) y2 (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`midpoint-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/midpoint-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/midpoint-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/midpoint-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/midpoint-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/midpoint-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/midpoint-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call midpoint-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/midpoint-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Midpoint Calculator API do? + Find the midpoint, distance, slope, and angle between two points. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Midpoint Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Midpoint Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Midpoint Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Midpoint Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `midpoint-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`midpoint-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="midpoint-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Point to Plane Distance Calculator API # Point to Plane Distance Calculator API math 1 credit / call v2026-04-22 Calculate the distance from a 3D point to a plane Ax + By + Cz + D = 0. One POST adds Point to Plane Distance Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Point to Plane Distance Calculator on miniwebtool.com →](https://miniwebtool.com/point-to-plane-distance-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/point-to-plane-distance-calculator/run ``` ### Request body Field Type Req. `x0` `float` — `y0` `float` — `z0` `float` — `a` `float` — `b` `float` — `c` `float` — `d` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "point-to-plane-distance-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x0 (float) y0 (float) z0 (float) a (float) b (float) c (float) d (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`point-to-plane-distance-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/point-to-plane-distance-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/point-to-plane-distance-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/point-to-plane-distance-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/point-to-plane-distance-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/point-to-plane-distance-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/point-to-plane-distance-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call point-to-plane-distance-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/point-to-plane-distance-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Point to Plane Distance Calculator API do? + Calculate the distance from a 3D point to a plane Ax + By + Cz + D = 0. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Point to Plane Distance Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Point to Plane Distance Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Point to Plane Distance Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Point to Plane Distance Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `point-to-plane-distance-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`point-to-plane-distance-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="point-to-plane-distance-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Polygon Diagonals Calculator API # Polygon Diagonals Calculator API math 1 credit / call v2026-04-22 Calculate the number of diagonals and angle facts for a polygon. One POST adds Polygon Diagonals Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Polygon Diagonals Calculator on miniwebtool.com →](https://miniwebtool.com/polygon-diagonals-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/polygon-diagonals-calculator/run ``` ### Request body Field Type Req. `sides` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "polygon-diagonals-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) sides (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`polygon-diagonals-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/polygon-diagonals-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/polygon-diagonals-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/polygon-diagonals-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/polygon-diagonals-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/polygon-diagonals-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/polygon-diagonals-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call polygon-diagonals-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/polygon-diagonals-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Polygon Diagonals Calculator API do? + Calculate the number of diagonals and angle facts for a polygon. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Polygon Diagonals Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Polygon Diagonals Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Polygon Diagonals Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Polygon Diagonals Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `polygon-diagonals-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`polygon-diagonals-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="polygon-diagonals-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Pythagorean Theorem Calculator API # Pythagorean Theorem Calculator API math 1 credit / call v2026-04-22 Find a missing right-triangle side and calculate area, perimeter, and angles. One POST adds Pythagorean Theorem Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Pythagorean Theorem Calculator on miniwebtool.com →](https://miniwebtool.com/pythagorean-theorem-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/pythagorean-theorem-calculator/run ``` ### Request body Field Type Req. `solve_for` a | b | c `str` — `side_a` `float | None` — `side_b` `float | None` — `side_c` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "pythagorean-theorem-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) a b c a | b | c side_a (float | None) side_b (float | None) side_c (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`pythagorean-theorem-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/pythagorean-theorem-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"c","side_a":3,"side_b":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/pythagorean-theorem-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'c', 'side_a': 3, 'side_b': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/pythagorean-theorem-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"c","side_a":3,"side_b":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'c', 'side_a' => 3, 'side_b' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/pythagorean-theorem-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'c', 'side_a' => 3, 'side_b' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "c", "side_a": 3, "side_b": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/pythagorean-theorem-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/pythagorean-theorem-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"c\",\"side_a\":3,\"side_b\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call pythagorean-theorem-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/pythagorean-theorem-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Pythagorean Theorem Calculator API do? + Find a missing right-triangle side and calculate area, perimeter, and angles. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Pythagorean Theorem Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Pythagorean Theorem Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Pythagorean Theorem Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Pythagorean Theorem Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `pythagorean-theorem-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`pythagorean-theorem-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="pythagorean-theorem-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Rectangle Calculator API # Rectangle Calculator API math 1 credit / call v2026-04-22 Calculate rectangle area, perimeter, diagonal, radii, and aspect ratio from two known values. One POST adds Rectangle Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Rectangle Calculator on miniwebtool.com →](https://miniwebtool.com/rectangle-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/rectangle-calculator/run ``` ### Request body Field Type Req. `calc_mode` length_width | area_length | area_width | perimeter_length | perimeter_width | diagonal_length | diagonal_width `str` — `input1` `float` — `input2` `float` — `unit` unitless | mm | cm | m | km | in | ft | yd | mi `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "rectangle-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calc_mode (str) length_width area_length area_width perimeter_length perimeter_width diagonal_length diagonal_width length_width | area_length | area_width | perimeter_length | perimeter_width | diagonal_length | diagonal_width input1 (float) input2 (float) unit (str) unitless mm cm m km in ft yd mi unitless | mm | cm | m | km | in | ft | yd | mi precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`rectangle-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/rectangle-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"length_width","input1":8,"input2":6,"unit":"unitless","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/rectangle-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'length_width', 'input1': 8, 'input2': 6, 'unit': 'unitless', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/rectangle-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"length_width","input1":8,"input2":6,"unit":"unitless","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'length_width', 'input1' => 8, 'input2' => 6, 'unit' => 'unitless', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/rectangle-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'length_width', 'input1' => 8, 'input2' => 6, 'unit' => 'unitless', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "length_width", "input1": 8, "input2": 6, "unit": "unitless", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/rectangle-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/rectangle-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"length_width\",\"input1\":8,\"input2\":6,\"unit\":\"unitless\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call rectangle-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/rectangle-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Rectangle Calculator API do? + Calculate rectangle area, perimeter, diagonal, radii, and aspect ratio from two known values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Rectangle Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Rectangle Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Rectangle Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Rectangle Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `rectangle-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`rectangle-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="rectangle-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Regular Polygon Calculator API # Regular Polygon Calculator API math 1 credit / call v2026-04-22 Calculate regular polygon area, perimeter, apothem, circumradius, angles, and diagonal count. One POST adds Regular Polygon Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Regular Polygon Calculator on miniwebtool.com →](https://miniwebtool.com/regular-polygon-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/regular-polygon-calculator/run ``` ### Request body Field Type Req. `sides` `int` — `side_length` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "regular-polygon-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) sides (int) side_length (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`regular-polygon-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/regular-polygon-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"sides":6,"side_length":2,"precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/regular-polygon-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'sides': 6, 'side_length': 2, 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/regular-polygon-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"sides":6,"side_length":2,"precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'sides' => 6, 'side_length' => 2, 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/regular-polygon-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'sides' => 6, 'side_length' => 2, 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "sides": 6, "side_length": 2, "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/regular-polygon-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/regular-polygon-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"sides\":6,\"side_length\":2,\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call regular-polygon-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/regular-polygon-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Regular Polygon Calculator API do? + Calculate regular polygon area, perimeter, apothem, circumradius, angles, and diagonal count. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Regular Polygon Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Regular Polygon Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Regular Polygon Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Regular Polygon Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `regular-polygon-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`regular-polygon-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="regular-polygon-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Slope Calculator API # Slope Calculator API math 1 credit / call v2026-04-22 Calculate slope, angle, intercepts, and line equation from two points. One POST adds Slope Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Slope Calculator on miniwebtool.com →](https://miniwebtool.com/slope-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/slope-calculator/run ``` ### Request body Field Type Req. `x1` `float` ✓ `y1` `float` ✓ `x2` `float` ✓ `y2` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "slope-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x1 (float) * y1 (float) * x2 (float) * y2 (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`slope-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/slope-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"x1":1,"y1":2,"x2":5,"y2":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/slope-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'x1': 1, 'y1': 2, 'x2': 5, 'y2': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/slope-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"x1":1,"y1":2,"x2":5,"y2":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'x1' => 1, 'y1' => 2, 'x2' => 5, 'y2' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/slope-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'x1' => 1, 'y1' => 2, 'x2' => 5, 'y2' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "x1": 1, "y1": 2, "x2": 5, "y2": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/slope-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/slope-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"x1\":1,\"y1\":2,\"x2\":5,\"y2\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call slope-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`x1`,`y1`,`x2`,`y2`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/slope-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Slope Calculator API do? + Calculate slope, angle, intercepts, and line equation from two points. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Slope Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Slope Calculator API require? + Required fields: x1, y1, x2, y2. Full schema at /v1/openapi.json. Is the Slope Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Slope Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `slope-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`slope-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="slope-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Square Calculator API # Square Calculator API math 1 credit / call v2026-04-22 Calculate square side length, area, perimeter, diagonal, inradius, and circumradius from one known value. One POST adds Square Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Square Calculator on miniwebtool.com →](https://miniwebtool.com/square-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/square-calculator/run ``` ### Request body Field Type Req. `input_type` side | area | perimeter | diagonal `str` — `value` `float` — `unit` unitless | mm | cm | m | km | in | ft | yd | mi `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "square-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) input_type (str) side area perimeter diagonal side | area | perimeter | diagonal value (float) unit (str) unitless mm cm m km in ft yd mi unitless | mm | cm | m | km | in | ft | yd | mi precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`square-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/square-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"input_type":"side","value":5,"unit":"unitless","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/square-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'input_type': 'side', 'value': 5, 'unit': 'unitless', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/square-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"input_type":"side","value":5,"unit":"unitless","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'input_type' => 'side', 'value' => 5, 'unit' => 'unitless', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/square-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'input_type' => 'side', 'value' => 5, 'unit' => 'unitless', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "input_type": "side", "value": 5, "unit": "unitless", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/square-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/square-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"input_type\":\"side\",\"value\":5,\"unit\":\"unitless\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call square-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/square-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Square Calculator API do? + Calculate square side length, area, perimeter, diagonal, inradius, and circumradius from one known value. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Square Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Square Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Square Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Square Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `square-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`square-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="square-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Torus Calculator API # Torus Calculator API math 1 credit / call v2026-04-22 Calculate torus volume, surface area, and key radii. One POST adds Torus Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Torus Calculator on miniwebtool.com →](https://miniwebtool.com/torus-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/torus-calculator/run ``` ### Request body Field Type Req. `major_radius` `float` ✓ `minor_radius` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "torus-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) major_radius (float) * minor_radius (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`torus-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/torus-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"major_radius":5,"minor_radius":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/torus-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'major_radius': 5, 'minor_radius': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/torus-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"major_radius":5,"minor_radius":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'major_radius' => 5, 'minor_radius' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/torus-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'major_radius' => 5, 'minor_radius' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "major_radius": 5, "minor_radius": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/torus-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/torus-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"major_radius\":5,\"minor_radius\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call torus-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`major_radius`,`minor_radius`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/torus-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Torus Calculator API do? + Calculate torus volume, surface area, and key radii. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Torus Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Torus Calculator API require? + Required fields: major_radius, minor_radius. Full schema at /v1/openapi.json. Is the Torus Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Torus Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `torus-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`torus-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="torus-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Aquarium Substrate Calculator API # Aquarium Substrate Calculator API math 1 credit / call v2026-04-22 Estimate aquarium substrate volume, weight, and bag counts. One POST adds Aquarium Substrate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Aquarium Substrate Calculator on miniwebtool.com →](https://miniwebtool.com/aquarium-substrate-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/aquarium-substrate-calculator/run ``` ### Request body Field Type Req. `shape` rectangular | bow | cylindrical `str` — `unit` inches | cm `str` — `depth` `float` — `substrate` gravel | sand | soil | coral | fluorite | custom `str` — `length` `float | None` — `width` `float | None` — `diameter` `float | None` — `custom_density_lb_ft3` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "aquarium-substrate-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) shape (str) rectangular bow cylindrical rectangular | bow | cylindrical unit (str) inches cm inches | cm depth (float) substrate (str) gravel sand soil coral fluorite custom gravel | sand | soil | coral | fluorite | custom length (float | None) width (float | None) diameter (float | None) custom_density_lb_ft3 (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`aquarium-substrate-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/aquarium-substrate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/aquarium-substrate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/aquarium-substrate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/aquarium-substrate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/aquarium-substrate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/aquarium-substrate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call aquarium-substrate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/aquarium-substrate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Aquarium Substrate Calculator API do? + Estimate aquarium substrate volume, weight, and bag counts. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Aquarium Substrate Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Aquarium Substrate Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Aquarium Substrate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Aquarium Substrate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `aquarium-substrate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`aquarium-substrate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="aquarium-substrate-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Feet and Inches to Cm Converter API # Feet and Inches to Cm Converter API math 1 credit / call v2026-04-22 Convert feet and inches to total inches, centimeters, meters, and height comparison percentages. One POST adds Feet and Inches to Cm Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Feet and Inches to Cm Converter on miniwebtool.com →](https://miniwebtool.com/feet-and-inches-to-cm-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/feet-and-inches-to-cm-converter/run ``` ### Request body Field Type Req. `feet` `float` — `inches` `float` — `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "feet-and-inches-to-cm-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) feet (float) inches (float) decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`feet-and-inches-to-cm-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/feet-and-inches-to-cm-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"feet":5,"inches":10,"decimal_places":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/feet-and-inches-to-cm-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'feet': 5, 'inches': 10, 'decimal_places': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/feet-and-inches-to-cm-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"feet":5,"inches":10,"decimal_places":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'feet' => 5, 'inches' => 10, 'decimal_places' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/feet-and-inches-to-cm-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'feet' => 5, 'inches' => 10, 'decimal_places' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "feet": 5, "inches": 10, "decimal_places": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/feet-and-inches-to-cm-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/feet-and-inches-to-cm-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"feet\":5,\"inches\":10,\"decimal_places\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call feet-and-inches-to-cm-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/feet-and-inches-to-cm-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Feet and Inches to Cm Converter API do? + Convert feet and inches to total inches, centimeters, meters, and height comparison percentages. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Feet and Inches to Cm Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Feet and Inches to Cm Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Feet and Inches to Cm Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Feet and Inches to Cm Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `feet-and-inches-to-cm-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`feet-and-inches-to-cm-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="feet-and-inches-to-cm-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Christmas Tree Calculator API # Christmas Tree Calculator API math 1 credit / call v2026-04-22 Check tree height fit and estimate lights, ornaments, and garland. One POST adds Christmas Tree Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Christmas Tree Calculator on miniwebtool.com →](https://miniwebtool.com/christmas-tree-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/christmas-tree-calculator/run ``` ### Request body Field Type Req. `tree_height_feet` `float` — `ceiling_height_feet` `float` — `topper_height_inches` `float` — `stand_height_inches` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "christmas-tree-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) tree_height_feet (float) ceiling_height_feet (float) topper_height_inches (float) stand_height_inches (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`christmas-tree-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/christmas-tree-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/christmas-tree-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/christmas-tree-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/christmas-tree-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/christmas-tree-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/christmas-tree-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call christmas-tree-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/christmas-tree-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Christmas Tree Calculator API do? + Check tree height fit and estimate lights, ornaments, and garland. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Christmas Tree Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Christmas Tree Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Christmas Tree Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Christmas Tree Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `christmas-tree-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`christmas-tree-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="christmas-tree-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Angle Between Vectors Calculator API # Angle Between Vectors Calculator API math 1 credit / call v2026-04-22 Calculate the angle between two 2D or 3D vectors. One POST adds Angle Between Vectors Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Angle Between Vectors Calculator on miniwebtool.com →](https://miniwebtool.com/angle-between-vectors-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/angle-between-vectors-calculator/run ``` ### Request body Field Type Req. `a` `list` ✓ `b` `list` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "angle-between-vectors-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (list) * b (list) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`angle-between-vectors-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/angle-between-vectors-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":[1,0,0],"b":[0,1,0]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/angle-between-vectors-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': [1, 0, 0], 'b': [0, 1, 0]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/angle-between-vectors-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":[1,0,0],"b":[0,1,0]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => '[1, 0, 0]', 'b' => '[0, 1, 0]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/angle-between-vectors-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => '[1, 0, 0]', 'b' => '[0, 1, 0]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": "[1, 0, 0]", "b": "[0, 1, 0]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/angle-between-vectors-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/angle-between-vectors-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":[1,0,0],\"b\":[0,1,0]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call angle-between-vectors-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`a`,`b`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/angle-between-vectors-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Angle Between Vectors Calculator API do? + Calculate the angle between two 2D or 3D vectors. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Angle Between Vectors Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Angle Between Vectors Calculator API require? + Required fields: a, b. Full schema at /v1/openapi.json. Is the Angle Between Vectors Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Angle Between Vectors Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `angle-between-vectors-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`angle-between-vectors-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="angle-between-vectors-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Characteristic Polynomial Calculator API # Characteristic Polynomial Calculator API math 1 credit / call v2026-04-22 Calculate characteristic polynomial coefficients for a square matrix. One POST adds Characteristic Polynomial Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Characteristic Polynomial Calculator on miniwebtool.com →](https://miniwebtool.com/characteristic-polynomial-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/characteristic-polynomial-calculator/run ``` ### Request body Field Type Req. `size` `int` — `matrix_data` `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "characteristic-polynomial-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) size (int) matrix_data (str) 2,1;1,2 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`characteristic-polynomial-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/characteristic-polynomial-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"size":2,"matrix_data":"2,1;1,2","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/characteristic-polynomial-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'size': 2, 'matrix_data': '2,1;1,2', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/characteristic-polynomial-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"size":2,"matrix_data":"2,1;1,2","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'size' => 2, 'matrix_data' => '2,1;1,2', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/characteristic-polynomial-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'size' => 2, 'matrix_data' => '2,1;1,2', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "size": 2, "matrix_data": "2,1;1,2", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/characteristic-polynomial-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/characteristic-polynomial-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"size\":2,\"matrix_data\":\"2,1;1,2\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call characteristic-polynomial-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/characteristic-polynomial-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Characteristic Polynomial Calculator API do? + Calculate characteristic polynomial coefficients for a square matrix. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Characteristic Polynomial Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Characteristic Polynomial Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Characteristic Polynomial Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Characteristic Polynomial Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `characteristic-polynomial-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`characteristic-polynomial-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="characteristic-polynomial-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cholesky Decomposition Calculator API # Cholesky Decomposition Calculator API math 1 credit / call v2026-04-22 Decompose a symmetric positive-definite matrix into A = L L^T. One POST adds Cholesky Decomposition Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cholesky Decomposition Calculator on miniwebtool.com →](https://miniwebtool.com/cholesky-decomposition-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cholesky-decomposition-calculator/run ``` ### Request body Field Type Req. `size` `int` — `matrix_data` `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cholesky-decomposition-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) size (int) matrix_data (str) 4,12,-16;12,37,-43;-16,-43,98 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cholesky-decomposition-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cholesky-decomposition-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"size":3,"matrix_data":"4,12,-16;12,37,-43;-16,-43,98","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cholesky-decomposition-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'size': 3, 'matrix_data': '4,12,-16;12,37,-43;-16,-43,98', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cholesky-decomposition-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"size":3,"matrix_data":"4,12,-16;12,37,-43;-16,-43,98","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'size' => 3, 'matrix_data' => '4,12,-16;12,37,-43;-16,-43,98', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cholesky-decomposition-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'size' => 3, 'matrix_data' => '4,12,-16;12,37,-43;-16,-43,98', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "size": 3, "matrix_data": "4,12,-16;12,37,-43;-16,-43,98", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cholesky-decomposition-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cholesky-decomposition-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"size\":3,\"matrix_data\":\"4,12,-16;12,37,-43;-16,-43,98\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cholesky-decomposition-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cholesky-decomposition-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cholesky Decomposition Calculator API do? + Decompose a symmetric positive-definite matrix into A = L L^T. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cholesky Decomposition Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cholesky Decomposition Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cholesky Decomposition Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cholesky Decomposition Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cholesky-decomposition-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cholesky-decomposition-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cholesky-decomposition-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Column Space Calculator API # Column Space Calculator API math 1 credit / call v2026-04-22 Find matrix pivot columns, rank, nullity, RREF, and a column-space basis. One POST adds Column Space Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Column Space Calculator on miniwebtool.com →](https://miniwebtool.com/column-space-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/column-space-calculator/run ``` ### Request body Field Type Req. `rows` `int` — `cols` `int` — `matrix_data` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "column-space-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) rows (int) cols (int) matrix_data (str) 1,2,3;2,4,6;1,1,1 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`column-space-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/column-space-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"rows":3,"cols":3,"matrix_data":"1,2,3;2,4,6;1,1,1"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/column-space-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'rows': 3, 'cols': 3, 'matrix_data': '1,2,3;2,4,6;1,1,1'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/column-space-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"rows":3,"cols":3,"matrix_data":"1,2,3;2,4,6;1,1,1"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'rows' => 3, 'cols' => 3, 'matrix_data' => '1,2,3;2,4,6;1,1,1' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/column-space-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'rows' => 3, 'cols' => 3, 'matrix_data' => '1,2,3;2,4,6;1,1,1' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "rows": 3, "cols": 3, "matrix_data": "1,2,3;2,4,6;1,1,1", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/column-space-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/column-space-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"rows\":3,\"cols\":3,\"matrix_data\":\"1,2,3;2,4,6;1,1,1\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call column-space-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/column-space-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Column Space Calculator API do? + Find matrix pivot columns, rank, nullity, RREF, and a column-space basis. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Column Space Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Column Space Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Column Space Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Column Space Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `column-space-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`column-space-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="column-space-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cramer's Rule Calculator API # Cramer's Rule Calculator API math 1 credit / call v2026-04-22 Solve 2x2 or 3x3 linear systems with Cramer's rule. One POST adds Cramer's Rule Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cramer's Rule Calculator on miniwebtool.com →](https://miniwebtool.com/cramer-s-rule-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cramer-s-rule-calculator/run ``` ### Request body Field Type Req. `size` `int` — `coefficients` `str` — `constants` `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cramer-s-rule-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) size (int) coefficients (str) 2,1;5,3 constants (str) 11,29 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cramer-s-rule-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cramer-s-rule-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"size":2,"coefficients":"2,1;5,3","constants":"11,29","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cramer-s-rule-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'size': 2, 'coefficients': '2,1;5,3', 'constants': '11,29', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cramer-s-rule-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"size":2,"coefficients":"2,1;5,3","constants":"11,29","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'size' => 2, 'coefficients' => '2,1;5,3', 'constants' => '11,29', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cramer-s-rule-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'size' => 2, 'coefficients' => '2,1;5,3', 'constants' => '11,29', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "size": 2, "coefficients": "2,1;5,3", "constants": "11,29", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cramer-s-rule-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cramer-s-rule-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"size\":2,\"coefficients\":\"2,1;5,3\",\"constants\":\"11,29\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cramer-s-rule-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cramer-s-rule-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cramer's Rule Calculator API do? + Solve 2x2 or 3x3 linear systems with Cramer's rule. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cramer's Rule Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cramer's Rule Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cramer's Rule Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cramer's Rule Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cramer-s-rule-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cramer-s-rule-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cramer-s-rule-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cross Product Calculator API # Cross Product Calculator API math 1 credit / call v2026-04-22 Calculate the 3D cross product, magnitude, areas, and angle. One POST adds Cross Product Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cross Product Calculator on miniwebtool.com →](https://miniwebtool.com/cross-product-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cross-product-calculator/run ``` ### Request body Field Type Req. `a` `list` ✓ `b` `list` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cross-product-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (list) * b (list) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cross-product-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cross-product-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":[1,2,3],"b":[4,5,6]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cross-product-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': [1, 2, 3], 'b': [4, 5, 6]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cross-product-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":[1,2,3],"b":[4,5,6]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => '[1, 2, 3]', 'b' => '[4, 5, 6]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cross-product-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => '[1, 2, 3]', 'b' => '[4, 5, 6]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": "[1, 2, 3]", "b": "[4, 5, 6]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cross-product-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cross-product-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":[1,2,3],\"b\":[4,5,6]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cross-product-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`a`,`b`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cross-product-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cross Product Calculator API do? + Calculate the 3D cross product, magnitude, areas, and angle. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cross Product Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cross Product Calculator API require? + Required fields: a, b. Full schema at /v1/openapi.json. Is the Cross Product Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cross Product Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cross-product-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cross-product-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cross-product-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Determinant Calculator API # Determinant Calculator API math 1 credit / call v2026-04-22 Calculate the determinant, trace, rank, and invertibility of a square matrix. One POST adds Determinant Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Determinant Calculator on miniwebtool.com →](https://miniwebtool.com/determinant-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/determinant-calculator/run ``` ### Request body Field Type Req. `matrix_data` `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "determinant-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) matrix_data (str) 1,2;3,4 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`determinant-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/determinant-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"matrix_data":"1,2;3,4","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/determinant-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'matrix_data': '1,2;3,4', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/determinant-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"matrix_data":"1,2;3,4","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'matrix_data' => '1,2;3,4', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/determinant-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'matrix_data' => '1,2;3,4', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "matrix_data": "1,2;3,4", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/determinant-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/determinant-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"matrix_data\":\"1,2;3,4\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call determinant-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/determinant-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Determinant Calculator API do? + Calculate the determinant, trace, rank, and invertibility of a square matrix. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Determinant Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Determinant Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Determinant Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Determinant Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `determinant-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`determinant-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="determinant-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Dot Product Calculator API # Dot Product Calculator API math 1 credit / call v2026-04-22 Calculate the dot product, magnitudes, angle, and vector projection. One POST adds Dot Product Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Dot Product Calculator on miniwebtool.com →](https://miniwebtool.com/dot-product-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/dot-product-calculator/run ``` ### Request body Field Type Req. `a` `list` ✓ `b` `list` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "dot-product-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) a (list) * b (list) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`dot-product-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/dot-product-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"a":[1,3,-5],"b":[4,-2,-1]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/dot-product-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'a': [1, 3, -5], 'b': [4, -2, -1]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/dot-product-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"a":[1,3,-5],"b":[4,-2,-1]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'a' => '[1, 3, -5]', 'b' => '[4, -2, -1]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/dot-product-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'a' => '[1, 3, -5]', 'b' => '[4, -2, -1]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "a": "[1, 3, -5]", "b": "[4, -2, -1]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/dot-product-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/dot-product-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"a\":[1,3,-5],\"b\":[4,-2,-1]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call dot-product-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`a`,`b`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/dot-product-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Dot Product Calculator API do? + Calculate the dot product, magnitudes, angle, and vector projection. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Dot Product Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Dot Product Calculator API require? + Required fields: a, b. Full schema at /v1/openapi.json. Is the Dot Product Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Dot Product Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `dot-product-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`dot-product-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="dot-product-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Unit Vector Calculator API # Unit Vector Calculator API math 1 credit / call v2026-04-22 Normalize a vector and return its unit vector. One POST adds Unit Vector Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Unit Vector Calculator on miniwebtool.com →](https://miniwebtool.com/unit-vector-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/unit-vector-calculator/run ``` ### Request body Field Type Req. `components` `list` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "unit-vector-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) components (list) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`unit-vector-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/unit-vector-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"components":[3,4]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/unit-vector-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'components': [3, 4]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/unit-vector-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"components":[3,4]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'components' => '[3, 4]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/unit-vector-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'components' => '[3, 4]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "components": "[3, 4]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/unit-vector-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/unit-vector-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"components\":[3,4]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call unit-vector-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`components`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/unit-vector-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Unit Vector Calculator API do? + Normalize a vector and return its unit vector. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Unit Vector Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Unit Vector Calculator API require? + Required fields: components. Full schema at /v1/openapi.json. Is the Unit Vector Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Unit Vector Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `unit-vector-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`unit-vector-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="unit-vector-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Vector Magnitude Calculator API # Vector Magnitude Calculator API math 1 credit / call v2026-04-22 Calculate the Euclidean magnitude and unit vector for any vector. One POST adds Vector Magnitude Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Vector Magnitude Calculator on miniwebtool.com →](https://miniwebtool.com/vector-magnitude-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/vector-magnitude-calculator/run ``` ### Request body Field Type Req. `components` `list` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "vector-magnitude-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) components (list) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`vector-magnitude-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/vector-magnitude-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"components":[2,3,6]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/vector-magnitude-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'components': [2, 3, 6]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/vector-magnitude-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"components":[2,3,6]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'components' => '[2, 3, 6]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/vector-magnitude-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'components' => '[2, 3, 6]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "components": "[2, 3, 6]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/vector-magnitude-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/vector-magnitude-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"components\":[2,3,6]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call vector-magnitude-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`components`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/vector-magnitude-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Vector Magnitude Calculator API do? + Calculate the Euclidean magnitude and unit vector for any vector. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Vector Magnitude Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Vector Magnitude Calculator API require? + Required fields: components. Full schema at /v1/openapi.json. Is the Vector Magnitude Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Vector Magnitude Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `vector-magnitude-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`vector-magnitude-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="vector-magnitude-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Vector Projection Calculator API # Vector Projection Calculator API math 1 credit / call v2026-04-22 Project one vector onto another and compute the orthogonal component. One POST adds Vector Projection Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Vector Projection Calculator on miniwebtool.com →](https://miniwebtool.com/vector-projection-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/vector-projection-calculator/run ``` ### Request body Field Type Req. `vector_a` `list` ✓ `vector_b` `list` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "vector-projection-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) vector_a (list) * vector_b (list) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`vector-projection-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/vector-projection-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"vector_a":[3,4],"vector_b":[1,0]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/vector-projection-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'vector_a': [3, 4], 'vector_b': [1, 0]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/vector-projection-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"vector_a":[3,4],"vector_b":[1,0]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'vector_a' => '[3, 4]', 'vector_b' => '[1, 0]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/vector-projection-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'vector_a' => '[3, 4]', 'vector_b' => '[1, 0]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "vector_a": "[3, 4]", "vector_b": "[1, 0]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/vector-projection-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/vector-projection-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"vector_a\":[3,4],\"vector_b\":[1,0]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call vector-projection-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`vector_a`,`vector_b`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/vector-projection-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Vector Projection Calculator API do? + Project one vector onto another and compute the orthogonal component. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Vector Projection Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Vector Projection Calculator API require? + Required fields: vector_a, vector_b. Full schema at /v1/openapi.json. Is the Vector Projection Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Vector Projection Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `vector-projection-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`vector-projection-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="vector-projection-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Log Base 10 Calculator API # Log Base 10 Calculator API math 1 credit / call v2026-04-22 Calculate common logarithms with bounds and an antilog check. One POST adds Log Base 10 Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Log Base 10 Calculator on miniwebtool.com →](https://miniwebtool.com/log-base-10-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/log-base-10-calculator/run ``` ### Request body Field Type Req. `number` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "log-base-10-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`log-base-10-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/log-base-10-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/log-base-10-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/log-base-10-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/log-base-10-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/log-base-10-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/log-base-10-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call log-base-10-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/log-base-10-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Log Base 10 Calculator API do? + Calculate common logarithms with bounds and an antilog check. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Log Base 10 Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Log Base 10 Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Log Base 10 Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Log Base 10 Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `log-base-10-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`log-base-10-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="log-base-10-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Log Base 2 Calculator API # Log Base 2 Calculator API math 1 credit / call v2026-04-22 Calculate binary logarithms and detect exact powers of two. One POST adds Log Base 2 Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Log Base 2 Calculator on miniwebtool.com →](https://miniwebtool.com/log-base-2-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/log-base-2-calculator/run ``` ### Request body Field Type Req. `number` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "log-base-2-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`log-base-2-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/log-base-2-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/log-base-2-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/log-base-2-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/log-base-2-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/log-base-2-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/log-base-2-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call log-base-2-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/log-base-2-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Log Base 2 Calculator API do? + Calculate binary logarithms and detect exact powers of two. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Log Base 2 Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Log Base 2 Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Log Base 2 Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Log Base 2 Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `log-base-2-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`log-base-2-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="log-base-2-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Base Converter API # Base Converter API math 1 credit / call v2026-04-22 Convert integers between bases 2 through 36. One POST adds Base Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Base Converter on miniwebtool.com →](https://miniwebtool.com/base-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/base-converter/run ``` ### Request body Field Type Req. `number` `str` ✓ `from_base` `int` ✓ `to_base` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "base-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (str) * 101101 from_base (int) * to_base (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`base-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/base-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":"101101","from_base":2,"to_base":16}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/base-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': '101101', 'from_base': 2, 'to_base': 16}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/base-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":"101101","from_base":2,"to_base":16}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => '101101', 'from_base' => 2, 'to_base' => 16 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/base-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => '101101', 'from_base' => 2, 'to_base' => 16 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": "101101", "from_base": 2, "to_base": 16, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/base-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/base-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":\"101101\",\"from_base\":2,\"to_base\":16}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call base-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number`,`from_base`,`to_base`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/base-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Base Converter API do? + Convert integers between bases 2 through 36. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Base Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Base Converter API require? + Required fields: number, from_base, to_base. Full schema at /v1/openapi.json. Is the Base Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Base Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `base-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`base-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="base-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Base-N Calculator API # Base-N Calculator API math 1 credit / call v2026-04-22 Convert an integer from any base 2 through 36 to every other base. One POST adds Base-N Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Base-N Calculator on miniwebtool.com →](https://miniwebtool.com/base-n-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/base-n-calculator/run ``` ### Request body Field Type Req. `number` `str` — `base_from` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "base-n-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (str) 100 base_from (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`base-n-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/base-n-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":"100","base_from":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/base-n-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': '100', 'base_from': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/base-n-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":"100","base_from":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => '100', 'base_from' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/base-n-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => '100', 'base_from' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": "100", "base_from": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/base-n-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/base-n-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":\"100\",\"base_from\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call base-n-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/base-n-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Base-N Calculator API do? + Convert an integer from any base 2 through 36 to every other base. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Base-N Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Base-N Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Base-N Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Base-N Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `base-n-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`base-n-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="base-n-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - BCD to Binary Converter API # BCD to Binary Converter API math 1 credit / call v2026-04-22 Convert 8421 BCD nibbles to decimal and binary. One POST adds BCD to Binary Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the BCD to Binary Converter on miniwebtool.com →](https://miniwebtool.com/bcd-to-binary-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bcd-to-binary-converter/run ``` ### Request body Field Type Req. `bcd` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bcd-to-binary-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) bcd (str) * 0010 0101 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bcd-to-binary-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bcd-to-binary-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"bcd":"0010 0101"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bcd-to-binary-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'bcd': '0010 0101'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bcd-to-binary-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"bcd":"0010 0101"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'bcd' => '0010 0101' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bcd-to-binary-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'bcd' => '0010 0101' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "bcd": "0010 0101", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bcd-to-binary-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bcd-to-binary-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"bcd\":\"0010 0101\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bcd-to-binary-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`bcd`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bcd-to-binary-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the BCD to Binary Converter API do? + Convert 8421 BCD nibbles to decimal and binary. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to BCD to Binary Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the BCD to Binary Converter API require? + Required fields: bcd. Full schema at /v1/openapi.json. Is the BCD to Binary Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the BCD to Binary Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bcd-to-binary-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bcd-to-binary-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bcd-to-binary-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - BCD to Decimal Converter API # BCD to Decimal Converter API math 1 credit / call v2026-04-22 Convert binary-coded decimal nibbles to a decimal integer. One POST adds BCD to Decimal Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the BCD to Decimal Converter on miniwebtool.com →](https://miniwebtool.com/bcd-to-decimal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bcd-to-decimal-converter/run ``` ### Request body Field Type Req. `bcd` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bcd-to-decimal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) bcd (str) * 0101 0110 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bcd-to-decimal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bcd-to-decimal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"bcd":"0101 0110"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bcd-to-decimal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'bcd': '0101 0110'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bcd-to-decimal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"bcd":"0101 0110"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'bcd' => '0101 0110' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bcd-to-decimal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'bcd' => '0101 0110' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "bcd": "0101 0110", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bcd-to-decimal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bcd-to-decimal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"bcd\":\"0101 0110\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bcd-to-decimal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`bcd`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bcd-to-decimal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the BCD to Decimal Converter API do? + Convert binary-coded decimal nibbles to a decimal integer. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to BCD to Decimal Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the BCD to Decimal Converter API require? + Required fields: bcd. Full schema at /v1/openapi.json. Is the BCD to Decimal Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the BCD to Decimal Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bcd-to-decimal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bcd-to-decimal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bcd-to-decimal-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - BCD to Hex Converter API # BCD to Hex Converter API math 1 credit / call v2026-04-22 Convert BCD to hexadecimal or hexadecimal to BCD. One POST adds BCD to Hex Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the BCD to Hex Converter on miniwebtool.com →](https://miniwebtool.com/bcd-to-hex-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bcd-to-hex-converter/run ``` ### Request body Field Type Req. `value` `str` ✓ `direction` bcd_to_hex | hex_to_bcd `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bcd-to-hex-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (str) * 0001 0010 0011 direction (str) bcd_to_hex hex_to_bcd bcd_to_hex | hex_to_bcd Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bcd-to-hex-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bcd-to-hex-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":"0001 0010 0011","direction":"bcd_to_hex"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bcd-to-hex-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': '0001 0010 0011', 'direction': 'bcd_to_hex'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bcd-to-hex-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":"0001 0010 0011","direction":"bcd_to_hex"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => '0001 0010 0011', 'direction' => 'bcd_to_hex' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bcd-to-hex-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => '0001 0010 0011', 'direction' => 'bcd_to_hex' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": "0001 0010 0011", "direction": "bcd_to_hex", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bcd-to-hex-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bcd-to-hex-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":\"0001 0010 0011\",\"direction\":\"bcd_to_hex\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bcd-to-hex-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bcd-to-hex-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the BCD to Hex Converter API do? + Convert BCD to hexadecimal or hexadecimal to BCD. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to BCD to Hex Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the BCD to Hex Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the BCD to Hex Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the BCD to Hex Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bcd-to-hex-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bcd-to-hex-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bcd-to-hex-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Binary Calculator API # Binary Calculator API math 1 credit / call v2026-04-22 Run binary arithmetic and bitwise operations. One POST adds Binary Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Binary Calculator on miniwebtool.com →](https://miniwebtool.com/binary-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/binary-calculator/run ``` ### Request body Field Type Req. `number1` `str` ✓ `operation` add | sub | mul | div | mod | and | or | xor | not | shl | shr `str` — `number2` `str | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "binary-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number1 (str) * 1010 operation (str) add sub mul div mod and or xor not shl shr add | sub | mul | div | mod | and | or | xor | not | shl | shr number2 (str | None) 1100 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`binary-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/binary-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number1":"1010","operation":"add","number2":"1100"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/binary-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number1': '1010', 'operation': 'add', 'number2': '1100'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/binary-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number1":"1010","operation":"add","number2":"1100"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number1' => '1010', 'operation' => 'add', 'number2' => '1100' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/binary-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number1' => '1010', 'operation' => 'add', 'number2' => '1100' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number1": "1010", "operation": "add", "number2": "1100", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/binary-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/binary-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number1\":\"1010\",\"operation\":\"add\",\"number2\":\"1100\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call binary-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number1`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/binary-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Binary Calculator API do? + Run binary arithmetic and bitwise operations. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Binary Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Binary Calculator API require? + Required fields: number1. Full schema at /v1/openapi.json. Is the Binary Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Binary Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `binary-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`binary-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="binary-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Binary to BCD Converter API # Binary to BCD Converter API math 1 credit / call v2026-04-22 Convert an integer binary value to binary-coded decimal. One POST adds Binary to BCD Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Binary to BCD Converter on miniwebtool.com →](https://miniwebtool.com/binary-to-bcd-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/binary-to-bcd-converter/run ``` ### Request body Field Type Req. `binary` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "binary-to-bcd-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) binary (str) * 11111111 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`binary-to-bcd-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/binary-to-bcd-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"binary":"11111111"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/binary-to-bcd-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'binary': '11111111'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/binary-to-bcd-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"binary":"11111111"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'binary' => '11111111' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/binary-to-bcd-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'binary' => '11111111' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "binary": "11111111", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/binary-to-bcd-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/binary-to-bcd-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"binary\":\"11111111\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call binary-to-bcd-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`binary`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/binary-to-bcd-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Binary to BCD Converter API do? + Convert an integer binary value to binary-coded decimal. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Binary to BCD Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Binary to BCD Converter API require? + Required fields: binary. Full schema at /v1/openapi.json. Is the Binary to BCD Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Binary to BCD Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `binary-to-bcd-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`binary-to-bcd-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="binary-to-bcd-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Binary to Decimal Converter API # Binary to Decimal Converter API math 1 credit / call v2026-04-22 Convert a binary number to decimal, hexadecimal, and octal. One POST adds Binary to Decimal Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Binary to Decimal Converter on miniwebtool.com →](https://miniwebtool.com/binary-to-decimal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/binary-to-decimal-converter/run ``` ### Request body Field Type Req. `binary` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "binary-to-decimal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) binary (str) * 0b10110101 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`binary-to-decimal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/binary-to-decimal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"binary":"0b10110101"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/binary-to-decimal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'binary': '0b10110101'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/binary-to-decimal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"binary":"0b10110101"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'binary' => '0b10110101' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/binary-to-decimal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'binary' => '0b10110101' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "binary": "0b10110101", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/binary-to-decimal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/binary-to-decimal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"binary\":\"0b10110101\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call binary-to-decimal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`binary`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/binary-to-decimal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Binary to Decimal Converter API do? + Convert a binary number to decimal, hexadecimal, and octal. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Binary to Decimal Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Binary to Decimal Converter API require? + Required fields: binary. Full schema at /v1/openapi.json. Is the Binary to Decimal Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Binary to Decimal Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `binary-to-decimal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`binary-to-decimal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="binary-to-decimal-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Binary to Gray Code Converter API # Binary to Gray Code Converter API math 1 credit / call v2026-04-22 Convert an integer binary value to Gray code. One POST adds Binary to Gray Code Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Binary to Gray Code Converter on miniwebtool.com →](https://miniwebtool.com/binary-to-gray-code-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/binary-to-gray-code-converter/run ``` ### Request body Field Type Req. `binary` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "binary-to-gray-code-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) binary (str) * 0b10110 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`binary-to-gray-code-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/binary-to-gray-code-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"binary":"0b10110"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/binary-to-gray-code-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'binary': '0b10110'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/binary-to-gray-code-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"binary":"0b10110"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'binary' => '0b10110' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/binary-to-gray-code-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'binary' => '0b10110' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "binary": "0b10110", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/binary-to-gray-code-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/binary-to-gray-code-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"binary\":\"0b10110\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call binary-to-gray-code-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`binary`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/binary-to-gray-code-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Binary to Gray Code Converter API do? + Convert an integer binary value to Gray code. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Binary to Gray Code Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Binary to Gray Code Converter API require? + Required fields: binary. Full schema at /v1/openapi.json. Is the Binary to Gray Code Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Binary to Gray Code Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `binary-to-gray-code-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`binary-to-gray-code-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="binary-to-gray-code-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Binary to Hex Converter API # Binary to Hex Converter API math 1 credit / call v2026-04-22 Convert a binary number to hexadecimal with nibble grouping. One POST adds Binary to Hex Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Binary to Hex Converter on miniwebtool.com →](https://miniwebtool.com/binary-to-hex-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/binary-to-hex-converter/run ``` ### Request body Field Type Req. `binary` `str` ✓ `output_format` plain | space | prefix `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "binary-to-hex-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) binary (str) * 11010110 output_format (str) plain space prefix plain | space | prefix Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`binary-to-hex-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/binary-to-hex-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"binary":"11010110","output_format":"prefix"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/binary-to-hex-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'binary': '11010110', 'output_format': 'prefix'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/binary-to-hex-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"binary":"11010110","output_format":"prefix"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'binary' => '11010110', 'output_format' => 'prefix' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/binary-to-hex-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'binary' => '11010110', 'output_format' => 'prefix' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "binary": "11010110", "output_format": "prefix", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/binary-to-hex-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/binary-to-hex-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"binary\":\"11010110\",\"output_format\":\"prefix\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call binary-to-hex-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`binary`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/binary-to-hex-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Binary to Hex Converter API do? + Convert a binary number to hexadecimal with nibble grouping. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Binary to Hex Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Binary to Hex Converter API require? + Required fields: binary. Full schema at /v1/openapi.json. Is the Binary to Hex Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Binary to Hex Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `binary-to-hex-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`binary-to-hex-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="binary-to-hex-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Binary to Octal Converter API # Binary to Octal Converter API math 1 credit / call v2026-04-22 Convert a binary number to octal using 3-bit grouping. One POST adds Binary to Octal Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Binary to Octal Converter on miniwebtool.com →](https://miniwebtool.com/binary-to-octal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/binary-to-octal-converter/run ``` ### Request body Field Type Req. `binary` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "binary-to-octal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) binary (str) * 101101.011 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`binary-to-octal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/binary-to-octal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"binary":"101101.011"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/binary-to-octal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'binary': '101101.011'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/binary-to-octal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"binary":"101101.011"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'binary' => '101101.011' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/binary-to-octal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'binary' => '101101.011' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "binary": "101101.011", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/binary-to-octal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/binary-to-octal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"binary\":\"101101.011\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call binary-to-octal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`binary`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/binary-to-octal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Binary to Octal Converter API do? + Convert a binary number to octal using 3-bit grouping. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Binary to Octal Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Binary to Octal Converter API require? + Required fields: binary. Full schema at /v1/openapi.json. Is the Binary to Octal Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Binary to Octal Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `binary-to-octal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`binary-to-octal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="binary-to-octal-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Decimal to Binary Converter API # Decimal to Binary Converter API math 1 credit / call v2026-04-22 Convert a decimal integer to binary with grouped bits and division steps. One POST adds Decimal to Binary Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Decimal to Binary Converter on miniwebtool.com →](https://miniwebtool.com/decimal-to-binary-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/decimal-to-binary-converter/run ``` ### Request body Field Type Req. `number` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "decimal-to-binary-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`decimal-to-binary-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/decimal-to-binary-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":42}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/decimal-to-binary-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': 42}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/decimal-to-binary-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":42}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => 42 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/decimal-to-binary-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => 42 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": 42, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/decimal-to-binary-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/decimal-to-binary-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":42}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call decimal-to-binary-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/decimal-to-binary-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Decimal to Binary Converter API do? + Convert a decimal integer to binary with grouped bits and division steps. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Decimal to Binary Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Decimal to Binary Converter API require? + Required fields: number. Full schema at /v1/openapi.json. Is the Decimal to Binary Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Decimal to Binary Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `decimal-to-binary-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`decimal-to-binary-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="decimal-to-binary-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Decimal to Hex Converter API # Decimal to Hex Converter API math 1 credit / call v2026-04-22 Convert a decimal integer to hexadecimal with conversion steps. One POST adds Decimal to Hex Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Decimal to Hex Converter on miniwebtool.com →](https://miniwebtool.com/decimal-to-hex-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/decimal-to-hex-converter/run ``` ### Request body Field Type Req. `number` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "decimal-to-hex-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`decimal-to-hex-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/decimal-to-hex-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":255}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/decimal-to-hex-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': 255}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/decimal-to-hex-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":255}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => 255 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/decimal-to-hex-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => 255 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": 255, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/decimal-to-hex-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/decimal-to-hex-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":255}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call decimal-to-hex-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/decimal-to-hex-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Decimal to Hex Converter API do? + Convert a decimal integer to hexadecimal with conversion steps. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Decimal to Hex Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Decimal to Hex Converter API require? + Required fields: number. Full schema at /v1/openapi.json. Is the Decimal to Hex Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Decimal to Hex Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `decimal-to-hex-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`decimal-to-hex-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="decimal-to-hex-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Decimal to Octal Converter API # Decimal to Octal Converter API math 1 credit / call v2026-04-22 Convert a base-10 integer to octal with division steps. One POST adds Decimal to Octal Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Decimal to Octal Converter on miniwebtool.com →](https://miniwebtool.com/decimal-to-octal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/decimal-to-octal-converter/run ``` ### Request body Field Type Req. `number` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "decimal-to-octal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`decimal-to-octal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/decimal-to-octal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":255}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/decimal-to-octal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': 255}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/decimal-to-octal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":255}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => 255 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/decimal-to-octal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => 255 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": 255, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/decimal-to-octal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/decimal-to-octal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":255}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call decimal-to-octal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/decimal-to-octal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Decimal to Octal Converter API do? + Convert a base-10 integer to octal with division steps. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Decimal to Octal Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Decimal to Octal Converter API require? + Required fields: number. Full schema at /v1/openapi.json. Is the Decimal to Octal Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Decimal to Octal Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `decimal-to-octal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`decimal-to-octal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="decimal-to-octal-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Decimal to Scientific Notation Converter API # Decimal to Scientific Notation Converter API math 1 credit / call v2026-04-22 Convert decimal numbers to scientific, E, and engineering notation. One POST adds Decimal to Scientific Notation Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Decimal to Scientific Notation Converter on miniwebtool.com →](https://miniwebtool.com/decimal-to-scientific-notation-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/decimal-to-scientific-notation-converter/run ``` ### Request body Field Type Req. `number` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "decimal-to-scientific-notation-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (str) * 299792458 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`decimal-to-scientific-notation-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/decimal-to-scientific-notation-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":"299792458"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/decimal-to-scientific-notation-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': '299792458'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/decimal-to-scientific-notation-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":"299792458"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => '299792458' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/decimal-to-scientific-notation-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => '299792458' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": "299792458", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/decimal-to-scientific-notation-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/decimal-to-scientific-notation-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":\"299792458\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call decimal-to-scientific-notation-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/decimal-to-scientific-notation-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Decimal to Scientific Notation Converter API do? + Convert decimal numbers to scientific, E, and engineering notation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Decimal to Scientific Notation Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Decimal to Scientific Notation Converter API require? + Required fields: number. Full schema at /v1/openapi.json. Is the Decimal to Scientific Notation Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Decimal to Scientific Notation Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `decimal-to-scientific-notation-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`decimal-to-scientific-notation-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="decimal-to-scientific-notation-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Gray Code to Binary Converter API # Gray Code to Binary Converter API math 1 credit / call v2026-04-22 Convert Gray code to ordinary binary with XOR steps. One POST adds Gray Code to Binary Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Gray Code to Binary Converter on miniwebtool.com →](https://miniwebtool.com/gray-code-to-binary-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/gray-code-to-binary-converter/run ``` ### Request body Field Type Req. `gray_code` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "gray-code-to-binary-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) gray_code (str) * 1001001 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`gray-code-to-binary-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/gray-code-to-binary-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"gray_code":"1001001"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/gray-code-to-binary-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'gray_code': '1001001'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/gray-code-to-binary-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"gray_code":"1001001"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'gray_code' => '1001001' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/gray-code-to-binary-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'gray_code' => '1001001' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "gray_code": "1001001", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/gray-code-to-binary-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/gray-code-to-binary-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"gray_code\":\"1001001\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call gray-code-to-binary-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`gray_code`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/gray-code-to-binary-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Gray Code to Binary Converter API do? + Convert Gray code to ordinary binary with XOR steps. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Gray Code to Binary Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Gray Code to Binary Converter API require? + Required fields: gray_code. Full schema at /v1/openapi.json. Is the Gray Code to Binary Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Gray Code to Binary Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `gray-code-to-binary-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`gray-code-to-binary-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="gray-code-to-binary-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Hex to BCD Converter API # Hex to BCD Converter API math 1 credit / call v2026-04-22 Convert a hexadecimal integer to binary-coded decimal. One POST adds Hex to BCD Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hex to BCD Converter on miniwebtool.com →](https://miniwebtool.com/hex-to-bcd-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hex-to-bcd-converter/run ``` ### Request body Field Type Req. `hex_value` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hex-to-bcd-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) hex_value (str) * 2F Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hex-to-bcd-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hex-to-bcd-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hex_value":"2F"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hex-to-bcd-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hex_value': '2F'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hex-to-bcd-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hex_value":"2F"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hex_value' => '2F' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hex-to-bcd-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hex_value' => '2F' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hex_value": "2F", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hex-to-bcd-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hex-to-bcd-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hex_value\":\"2F\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hex-to-bcd-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`hex_value`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hex-to-bcd-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hex to BCD Converter API do? + Convert a hexadecimal integer to binary-coded decimal. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hex to BCD Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hex to BCD Converter API require? + Required fields: hex_value. Full schema at /v1/openapi.json. Is the Hex to BCD Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hex to BCD Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hex-to-bcd-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hex-to-bcd-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hex-to-bcd-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Hex to Binary Converter API # Hex to Binary Converter API math 1 credit / call v2026-04-22 Convert a hexadecimal integer to binary. One POST adds Hex to Binary Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hex to Binary Converter on miniwebtool.com →](https://miniwebtool.com/hex-to-binary-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hex-to-binary-converter/run ``` ### Request body Field Type Req. `hex_value` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hex-to-binary-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) hex_value (str) * DEADBEEF Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hex-to-binary-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hex-to-binary-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hex_value":"DEADBEEF"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hex-to-binary-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hex_value': 'DEADBEEF'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hex-to-binary-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hex_value":"DEADBEEF"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hex_value' => 'DEADBEEF' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hex-to-binary-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hex_value' => 'DEADBEEF' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hex_value": "DEADBEEF", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hex-to-binary-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hex-to-binary-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hex_value\":\"DEADBEEF\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hex-to-binary-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`hex_value`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hex-to-binary-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hex to Binary Converter API do? + Convert a hexadecimal integer to binary. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hex to Binary Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hex to Binary Converter API require? + Required fields: hex_value. Full schema at /v1/openapi.json. Is the Hex to Binary Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hex to Binary Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hex-to-binary-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hex-to-binary-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hex-to-binary-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Hex to Decimal Converter API # Hex to Decimal Converter API math 1 credit / call v2026-04-22 Convert a hexadecimal integer to decimal with digit breakdown. One POST adds Hex to Decimal Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hex to Decimal Converter on miniwebtool.com →](https://miniwebtool.com/hex-to-decimal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hex-to-decimal-converter/run ``` ### Request body Field Type Req. `hex_value` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hex-to-decimal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) hex_value (str) * 1A3F Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hex-to-decimal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hex-to-decimal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hex_value":"1A3F"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hex-to-decimal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hex_value': '1A3F'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hex-to-decimal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hex_value":"1A3F"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hex_value' => '1A3F' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hex-to-decimal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hex_value' => '1A3F' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hex_value": "1A3F", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hex-to-decimal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hex-to-decimal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hex_value\":\"1A3F\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hex-to-decimal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`hex_value`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hex-to-decimal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hex to Decimal Converter API do? + Convert a hexadecimal integer to decimal with digit breakdown. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hex to Decimal Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hex to Decimal Converter API require? + Required fields: hex_value. Full schema at /v1/openapi.json. Is the Hex to Decimal Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hex to Decimal Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hex-to-decimal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hex-to-decimal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hex-to-decimal-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Hex to Octal Converter API # Hex to Octal Converter API math 1 credit / call v2026-04-22 Convert a hexadecimal integer to octal through binary grouping. One POST adds Hex to Octal Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Hex to Octal Converter on miniwebtool.com →](https://miniwebtool.com/hex-to-octal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/hex-to-octal-converter/run ``` ### Request body Field Type Req. `hex_value` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "hex-to-octal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) hex_value (str) * 1A3F Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`hex-to-octal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/hex-to-octal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hex_value":"1A3F"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/hex-to-octal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hex_value': '1A3F'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/hex-to-octal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hex_value":"1A3F"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hex_value' => '1A3F' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/hex-to-octal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hex_value' => '1A3F' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hex_value": "1A3F", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/hex-to-octal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/hex-to-octal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hex_value\":\"1A3F\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call hex-to-octal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`hex_value`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/hex-to-octal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Hex to Octal Converter API do? + Convert a hexadecimal integer to octal through binary grouping. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Hex to Octal Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Hex to Octal Converter API require? + Required fields: hex_value. Full schema at /v1/openapi.json. Is the Hex to Octal Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Hex to Octal Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `hex-to-octal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`hex-to-octal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="hex-to-octal-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Octal to Binary Converter API # Octal to Binary Converter API math 1 credit / call v2026-04-22 Convert an octal integer to binary with per-digit mapping. One POST adds Octal to Binary Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Octal to Binary Converter on miniwebtool.com →](https://miniwebtool.com/octal-to-binary-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/octal-to-binary-converter/run ``` ### Request body Field Type Req. `octal` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "octal-to-binary-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) octal (str) * 755 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`octal-to-binary-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/octal-to-binary-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"octal":"755"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/octal-to-binary-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'octal': '755'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/octal-to-binary-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"octal":"755"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'octal' => '755' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/octal-to-binary-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'octal' => '755' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "octal": "755", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/octal-to-binary-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/octal-to-binary-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"octal\":\"755\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call octal-to-binary-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`octal`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/octal-to-binary-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Octal to Binary Converter API do? + Convert an octal integer to binary with per-digit mapping. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Octal to Binary Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Octal to Binary Converter API require? + Required fields: octal. Full schema at /v1/openapi.json. Is the Octal to Binary Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Octal to Binary Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `octal-to-binary-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`octal-to-binary-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="octal-to-binary-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Octal to Decimal Converter API # Octal to Decimal Converter API math 1 credit / call v2026-04-22 Convert an octal integer to decimal with positional breakdown. One POST adds Octal to Decimal Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Octal to Decimal Converter on miniwebtool.com →](https://miniwebtool.com/octal-to-decimal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/octal-to-decimal-converter/run ``` ### Request body Field Type Req. `octal` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "octal-to-decimal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) octal (str) * 144 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`octal-to-decimal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/octal-to-decimal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"octal":"144"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/octal-to-decimal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'octal': '144'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/octal-to-decimal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"octal":"144"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'octal' => '144' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/octal-to-decimal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'octal' => '144' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "octal": "144", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/octal-to-decimal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/octal-to-decimal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"octal\":\"144\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call octal-to-decimal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`octal`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/octal-to-decimal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Octal to Decimal Converter API do? + Convert an octal integer to decimal with positional breakdown. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Octal to Decimal Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Octal to Decimal Converter API require? + Required fields: octal. Full schema at /v1/openapi.json. Is the Octal to Decimal Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Octal to Decimal Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `octal-to-decimal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`octal-to-decimal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="octal-to-decimal-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Ratio to Percentage Calculator API # Ratio to Percentage Calculator API math 1 credit / call v2026-04-22 Convert ratios, fractions, or decimal divisions to percentages. One POST adds Ratio to Percentage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Ratio to Percentage Calculator on miniwebtool.com →](https://miniwebtool.com/ratio-to-percentage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ratio-to-percentage-calculator/run ``` ### Request body Field Type Req. `numerator` `float` ✓ `denominator` `float` ✓ `input_mode` ratio | fraction | decimal `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ratio-to-percentage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) numerator (float) * denominator (float) * input_mode (str) ratio fraction decimal ratio | fraction | decimal precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ratio-to-percentage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ratio-to-percentage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"numerator":3,"denominator":4,"input_mode":"ratio","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ratio-to-percentage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'numerator': 3, 'denominator': 4, 'input_mode': 'ratio', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ratio-to-percentage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"numerator":3,"denominator":4,"input_mode":"ratio","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'numerator' => 3, 'denominator' => 4, 'input_mode' => 'ratio', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ratio-to-percentage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'numerator' => 3, 'denominator' => 4, 'input_mode' => 'ratio', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "numerator": 3, "denominator": 4, "input_mode": "ratio", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ratio-to-percentage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ratio-to-percentage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"numerator\":3,\"denominator\":4,\"input_mode\":\"ratio\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ratio-to-percentage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`numerator`,`denominator`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ratio-to-percentage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Ratio to Percentage Calculator API do? + Convert ratios, fractions, or decimal divisions to percentages. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Ratio to Percentage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Ratio to Percentage Calculator API require? + Required fields: numerator, denominator. Full schema at /v1/openapi.json. Is the Ratio to Percentage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Ratio to Percentage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ratio-to-percentage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ratio-to-percentage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ratio-to-percentage-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Scientific Notation to Decimal Converter API # Scientific Notation to Decimal Converter API math 1 credit / call v2026-04-22 Convert scientific notation to ordinary decimal notation. One POST adds Scientific Notation to Decimal Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Scientific Notation to Decimal Converter on miniwebtool.com →](https://miniwebtool.com/scientific-notation-to-decimal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/scientific-notation-to-decimal-converter/run ``` ### Request body Field Type Req. `coefficient` `str` ✓ `exponent` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "scientific-notation-to-decimal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) coefficient (str) * 3.5 exponent (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`scientific-notation-to-decimal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/scientific-notation-to-decimal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"coefficient":"3.5","exponent":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/scientific-notation-to-decimal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'coefficient': '3.5', 'exponent': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/scientific-notation-to-decimal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"coefficient":"3.5","exponent":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'coefficient' => '3.5', 'exponent' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/scientific-notation-to-decimal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'coefficient' => '3.5', 'exponent' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "coefficient": "3.5", "exponent": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/scientific-notation-to-decimal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/scientific-notation-to-decimal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"coefficient\":\"3.5\",\"exponent\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call scientific-notation-to-decimal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`coefficient`,`exponent`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/scientific-notation-to-decimal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Scientific Notation to Decimal Converter API do? + Convert scientific notation to ordinary decimal notation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Scientific Notation to Decimal Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Scientific Notation to Decimal Converter API require? + Required fields: coefficient, exponent. Full schema at /v1/openapi.json. Is the Scientific Notation to Decimal Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Scientific Notation to Decimal Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `scientific-notation-to-decimal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`scientific-notation-to-decimal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="scientific-notation-to-decimal-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Factorial Calculator API # Factorial Calculator API math 1 credit / call v2026-04-22 Calculate factorial metadata, exact values for bounded inputs, and scientific notation. One POST adds Factorial Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Factorial Calculator on miniwebtool.com →](https://miniwebtool.com/factorial-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/factorial-calculator/run ``` ### Request body Field Type Req. `n` `int` — `exact_limit` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "factorial-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n (int) exact_limit (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`factorial-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/factorial-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"n":10,"exact_limit":200}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/factorial-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'n': 10, 'exact_limit': 200}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/factorial-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"n":10,"exact_limit":200}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'n' => 10, 'exact_limit' => 200 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/factorial-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'n' => 10, 'exact_limit' => 200 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "n": 10, "exact_limit": 200, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/factorial-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/factorial-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"n\":10,\"exact_limit\":200}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call factorial-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/factorial-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Factorial Calculator API do? + Calculate factorial metadata, exact values for bounded inputs, and scientific notation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Factorial Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Factorial Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Factorial Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Factorial Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `factorial-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`factorial-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="factorial-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Fibonacci Number Checker API # Fibonacci Number Checker API math 1 credit / call v2026-04-22 Check whether a non-negative integer is in the Fibonacci sequence. One POST adds Fibonacci Number Checker to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fibonacci Number Checker on miniwebtool.com →](https://miniwebtool.com/fibonacci-number-checker/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fibonacci-number-checker/run ``` ### Request body Field Type Req. `number` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fibonacci-number-checker", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fibonacci-number-checker`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fibonacci-number-checker/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":144}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fibonacci-number-checker/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': 144}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fibonacci-number-checker/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":144}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => 144 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fibonacci-number-checker/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => 144 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": 144, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fibonacci-number-checker/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fibonacci-number-checker/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":144}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fibonacci-number-checker - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fibonacci-number-checker/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fibonacci Number Checker API do? + Check whether a non-negative integer is in the Fibonacci sequence. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fibonacci Number Checker cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fibonacci Number Checker API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Fibonacci Number Checker API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fibonacci Number Checker API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fibonacci-number-checker` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fibonacci-number-checker`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fibonacci-number-checker")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Goldbach Conjecture Verifier API # Goldbach Conjecture Verifier API math 1 credit / call v2026-04-22 Verify an even integer by finding prime pairs that sum to it. One POST adds Goldbach Conjecture Verifier to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Goldbach Conjecture Verifier on miniwebtool.com →](https://miniwebtool.com/goldbach-conjecture-verifier/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/goldbach-conjecture-verifier/run ``` ### Request body Field Type Req. `number` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "goldbach-conjecture-verifier", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`goldbach-conjecture-verifier`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/goldbach-conjecture-verifier/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":100}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/goldbach-conjecture-verifier/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': 100}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/goldbach-conjecture-verifier/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":100}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => 100 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/goldbach-conjecture-verifier/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => 100 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": 100, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/goldbach-conjecture-verifier/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/goldbach-conjecture-verifier/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":100}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call goldbach-conjecture-verifier - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/goldbach-conjecture-verifier/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Goldbach Conjecture Verifier API do? + Verify an even integer by finding prime pairs that sum to it. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Goldbach Conjecture Verifier cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Goldbach Conjecture Verifier API require? + Required fields: number. Full schema at /v1/openapi.json. Is the Goldbach Conjecture Verifier API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Goldbach Conjecture Verifier API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `goldbach-conjecture-verifier` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`goldbach-conjecture-verifier`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="goldbach-conjecture-verifier")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Perfect Number Checker API # Perfect Number Checker API math 1 credit / call v2026-04-22 Classify a positive integer as perfect, abundant, or deficient. One POST adds Perfect Number Checker to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Perfect Number Checker on miniwebtool.com →](https://miniwebtool.com/perfect-number-checker/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/perfect-number-checker/run ``` ### Request body Field Type Req. `number` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "perfect-number-checker", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`perfect-number-checker`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/perfect-number-checker/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/perfect-number-checker/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/perfect-number-checker/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/perfect-number-checker/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/perfect-number-checker/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/perfect-number-checker/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call perfect-number-checker - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/perfect-number-checker/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Perfect Number Checker API do? + Classify a positive integer as perfect, abundant, or deficient. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Perfect Number Checker cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Perfect Number Checker API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Perfect Number Checker API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Perfect Number Checker API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `perfect-number-checker` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`perfect-number-checker`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="perfect-number-checker")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Decimal to Percent Converter API # Decimal to Percent Converter API math 1 credit / call v2026-04-22 Convert one or more decimal numbers to percentages. One POST adds Decimal to Percent Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Decimal to Percent Converter on miniwebtool.com →](https://miniwebtool.com/decimal-to-percent-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/decimal-to-percent-converter/run ``` ### Request body Field Type Req. `decimal_input` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "decimal-to-percent-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) decimal_input (str) * 0.25 1.5 2 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`decimal-to-percent-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/decimal-to-percent-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"decimal_input":"0.25\n1.5\n2","precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/decimal-to-percent-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'decimal_input': '0.25\n1.5\n2', 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/decimal-to-percent-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"decimal_input":"0.25\n1.5\n2","precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'decimal_input' => '0.25 1.5 2', 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/decimal-to-percent-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'decimal_input' => '0.25 1.5 2', 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "decimal_input": "0.25 1.5 2", "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/decimal-to-percent-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/decimal-to-percent-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"decimal_input\":\"0.25\\n1.5\\n2\",\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call decimal-to-percent-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`decimal_input`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/decimal-to-percent-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Decimal to Percent Converter API do? + Convert one or more decimal numbers to percentages. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Decimal to Percent Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Decimal to Percent Converter API require? + Required fields: decimal_input. Full schema at /v1/openapi.json. Is the Decimal to Percent Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Decimal to Percent Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `decimal-to-percent-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`decimal-to-percent-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="decimal-to-percent-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Percentage Calculator API # Percentage Calculator API math 1 credit / call v2026-04-22 Six percentage operations behind one endpoint, selected by mode. One POST adds Percentage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Percentage Calculator on miniwebtool.com →](https://miniwebtool.com/percentage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/percentage-calculator/run ``` ### Request body Field Type Req. `mode` percent_of | is_what_percent_of | increase | decrease | change | difference `str` ✓ `a` `float` ✓ `b` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "percentage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) * percent_of is_what_percent_of increase decrease change difference percent_of | is_what_percent_of | increase | decrease | change | difference a (float) * b (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`percentage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/percentage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"percent_of","a":15,"b":200}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/percentage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'percent_of', 'a': 15, 'b': 200}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/percentage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"percent_of","a":15,"b":200}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'percent_of', 'a' => 15, 'b' => 200 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/percentage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'percent_of', 'a' => 15, 'b' => 200 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "percent_of", "a": 15, "b": 200, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/percentage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/percentage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"percent_of\",\"a\":15,\"b\":200}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call percentage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`mode`,`a`,`b`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/percentage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Percentage Calculator API do? + Six percentage operations behind one endpoint, selected by mode. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Percentage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Percentage Calculator API require? + Required fields: mode, a, b. Full schema at /v1/openapi.json. Is the Percentage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Percentage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `percentage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`percentage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="percentage-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Percentage Error Calculator API # Percentage Error Calculator API math 1 credit / call v2026-04-22 Calculate percent error between estimated and actual values. One POST adds Percentage Error Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Percentage Error Calculator on miniwebtool.com →](https://miniwebtool.com/percentage-error-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/percentage-error-calculator/run ``` ### Request body Field Type Req. `estimated_value` `float` ✓ `actual_value` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "percentage-error-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) estimated_value (float) * actual_value (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`percentage-error-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/percentage-error-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"estimated_value":52.5,"actual_value":50,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/percentage-error-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'estimated_value': 52.5, 'actual_value': 50, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/percentage-error-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"estimated_value":52.5,"actual_value":50,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'estimated_value' => 52.5, 'actual_value' => 50, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/percentage-error-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'estimated_value' => 52.5, 'actual_value' => 50, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "estimated_value": 52.5, "actual_value": 50, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/percentage-error-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/percentage-error-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"estimated_value\":52.5,\"actual_value\":50,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call percentage-error-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`estimated_value`,`actual_value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/percentage-error-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Percentage Error Calculator API do? + Calculate percent error between estimated and actual values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Percentage Error Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Percentage Error Calculator API require? + Required fields: estimated_value, actual_value. Full schema at /v1/openapi.json. Is the Percentage Error Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Percentage Error Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `percentage-error-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`percentage-error-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="percentage-error-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Percent Growth Rate Calculator API # Percent Growth Rate Calculator API math 1 credit / call v2026-04-22 Calculate total percent change, simple annual growth, CAGR, and multiplier. One POST adds Percent Growth Rate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Percent Growth Rate Calculator on miniwebtool.com →](https://miniwebtool.com/percent-growth-rate-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/percent-growth-rate-calculator/run ``` ### Request body Field Type Req. `past_value` `float` — `future_value` `float` — `years` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "percent-growth-rate-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) past_value (float) future_value (float) years (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`percent-growth-rate-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/percent-growth-rate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/percent-growth-rate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/percent-growth-rate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/percent-growth-rate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/percent-growth-rate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/percent-growth-rate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call percent-growth-rate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/percent-growth-rate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Percent Growth Rate Calculator API do? + Calculate total percent change, simple annual growth, CAGR, and multiplier. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Percent Growth Rate Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Percent Growth Rate Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Percent Growth Rate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Percent Growth Rate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `percent-growth-rate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`percent-growth-rate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="percent-growth-rate-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Acceleration Calculator API # Acceleration Calculator API math 1 credit / call v2026-04-22 Calculate acceleration from velocity change, distance, force, centripetal motion, or free fall. One POST adds Acceleration Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Acceleration Calculator on miniwebtool.com →](https://miniwebtool.com/acceleration-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/acceleration-calculator/run ``` ### Request body Field Type Req. `mode` velocity | distance | force | centripetal | freefall `str` — `initial_velocity` `float | None` — `final_velocity` `float | None` — `time` `float | None` — `distance` `float | None` — `force` `float | None` — `mass` `float | None` — `velocity` `float | None` — `radius` `float | None` — `height` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "acceleration-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) velocity distance force centripetal freefall velocity | distance | force | centripetal | freefall initial_velocity (float | None) final_velocity (float | None) time (float | None) distance (float | None) force (float | None) mass (float | None) velocity (float | None) radius (float | None) height (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`acceleration-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/acceleration-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"velocity","initial_velocity":0,"final_velocity":30,"time":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/acceleration-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'velocity', 'initial_velocity': 0, 'final_velocity': 30, 'time': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/acceleration-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"velocity","initial_velocity":0,"final_velocity":30,"time":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'velocity', 'initial_velocity' => 0, 'final_velocity' => 30, 'time' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/acceleration-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'velocity', 'initial_velocity' => 0, 'final_velocity' => 30, 'time' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "velocity", "initial_velocity": 0, "final_velocity": 30, "time": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/acceleration-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/acceleration-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"velocity\",\"initial_velocity\":0,\"final_velocity\":30,\"time\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call acceleration-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/acceleration-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Acceleration Calculator API do? + Calculate acceleration from velocity change, distance, force, centripetal motion, or free fall. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Acceleration Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Acceleration Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Acceleration Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Acceleration Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `acceleration-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`acceleration-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="acceleration-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Boxing Punch Power Calculator API # Boxing Punch Power Calculator API math 1 credit / call v2026-04-22 Estimate punch force, kinetic energy, and power from speed and effective mass. One POST adds Boxing Punch Power Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Boxing Punch Power Calculator on miniwebtool.com →](https://miniwebtool.com/boxing-punch-power-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/boxing-punch-power-calculator/run ``` ### Request body Field Type Req. `body_weight` `float` — `fist_speed` `float` — `effective_mass` `float` — `contact_time_ms` `float` — `unit_system` imperial | metric `str` — `punch_type` jab | cross | hook | uppercut | custom `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "boxing-punch-power-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) body_weight (float) fist_speed (float) effective_mass (float) contact_time_ms (float) unit_system (str) imperial metric imperial | metric punch_type (str) jab cross hook uppercut custom jab | cross | hook | uppercut | custom precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`boxing-punch-power-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/boxing-punch-power-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/boxing-punch-power-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/boxing-punch-power-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/boxing-punch-power-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/boxing-punch-power-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/boxing-punch-power-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call boxing-punch-power-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/boxing-punch-power-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Boxing Punch Power Calculator API do? + Estimate punch force, kinetic energy, and power from speed and effective mass. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Boxing Punch Power Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Boxing Punch Power Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Boxing Punch Power Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Boxing Punch Power Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `boxing-punch-power-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`boxing-punch-power-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="boxing-punch-power-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Headlight Beam Distance Calculator API # Headlight Beam Distance Calculator API math 1 credit / call v2026-04-22 Calculate headlight beam road reach from mounting height and aim angle. One POST adds Headlight Beam Distance Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Headlight Beam Distance Calculator on miniwebtool.com →](https://miniwebtool.com/headlight-beam-distance-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/headlight-beam-distance-calculator/run ``` ### Request body Field Type Req. `aim_angle` `float` — `height_cm` `float | None` — `height_feet` `int` — `height_inches` `int` — `beam_spread` `float` — `speed` `float | None` — `unit_system` metric | imperial `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "headlight-beam-distance-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) aim_angle (float) height_cm (float | None) height_feet (int) height_inches (int) beam_spread (float) speed (float | None) unit_system (str) metric imperial metric | imperial precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`headlight-beam-distance-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/headlight-beam-distance-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/headlight-beam-distance-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/headlight-beam-distance-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/headlight-beam-distance-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/headlight-beam-distance-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/headlight-beam-distance-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call headlight-beam-distance-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/headlight-beam-distance-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Headlight Beam Distance Calculator API do? + Calculate headlight beam road reach from mounting height and aim angle. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Headlight Beam Distance Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Headlight Beam Distance Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Headlight Beam Distance Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Headlight Beam Distance Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `headlight-beam-distance-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`headlight-beam-distance-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="headlight-beam-distance-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Horsepower Calculator API # Horsepower Calculator API math 1 credit / call v2026-04-22 Solve horsepower, torque, or RPM and return common power conversions. One POST adds Horsepower Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Horsepower Calculator on miniwebtool.com →](https://miniwebtool.com/horsepower-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/horsepower-calculator/run ``` ### Request body Field Type Req. `torque` `float | None` — `rpm` `float | None` — `power_hp` `float | None` — `torque_unit` lbft | nm `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "horsepower-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) torque (float | None) rpm (float | None) power_hp (float | None) torque_unit (str) lbft nm lbft | nm Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`horsepower-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/horsepower-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/horsepower-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/horsepower-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/horsepower-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/horsepower-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/horsepower-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call horsepower-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/horsepower-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Horsepower Calculator API do? + Solve horsepower, torque, or RPM and return common power conversions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Horsepower Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Horsepower Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Horsepower Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Horsepower Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `horsepower-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`horsepower-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="horsepower-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Binomial Probability Distribution Calculator API # Binomial Probability Distribution Calculator API math 1 credit / call v2026-04-22 Calculate exact and cumulative binomial probabilities. One POST adds Binomial Probability Distribution Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Binomial Probability Distribution Calculator on miniwebtool.com →](https://miniwebtool.com/binomial-probability-distribution-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/binomial-probability-distribution-calculator/run ``` ### Request body Field Type Req. `n` `int` — `p` `float` — `k` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "binomial-probability-distribution-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n (int) p (float) k (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`binomial-probability-distribution-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/binomial-probability-distribution-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"n":10,"p":0.5,"k":5,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/binomial-probability-distribution-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'n': 10, 'p': 0.5, 'k': 5, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/binomial-probability-distribution-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"n":10,"p":0.5,"k":5,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'n' => 10, 'p' => 0.5, 'k' => 5, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/binomial-probability-distribution-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'n' => 10, 'p' => 0.5, 'k' => 5, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "n": 10, "p": 0.5, "k": 5, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/binomial-probability-distribution-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/binomial-probability-distribution-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"n\":10,\"p\":0.5,\"k\":5,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call binomial-probability-distribution-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/binomial-probability-distribution-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Binomial Probability Distribution Calculator API do? + Calculate exact and cumulative binomial probabilities. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Binomial Probability Distribution Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Binomial Probability Distribution Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Binomial Probability Distribution Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Binomial Probability Distribution Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `binomial-probability-distribution-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`binomial-probability-distribution-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="binomial-probability-distribution-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Dice Roll Probability Calculator API # Dice Roll Probability Calculator API math 1 credit / call v2026-04-22 Calculate exact probability metrics for sums of identical dice. One POST adds Dice Roll Probability Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Dice Roll Probability Calculator on miniwebtool.com →](https://miniwebtool.com/dice-roll-probability-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/dice-roll-probability-calculator/run ``` ### Request body Field Type Req. `num_dice` `int` — `dice_sides` `int` — `modifier` `int` — `target_type` exact | at_least | at_most | greater | less `str` — `target_value` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "dice-roll-probability-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) num_dice (int) dice_sides (int) modifier (int) target_type (str) exact at_least at_most greater less exact | at_least | at_most | greater | less target_value (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`dice-roll-probability-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/dice-roll-probability-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"num_dice":2,"dice_sides":6,"modifier":0,"target_type":"at_least","target_value":7}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/dice-roll-probability-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'num_dice': 2, 'dice_sides': 6, 'modifier': 0, 'target_type': 'at_least', 'target_value': 7}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/dice-roll-probability-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"num_dice":2,"dice_sides":6,"modifier":0,"target_type":"at_least","target_value":7}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'num_dice' => 2, 'dice_sides' => 6, 'modifier' => 0, 'target_type' => 'at_least', 'target_value' => 7 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/dice-roll-probability-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'num_dice' => 2, 'dice_sides' => 6, 'modifier' => 0, 'target_type' => 'at_least', 'target_value' => 7 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "num_dice": 2, "dice_sides": 6, "modifier": 0, "target_type": "at_least", "target_value": 7, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/dice-roll-probability-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/dice-roll-probability-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"num_dice\":2,\"dice_sides\":6,\"modifier\":0,\"target_type\":\"at_least\",\"target_value\":7}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call dice-roll-probability-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/dice-roll-probability-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Dice Roll Probability Calculator API do? + Calculate exact probability metrics for sums of identical dice. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Dice Roll Probability Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Dice Roll Probability Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Dice Roll Probability Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Dice Roll Probability Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `dice-roll-probability-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`dice-roll-probability-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="dice-roll-probability-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Probability Calculator API # Probability Calculator API math 1 credit / call v2026-04-22 Compute basic, conditional, Bayes, and complement probabilities. One POST adds Probability Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Probability Calculator on miniwebtool.com →](https://miniwebtool.com/probability-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/probability-calculator/run ``` ### Request body Field Type Req. `problem_type` basic | conditional | bayes | complement `str` — `p_a` `float | None` — `p_b` `float | None` — `p_a_and_b` `float | None` — `p_b_given_a` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "probability-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) problem_type (str) basic conditional bayes complement basic | conditional | bayes | complement p_a (float | None) p_b (float | None) p_a_and_b (float | None) p_b_given_a (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`probability-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/probability-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/probability-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/probability-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/probability-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/probability-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/probability-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call probability-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/probability-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Probability Calculator API do? + Compute basic, conditional, Bayes, and complement probabilities. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Probability Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Probability Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Probability Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Probability Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `probability-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`probability-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="probability-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Aspect Ratio Calculator API # Aspect Ratio Calculator API math 1 credit / call v2026-04-22 Simplify dimensions to a ratio, derive dimensions from a ratio, or resize proportionally. One POST adds Aspect Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Aspect Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/aspect-ratio-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/aspect-ratio-calculator/run ``` ### Request body Field Type Req. `mode` dimensions_to_ratio | ratio_to_dimensions | resize `str` — `width` `float | None` — `height` `float | None` — `ratio_width` `float | None` — `ratio_height` `float | None` — `new_width` `float | None` — `new_height` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "aspect-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) dimensions_to_ratio ratio_to_dimensions resize dimensions_to_ratio | ratio_to_dimensions | resize width (float | None) height (float | None) ratio_width (float | None) ratio_height (float | None) new_width (float | None) new_height (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`aspect-ratio-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/aspect-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"dimensions_to_ratio","width":1920,"height":1080}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/aspect-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'dimensions_to_ratio', 'width': 1920, 'height': 1080}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/aspect-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"dimensions_to_ratio","width":1920,"height":1080}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'dimensions_to_ratio', 'width' => 1920, 'height' => 1080 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/aspect-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'dimensions_to_ratio', 'width' => 1920, 'height' => 1080 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "dimensions_to_ratio", "width": 1920, "height": 1080, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/aspect-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/aspect-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"dimensions_to_ratio\",\"width\":1920,\"height\":1080}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call aspect-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/aspect-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Aspect Ratio Calculator API do? + Simplify dimensions to a ratio, derive dimensions from a ratio, or resize proportionally. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Aspect Ratio Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Aspect Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Aspect Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Aspect Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `aspect-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`aspect-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="aspect-ratio-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Proportion Calculator API # Proportion Calculator API math 1 credit / call v2026-04-22 Solve or verify a proportion a/b = c/d from three or four values. One POST adds Proportion Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Proportion Calculator on miniwebtool.com →](https://miniwebtool.com/proportion-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/proportion-calculator/run ``` ### Request body Field Type Req. `n1` `float | None` — `n2` `float | None` — `n3` `float | None` — `n4` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "proportion-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n1 (float | None) n2 (float | None) n3 (float | None) n4 (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`proportion-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/proportion-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/proportion-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/proportion-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/proportion-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/proportion-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/proportion-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call proportion-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/proportion-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Proportion Calculator API do? + Solve or verify a proportion a/b = c/d from three or four values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Proportion Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Proportion Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Proportion Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Proportion Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `proportion-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`proportion-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="proportion-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Unit Rate Calculator API # Unit Rate Calculator API math 1 credit / call v2026-04-22 Calculate a unit rate or compare two unit rates. One POST adds Unit Rate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Unit Rate Calculator on miniwebtool.com →](https://miniwebtool.com/unit-rate-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/unit-rate-calculator/run ``` ### Request body Field Type Req. `mode` single | compare `str` — `total` `float | None` — `quantity` `float | None` — `total_unit` `str` — `quantity_unit` `str` — `total_a` `float | None` — `quantity_a` `float | None` — `total_b` `float | None` — `quantity_b` `float | None` — `label_a` `str` — `label_b` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "unit-rate-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) single compare single | compare total (float | None) quantity (float | None) total_unit (str) $ quantity_unit (str) item total_a (float | None) quantity_a (float | None) total_b (float | None) quantity_b (float | None) label_a (str) label_b (str) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`unit-rate-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/unit-rate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"single","total":12,"quantity":3,"total_unit":"$","quantity_unit":"item"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/unit-rate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'single', 'total': 12, 'quantity': 3, 'total_unit': '$', 'quantity_unit': 'item'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/unit-rate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"single","total":12,"quantity":3,"total_unit":"$","quantity_unit":"item"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'single', 'total' => 12, 'quantity' => 3, 'total_unit' => '$', 'quantity_unit' => 'item' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/unit-rate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'single', 'total' => 12, 'quantity' => 3, 'total_unit' => '$', 'quantity_unit' => 'item' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "single", "total": 12, "quantity": 3, "total_unit": "$", "quantity_unit": "item", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/unit-rate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/unit-rate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"single\",\"total\":12,\"quantity\":3,\"total_unit\":\"$\",\"quantity_unit\":\"item\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call unit-rate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/unit-rate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Unit Rate Calculator API do? + Calculate a unit rate or compare two unit rates. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Unit Rate Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Unit Rate Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Unit Rate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Unit Rate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `unit-rate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`unit-rate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="unit-rate-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Catalan Number Generator API # Catalan Number Generator API math 1 credit / call v2026-04-22 Calculate the nth Catalan number and nearby sequence values. One POST adds Catalan Number Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Catalan Number Generator on miniwebtool.com →](https://miniwebtool.com/catalan-number-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/catalan-number-generator/run ``` ### Request body Field Type Req. `n` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "catalan-number-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`catalan-number-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/catalan-number-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"n":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/catalan-number-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'n': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/catalan-number-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"n":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'n' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/catalan-number-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'n' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "n": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/catalan-number-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/catalan-number-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"n\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call catalan-number-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/catalan-number-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Catalan Number Generator API do? + Calculate the nth Catalan number and nearby sequence values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Catalan Number Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Catalan Number Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Catalan Number Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Catalan Number Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `catalan-number-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`catalan-number-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="catalan-number-generator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Collatz Conjecture Calculator API # Collatz Conjecture Calculator API math 1 credit / call v2026-04-22 Generate and analyze the deterministic Collatz hailstone sequence. One POST adds Collatz Conjecture Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Collatz Conjecture Calculator on miniwebtool.com →](https://miniwebtool.com/collatz-conjecture-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/collatz-conjecture-calculator/run ``` ### Request body Field Type Req. `start` `int` — `max_steps` `int` — `sequence_limit` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "collatz-conjecture-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) start (int) max_steps (int) sequence_limit (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`collatz-conjecture-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/collatz-conjecture-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"start":27,"max_steps":100000,"sequence_limit":200}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/collatz-conjecture-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'start': 27, 'max_steps': 100000, 'sequence_limit': 200}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/collatz-conjecture-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"start":27,"max_steps":100000,"sequence_limit":200}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'start' => 27, 'max_steps' => 100000, 'sequence_limit' => 200 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/collatz-conjecture-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'start' => 27, 'max_steps' => 100000, 'sequence_limit' => 200 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "start": 27, "max_steps": 100000, "sequence_limit": 200, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/collatz-conjecture-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/collatz-conjecture-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"start\":27,\"max_steps\":100000,\"sequence_limit\":200}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call collatz-conjecture-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/collatz-conjecture-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Collatz Conjecture Calculator API do? + Generate and analyze the deterministic Collatz hailstone sequence. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Collatz Conjecture Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Collatz Conjecture Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Collatz Conjecture Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Collatz Conjecture Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `collatz-conjecture-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`collatz-conjecture-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="collatz-conjecture-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Arithmetic Sequence Calculator API # Arithmetic Sequence Calculator API math 1 credit / call v2026-04-22 Calculate the nth term and partial sum of an arithmetic sequence. One POST adds Arithmetic Sequence Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Arithmetic Sequence Calculator on miniwebtool.com →](https://miniwebtool.com/arithmetic-sequence-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/arithmetic-sequence-calculator/run ``` ### Request body Field Type Req. `first_term` `float` ✓ `common_difference` `float` ✓ `n` `int` ✓ `include_terms` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "arithmetic-sequence-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) first_term (float) * common_difference (float) * n (int) * include_terms (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`arithmetic-sequence-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/arithmetic-sequence-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"first_term":5,"common_difference":3,"n":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/arithmetic-sequence-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'first_term': 5, 'common_difference': 3, 'n': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/arithmetic-sequence-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"first_term":5,"common_difference":3,"n":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'first_term' => 5, 'common_difference' => 3, 'n' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/arithmetic-sequence-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'first_term' => 5, 'common_difference' => 3, 'n' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "first_term": 5, "common_difference": 3, "n": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/arithmetic-sequence-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/arithmetic-sequence-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"first_term\":5,\"common_difference\":3,\"n\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call arithmetic-sequence-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`first_term`,`common_difference`,`n`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/arithmetic-sequence-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Arithmetic Sequence Calculator API do? + Calculate the nth term and partial sum of an arithmetic sequence. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Arithmetic Sequence Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Arithmetic Sequence Calculator API require? + Required fields: first_term, common_difference, n. Full schema at /v1/openapi.json. Is the Arithmetic Sequence Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Arithmetic Sequence Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `arithmetic-sequence-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`arithmetic-sequence-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="arithmetic-sequence-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Geometric Sequence Calculator API # Geometric Sequence Calculator API math 1 credit / call v2026-04-22 Calculate nth term, partial sum, and sample terms for a geometric sequence. One POST adds Geometric Sequence Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Geometric Sequence Calculator on miniwebtool.com →](https://miniwebtool.com/geometric-sequence-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/geometric-sequence-calculator/run ``` ### Request body Field Type Req. `first_term` `float` ✓ `common_ratio` `float` ✓ `n` `int` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "geometric-sequence-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) first_term (float) * common_ratio (float) * n (int) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`geometric-sequence-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/geometric-sequence-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"first_term":3,"common_ratio":2,"n":5,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/geometric-sequence-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'first_term': 3, 'common_ratio': 2, 'n': 5, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/geometric-sequence-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"first_term":3,"common_ratio":2,"n":5,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'first_term' => 3, 'common_ratio' => 2, 'n' => 5, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/geometric-sequence-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'first_term' => 3, 'common_ratio' => 2, 'n' => 5, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "first_term": 3, "common_ratio": 2, "n": 5, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/geometric-sequence-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/geometric-sequence-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"first_term\":3,\"common_ratio\":2,\"n\":5,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call geometric-sequence-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`first_term`,`common_ratio`,`n`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/geometric-sequence-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Geometric Sequence Calculator API do? + Calculate nth term, partial sum, and sample terms for a geometric sequence. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Geometric Sequence Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Geometric Sequence Calculator API require? + Required fields: first_term, common_ratio, n. Full schema at /v1/openapi.json. Is the Geometric Sequence Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Geometric Sequence Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `geometric-sequence-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`geometric-sequence-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="geometric-sequence-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Happy Number Calculator API # Happy Number Calculator API math 1 credit / call v2026-04-22 Check whether a number is happy or list happy numbers up to a limit. One POST adds Happy Number Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Happy Number Calculator on miniwebtool.com →](https://miniwebtool.com/happy-number-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/happy-number-calculator/run ``` ### Request body Field Type Req. `number` `int` ✓ `mode` single | range `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "happy-number-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) number (int) * mode (str) single range single | range Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`happy-number-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/happy-number-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"number":19,"mode":"single"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/happy-number-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'number': 19, 'mode': 'single'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/happy-number-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"number":19,"mode":"single"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'number' => 19, 'mode' => 'single' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/happy-number-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'number' => 19, 'mode' => 'single' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "number": 19, "mode": "single", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/happy-number-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/happy-number-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"number\":19,\"mode\":\"single\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call happy-number-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`number`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/happy-number-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Happy Number Calculator API do? + Check whether a number is happy or list happy numbers up to a limit. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Happy Number Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Happy Number Calculator API require? + Required fields: number. Full schema at /v1/openapi.json. Is the Happy Number Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Happy Number Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `happy-number-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`happy-number-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="happy-number-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Sum of Cubes Calculator API # Sum of Cubes Calculator API math 1 credit / call v2026-04-22 Calculate 1^3 + 2^3 +... + n^3. One POST adds Sum of Cubes Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Sum of Cubes Calculator on miniwebtool.com →](https://miniwebtool.com/sum-of-cubes-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sum-of-cubes-calculator/run ``` ### Request body Field Type Req. `n` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sum-of-cubes-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sum-of-cubes-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sum-of-cubes-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"n":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sum-of-cubes-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'n': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sum-of-cubes-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"n":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'n' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sum-of-cubes-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'n' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "n": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sum-of-cubes-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sum-of-cubes-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"n\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sum-of-cubes-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`n`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sum-of-cubes-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Sum of Cubes Calculator API do? + Calculate 1^3 + 2^3 +... + n^3. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Sum of Cubes Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Sum of Cubes Calculator API require? + Required fields: n. Full schema at /v1/openapi.json. Is the Sum of Cubes Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Sum of Cubes Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sum-of-cubes-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sum-of-cubes-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sum-of-cubes-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Sum of Squares Calculator API # Sum of Squares Calculator API math 1 credit / call v2026-04-22 Calculate 1^2 + 2^2 +... + n^2. One POST adds Sum of Squares Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Sum of Squares Calculator on miniwebtool.com →](https://miniwebtool.com/sum-of-squares-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sum-of-squares-calculator/run ``` ### Request body Field Type Req. `n` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sum-of-squares-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) n (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sum-of-squares-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sum-of-squares-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"n":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sum-of-squares-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'n': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sum-of-squares-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"n":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'n' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sum-of-squares-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'n' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "n": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sum-of-squares-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sum-of-squares-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"n\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sum-of-squares-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`n`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sum-of-squares-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Sum of Squares Calculator API do? + Calculate 1^2 + 2^2 +... + n^2. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Sum of Squares Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Sum of Squares Calculator API require? + Required fields: n. Full schema at /v1/openapi.json. Is the Sum of Squares Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Sum of Squares Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sum-of-squares-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sum-of-squares-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sum-of-squares-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Bike Gear Ratio Calculator API # Bike Gear Ratio Calculator API math 1 credit / call v2026-04-22 Calculate bicycle gear ratio, gear inches, rollout, gain ratio, and speed. One POST adds Bike Gear Ratio Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Bike Gear Ratio Calculator on miniwebtool.com →](https://miniwebtool.com/bike-gear-ratio-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bike-gear-ratio-calculator/run ``` ### Request body Field Type Req. `chainring_teeth` `int` — `cog_teeth` `int` — `wheel` 700x25c | 700x23c | 700x28c | 700x32c | 27_inch | 29_mtb | 650b | 26_mtb | 20_bmx | custom `str` — `custom_circumference_mm` `float | None` — `crank_length_mm` `float` — `cadence_rpm` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bike-gear-ratio-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) chainring_teeth (int) cog_teeth (int) wheel (str) 700x25c 700x23c 700x28c 700x32c 27_inch 29_mtb 650b 26_mtb 20_bmx custom 700x25c | 700x23c | 700x28c | 700x32c | 27_inch | 29_mtb | 650b | 26_mtb | 20_bmx | custom custom_circumference_mm (float | None) crank_length_mm (float) cadence_rpm (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bike-gear-ratio-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bike-gear-ratio-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bike-gear-ratio-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bike-gear-ratio-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bike-gear-ratio-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bike-gear-ratio-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bike-gear-ratio-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bike-gear-ratio-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bike-gear-ratio-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Bike Gear Ratio Calculator API do? + Calculate bicycle gear ratio, gear inches, rollout, gain ratio, and speed. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Bike Gear Ratio Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Bike Gear Ratio Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Bike Gear Ratio Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Bike Gear Ratio Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bike-gear-ratio-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bike-gear-ratio-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bike-gear-ratio-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Bowling Score Calculator API # Bowling Score Calculator API math 1 credit / call v2026-04-22 Score a ten-pin bowling game from roll values. One POST adds Bowling Score Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Bowling Score Calculator on miniwebtool.com →](https://miniwebtool.com/bowling-score-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bowling-score-calculator/run ``` ### Request body Field Type Req. `rolls` `list` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bowling-score-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) rolls (list) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bowling-score-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bowling-score-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bowling-score-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bowling-score-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bowling-score-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bowling-score-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bowling-score-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bowling-score-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bowling-score-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Bowling Score Calculator API do? + Score a ten-pin bowling game from roll values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Bowling Score Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Bowling Score Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Bowling Score Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Bowling Score Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bowling-score-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bowling-score-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bowling-score-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cricket Run Rate Calculator API # Cricket Run Rate Calculator API math 1 credit / call v2026-04-22 Calculate current, projected, and required cricket run rates from cricket over notation. One POST adds Cricket Run Rate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cricket Run Rate Calculator on miniwebtool.com →](https://miniwebtool.com/cricket-run-rate-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cricket-run-rate-calculator/run ``` ### Request body Field Type Req. `runs` `int` — `overs` `str` — `total_overs` `str` — `target` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cricket-run-rate-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) runs (int) overs (str) total_overs (str) target (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cricket-run-rate-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cricket-run-rate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cricket-run-rate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cricket-run-rate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cricket-run-rate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cricket-run-rate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cricket-run-rate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cricket-run-rate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cricket-run-rate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cricket Run Rate Calculator API do? + Calculate current, projected, and required cricket run rates from cricket over notation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cricket Run Rate Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cricket Run Rate Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cricket Run Rate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cricket Run Rate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cricket-run-rate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cricket-run-rate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cricket-run-rate-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Usage Rate Calculator API # Usage Rate Calculator API math 1 credit / call v2026-04-22 Calculate basketball usage rate from player and team shot, free throw, turnover, and minute stats. One POST adds Usage Rate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Usage Rate Calculator on miniwebtool.com →](https://miniwebtool.com/usage-rate-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/usage-rate-calculator/run ``` ### Request body Field Type Req. `player_field_goal_attempts` `int` — `player_free_throw_attempts` `int` — `player_turnovers` `int` — `team_field_goal_attempts` `int` — `team_free_throw_attempts` `int` — `team_turnovers` `int` — `player_minutes` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "usage-rate-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) player_field_goal_attempts (int) player_free_throw_attempts (int) player_turnovers (int) team_field_goal_attempts (int) team_free_throw_attempts (int) team_turnovers (int) player_minutes (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`usage-rate-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/usage-rate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"player_field_goal_attempts":20,"player_free_throw_attempts":5,"player_turnovers":3,"team_field_goal_attempts":80,"team_free_throw_attempts":20,"team_turnovers":15,"player_minutes":30}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/usage-rate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'player_field_goal_attempts': 20, 'player_free_throw_attempts': 5, 'player_turnovers': 3, 'team_field_goal_attempts': 80, 'team_free_throw_attempts': 20, 'team_turnovers': 15, 'player_minutes': 30}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/usage-rate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"player_field_goal_attempts":20,"player_free_throw_attempts":5,"player_turnovers":3,"team_field_goal_attempts":80,"team_free_throw_attempts":20,"team_turnovers":15,"player_minutes":30}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'player_field_goal_attempts' => 20, 'player_free_throw_attempts' => 5, 'player_turnovers' => 3, 'team_field_goal_attempts' => 80, 'team_free_throw_attempts' => 20, 'team_turnovers' => 15, 'player_minutes' => 30 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/usage-rate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'player_field_goal_attempts' => 20, 'player_free_throw_attempts' => 5, 'player_turnovers' => 3, 'team_field_goal_attempts' => 80, 'team_free_throw_attempts' => 20, 'team_turnovers' => 15, 'player_minutes' => 30 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "player_field_goal_attempts": 20, "player_free_throw_attempts": 5, "player_turnovers": 3, "team_field_goal_attempts": 80, "team_free_throw_attempts": 20, "team_turnovers": 15, "player_minutes": 30, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/usage-rate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/usage-rate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"player_field_goal_attempts\":20,\"player_free_throw_attempts\":5,\"player_turnovers\":3,\"team_field_goal_attempts\":80,\"team_free_throw_attempts\":20,\"team_turnovers\":15,\"player_minutes\":30}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call usage-rate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/usage-rate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Usage Rate Calculator API do? + Calculate basketball usage rate from player and team shot, free throw, turnover, and minute stats. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Usage Rate Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Usage Rate Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Usage Rate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Usage Rate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `usage-rate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`usage-rate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="usage-rate-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - ANOVA Calculator API # ANOVA Calculator API math 1 credit / call v2026-04-22 Run one-way ANOVA with F statistic, p-value, table components, and effect sizes. One POST adds ANOVA Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the ANOVA Calculator on miniwebtool.com →](https://miniwebtool.com/anova-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/anova-calculator/run ``` ### Request body Field Type Req. `groups` `list` — `alpha` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "anova-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) groups (list) alpha (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`anova-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/anova-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/anova-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/anova-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/anova-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/anova-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/anova-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call anova-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/anova-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the ANOVA Calculator API do? + Run one-way ANOVA with F statistic, p-value, table components, and effect sizes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to ANOVA Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the ANOVA Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the ANOVA Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the ANOVA Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `anova-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`anova-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="anova-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Arithmetic Mean Calculator API # Arithmetic Mean Calculator API math 1 credit / call v2026-04-22 Calculate arithmetic mean, median, modes, range, variance, and standard deviation from a number list. One POST adds Arithmetic Mean Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Arithmetic Mean Calculator on miniwebtool.com →](https://miniwebtool.com/arithmetic-mean-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/arithmetic-mean-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "arithmetic-mean-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 10, 20, 20, 30 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`arithmetic-mean-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/arithmetic-mean-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"10, 20, 20, 30","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/arithmetic-mean-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '10, 20, 20, 30', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/arithmetic-mean-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"10, 20, 20, 30","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '10, 20, 20, 30', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/arithmetic-mean-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '10, 20, 20, 30', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "10, 20, 20, 30", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/arithmetic-mean-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/arithmetic-mean-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"10, 20, 20, 30\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call arithmetic-mean-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/arithmetic-mean-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Arithmetic Mean Calculator API do? + Calculate arithmetic mean, median, modes, range, variance, and standard deviation from a number list. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Arithmetic Mean Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Arithmetic Mean Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Arithmetic Mean Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Arithmetic Mean Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `arithmetic-mean-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`arithmetic-mean-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="arithmetic-mean-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Average Calculator API # Average Calculator API math 1 credit / call v2026-04-22 Calculate mean, median, mode, range, variance, and optional weighted average. One POST adds Average Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Average Calculator on miniwebtool.com →](https://miniwebtool.com/average-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/average-calculator/run ``` ### Request body Field Type Req. `numbers` `list` ✓ `weights` `list[float] | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "average-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) numbers (list) * weights (list[float] | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`average-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/average-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"numbers":[10,20,20,30]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/average-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'numbers': [10, 20, 20, 30]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/average-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"numbers":[10,20,20,30]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'numbers' => '[10, 20, 20, 30]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/average-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'numbers' => '[10, 20, 20, 30]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "numbers": "[10, 20, 20, 30]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/average-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/average-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"numbers\":[10,20,20,30]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call average-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`numbers`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/average-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Average Calculator API do? + Calculate mean, median, mode, range, variance, and optional weighted average. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Average Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Average Calculator API require? + Required fields: numbers. Full schema at /v1/openapi.json. Is the Average Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Average Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `average-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`average-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="average-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Average Deviation Calculator API # Average Deviation Calculator API math 1 credit / call v2026-04-22 Calculate mean and median absolute deviation for a numeric dataset. One POST adds Average Deviation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Average Deviation Calculator on miniwebtool.com →](https://miniwebtool.com/average-deviation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/average-deviation-calculator/run ``` ### Request body Field Type Req. `numbers` `list` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "average-deviation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) numbers (list) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`average-deviation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/average-deviation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"numbers":[5,10,15,20,25]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/average-deviation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'numbers': [5, 10, 15, 20, 25]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/average-deviation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"numbers":[5,10,15,20,25]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'numbers' => '[5, 10, 15, 20, 25]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/average-deviation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'numbers' => '[5, 10, 15, 20, 25]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "numbers": "[5, 10, 15, 20, 25]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/average-deviation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/average-deviation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"numbers\":[5,10,15,20,25]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call average-deviation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`numbers`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/average-deviation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Average Deviation Calculator API do? + Calculate mean and median absolute deviation for a numeric dataset. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Average Deviation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Average Deviation Calculator API require? + Required fields: numbers. Full schema at /v1/openapi.json. Is the Average Deviation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Average Deviation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `average-deviation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`average-deviation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="average-deviation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Box and Whisker Plot Maker API # Box and Whisker Plot Maker API math 1 credit / call v2026-04-22 Compute box plot statistics, whiskers, fences, and outliers. One POST adds Box and Whisker Plot Maker to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Box and Whisker Plot Maker on miniwebtool.com →](https://miniwebtool.com/box-and-whisker-plot-maker/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/box-and-whisker-plot-maker/run ``` ### Request body Field Type Req. `data` `list` — `method` exclusive | inclusive `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "box-and-whisker-plot-maker", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (list) method (str) exclusive inclusive exclusive | inclusive precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`box-and-whisker-plot-maker`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/box-and-whisker-plot-maker/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/box-and-whisker-plot-maker/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/box-and-whisker-plot-maker/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/box-and-whisker-plot-maker/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/box-and-whisker-plot-maker/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/box-and-whisker-plot-maker/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call box-and-whisker-plot-maker - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/box-and-whisker-plot-maker/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Box and Whisker Plot Maker API do? + Compute box plot statistics, whiskers, fences, and outliers. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Box and Whisker Plot Maker cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Box and Whisker Plot Maker API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Box and Whisker Plot Maker API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Box and Whisker Plot Maker API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `box-and-whisker-plot-maker` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`box-and-whisker-plot-maker`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="box-and-whisker-plot-maker")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Chi Square Test Calculator API # Chi Square Test Calculator API math 1 credit / call v2026-04-22 Run a chi-square goodness-of-fit test for observed and expected counts. One POST adds Chi Square Test Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Chi Square Test Calculator on miniwebtool.com →](https://miniwebtool.com/chi-square-test-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/chi-square-test-calculator/run ``` ### Request body Field Type Req. `observed` `list` — `expected` `list[float] | None` — `significance_level` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "chi-square-test-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) observed (list) expected (list[float] | None) significance_level (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`chi-square-test-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/chi-square-test-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/chi-square-test-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/chi-square-test-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/chi-square-test-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/chi-square-test-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/chi-square-test-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call chi-square-test-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/chi-square-test-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Chi Square Test Calculator API do? + Run a chi-square goodness-of-fit test for observed and expected counts. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Chi Square Test Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Chi Square Test Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Chi Square Test Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Chi Square Test Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `chi-square-test-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`chi-square-test-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="chi-square-test-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Coefficient of Variation Calculator API # Coefficient of Variation Calculator API math 1 credit / call v2026-04-22 Calculate coefficient of variation from sample or population standard deviation. One POST adds Coefficient of Variation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Coefficient of Variation Calculator on miniwebtool.com →](https://miniwebtool.com/coefficient-of-variation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/coefficient-of-variation-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `calc_type` sample | population `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "coefficient-of-variation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 10, 20, 30, 40, 50 calc_type (str) sample population sample | population precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`coefficient-of-variation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/coefficient-of-variation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"10, 20, 30, 40, 50","calc_type":"sample","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/coefficient-of-variation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '10, 20, 30, 40, 50', 'calc_type': 'sample', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/coefficient-of-variation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"10, 20, 30, 40, 50","calc_type":"sample","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '10, 20, 30, 40, 50', 'calc_type' => 'sample', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/coefficient-of-variation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '10, 20, 30, 40, 50', 'calc_type' => 'sample', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "10, 20, 30, 40, 50", "calc_type": "sample", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/coefficient-of-variation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/coefficient-of-variation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"10, 20, 30, 40, 50\",\"calc_type\":\"sample\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call coefficient-of-variation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/coefficient-of-variation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Coefficient of Variation Calculator API do? + Calculate coefficient of variation from sample or population standard deviation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Coefficient of Variation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Coefficient of Variation Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Coefficient of Variation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Coefficient of Variation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `coefficient-of-variation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`coefficient-of-variation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="coefficient-of-variation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cohen's d Calculator API # Cohen's d Calculator API math 1 credit / call v2026-04-22 Calculate Cohen's d, Hedges' g, overlap, and effect-size interpretation. One POST adds Cohen's d Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cohen's d Calculator on miniwebtool.com →](https://miniwebtool.com/cohens-d-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cohens-d-calculator/run ``` ### Request body Field Type Req. `input_mode` raw | summary `str` — `sample1` `str` — `sample2` `str` — `mean1` `float | None` — `std1` `float | None` — `n1` `int | None` — `mean2` `float | None` — `std2` `float | None` — `n2` `int | None` — `pooling_method` pooled | control `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cohens-d-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) input_mode (str) raw summary raw | summary sample1 (str) 85, 90, 88, 75, 95 sample2 (str) 78, 82, 80, 76, 85 mean1 (float | None) std1 (float | None) n1 (int | None) mean2 (float | None) std2 (float | None) n2 (int | None) pooling_method (str) pooled control pooled | control precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cohens-d-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cohens-d-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"input_mode":"raw","sample1":"85, 90, 88, 75, 95","sample2":"78, 82, 80, 76, 85","pooling_method":"pooled","precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cohens-d-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'input_mode': 'raw', 'sample1': '85, 90, 88, 75, 95', 'sample2': '78, 82, 80, 76, 85', 'pooling_method': 'pooled', 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cohens-d-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"input_mode":"raw","sample1":"85, 90, 88, 75, 95","sample2":"78, 82, 80, 76, 85","pooling_method":"pooled","precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'input_mode' => 'raw', 'sample1' => '85, 90, 88, 75, 95', 'sample2' => '78, 82, 80, 76, 85', 'pooling_method' => 'pooled', 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cohens-d-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'input_mode' => 'raw', 'sample1' => '85, 90, 88, 75, 95', 'sample2' => '78, 82, 80, 76, 85', 'pooling_method' => 'pooled', 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "input_mode": "raw", "sample1": "85, 90, 88, 75, 95", "sample2": "78, 82, 80, 76, 85", "pooling_method": "pooled", "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cohens-d-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cohens-d-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"input_mode\":\"raw\",\"sample1\":\"85, 90, 88, 75, 95\",\"sample2\":\"78, 82, 80, 76, 85\",\"pooling_method\":\"pooled\",\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cohens-d-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cohens-d-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cohen's d Calculator API do? + Calculate Cohen's d, Hedges' g, overlap, and effect-size interpretation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cohen's d Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cohen's d Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cohen's d Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cohen's d Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cohens-d-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cohens-d-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cohens-d-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Correlation Coefficient Calculator API # Correlation Coefficient Calculator API math 1 credit / call v2026-04-22 Calculate Pearson, Spearman, and Kendall correlation coefficients. One POST adds Correlation Coefficient Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Correlation Coefficient Calculator on miniwebtool.com →](https://miniwebtool.com/correlation-coefficient-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/correlation-coefficient-calculator/run ``` ### Request body Field Type Req. `data_x` `str` — `data_y` `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "correlation-coefficient-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data_x (str) 1, 2, 3, 4, 5 data_y (str) 2, 4, 5, 4, 5 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`correlation-coefficient-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/correlation-coefficient-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data_x":"1, 2, 3, 4, 5","data_y":"2, 4, 5, 4, 5","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/correlation-coefficient-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data_x': '1, 2, 3, 4, 5', 'data_y': '2, 4, 5, 4, 5', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/correlation-coefficient-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data_x":"1, 2, 3, 4, 5","data_y":"2, 4, 5, 4, 5","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data_x' => '1, 2, 3, 4, 5', 'data_y' => '2, 4, 5, 4, 5', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/correlation-coefficient-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data_x' => '1, 2, 3, 4, 5', 'data_y' => '2, 4, 5, 4, 5', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data_x": "1, 2, 3, 4, 5", "data_y": "2, 4, 5, 4, 5", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/correlation-coefficient-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/correlation-coefficient-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data_x\":\"1, 2, 3, 4, 5\",\"data_y\":\"2, 4, 5, 4, 5\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call correlation-coefficient-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/correlation-coefficient-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Correlation Coefficient Calculator API do? + Calculate Pearson, Spearman, and Kendall correlation coefficients. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Correlation Coefficient Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Correlation Coefficient Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Correlation Coefficient Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Correlation Coefficient Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `correlation-coefficient-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`correlation-coefficient-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="correlation-coefficient-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Find Minimum and Maximum API # Find Minimum and Maximum API math 1 credit / call v2026-04-22 Find min, max, range, mean, median, positions, and sorted values for a number list. One POST adds Find Minimum and Maximum to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Find Minimum and Maximum on miniwebtool.com →](https://miniwebtool.com/find-minimum-maximum/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/find-minimum-maximum/run ``` ### Request body Field Type Req. `numbers` `list` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "find-minimum-maximum", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) numbers (list) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`find-minimum-maximum`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/find-minimum-maximum/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"numbers":[15,-3,42,8.5,-17,23,0]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/find-minimum-maximum/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'numbers': [15, -3, 42, 8.5, -17, 23, 0]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/find-minimum-maximum/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"numbers":[15,-3,42,8.5,-17,23,0]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'numbers' => '[15, -3, 42, 8.5, -17, 23, 0]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/find-minimum-maximum/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'numbers' => '[15, -3, 42, 8.5, -17, 23, 0]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "numbers": "[15, -3, 42, 8.5, -17, 23, 0]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/find-minimum-maximum/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/find-minimum-maximum/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"numbers\":[15,-3,42,8.5,-17,23,0]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call find-minimum-maximum - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`numbers`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/find-minimum-maximum/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Find Minimum and Maximum API do? + Find min, max, range, mean, median, positions, and sorted values for a number list. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Find Minimum and Maximum cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Find Minimum and Maximum API require? + Required fields: numbers. Full schema at /v1/openapi.json. Is the Find Minimum and Maximum API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Find Minimum and Maximum API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `find-minimum-maximum` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`find-minimum-maximum`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="find-minimum-maximum")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Five Number Summary Calculator API # Five Number Summary Calculator API math 1 credit / call v2026-04-22 Calculate minimum, Q1, median, Q3, maximum, IQR, and outlier fences. One POST adds Five Number Summary Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Five Number Summary Calculator on miniwebtool.com →](https://miniwebtool.com/five-number-summary-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/five-number-summary-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `method` exclusive | inclusive | interpolation `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "five-number-summary-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 7, 15, 36, 39, 40, 41 method (str) exclusive inclusive interpolation exclusive | inclusive | interpolation precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`five-number-summary-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/five-number-summary-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"7, 15, 36, 39, 40, 41","method":"exclusive","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/five-number-summary-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '7, 15, 36, 39, 40, 41', 'method': 'exclusive', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/five-number-summary-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"7, 15, 36, 39, 40, 41","method":"exclusive","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '7, 15, 36, 39, 40, 41', 'method' => 'exclusive', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/five-number-summary-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '7, 15, 36, 39, 40, 41', 'method' => 'exclusive', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "7, 15, 36, 39, 40, 41", "method": "exclusive", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/five-number-summary-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/five-number-summary-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"7, 15, 36, 39, 40, 41\",\"method\":\"exclusive\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call five-number-summary-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/five-number-summary-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Five Number Summary Calculator API do? + Calculate minimum, Q1, median, Q3, maximum, IQR, and outlier fences. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Five Number Summary Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Five Number Summary Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Five Number Summary Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Five Number Summary Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `five-number-summary-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`five-number-summary-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="five-number-summary-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Geometric Mean Calculator API # Geometric Mean Calculator API math 1 credit / call v2026-04-22 Calculate geometric mean and compare it with arithmetic, harmonic, median, minimum, and maximum values. One POST adds Geometric Mean Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Geometric Mean Calculator on miniwebtool.com →](https://miniwebtool.com/geometric-mean-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/geometric-mean-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "geometric-mean-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 2, 4, 8, 16 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`geometric-mean-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/geometric-mean-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"2, 4, 8, 16","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/geometric-mean-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '2, 4, 8, 16', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/geometric-mean-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"2, 4, 8, 16","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '2, 4, 8, 16', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/geometric-mean-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '2, 4, 8, 16', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "2, 4, 8, 16", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/geometric-mean-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/geometric-mean-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"2, 4, 8, 16\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call geometric-mean-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/geometric-mean-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Geometric Mean Calculator API do? + Calculate geometric mean and compare it with arithmetic, harmonic, median, minimum, and maximum values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Geometric Mean Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Geometric Mean Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Geometric Mean Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Geometric Mean Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `geometric-mean-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`geometric-mean-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="geometric-mean-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Harmonic Mean Calculator API # Harmonic Mean Calculator API math 1 credit / call v2026-04-22 Calculate harmonic mean for positive non-zero values with comparison means and reciprocal totals. One POST adds Harmonic Mean Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Harmonic Mean Calculator on miniwebtool.com →](https://miniwebtool.com/harmonic-mean-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/harmonic-mean-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "harmonic-mean-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 2, 4, 8 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`harmonic-mean-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/harmonic-mean-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"2, 4, 8","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/harmonic-mean-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '2, 4, 8', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/harmonic-mean-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"2, 4, 8","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '2, 4, 8', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/harmonic-mean-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '2, 4, 8', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "2, 4, 8", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/harmonic-mean-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/harmonic-mean-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"2, 4, 8\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call harmonic-mean-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/harmonic-mean-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Harmonic Mean Calculator API do? + Calculate harmonic mean for positive non-zero values with comparison means and reciprocal totals. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Harmonic Mean Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Harmonic Mean Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Harmonic Mean Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Harmonic Mean Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `harmonic-mean-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`harmonic-mean-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="harmonic-mean-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Interquartile Range Calculator API # Interquartile Range Calculator API math 1 credit / call v2026-04-22 Calculate IQR, quartiles, and 1.5-IQR outlier fences. One POST adds Interquartile Range Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Interquartile Range Calculator on miniwebtool.com →](https://miniwebtool.com/interquartile-range-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/interquartile-range-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `method` exclusive | inclusive `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "interquartile-range-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 7, 15, 36, 39, 40, 41 method (str) exclusive inclusive exclusive | inclusive precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`interquartile-range-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/interquartile-range-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"7, 15, 36, 39, 40, 41","method":"exclusive","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/interquartile-range-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '7, 15, 36, 39, 40, 41', 'method': 'exclusive', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/interquartile-range-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"7, 15, 36, 39, 40, 41","method":"exclusive","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '7, 15, 36, 39, 40, 41', 'method' => 'exclusive', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/interquartile-range-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '7, 15, 36, 39, 40, 41', 'method' => 'exclusive', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "7, 15, 36, 39, 40, 41", "method": "exclusive", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/interquartile-range-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/interquartile-range-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"7, 15, 36, 39, 40, 41\",\"method\":\"exclusive\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call interquartile-range-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/interquartile-range-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Interquartile Range Calculator API do? + Calculate IQR, quartiles, and 1.5-IQR outlier fences. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Interquartile Range Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Interquartile Range Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Interquartile Range Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Interquartile Range Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `interquartile-range-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`interquartile-range-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="interquartile-range-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Mean Absolute Deviation Calculator API # Mean Absolute Deviation Calculator API math 1 credit / call v2026-04-22 Calculate mean or median absolute deviation for a numeric dataset. One POST adds Mean Absolute Deviation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Mean Absolute Deviation Calculator on miniwebtool.com →](https://miniwebtool.com/mean-absolute-deviation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/mean-absolute-deviation-calculator/run ``` ### Request body Field Type Req. `data` `list` — `mad_type` mean | median `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "mean-absolute-deviation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (list) mad_type (str) mean median mean | median precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`mean-absolute-deviation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/mean-absolute-deviation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/mean-absolute-deviation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/mean-absolute-deviation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/mean-absolute-deviation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/mean-absolute-deviation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/mean-absolute-deviation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call mean-absolute-deviation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/mean-absolute-deviation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Mean Absolute Deviation Calculator API do? + Calculate mean or median absolute deviation for a numeric dataset. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Mean Absolute Deviation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Mean Absolute Deviation Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Mean Absolute Deviation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Mean Absolute Deviation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `mean-absolute-deviation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`mean-absolute-deviation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="mean-absolute-deviation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Mean Calculator API # Mean Calculator API math 1 credit / call v2026-04-22 Calculate arithmetic mean and supporting summary statistics. One POST adds Mean Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Mean Calculator on miniwebtool.com →](https://miniwebtool.com/mean-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/mean-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "mean-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 12, 15, 18, 22, 25, 30 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`mean-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/mean-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"12, 15, 18, 22, 25, 30","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/mean-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '12, 15, 18, 22, 25, 30', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/mean-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"12, 15, 18, 22, 25, 30","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '12, 15, 18, 22, 25, 30', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/mean-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '12, 15, 18, 22, 25, 30', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "12, 15, 18, 22, 25, 30", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/mean-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/mean-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"12, 15, 18, 22, 25, 30\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call mean-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/mean-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Mean Calculator API do? + Calculate arithmetic mean and supporting summary statistics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Mean Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Mean Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Mean Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Mean Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `mean-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`mean-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="mean-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Median Absolute Deviation Calculator API # Median Absolute Deviation Calculator API math 1 credit / call v2026-04-22 Calculate raw and scaled median absolute deviation as a robust spread measure. One POST adds Median Absolute Deviation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Median Absolute Deviation Calculator on miniwebtool.com →](https://miniwebtool.com/median-absolute-deviation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/median-absolute-deviation-calculator/run ``` ### Request body Field Type Req. `data` `list` — `scale_factor` none | 1.4826 | 1.2533 | custom `str` — `custom_scale` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "median-absolute-deviation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (list) scale_factor (str) none 1.4826 1.2533 custom none | 1.4826 | 1.2533 | custom custom_scale (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`median-absolute-deviation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/median-absolute-deviation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/median-absolute-deviation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/median-absolute-deviation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/median-absolute-deviation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/median-absolute-deviation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/median-absolute-deviation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call median-absolute-deviation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/median-absolute-deviation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Median Absolute Deviation Calculator API do? + Calculate raw and scaled median absolute deviation as a robust spread measure. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Median Absolute Deviation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Median Absolute Deviation Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Median Absolute Deviation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Median Absolute Deviation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `median-absolute-deviation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`median-absolute-deviation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="median-absolute-deviation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Median Calculator API # Median Calculator API math 1 credit / call v2026-04-22 Calculate the median, sorted data, quartiles, and range. One POST adds Median Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Median Calculator on miniwebtool.com →](https://miniwebtool.com/median-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/median-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "median-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`median-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/median-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/median-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/median-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/median-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/median-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/median-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"12, 5, 22, 30, 7, 36, 14, 42, 15, 53, 25\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call median-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/median-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Median Calculator API do? + Calculate the median, sorted data, quartiles, and range. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Median Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Median Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Median Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Median Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `median-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`median-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="median-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Midrange Calculator API # Midrange Calculator API math 1 credit / call v2026-04-22 Calculate the midpoint between the minimum and maximum of a dataset. One POST adds Midrange Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Midrange Calculator on miniwebtool.com →](https://miniwebtool.com/midrange-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/midrange-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "midrange-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 10, 25, 37, 48, 62, 75, 88 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`midrange-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/midrange-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"10, 25, 37, 48, 62, 75, 88","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/midrange-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '10, 25, 37, 48, 62, 75, 88', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/midrange-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"10, 25, 37, 48, 62, 75, 88","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '10, 25, 37, 48, 62, 75, 88', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/midrange-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '10, 25, 37, 48, 62, 75, 88', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "10, 25, 37, 48, 62, 75, 88", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/midrange-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/midrange-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"10, 25, 37, 48, 62, 75, 88\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call midrange-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/midrange-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Midrange Calculator API do? + Calculate the midpoint between the minimum and maximum of a dataset. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Midrange Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Midrange Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Midrange Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Midrange Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `midrange-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`midrange-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="midrange-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Mode Calculator API # Mode Calculator API math 1 credit / call v2026-04-22 Find the mode or modes and frequency table for a numeric dataset. One POST adds Mode Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Mode Calculator on miniwebtool.com →](https://miniwebtool.com/mode-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/mode-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "mode-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 1, 2, 2, 3, 3, 3, 4, 5 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`mode-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/mode-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"1, 2, 2, 3, 3, 3, 4, 5","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/mode-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '1, 2, 2, 3, 3, 3, 4, 5', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/mode-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"1, 2, 2, 3, 3, 3, 4, 5","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '1, 2, 2, 3, 3, 3, 4, 5', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/mode-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '1, 2, 2, 3, 3, 3, 4, 5', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "1, 2, 2, 3, 3, 3, 4, 5", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/mode-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/mode-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"1, 2, 2, 3, 3, 3, 4, 5\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call mode-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/mode-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Mode Calculator API do? + Find the mode or modes and frequency table for a numeric dataset. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Mode Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Mode Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Mode Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Mode Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `mode-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`mode-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="mode-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Outlier Calculator API # Outlier Calculator API math 1 credit / call v2026-04-22 Detect IQR outliers and return quartiles, bounds, and counts. One POST adds Outlier Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Outlier Calculator on miniwebtool.com →](https://miniwebtool.com/outlier-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/outlier-calculator/run ``` ### Request body Field Type Req. `data` `list` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "outlier-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (list) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`outlier-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/outlier-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/outlier-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/outlier-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/outlier-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/outlier-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/outlier-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call outlier-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/outlier-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Outlier Calculator API do? + Detect IQR outliers and return quartiles, bounds, and counts. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Outlier Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Outlier Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Outlier Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Outlier Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `outlier-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`outlier-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="outlier-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Population Variance Calculator API # Population Variance Calculator API math 1 credit / call v2026-04-22 Calculate population variance and population standard deviation. One POST adds Population Variance Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Population Variance Calculator on miniwebtool.com →](https://miniwebtool.com/population-variance-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/population-variance-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "population-variance-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 10, 20, 30, 40, 50 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`population-variance-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/population-variance-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"10, 20, 30, 40, 50","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/population-variance-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '10, 20, 30, 40, 50', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/population-variance-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"10, 20, 30, 40, 50","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '10, 20, 30, 40, 50', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/population-variance-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '10, 20, 30, 40, 50', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "10, 20, 30, 40, 50", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/population-variance-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/population-variance-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"10, 20, 30, 40, 50\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call population-variance-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/population-variance-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Population Variance Calculator API do? + Calculate population variance and population standard deviation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Population Variance Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Population Variance Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Population Variance Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Population Variance Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `population-variance-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`population-variance-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="population-variance-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Quartile Calculator API # Quartile Calculator API math 1 credit / call v2026-04-22 Calculate Q1, Q2, Q3, IQR, and outlier fences using a selected quartile method. One POST adds Quartile Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Quartile Calculator on miniwebtool.com →](https://miniwebtool.com/quartile-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/quartile-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `method` exclusive | inclusive | linear `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "quartile-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 2, 4, 6, 8, 10, 12, 14, 16, 18, 20 method (str) exclusive inclusive linear exclusive | inclusive | linear precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`quartile-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/quartile-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"2, 4, 6, 8, 10, 12, 14, 16, 18, 20","method":"exclusive","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/quartile-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '2, 4, 6, 8, 10, 12, 14, 16, 18, 20', 'method': 'exclusive', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/quartile-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"2, 4, 6, 8, 10, 12, 14, 16, 18, 20","method":"exclusive","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '2, 4, 6, 8, 10, 12, 14, 16, 18, 20', 'method' => 'exclusive', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/quartile-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '2, 4, 6, 8, 10, 12, 14, 16, 18, 20', 'method' => 'exclusive', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "2, 4, 6, 8, 10, 12, 14, 16, 18, 20", "method": "exclusive", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/quartile-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/quartile-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"2, 4, 6, 8, 10, 12, 14, 16, 18, 20\",\"method\":\"exclusive\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call quartile-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/quartile-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Quartile Calculator API do? + Calculate Q1, Q2, Q3, IQR, and outlier fences using a selected quartile method. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Quartile Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Quartile Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Quartile Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Quartile Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `quartile-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`quartile-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="quartile-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Quartile Deviation Calculator API # Quartile Deviation Calculator API math 1 credit / call v2026-04-22 Calculate quartile deviation, IQR fences, and outliers for numeric data. One POST adds Quartile Deviation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Quartile Deviation Calculator on miniwebtool.com →](https://miniwebtool.com/quartile-deviation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/quartile-deviation-calculator/run ``` ### Request body Field Type Req. `data` `list` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "quartile-deviation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (list) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`quartile-deviation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/quartile-deviation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/quartile-deviation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/quartile-deviation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/quartile-deviation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/quartile-deviation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/quartile-deviation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call quartile-deviation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/quartile-deviation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Quartile Deviation Calculator API do? + Calculate quartile deviation, IQR fences, and outliers for numeric data. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Quartile Deviation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Quartile Deviation Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Quartile Deviation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Quartile Deviation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `quartile-deviation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`quartile-deviation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="quartile-deviation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Relative Standard Deviation Calculator API # Relative Standard Deviation Calculator API math 1 credit / call v2026-04-22 Calculate RSD, coefficient of variation, and precision quality for data. One POST adds Relative Standard Deviation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Relative Standard Deviation Calculator on miniwebtool.com →](https://miniwebtool.com/relative-standard-deviation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/relative-standard-deviation-calculator/run ``` ### Request body Field Type Req. `data` `list` — `sample_type` sample | population `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "relative-standard-deviation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (list) sample_type (str) sample population sample | population precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`relative-standard-deviation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/relative-standard-deviation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/relative-standard-deviation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/relative-standard-deviation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/relative-standard-deviation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/relative-standard-deviation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/relative-standard-deviation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call relative-standard-deviation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/relative-standard-deviation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Relative Standard Deviation Calculator API do? + Calculate RSD, coefficient of variation, and precision quality for data. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Relative Standard Deviation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Relative Standard Deviation Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Relative Standard Deviation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Relative Standard Deviation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `relative-standard-deviation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`relative-standard-deviation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="relative-standard-deviation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Root Mean Square Calculator API # Root Mean Square Calculator API math 1 credit / call v2026-04-22 Calculate root mean square for a numeric list. One POST adds Root Mean Square Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Root Mean Square Calculator on miniwebtool.com →](https://miniwebtool.com/root-mean-square-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/root-mean-square-calculator/run ``` ### Request body Field Type Req. `values` `list` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "root-mean-square-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) values (list) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`root-mean-square-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/root-mean-square-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"values":[1,2,3,4]}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/root-mean-square-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'values': [1, 2, 3, 4]}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/root-mean-square-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"values":[1,2,3,4]}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'values' => '[1, 2, 3, 4]' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/root-mean-square-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'values' => '[1, 2, 3, 4]' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "values": "[1, 2, 3, 4]", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/root-mean-square-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/root-mean-square-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"values\":[1,2,3,4]}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call root-mean-square-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`values`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/root-mean-square-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Root Mean Square Calculator API do? + Calculate root mean square for a numeric list. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Root Mean Square Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Root Mean Square Calculator API require? + Required fields: values. Full schema at /v1/openapi.json. Is the Root Mean Square Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Root Mean Square Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `root-mean-square-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`root-mean-square-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="root-mean-square-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Sample Mean Calculator API # Sample Mean Calculator API math 1 credit / call v2026-04-22 Calculate sample mean plus core descriptive statistics for a numeric dataset. One POST adds Sample Mean Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Sample Mean Calculator on miniwebtool.com →](https://miniwebtool.com/sample-mean-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sample-mean-calculator/run ``` ### Request body Field Type Req. `data` `list` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sample-mean-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (list) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sample-mean-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sample-mean-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sample-mean-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sample-mean-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sample-mean-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sample-mean-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sample-mean-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sample-mean-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sample-mean-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Sample Mean Calculator API do? + Calculate sample mean plus core descriptive statistics for a numeric dataset. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Sample Mean Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Sample Mean Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Sample Mean Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Sample Mean Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sample-mean-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sample-mean-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sample-mean-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Sample Standard Deviation Calculator API # Sample Standard Deviation Calculator API math 1 credit / call v2026-04-22 Calculate sample standard deviation and optional z-score outliers. One POST adds Sample Standard Deviation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Sample Standard Deviation Calculator on miniwebtool.com →](https://miniwebtool.com/sample-standard-deviation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sample-standard-deviation-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — `show_outliers` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sample-standard-deviation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 10, 20, 30, 40, 50 precision (int) show_outliers (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sample-standard-deviation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sample-standard-deviation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"10, 20, 30, 40, 50","precision":6,"show_outliers":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sample-standard-deviation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '10, 20, 30, 40, 50', 'precision': 6, 'show_outliers': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sample-standard-deviation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"10, 20, 30, 40, 50","precision":6,"show_outliers":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '10, 20, 30, 40, 50', 'precision' => 6, 'show_outliers' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sample-standard-deviation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '10, 20, 30, 40, 50', 'precision' => 6, 'show_outliers' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "10, 20, 30, 40, 50", "precision": 6, "show_outliers": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sample-standard-deviation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sample-standard-deviation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"10, 20, 30, 40, 50\",\"precision\":6,\"show_outliers\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sample-standard-deviation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sample-standard-deviation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Sample Standard Deviation Calculator API do? + Calculate sample standard deviation and optional z-score outliers. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Sample Standard Deviation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Sample Standard Deviation Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Sample Standard Deviation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Sample Standard Deviation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sample-standard-deviation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sample-standard-deviation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sample-standard-deviation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Sample Variance Calculator API # Sample Variance Calculator API math 1 credit / call v2026-04-22 Calculate sample or population variance from a numeric dataset. One POST adds Sample Variance Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Sample Variance Calculator on miniwebtool.com →](https://miniwebtool.com/sample-variance-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sample-variance-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `variance_type` sample | population `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sample-variance-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 10, 20, 30, 40, 50 variance_type (str) sample population sample | population precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sample-variance-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sample-variance-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"10, 20, 30, 40, 50","variance_type":"sample","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sample-variance-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '10, 20, 30, 40, 50', 'variance_type': 'sample', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sample-variance-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"10, 20, 30, 40, 50","variance_type":"sample","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '10, 20, 30, 40, 50', 'variance_type' => 'sample', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sample-variance-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '10, 20, 30, 40, 50', 'variance_type' => 'sample', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "10, 20, 30, 40, 50", "variance_type": "sample", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sample-variance-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sample-variance-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"10, 20, 30, 40, 50\",\"variance_type\":\"sample\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sample-variance-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sample-variance-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Sample Variance Calculator API do? + Calculate sample or population variance from a numeric dataset. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Sample Variance Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Sample Variance Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Sample Variance Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Sample Variance Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sample-variance-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sample-variance-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sample-variance-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Standard Deviation Calculator API # Standard Deviation Calculator API math 1 credit / call v2026-04-22 Calculate sample and population standard deviation with quartiles. One POST adds Standard Deviation Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Standard Deviation Calculator on miniwebtool.com →](https://miniwebtool.com/standard-deviation-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/standard-deviation-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "standard-deviation-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 10, 20, 30, 40, 50 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`standard-deviation-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/standard-deviation-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"10, 20, 30, 40, 50","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/standard-deviation-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '10, 20, 30, 40, 50', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/standard-deviation-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"10, 20, 30, 40, 50","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '10, 20, 30, 40, 50', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/standard-deviation-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '10, 20, 30, 40, 50', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "10, 20, 30, 40, 50", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/standard-deviation-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/standard-deviation-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"10, 20, 30, 40, 50\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call standard-deviation-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/standard-deviation-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Standard Deviation Calculator API do? + Calculate sample and population standard deviation with quartiles. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Standard Deviation Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Standard Deviation Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Standard Deviation Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Standard Deviation Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `standard-deviation-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`standard-deviation-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="standard-deviation-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Standard Error Calculator API # Standard Error Calculator API math 1 credit / call v2026-04-22 Calculate standard error of the mean and a z-based confidence interval. One POST adds Standard Error Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Standard Error Calculator on miniwebtool.com →](https://miniwebtool.com/standard-error-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/standard-error-calculator/run ``` ### Request body Field Type Req. `data` `list` — `confidence_level` 68 | 90 | 95 | 99 | 99.9 `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "standard-error-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (list) confidence_level (str) 68 90 95 99 99.9 68 | 90 | 95 | 99 | 99.9 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`standard-error-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/standard-error-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/standard-error-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/standard-error-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/standard-error-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/standard-error-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/standard-error-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call standard-error-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/standard-error-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Standard Error Calculator API do? + Calculate standard error of the mean and a z-based confidence interval. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Standard Error Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Standard Error Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Standard Error Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Standard Error Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `standard-error-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`standard-error-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="standard-error-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Variance Calculator API # Variance Calculator API math 1 credit / call v2026-04-22 Calculate sample and population variance with related statistics. One POST adds Variance Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Variance Calculator on miniwebtool.com →](https://miniwebtool.com/variance-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/variance-calculator/run ``` ### Request body Field Type Req. `data` `str` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "variance-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) data (str) * 10, 20, 30, 40, 50 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`variance-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/variance-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"data":"10, 20, 30, 40, 50","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/variance-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'data': '10, 20, 30, 40, 50', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/variance-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"data":"10, 20, 30, 40, 50","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'data' => '10, 20, 30, 40, 50', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/variance-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'data' => '10, 20, 30, 40, 50', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "data": "10, 20, 30, 40, 50", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/variance-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/variance-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"data\":\"10, 20, 30, 40, 50\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call variance-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`data`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/variance-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Variance Calculator API do? + Calculate sample and population variance with related statistics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Variance Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Variance Calculator API require? + Required fields: data. Full schema at /v1/openapi.json. Is the Variance Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Variance Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `variance-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`variance-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="variance-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Weibull Distribution Calculator API # Weibull Distribution Calculator API math 1 credit / call v2026-04-22 Calculate Weibull PDF/CDF/reliability, moments, and B-life values. One POST adds Weibull Distribution Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Weibull Distribution Calculator on miniwebtool.com →](https://miniwebtool.com/weibull-distribution-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/weibull-distribution-calculator/run ``` ### Request body Field Type Req. `beta` `float` — `eta` `float` — `mode` le | ge | between `str` — `x` `float` — `x_lower` `float` — `x_upper` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "weibull-distribution-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) beta (float) eta (float) mode (str) le ge between le | ge | between x (float) x_lower (float) x_upper (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`weibull-distribution-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/weibull-distribution-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"beta":1.5,"eta":1000,"mode":"le","x":500}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/weibull-distribution-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'beta': 1.5, 'eta': 1000, 'mode': 'le', 'x': 500}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/weibull-distribution-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"beta":1.5,"eta":1000,"mode":"le","x":500}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'beta' => 1.5, 'eta' => 1000, 'mode' => 'le', 'x' => 500 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/weibull-distribution-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'beta' => 1.5, 'eta' => 1000, 'mode' => 'le', 'x' => 500 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "beta": 1.5, "eta": 1000, "mode": "le", "x": 500, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/weibull-distribution-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/weibull-distribution-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"beta\":1.5,\"eta\":1000,\"mode\":\"le\",\"x\":500}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call weibull-distribution-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/weibull-distribution-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Weibull Distribution Calculator API do? + Calculate Weibull PDF/CDF/reliability, moments, and B-life values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Weibull Distribution Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Weibull Distribution Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Weibull Distribution Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Weibull Distribution Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `weibull-distribution-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`weibull-distribution-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="weibull-distribution-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Z-Score Calculator API # Z-Score Calculator API math 1 credit / call v2026-04-22 Calculate z-scores, inverse values, percentiles, and normal probabilities. One POST adds Z-Score Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Z-Score Calculator on miniwebtool.com →](https://miniwebtool.com/zscore-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/zscore-calculator/run ``` ### Request body Field Type Req. `calc_mode` value_to_z | z_to_value `str` — `data_value` `float` — `zscore_input` `float` — `mean` `float` — `std_dev` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "zscore-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calc_mode (str) value_to_z z_to_value value_to_z | z_to_value data_value (float) zscore_input (float) mean (float) std_dev (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`zscore-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/zscore-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"value_to_z","data_value":85,"mean":75,"std_dev":10,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/zscore-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'value_to_z', 'data_value': 85, 'mean': 75, 'std_dev': 10, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/zscore-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"value_to_z","data_value":85,"mean":75,"std_dev":10,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'value_to_z', 'data_value' => 85, 'mean' => 75, 'std_dev' => 10, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/zscore-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'value_to_z', 'data_value' => 85, 'mean' => 75, 'std_dev' => 10, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "value_to_z", "data_value": 85, "mean": 75, "std_dev": 10, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/zscore-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/zscore-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"value_to_z\",\"data_value\":85,\"mean\":75,\"std_dev\":10,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call zscore-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/zscore-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Z-Score Calculator API do? + Calculate z-scores, inverse values, percentiles, and normal probabilities. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Z-Score Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Z-Score Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Z-Score Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Z-Score Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `zscore-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`zscore-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="zscore-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Surface Area of a Cone Calculator API # Surface Area of a Cone Calculator API math 1 credit / call v2026-04-22 Calculate cone base, lateral, and total surface area from radius-height, radius-slant, or diameter-height inputs. One POST adds Surface Area of a Cone Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Surface Area of a Cone Calculator on miniwebtool.com →](https://miniwebtool.com/surface-area-of-a-cone-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/surface-area-of-a-cone-calculator/run ``` ### Request body Field Type Req. `input_mode` radius_height | radius_slant | diameter_height `str` — `value1` `float` — `value2` `float` — `unit` units | mm | cm | m | in | ft | yd `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "surface-area-of-a-cone-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) input_mode (str) radius_height radius_slant diameter_height radius_height | radius_slant | diameter_height value1 (float) value2 (float) unit (str) units mm cm m in ft yd units | mm | cm | m | in | ft | yd precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`surface-area-of-a-cone-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/surface-area-of-a-cone-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"input_mode":"radius_height","value1":3,"value2":4,"unit":"units","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/surface-area-of-a-cone-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'input_mode': 'radius_height', 'value1': 3, 'value2': 4, 'unit': 'units', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/surface-area-of-a-cone-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"input_mode":"radius_height","value1":3,"value2":4,"unit":"units","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'input_mode' => 'radius_height', 'value1' => 3, 'value2' => 4, 'unit' => 'units', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/surface-area-of-a-cone-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'input_mode' => 'radius_height', 'value1' => 3, 'value2' => 4, 'unit' => 'units', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "input_mode": "radius_height", "value1": 3, "value2": 4, "unit": "units", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/surface-area-of-a-cone-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/surface-area-of-a-cone-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"input_mode\":\"radius_height\",\"value1\":3,\"value2\":4,\"unit\":\"units\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call surface-area-of-a-cone-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/surface-area-of-a-cone-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Surface Area of a Cone Calculator API do? + Calculate cone base, lateral, and total surface area from radius-height, radius-slant, or diameter-height inputs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Surface Area of a Cone Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Surface Area of a Cone Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Surface Area of a Cone Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Surface Area of a Cone Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `surface-area-of-a-cone-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`surface-area-of-a-cone-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="surface-area-of-a-cone-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Surface Area of a Cube Calculator API # Surface Area of a Cube Calculator API math 1 credit / call v2026-04-22 Calculate cube surface area and related measurements from edge, diagonal, volume, or surface area. One POST adds Surface Area of a Cube Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Surface Area of a Cube Calculator on miniwebtool.com →](https://miniwebtool.com/surface-area-of-a-cube-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/surface-area-of-a-cube-calculator/run ``` ### Request body Field Type Req. `input_type` edge | space_diagonal | face_diagonal | volume | surface_area `str` — `value` `float` — `unit` unitless | mm | cm | m | km | in | ft | yd | mi `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "surface-area-of-a-cube-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) input_type (str) edge space_diagonal face_diagonal volume surface_area edge | space_diagonal | face_diagonal | volume | surface_area value (float) unit (str) unitless mm cm m km in ft yd mi unitless | mm | cm | m | km | in | ft | yd | mi precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`surface-area-of-a-cube-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/surface-area-of-a-cube-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"input_type":"edge","value":2,"unit":"unitless","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/surface-area-of-a-cube-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'input_type': 'edge', 'value': 2, 'unit': 'unitless', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/surface-area-of-a-cube-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"input_type":"edge","value":2,"unit":"unitless","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'input_type' => 'edge', 'value' => 2, 'unit' => 'unitless', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/surface-area-of-a-cube-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'input_type' => 'edge', 'value' => 2, 'unit' => 'unitless', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "input_type": "edge", "value": 2, "unit": "unitless", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/surface-area-of-a-cube-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/surface-area-of-a-cube-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"input_type\":\"edge\",\"value\":2,\"unit\":\"unitless\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call surface-area-of-a-cube-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/surface-area-of-a-cube-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Surface Area of a Cube Calculator API do? + Calculate cube surface area and related measurements from edge, diagonal, volume, or surface area. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Surface Area of a Cube Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Surface Area of a Cube Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Surface Area of a Cube Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Surface Area of a Cube Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `surface-area-of-a-cube-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`surface-area-of-a-cube-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="surface-area-of-a-cube-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Commute Life Wasted Calculator API # Commute Life Wasted Calculator API math 1 credit / call v2026-04-22 Estimate weekly, yearly, and career time spent commuting. One POST adds Commute Life Wasted Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Commute Life Wasted Calculator on miniwebtool.com →](https://miniwebtool.com/commute-life-wasted-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/commute-life-wasted-calculator/run ``` ### Request body Field Type Req. `minutes_each_way` `float` — `days_per_week` `float` — `weeks_per_year` `float` — `working_years` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "commute-life-wasted-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) minutes_each_way (float) days_per_week (float) weeks_per_year (float) working_years (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`commute-life-wasted-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/commute-life-wasted-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/commute-life-wasted-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/commute-life-wasted-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/commute-life-wasted-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/commute-life-wasted-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/commute-life-wasted-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call commute-life-wasted-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/commute-life-wasted-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Commute Life Wasted Calculator API do? + Estimate weekly, yearly, and career time spent commuting. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Commute Life Wasted Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Commute Life Wasted Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Commute Life Wasted Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Commute Life Wasted Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `commute-life-wasted-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`commute-life-wasted-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="commute-life-wasted-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Arccos Calculator API # Arccos Calculator API math 1 credit / call v2026-04-22 Calculate inverse cosine in radians and degrees. One POST adds Arccos Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Arccos Calculator on miniwebtool.com →](https://miniwebtool.com/arccos-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/arccos-calculator/run ``` ### Request body Field Type Req. `value` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "arccos-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`arccos-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/arccos-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":0.5,"precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/arccos-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 0.5, 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/arccos-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":0.5,"precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 0.5, 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/arccos-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 0.5, 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 0.5, "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/arccos-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/arccos-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":0.5,\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call arccos-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/arccos-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Arccos Calculator API do? + Calculate inverse cosine in radians and degrees. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Arccos Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Arccos Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Arccos Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Arccos Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `arccos-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`arccos-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="arccos-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Arcsin Calculator API # Arcsin Calculator API math 1 credit / call v2026-04-22 Calculate arcsine from a sine value, including degree/radian output and special-angle recognition. One POST adds Arcsin Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Arcsin Calculator on miniwebtool.com →](https://miniwebtool.com/arcsin-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/arcsin-calculator/run ``` ### Request body Field Type Req. `sine_value` `float` — `unit` degrees | radians `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "arcsin-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) sine_value (float) unit (str) degrees radians degrees | radians precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`arcsin-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/arcsin-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"sine_value":0.5,"unit":"degrees","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/arcsin-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'sine_value': 0.5, 'unit': 'degrees', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/arcsin-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"sine_value":0.5,"unit":"degrees","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'sine_value' => 0.5, 'unit' => 'degrees', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/arcsin-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'sine_value' => 0.5, 'unit' => 'degrees', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "sine_value": 0.5, "unit": "degrees", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/arcsin-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/arcsin-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"sine_value\":0.5,\"unit\":\"degrees\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call arcsin-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/arcsin-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Arcsin Calculator API do? + Calculate arcsine from a sine value, including degree/radian output and special-angle recognition. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Arcsin Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Arcsin Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Arcsin Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Arcsin Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `arcsin-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`arcsin-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="arcsin-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Arctan Calculator API # Arctan Calculator API math 1 credit / call v2026-04-22 Calculate inverse tangent in radians and degrees. One POST adds Arctan Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Arctan Calculator on miniwebtool.com →](https://miniwebtool.com/arctan-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/arctan-calculator/run ``` ### Request body Field Type Req. `value` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "arctan-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`arctan-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/arctan-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":1,"precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/arctan-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 1, 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/arctan-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":1,"precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 1, 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/arctan-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 1, 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 1, "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/arctan-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/arctan-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":1,\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call arctan-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/arctan-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Arctan Calculator API do? + Calculate inverse tangent in radians and degrees. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Arctan Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Arctan Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Arctan Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Arctan Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `arctan-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`arctan-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="arctan-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Arctan2 Calculator API # Arctan2 Calculator API math 1 credit / call v2026-04-22 Calculate atan2(y, x), normalized angle, radius, slope, and quadrant. One POST adds Arctan2 Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Arctan2 Calculator on miniwebtool.com →](https://miniwebtool.com/arctan2-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/arctan2-calculator/run ``` ### Request body Field Type Req. `x_input` `float` — `y_input` `float` — `unit_choice` degrees | radians `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "arctan2-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) x_input (float) y_input (float) unit_choice (str) degrees radians degrees | radians precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`arctan2-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/arctan2-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"x_input":1,"y_input":1,"unit_choice":"degrees","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/arctan2-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'x_input': 1, 'y_input': 1, 'unit_choice': 'degrees', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/arctan2-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"x_input":1,"y_input":1,"unit_choice":"degrees","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'x_input' => 1, 'y_input' => 1, 'unit_choice' => 'degrees', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/arctan2-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'x_input' => 1, 'y_input' => 1, 'unit_choice' => 'degrees', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "x_input": 1, "y_input": 1, "unit_choice": "degrees", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/arctan2-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/arctan2-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"x_input\":1,\"y_input\":1,\"unit_choice\":\"degrees\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call arctan2-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/arctan2-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Arctan2 Calculator API do? + Calculate atan2(y, x), normalized angle, radius, slope, and quadrant. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Arctan2 Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Arctan2 Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Arctan2 Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Arctan2 Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `arctan2-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`arctan2-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="arctan2-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cosine Calculator API # Cosine Calculator API math 1 credit / call v2026-04-22 Calculate cosine with radians/degrees conversion, quadrant, and special-angle recognition. One POST adds Cosine Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cosine Calculator on miniwebtool.com →](https://miniwebtool.com/cosine-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cosine-calculator/run ``` ### Request body Field Type Req. `angle` `float` ✓ `unit_choice` degrees | radians `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cosine-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) angle (float) * unit_choice (str) degrees radians degrees | radians precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cosine-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cosine-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"angle":60,"unit_choice":"degrees","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cosine-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'angle': 60, 'unit_choice': 'degrees', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cosine-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"angle":60,"unit_choice":"degrees","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'angle' => 60, 'unit_choice' => 'degrees', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cosine-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'angle' => 60, 'unit_choice' => 'degrees', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "angle": 60, "unit_choice": "degrees", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cosine-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cosine-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"angle\":60,\"unit_choice\":\"degrees\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cosine-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`angle`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cosine-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cosine Calculator API do? + Calculate cosine with radians/degrees conversion, quadrant, and special-angle recognition. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cosine Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cosine Calculator API require? + Required fields: angle. Full schema at /v1/openapi.json. Is the Cosine Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cosine Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cosine-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cosine-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cosine-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cosecant/Secant/Cotangent Calculator API # Cosecant/Secant/Cotangent Calculator API math 1 credit / call v2026-04-22 Calculate csc, sec, cot, sine, and cosine for an angle. One POST adds Cosecant/Secant/Cotangent Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cosecant/Secant/Cotangent Calculator on miniwebtool.com →](https://miniwebtool.com/csc-sec-cot-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/csc-sec-cot-calculator/run ``` ### Request body Field Type Req. `angle` `float` — `unit` degrees | radians `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "csc-sec-cot-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) angle (float) unit (str) degrees radians degrees | radians precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`csc-sec-cot-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/csc-sec-cot-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"angle":30,"unit":"degrees","precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/csc-sec-cot-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'angle': 30, 'unit': 'degrees', 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/csc-sec-cot-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"angle":30,"unit":"degrees","precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'angle' => 30, 'unit' => 'degrees', 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/csc-sec-cot-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'angle' => 30, 'unit' => 'degrees', 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "angle": 30, "unit": "degrees", "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/csc-sec-cot-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/csc-sec-cot-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"angle\":30,\"unit\":\"degrees\",\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call csc-sec-cot-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/csc-sec-cot-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cosecant/Secant/Cotangent Calculator API do? + Calculate csc, sec, cot, sine, and cosine for an angle. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cosecant/Secant/Cotangent Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cosecant/Secant/Cotangent Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Cosecant/Secant/Cotangent Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cosecant/Secant/Cotangent Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `csc-sec-cot-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`csc-sec-cot-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="csc-sec-cot-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Degree to Radian Converter API # Degree to Radian Converter API math 1 credit / call v2026-04-22 Convert degrees to radians with pi-fraction, quadrant, and trig values. One POST adds Degree to Radian Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Degree to Radian Converter on miniwebtool.com →](https://miniwebtool.com/degree-to-radian-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/degree-to-radian-converter/run ``` ### Request body Field Type Req. `degrees` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "degree-to-radian-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) degrees (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`degree-to-radian-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/degree-to-radian-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"degrees":45}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/degree-to-radian-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'degrees': 45}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/degree-to-radian-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"degrees":45}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'degrees' => 45 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/degree-to-radian-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'degrees' => 45 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "degrees": 45, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/degree-to-radian-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/degree-to-radian-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"degrees\":45}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call degree-to-radian-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`degrees`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/degree-to-radian-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Degree to Radian Converter API do? + Convert degrees to radians with pi-fraction, quadrant, and trig values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Degree to Radian Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Degree to Radian Converter API require? + Required fields: degrees. Full schema at /v1/openapi.json. Is the Degree to Radian Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Degree to Radian Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `degree-to-radian-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`degree-to-radian-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="degree-to-radian-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - DMS to Decimal Degrees Converter API # DMS to Decimal Degrees Converter API math 1 credit / call v2026-04-22 Convert degrees, minutes, and seconds to signed decimal degrees. One POST adds DMS to Decimal Degrees Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the DMS to Decimal Degrees Converter on miniwebtool.com →](https://miniwebtool.com/dms-to-decimal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/dms-to-decimal-converter/run ``` ### Request body Field Type Req. `degrees` `float` ✓ `minutes` `float` — `seconds` `float` — `direction` none | N | S | E | W `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "dms-to-decimal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) degrees (float) * minutes (float) seconds (float) direction (str) none N S E W none | N | S | E | W Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`dms-to-decimal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/dms-to-decimal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"degrees":40,"minutes":26,"seconds":46,"direction":"N"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/dms-to-decimal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'degrees': 40, 'minutes': 26, 'seconds': 46, 'direction': 'N'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/dms-to-decimal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"degrees":40,"minutes":26,"seconds":46,"direction":"N"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'degrees' => 40, 'minutes' => 26, 'seconds' => 46, 'direction' => 'N' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/dms-to-decimal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'degrees' => 40, 'minutes' => 26, 'seconds' => 46, 'direction' => 'N' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "degrees": 40, "minutes": 26, "seconds": 46, "direction": "N", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/dms-to-decimal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/dms-to-decimal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"degrees\":40,\"minutes\":26,\"seconds\":46,\"direction\":\"N\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call dms-to-decimal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`degrees`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/dms-to-decimal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the DMS to Decimal Degrees Converter API do? + Convert degrees, minutes, and seconds to signed decimal degrees. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to DMS to Decimal Degrees Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the DMS to Decimal Degrees Converter API require? + Required fields: degrees. Full schema at /v1/openapi.json. Is the DMS to Decimal Degrees Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the DMS to Decimal Degrees Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `dms-to-decimal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`dms-to-decimal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="dms-to-decimal-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Law of Cosines Calculator API # Law of Cosines Calculator API math 1 credit / call v2026-04-22 Use the law of cosines to solve a side or included angle. One POST adds Law of Cosines Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Law of Cosines Calculator on miniwebtool.com →](https://miniwebtool.com/law-of-cosines-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/law-of-cosines-calculator/run ``` ### Request body Field Type Req. `mode` side | angle `str` — `side_a` `Optional` — `side_b` `Optional` — `side_c` `Optional` — `angle_c_degrees` `Optional` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "law-of-cosines-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) side angle side | angle side_a (Optional) 3 side_b (Optional) 4 side_c (Optional) angle_c_degrees (Optional) 90 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`law-of-cosines-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/law-of-cosines-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"side","side_a":3,"side_b":4,"angle_c_degrees":90,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/law-of-cosines-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'side', 'side_a': 3, 'side_b': 4, 'angle_c_degrees': 90, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/law-of-cosines-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"side","side_a":3,"side_b":4,"angle_c_degrees":90,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'side', 'side_a' => 3, 'side_b' => 4, 'angle_c_degrees' => 90, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/law-of-cosines-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'side', 'side_a' => 3, 'side_b' => 4, 'angle_c_degrees' => 90, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "side", "side_a": 3, "side_b": 4, "angle_c_degrees": 90, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/law-of-cosines-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/law-of-cosines-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"side\",\"side_a\":3,\"side_b\":4,\"angle_c_degrees\":90,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call law-of-cosines-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/law-of-cosines-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Law of Cosines Calculator API do? + Use the law of cosines to solve a side or included angle. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Law of Cosines Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Law of Cosines Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Law of Cosines Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Law of Cosines Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `law-of-cosines-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`law-of-cosines-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="law-of-cosines-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Law of Sines Calculator API # Law of Sines Calculator API math 1 credit / call v2026-04-22 Use the law of sines to solve a side or possible angle. One POST adds Law of Sines Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Law of Sines Calculator on miniwebtool.com →](https://miniwebtool.com/law-of-sines-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/law-of-sines-calculator/run ``` ### Request body Field Type Req. `mode` side | angle `str` — `side_a` `Optional` — `side_b` `Optional` — `angle_a_degrees` `Optional` — `angle_b_degrees` `Optional` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "law-of-sines-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) side angle side | angle side_a (Optional) 10 side_b (Optional) angle_a_degrees (Optional) 30 angle_b_degrees (Optional) 45 precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`law-of-sines-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/law-of-sines-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"side","side_a":10,"angle_a_degrees":30,"angle_b_degrees":45,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/law-of-sines-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'side', 'side_a': 10, 'angle_a_degrees': 30, 'angle_b_degrees': 45, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/law-of-sines-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"side","side_a":10,"angle_a_degrees":30,"angle_b_degrees":45,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'side', 'side_a' => 10, 'angle_a_degrees' => 30, 'angle_b_degrees' => 45, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/law-of-sines-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'side', 'side_a' => 10, 'angle_a_degrees' => 30, 'angle_b_degrees' => 45, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "side", "side_a": 10, "angle_a_degrees": 30, "angle_b_degrees": 45, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/law-of-sines-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/law-of-sines-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"side\",\"side_a\":10,\"angle_a_degrees\":30,\"angle_b_degrees\":45,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call law-of-sines-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/law-of-sines-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Law of Sines Calculator API do? + Use the law of sines to solve a side or possible angle. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Law of Sines Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Law of Sines Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Law of Sines Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Law of Sines Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `law-of-sines-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`law-of-sines-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="law-of-sines-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Sine Calculator API # Sine Calculator API math 1 credit / call v2026-04-22 Calculate sine with radians/degrees conversion, quadrant, and special-angle recognition. One POST adds Sine Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Sine Calculator on miniwebtool.com →](https://miniwebtool.com/sine-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sine-calculator/run ``` ### Request body Field Type Req. `angle` `float` ✓ `unit_choice` degrees | radians `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sine-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) angle (float) * unit_choice (str) degrees radians degrees | radians precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sine-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sine-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"angle":30,"unit_choice":"degrees","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sine-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'angle': 30, 'unit_choice': 'degrees', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sine-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"angle":30,"unit_choice":"degrees","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'angle' => 30, 'unit_choice' => 'degrees', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sine-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'angle' => 30, 'unit_choice' => 'degrees', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "angle": 30, "unit_choice": "degrees", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sine-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sine-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"angle\":30,\"unit_choice\":\"degrees\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sine-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`angle`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sine-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Sine Calculator API do? + Calculate sine with radians/degrees conversion, quadrant, and special-angle recognition. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Sine Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Sine Calculator API require? + Required fields: angle. Full schema at /v1/openapi.json. Is the Sine Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Sine Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sine-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sine-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sine-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Tangent Calculator API # Tangent Calculator API math 1 credit / call v2026-04-22 Calculate tangent and flag vertical-asymptote inputs. One POST adds Tangent Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Tangent Calculator on miniwebtool.com →](https://miniwebtool.com/tangent-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/tangent-calculator/run ``` ### Request body Field Type Req. `angle` `float` ✓ `unit_choice` degrees | radians `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "tangent-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) angle (float) * unit_choice (str) degrees radians degrees | radians precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`tangent-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/tangent-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"angle":45,"unit_choice":"degrees","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/tangent-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'angle': 45, 'unit_choice': 'degrees', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/tangent-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"angle":45,"unit_choice":"degrees","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'angle' => 45, 'unit_choice' => 'degrees', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/tangent-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'angle' => 45, 'unit_choice' => 'degrees', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "angle": 45, "unit_choice": "degrees", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/tangent-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/tangent-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"angle\":45,\"unit_choice\":\"degrees\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call tangent-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`angle`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/tangent-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Tangent Calculator API do? + Calculate tangent and flag vertical-asymptote inputs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Tangent Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Tangent Calculator API require? + Required fields: angle. Full schema at /v1/openapi.json. Is the Tangent Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Tangent Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `tangent-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`tangent-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="tangent-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Acres to Hectares Converter API # Acres to Hectares Converter API math 1 credit / call v2026-04-22 Convert between acres and hectares with related area units. One POST adds Acres to Hectares Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Acres to Hectares Converter on miniwebtool.com →](https://miniwebtool.com/acres-to-hectares-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/acres-to-hectares-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` acres_to_hectares | hectares_to_acres `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "acres-to-hectares-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) acres_to_hectares hectares_to_acres acres_to_hectares | hectares_to_acres Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`acres-to-hectares-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/acres-to-hectares-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":10,"direction":"acres_to_hectares"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/acres-to-hectares-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 10, 'direction': 'acres_to_hectares'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/acres-to-hectares-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":10,"direction":"acres_to_hectares"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 10, 'direction' => 'acres_to_hectares' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/acres-to-hectares-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 10, 'direction' => 'acres_to_hectares' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 10, "direction": "acres_to_hectares", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/acres-to-hectares-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/acres-to-hectares-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":10,\"direction\":\"acres_to_hectares\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call acres-to-hectares-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/acres-to-hectares-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Acres to Hectares Converter API do? + Convert between acres and hectares with related area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Acres to Hectares Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Acres to Hectares Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Acres to Hectares Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Acres to Hectares Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `acres-to-hectares-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`acres-to-hectares-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="acres-to-hectares-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Acres to Perches Converter API # Acres to Perches Converter API math 1 credit / call v2026-04-22 Convert acres and perches for land area calculations. One POST adds Acres to Perches Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Acres to Perches Converter on miniwebtool.com →](https://miniwebtool.com/acres-to-perches-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/acres-to-perches-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` acres_to_perches | perches_to_acres `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "acres-to-perches-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) acres_to_perches perches_to_acres acres_to_perches | perches_to_acres Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`acres-to-perches-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/acres-to-perches-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":1.25,"direction":"acres_to_perches"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/acres-to-perches-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 1.25, 'direction': 'acres_to_perches'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/acres-to-perches-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":1.25,"direction":"acres_to_perches"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 1.25, 'direction' => 'acres_to_perches' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/acres-to-perches-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 1.25, 'direction' => 'acres_to_perches' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 1.25, "direction": "acres_to_perches", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/acres-to-perches-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/acres-to-perches-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":1.25,\"direction\":\"acres_to_perches\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call acres-to-perches-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/acres-to-perches-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Acres to Perches Converter API do? + Convert acres and perches for land area calculations. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Acres to Perches Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Acres to Perches Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Acres to Perches Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Acres to Perches Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `acres-to-perches-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`acres-to-perches-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="acres-to-perches-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Acres to Square Feet Converter API # Acres to Square Feet Converter API math 1 credit / call v2026-04-22 Convert between acres and square feet with related area units. One POST adds Acres to Square Feet Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Acres to Square Feet Converter on miniwebtool.com →](https://miniwebtool.com/acres-to-square-feet-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/acres-to-square-feet-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` acres_to_square_feet | square_feet_to_acres `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "acres-to-square-feet-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) acres_to_square_feet square_feet_to_acres acres_to_square_feet | square_feet_to_acres Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`acres-to-square-feet-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/acres-to-square-feet-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":2.5,"direction":"acres_to_square_feet"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/acres-to-square-feet-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 2.5, 'direction': 'acres_to_square_feet'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/acres-to-square-feet-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":2.5,"direction":"acres_to_square_feet"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 2.5, 'direction' => 'acres_to_square_feet' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/acres-to-square-feet-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 2.5, 'direction' => 'acres_to_square_feet' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 2.5, "direction": "acres_to_square_feet", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/acres-to-square-feet-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/acres-to-square-feet-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":2.5,\"direction\":\"acres_to_square_feet\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call acres-to-square-feet-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/acres-to-square-feet-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Acres to Square Feet Converter API do? + Convert between acres and square feet with related area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Acres to Square Feet Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Acres to Square Feet Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Acres to Square Feet Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Acres to Square Feet Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `acres-to-square-feet-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`acres-to-square-feet-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="acres-to-square-feet-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Acres to Square Meters Converter API # Acres to Square Meters Converter API math 1 credit / call v2026-04-22 Convert between acres and square meters with related area units. One POST adds Acres to Square Meters Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Acres to Square Meters Converter on miniwebtool.com →](https://miniwebtool.com/acres-to-square-meters-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/acres-to-square-meters-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` acres_to_square_meters | square_meters_to_acres `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "acres-to-square-meters-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) acres_to_square_meters square_meters_to_acres acres_to_square_meters | square_meters_to_acres Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`acres-to-square-meters-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/acres-to-square-meters-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":1,"direction":"acres_to_square_meters"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/acres-to-square-meters-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 1, 'direction': 'acres_to_square_meters'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/acres-to-square-meters-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":1,"direction":"acres_to_square_meters"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 1, 'direction' => 'acres_to_square_meters' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/acres-to-square-meters-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 1, 'direction' => 'acres_to_square_meters' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 1, "direction": "acres_to_square_meters", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/acres-to-square-meters-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/acres-to-square-meters-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":1,\"direction\":\"acres_to_square_meters\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call acres-to-square-meters-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/acres-to-square-meters-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Acres to Square Meters Converter API do? + Convert between acres and square meters with related area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Acres to Square Meters Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Acres to Square Meters Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Acres to Square Meters Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Acres to Square Meters Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `acres-to-square-meters-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`acres-to-square-meters-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="acres-to-square-meters-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Acres to Square Miles Converter API # Acres to Square Miles Converter API math 1 credit / call v2026-04-22 Convert acres and square miles, including related land-area units. One POST adds Acres to Square Miles Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Acres to Square Miles Converter on miniwebtool.com →](https://miniwebtool.com/acres-to-square-miles-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/acres-to-square-miles-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` acres_to_square_miles | square_miles_to_acres `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "acres-to-square-miles-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) acres_to_square_miles square_miles_to_acres acres_to_square_miles | square_miles_to_acres Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`acres-to-square-miles-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/acres-to-square-miles-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":640,"direction":"acres_to_square_miles"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/acres-to-square-miles-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 640, 'direction': 'acres_to_square_miles'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/acres-to-square-miles-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":640,"direction":"acres_to_square_miles"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 640, 'direction' => 'acres_to_square_miles' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/acres-to-square-miles-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 640, 'direction' => 'acres_to_square_miles' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 640, "direction": "acres_to_square_miles", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/acres-to-square-miles-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/acres-to-square-miles-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":640,\"direction\":\"acres_to_square_miles\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call acres-to-square-miles-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/acres-to-square-miles-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Acres to Square Miles Converter API do? + Convert acres and square miles, including related land-area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Acres to Square Miles Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Acres to Square Miles Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Acres to Square Miles Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Acres to Square Miles Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `acres-to-square-miles-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`acres-to-square-miles-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="acres-to-square-miles-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Acres to Square Yards Converter API # Acres to Square Yards Converter API math 1 credit / call v2026-04-22 Convert acres and square yards, including related area units. One POST adds Acres to Square Yards Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Acres to Square Yards Converter on miniwebtool.com →](https://miniwebtool.com/acres-to-square-yards-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/acres-to-square-yards-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` acres_to_square_yards | square_yards_to_acres `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "acres-to-square-yards-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) acres_to_square_yards square_yards_to_acres acres_to_square_yards | square_yards_to_acres Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`acres-to-square-yards-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/acres-to-square-yards-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":2,"direction":"acres_to_square_yards"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/acres-to-square-yards-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 2, 'direction': 'acres_to_square_yards'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/acres-to-square-yards-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":2,"direction":"acres_to_square_yards"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 2, 'direction' => 'acres_to_square_yards' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/acres-to-square-yards-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 2, 'direction' => 'acres_to_square_yards' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 2, "direction": "acres_to_square_yards", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/acres-to-square-yards-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/acres-to-square-yards-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":2,\"direction\":\"acres_to_square_yards\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call acres-to-square-yards-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/acres-to-square-yards-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Acres to Square Yards Converter API do? + Convert acres and square yards, including related area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Acres to Square Yards Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Acres to Square Yards Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Acres to Square Yards Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Acres to Square Yards Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `acres-to-square-yards-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`acres-to-square-yards-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="acres-to-square-yards-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Angle Converter API # Angle Converter API math 1 credit / call v2026-04-22 Convert angles between degrees, radians, gradians, turns, arcminutes, arcseconds, and milliradians. One POST adds Angle Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Angle Converter on miniwebtool.com →](https://miniwebtool.com/angle-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/angle-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `from_unit` degrees | radians | gradians | turns | arcminutes | arcseconds | milliradians `str` ✓ `to_unit` degrees | radians | gradians | turns | arcminutes | arcseconds | milliradians `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "angle-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * from_unit (str) * degrees radians gradians turns arcminutes arcseconds milliradians degrees | radians | gradians | turns | arcminutes | arcseconds | milliradians to_unit (str) * degrees radians gradians turns arcminutes arcseconds milliradians degrees | radians | gradians | turns | arcminutes | arcseconds | milliradians Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`angle-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/angle-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":180,"from_unit":"degrees","to_unit":"radians"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/angle-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 180, 'from_unit': 'degrees', 'to_unit': 'radians'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/angle-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":180,"from_unit":"degrees","to_unit":"radians"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 180, 'from_unit' => 'degrees', 'to_unit' => 'radians' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/angle-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 180, 'from_unit' => 'degrees', 'to_unit' => 'radians' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 180, "from_unit": "degrees", "to_unit": "radians", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/angle-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/angle-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":180,\"from_unit\":\"degrees\",\"to_unit\":\"radians\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call angle-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,`from_unit`,`to_unit`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/angle-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Angle Converter API do? + Convert angles between degrees, radians, gradians, turns, arcminutes, arcseconds, and milliradians. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Angle Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Angle Converter API require? + Required fields: value, from_unit, to_unit. Full schema at /v1/openapi.json. Is the Angle Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Angle Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `angle-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`angle-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="angle-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - CM to Inches Converter API # CM to Inches Converter API math 1 credit / call v2026-04-22 Convert centimeters to inches, feet/inches, and nearest 1/16-inch fraction. One POST adds CM to Inches Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the CM to Inches Converter on miniwebtool.com →](https://miniwebtool.com/cm-to-inches-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cm-to-inches-converter/run ``` ### Request body Field Type Req. `cm` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cm-to-inches-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) cm (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cm-to-inches-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cm-to-inches-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"cm":175}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cm-to-inches-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'cm': 175}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cm-to-inches-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"cm":175}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'cm' => 175 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cm-to-inches-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'cm' => 175 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "cm": 175, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cm-to-inches-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cm-to-inches-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"cm\":175}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cm-to-inches-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`cm`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cm-to-inches-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the CM to Inches Converter API do? + Convert centimeters to inches, feet/inches, and nearest 1/16-inch fraction. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to CM to Inches Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the CM to Inches Converter API require? + Required fields: cm. Full schema at /v1/openapi.json. Is the CM to Inches Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the CM to Inches Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cm-to-inches-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cm-to-inches-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cm-to-inches-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cups to Tablespoons Converter API # Cups to Tablespoons Converter API math 1 credit / call v2026-04-22 Convert US cups and tablespoons, including teaspoons and fluid ounces. One POST adds Cups to Tablespoons Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cups to Tablespoons Converter on miniwebtool.com →](https://miniwebtool.com/cups-to-tablespoons-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cups-to-tablespoons-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` cups_to_tablespoons | tablespoons_to_cups `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cups-to-tablespoons-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) cups_to_tablespoons tablespoons_to_cups cups_to_tablespoons | tablespoons_to_cups Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cups-to-tablespoons-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cups-to-tablespoons-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":1.5,"direction":"cups_to_tablespoons"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cups-to-tablespoons-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 1.5, 'direction': 'cups_to_tablespoons'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cups-to-tablespoons-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":1.5,"direction":"cups_to_tablespoons"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 1.5, 'direction' => 'cups_to_tablespoons' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cups-to-tablespoons-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 1.5, 'direction' => 'cups_to_tablespoons' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 1.5, "direction": "cups_to_tablespoons", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cups-to-tablespoons-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cups-to-tablespoons-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":1.5,\"direction\":\"cups_to_tablespoons\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cups-to-tablespoons-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cups-to-tablespoons-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cups to Tablespoons Converter API do? + Convert US cups and tablespoons, including teaspoons and fluid ounces. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cups to Tablespoons Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cups to Tablespoons Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Cups to Tablespoons Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cups to Tablespoons Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cups-to-tablespoons-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cups-to-tablespoons-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cups-to-tablespoons-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Feet to Meters Converter API # Feet to Meters Converter API math 1 credit / call v2026-04-22 Convert feet and optional inches to meters, centimeters, and millimeters. One POST adds Feet to Meters Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Feet to Meters Converter on miniwebtool.com →](https://miniwebtool.com/feet-to-meters-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/feet-to-meters-converter/run ``` ### Request body Field Type Req. `feet` `float` ✓ `inches` `float` — `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "feet-to-meters-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) feet (float) * inches (float) decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`feet-to-meters-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/feet-to-meters-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"feet":6,"inches":2,"decimal_places":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/feet-to-meters-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'feet': 6, 'inches': 2, 'decimal_places': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/feet-to-meters-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"feet":6,"inches":2,"decimal_places":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'feet' => 6, 'inches' => 2, 'decimal_places' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/feet-to-meters-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'feet' => 6, 'inches' => 2, 'decimal_places' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "feet": 6, "inches": 2, "decimal_places": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/feet-to-meters-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/feet-to-meters-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"feet\":6,\"inches\":2,\"decimal_places\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call feet-to-meters-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`feet`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/feet-to-meters-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Feet to Meters Converter API do? + Convert feet and optional inches to meters, centimeters, and millimeters. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Feet to Meters Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Feet to Meters Converter API require? + Required fields: feet. Full schema at /v1/openapi.json. Is the Feet to Meters Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Feet to Meters Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `feet-to-meters-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`feet-to-meters-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="feet-to-meters-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Gallons to Cups Converter API # Gallons to Cups Converter API math 1 credit / call v2026-04-22 Convert US gallons and cups, with quart and pint equivalents. One POST adds Gallons to Cups Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Gallons to Cups Converter on miniwebtool.com →](https://miniwebtool.com/gallons-to-cups-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/gallons-to-cups-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` gallons_to_cups | cups_to_gallons `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "gallons-to-cups-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) gallons_to_cups cups_to_gallons gallons_to_cups | cups_to_gallons Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`gallons-to-cups-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/gallons-to-cups-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":2.5,"direction":"gallons_to_cups"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/gallons-to-cups-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 2.5, 'direction': 'gallons_to_cups'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/gallons-to-cups-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":2.5,"direction":"gallons_to_cups"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 2.5, 'direction' => 'gallons_to_cups' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/gallons-to-cups-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 2.5, 'direction' => 'gallons_to_cups' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 2.5, "direction": "gallons_to_cups", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/gallons-to-cups-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/gallons-to-cups-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":2.5,\"direction\":\"gallons_to_cups\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call gallons-to-cups-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/gallons-to-cups-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Gallons to Cups Converter API do? + Convert US gallons and cups, with quart and pint equivalents. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Gallons to Cups Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Gallons to Cups Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Gallons to Cups Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Gallons to Cups Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `gallons-to-cups-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`gallons-to-cups-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="gallons-to-cups-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Grams to Ounces Converter API # Grams to Ounces Converter API math 1 credit / call v2026-04-22 Convert grams to ounces, pounds, kilograms, and milligrams. One POST adds Grams to Ounces Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Grams to Ounces Converter on miniwebtool.com →](https://miniwebtool.com/grams-to-ounces-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/grams-to-ounces-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "grams-to-ounces-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`grams-to-ounces-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/grams-to-ounces-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":500,"decimal_places":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/grams-to-ounces-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 500, 'decimal_places': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/grams-to-ounces-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":500,"decimal_places":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 500, 'decimal_places' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/grams-to-ounces-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 500, 'decimal_places' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 500, "decimal_places": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/grams-to-ounces-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/grams-to-ounces-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":500,\"decimal_places\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call grams-to-ounces-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/grams-to-ounces-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Grams to Ounces Converter API do? + Convert grams to ounces, pounds, kilograms, and milligrams. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Grams to Ounces Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Grams to Ounces Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Grams to Ounces Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Grams to Ounces Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `grams-to-ounces-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`grams-to-ounces-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="grams-to-ounces-converter")' ``` see-also related math tools [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) [ Hectares to Acres Converter Convert hectares to acres and related land-area units. ](/tools/hectares-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Grams to Pounds Converter API # Grams to Pounds Converter API math 1 credit / call v2026-04-22 Convert grams to pounds, ounces, and kilograms. One POST adds Grams to Pounds Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Grams to Pounds Converter on miniwebtool.com →](https://miniwebtool.com/grams-to-pounds-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/grams-to-pounds-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "grams-to-pounds-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`grams-to-pounds-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/grams-to-pounds-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":500,"decimal_places":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/grams-to-pounds-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 500, 'decimal_places': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/grams-to-pounds-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":500,"decimal_places":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 500, 'decimal_places' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/grams-to-pounds-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 500, 'decimal_places' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 500, "decimal_places": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/grams-to-pounds-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/grams-to-pounds-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":500,\"decimal_places\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call grams-to-pounds-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/grams-to-pounds-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Grams to Pounds Converter API do? + Convert grams to pounds, ounces, and kilograms. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Grams to Pounds Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Grams to Pounds Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Grams to Pounds Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Grams to Pounds Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `grams-to-pounds-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`grams-to-pounds-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="grams-to-pounds-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Inches to CM Converter API # Inches to CM Converter API math 1 credit / call v2026-04-22 Convert inches to centimeters, millimeters, meters, and feet. One POST adds Inches to CM Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Inches to CM Converter on miniwebtool.com →](https://miniwebtool.com/inches-to-cm-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/inches-to-cm-converter/run ``` ### Request body Field Type Req. `inches` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "inches-to-cm-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) inches (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`inches-to-cm-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/inches-to-cm-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"inches":5.75,"decimal_places":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/inches-to-cm-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'inches': 5.75, 'decimal_places': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/inches-to-cm-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"inches":5.75,"decimal_places":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'inches' => 5.75, 'decimal_places' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/inches-to-cm-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'inches' => 5.75, 'decimal_places' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "inches": 5.75, "decimal_places": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/inches-to-cm-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/inches-to-cm-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"inches\":5.75,\"decimal_places\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call inches-to-cm-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`inches`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/inches-to-cm-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Inches to CM Converter API do? + Convert inches to centimeters, millimeters, meters, and feet. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Inches to CM Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Inches to CM Converter API require? + Required fields: inches. Full schema at /v1/openapi.json. Is the Inches to CM Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Inches to CM Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `inches-to-cm-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`inches-to-cm-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="inches-to-cm-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - kg to lbs Converter API # kg to lbs Converter API math 1 credit / call v2026-04-22 Convert kilograms and pounds with ounce breakdown. One POST adds kg to lbs Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the kg to lbs Converter on miniwebtool.com →](https://miniwebtool.com/kg-to-lbs-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/kg-to-lbs-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `mode` kg | lbs `str` — `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "kg-to-lbs-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * mode (str) kg lbs kg | lbs decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`kg-to-lbs-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/kg-to-lbs-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":10,"mode":"kg","decimal_places":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/kg-to-lbs-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 10, 'mode': 'kg', 'decimal_places': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/kg-to-lbs-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":10,"mode":"kg","decimal_places":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 10, 'mode' => 'kg', 'decimal_places' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/kg-to-lbs-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 10, 'mode' => 'kg', 'decimal_places' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 10, "mode": "kg", "decimal_places": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/kg-to-lbs-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/kg-to-lbs-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":10,\"mode\":\"kg\",\"decimal_places\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call kg-to-lbs-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/kg-to-lbs-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the kg to lbs Converter API do? + Convert kilograms and pounds with ounce breakdown. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to kg to lbs Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the kg to lbs Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the kg to lbs Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the kg to lbs Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `kg-to-lbs-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`kg-to-lbs-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="kg-to-lbs-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - kPa to psi Converter API # kPa to psi Converter API math 1 credit / call v2026-04-22 Convert kilopascals to psi, bar, atm, and mmHg. One POST adds kPa to psi Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the kPa to psi Converter on miniwebtool.com →](https://miniwebtool.com/kpa-to-psi-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/kpa-to-psi-converter/run ``` ### Request body Field Type Req. `kpa` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "kpa-to-psi-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) kpa (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`kpa-to-psi-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/kpa-to-psi-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"kpa":220,"decimal_places":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/kpa-to-psi-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'kpa': 220, 'decimal_places': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/kpa-to-psi-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"kpa":220,"decimal_places":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'kpa' => 220, 'decimal_places' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/kpa-to-psi-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'kpa' => 220, 'decimal_places' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "kpa": 220, "decimal_places": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/kpa-to-psi-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/kpa-to-psi-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"kpa\":220,\"decimal_places\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call kpa-to-psi-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`kpa`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/kpa-to-psi-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the kPa to psi Converter API do? + Convert kilopascals to psi, bar, atm, and mmHg. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to kPa to psi Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the kPa to psi Converter API require? + Required fields: kpa. Full schema at /v1/openapi.json. Is the kPa to psi Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the kPa to psi Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `kpa-to-psi-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`kpa-to-psi-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="kpa-to-psi-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Liters to Cups Converter API # Liters to Cups Converter API math 1 credit / call v2026-04-22 Convert liters to US, metric, and imperial cups. One POST adds Liters to Cups Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Liters to Cups Converter on miniwebtool.com →](https://miniwebtool.com/liters-to-cups-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/liters-to-cups-converter/run ``` ### Request body Field Type Req. `liters` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "liters-to-cups-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) liters (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`liters-to-cups-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/liters-to-cups-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"liters":1.5,"decimal_places":5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/liters-to-cups-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'liters': 1.5, 'decimal_places': 5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/liters-to-cups-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"liters":1.5,"decimal_places":5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'liters' => 1.5, 'decimal_places' => 5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/liters-to-cups-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'liters' => 1.5, 'decimal_places' => 5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "liters": 1.5, "decimal_places": 5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/liters-to-cups-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/liters-to-cups-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"liters\":1.5,\"decimal_places\":5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call liters-to-cups-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`liters`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/liters-to-cups-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Liters to Cups Converter API do? + Convert liters to US, metric, and imperial cups. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Liters to Cups Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Liters to Cups Converter API require? + Required fields: liters. Full schema at /v1/openapi.json. Is the Liters to Cups Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Liters to Cups Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `liters-to-cups-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`liters-to-cups-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="liters-to-cups-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Meters to Feet Converter API # Meters to Feet Converter API math 1 credit / call v2026-04-22 Convert meters to decimal feet and feet-and-inches. One POST adds Meters to Feet Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Meters to Feet Converter on miniwebtool.com →](https://miniwebtool.com/meters-to-feet-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/meters-to-feet-converter/run ``` ### Request body Field Type Req. `meters` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "meters-to-feet-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) meters (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`meters-to-feet-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/meters-to-feet-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"meters":1.8,"decimal_places":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/meters-to-feet-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'meters': 1.8, 'decimal_places': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/meters-to-feet-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"meters":1.8,"decimal_places":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'meters' => 1.8, 'decimal_places' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/meters-to-feet-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'meters' => 1.8, 'decimal_places' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "meters": 1.8, "decimal_places": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/meters-to-feet-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/meters-to-feet-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"meters\":1.8,\"decimal_places\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call meters-to-feet-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`meters`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/meters-to-feet-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Meters to Feet Converter API do? + Convert meters to decimal feet and feet-and-inches. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Meters to Feet Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Meters to Feet Converter API require? + Required fields: meters. Full schema at /v1/openapi.json. Is the Meters to Feet Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Meters to Feet Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `meters-to-feet-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`meters-to-feet-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="meters-to-feet-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Ounce to Gram Converter API # Ounce to Gram Converter API math 1 credit / call v2026-04-22 Convert ounces to grams, kilograms, milligrams, and pounds. One POST adds Ounce to Gram Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Ounce to Gram Converter on miniwebtool.com →](https://miniwebtool.com/ounce-to-gram-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ounce-to-gram-converter/run ``` ### Request body Field Type Req. `ounces` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ounce-to-gram-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) ounces (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ounce-to-gram-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ounce-to-gram-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"ounces":16,"decimal_places":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ounce-to-gram-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'ounces': 16, 'decimal_places': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ounce-to-gram-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"ounces":16,"decimal_places":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'ounces' => 16, 'decimal_places' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ounce-to-gram-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'ounces' => 16, 'decimal_places' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "ounces": 16, "decimal_places": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ounce-to-gram-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ounce-to-gram-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"ounces\":16,\"decimal_places\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ounce-to-gram-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`ounces`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ounce-to-gram-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Ounce to Gram Converter API do? + Convert ounces to grams, kilograms, milligrams, and pounds. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Ounce to Gram Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Ounce to Gram Converter API require? + Required fields: ounces. Full schema at /v1/openapi.json. Is the Ounce to Gram Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Ounce to Gram Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ounce-to-gram-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ounce-to-gram-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ounce-to-gram-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) [ Hectares to Acres Converter Convert hectares to acres and related land-area units. ](/tools/hectares-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Ounces to Cups Converter API # Ounces to Cups Converter API math 1 credit / call v2026-04-22 Convert US fluid ounces and cups with spoon and milliliter equivalents. One POST adds Ounces to Cups Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Ounces to Cups Converter on miniwebtool.com →](https://miniwebtool.com/ounces-to-cups-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ounces-to-cups-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` oz_to_cups | cups_to_oz `str` — `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ounces-to-cups-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) oz_to_cups cups_to_oz oz_to_cups | cups_to_oz decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ounces-to-cups-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ounces-to-cups-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":16,"direction":"oz_to_cups","decimal_places":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ounces-to-cups-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 16, 'direction': 'oz_to_cups', 'decimal_places': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ounces-to-cups-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":16,"direction":"oz_to_cups","decimal_places":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 16, 'direction' => 'oz_to_cups', 'decimal_places' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ounces-to-cups-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 16, 'direction' => 'oz_to_cups', 'decimal_places' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 16, "direction": "oz_to_cups", "decimal_places": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ounces-to-cups-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ounces-to-cups-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":16,\"direction\":\"oz_to_cups\",\"decimal_places\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ounces-to-cups-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ounces-to-cups-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Ounces to Cups Converter API do? + Convert US fluid ounces and cups with spoon and milliliter equivalents. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Ounces to Cups Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Ounces to Cups Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Ounces to Cups Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Ounces to Cups Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ounces-to-cups-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ounces-to-cups-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ounces-to-cups-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Percent to PPM Converter API # Percent to PPM Converter API math 1 credit / call v2026-04-22 Convert percent to ppm or ppm to percent. One POST adds Percent to PPM Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Percent to PPM Converter on miniwebtool.com →](https://miniwebtool.com/percent-to-ppm-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/percent-to-ppm-converter/run ``` ### Request body Field Type Req. `direction` percent_to_ppm | ppm_to_percent `str` — `value` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "percent-to-ppm-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) direction (str) percent_to_ppm ppm_to_percent percent_to_ppm | ppm_to_percent value (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`percent-to-ppm-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/percent-to-ppm-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"direction":"percent_to_ppm","value":0.5,"precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/percent-to-ppm-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'direction': 'percent_to_ppm', 'value': 0.5, 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/percent-to-ppm-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"direction":"percent_to_ppm","value":0.5,"precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'direction' => 'percent_to_ppm', 'value' => 0.5, 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/percent-to-ppm-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'direction' => 'percent_to_ppm', 'value' => 0.5, 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "direction": "percent_to_ppm", "value": 0.5, "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/percent-to-ppm-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/percent-to-ppm-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"direction\":\"percent_to_ppm\",\"value\":0.5,\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call percent-to-ppm-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/percent-to-ppm-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Percent to PPM Converter API do? + Convert percent to ppm or ppm to percent. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Percent to PPM Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Percent to PPM Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Percent to PPM Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Percent to PPM Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `percent-to-ppm-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`percent-to-ppm-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="percent-to-ppm-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Perches to Acres Converter API # Perches to Acres Converter API math 1 credit / call v2026-04-22 Convert perches and acres for land area calculations. One POST adds Perches to Acres Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Perches to Acres Converter on miniwebtool.com →](https://miniwebtool.com/perches-to-acres-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/perches-to-acres-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` perches_to_acres | acres_to_perches `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "perches-to-acres-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) perches_to_acres acres_to_perches perches_to_acres | acres_to_perches Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`perches-to-acres-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/perches-to-acres-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":160,"direction":"perches_to_acres"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/perches-to-acres-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 160, 'direction': 'perches_to_acres'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/perches-to-acres-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":160,"direction":"perches_to_acres"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 160, 'direction' => 'perches_to_acres' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/perches-to-acres-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 160, 'direction' => 'perches_to_acres' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 160, "direction": "perches_to_acres", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/perches-to-acres-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/perches-to-acres-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":160,\"direction\":\"perches_to_acres\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call perches-to-acres-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/perches-to-acres-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Perches to Acres Converter API do? + Convert perches and acres for land area calculations. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Perches to Acres Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Perches to Acres Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Perches to Acres Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Perches to Acres Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `perches-to-acres-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`perches-to-acres-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="perches-to-acres-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Pounds to Grams Converter API # Pounds to Grams Converter API math 1 credit / call v2026-04-22 Convert pounds to grams, kilograms, ounces, and milligrams. One POST adds Pounds to Grams Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Pounds to Grams Converter on miniwebtool.com →](https://miniwebtool.com/pounds-to-grams-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/pounds-to-grams-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "pounds-to-grams-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`pounds-to-grams-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/pounds-to-grams-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":2.5,"decimal_places":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/pounds-to-grams-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 2.5, 'decimal_places': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/pounds-to-grams-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":2.5,"decimal_places":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 2.5, 'decimal_places' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/pounds-to-grams-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 2.5, 'decimal_places' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 2.5, "decimal_places": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/pounds-to-grams-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/pounds-to-grams-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":2.5,\"decimal_places\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call pounds-to-grams-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/pounds-to-grams-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Pounds to Grams Converter API do? + Convert pounds to grams, kilograms, ounces, and milligrams. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Pounds to Grams Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Pounds to Grams Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Pounds to Grams Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Pounds to Grams Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `pounds-to-grams-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`pounds-to-grams-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="pounds-to-grams-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - PPM to Percent Converter API # PPM to Percent Converter API math 1 credit / call v2026-04-22 Convert parts per million to percentage and related concentration scales. One POST adds PPM to Percent Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the PPM to Percent Converter on miniwebtool.com →](https://miniwebtool.com/ppm-to-percent-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ppm-to-percent-converter/run ``` ### Request body Field Type Req. `ppm` `float` ✓ `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ppm-to-percent-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) ppm (float) * precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ppm-to-percent-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ppm-to-percent-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"ppm":5000,"precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ppm-to-percent-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'ppm': 5000, 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ppm-to-percent-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"ppm":5000,"precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'ppm' => 5000, 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ppm-to-percent-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'ppm' => 5000, 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "ppm": 5000, "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ppm-to-percent-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ppm-to-percent-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"ppm\":5000,\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ppm-to-percent-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`ppm`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ppm-to-percent-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the PPM to Percent Converter API do? + Convert parts per million to percentage and related concentration scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to PPM to Percent Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the PPM to Percent Converter API require? + Required fields: ppm. Full schema at /v1/openapi.json. Is the PPM to Percent Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the PPM to Percent Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ppm-to-percent-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ppm-to-percent-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ppm-to-percent-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Square Yards to Acres Converter API # Square Yards to Acres Converter API math 1 credit / call v2026-04-22 Convert square yards and acres, including related area units. One POST adds Square Yards to Acres Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Square Yards to Acres Converter on miniwebtool.com →](https://miniwebtool.com/square-yards-to-acres-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/square-yards-to-acres-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` square_yards_to_acres | acres_to_square_yards `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "square-yards-to-acres-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) square_yards_to_acres acres_to_square_yards square_yards_to_acres | acres_to_square_yards Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`square-yards-to-acres-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/square-yards-to-acres-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":4840,"direction":"square_yards_to_acres"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/square-yards-to-acres-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 4840, 'direction': 'square_yards_to_acres'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/square-yards-to-acres-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":4840,"direction":"square_yards_to_acres"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 4840, 'direction' => 'square_yards_to_acres' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/square-yards-to-acres-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 4840, 'direction' => 'square_yards_to_acres' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 4840, "direction": "square_yards_to_acres", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/square-yards-to-acres-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/square-yards-to-acres-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":4840,\"direction\":\"square_yards_to_acres\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call square-yards-to-acres-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/square-yards-to-acres-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Square Yards to Acres Converter API do? + Convert square yards and acres, including related area units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Square Yards to Acres Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Square Yards to Acres Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Square Yards to Acres Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Square Yards to Acres Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `square-yards-to-acres-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`square-yards-to-acres-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="square-yards-to-acres-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Tablespoons to Cups Converter API # Tablespoons to Cups Converter API math 1 credit / call v2026-04-22 Convert US tablespoons to cups, teaspoons, fluid ounces, and milliliters. One POST adds Tablespoons to Cups Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Tablespoons to Cups Converter on miniwebtool.com →](https://miniwebtool.com/tablespoons-to-cups-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/tablespoons-to-cups-converter/run ``` ### Request body Field Type Req. `tablespoons` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "tablespoons-to-cups-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) tablespoons (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`tablespoons-to-cups-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/tablespoons-to-cups-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"tablespoons":8,"decimal_places":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/tablespoons-to-cups-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'tablespoons': 8, 'decimal_places': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/tablespoons-to-cups-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"tablespoons":8,"decimal_places":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'tablespoons' => 8, 'decimal_places' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/tablespoons-to-cups-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'tablespoons' => 8, 'decimal_places' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "tablespoons": 8, "decimal_places": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/tablespoons-to-cups-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/tablespoons-to-cups-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"tablespoons\":8,\"decimal_places\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call tablespoons-to-cups-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`tablespoons`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/tablespoons-to-cups-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Tablespoons to Cups Converter API do? + Convert US tablespoons to cups, teaspoons, fluid ounces, and milliliters. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Tablespoons to Cups Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Tablespoons to Cups Converter API require? + Required fields: tablespoons. Full schema at /v1/openapi.json. Is the Tablespoons to Cups Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Tablespoons to Cups Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `tablespoons-to-cups-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`tablespoons-to-cups-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="tablespoons-to-cups-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Tablespoons to Teaspoons Converter API # Tablespoons to Teaspoons Converter API math 1 credit / call v2026-04-22 Convert US tablespoons to teaspoons, cups, fluid ounces, and milliliters. One POST adds Tablespoons to Teaspoons Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Tablespoons to Teaspoons Converter on miniwebtool.com →](https://miniwebtool.com/tablespoons-to-teaspoons-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/tablespoons-to-teaspoons-converter/run ``` ### Request body Field Type Req. `tablespoons` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "tablespoons-to-teaspoons-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) tablespoons (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`tablespoons-to-teaspoons-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/tablespoons-to-teaspoons-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"tablespoons":2.5,"decimal_places":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/tablespoons-to-teaspoons-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'tablespoons': 2.5, 'decimal_places': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/tablespoons-to-teaspoons-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"tablespoons":2.5,"decimal_places":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'tablespoons' => 2.5, 'decimal_places' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/tablespoons-to-teaspoons-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'tablespoons' => 2.5, 'decimal_places' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "tablespoons": 2.5, "decimal_places": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/tablespoons-to-teaspoons-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/tablespoons-to-teaspoons-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"tablespoons\":2.5,\"decimal_places\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call tablespoons-to-teaspoons-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`tablespoons`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/tablespoons-to-teaspoons-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Tablespoons to Teaspoons Converter API do? + Convert US tablespoons to teaspoons, cups, fluid ounces, and milliliters. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Tablespoons to Teaspoons Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Tablespoons to Teaspoons Converter API require? + Required fields: tablespoons. Full schema at /v1/openapi.json. Is the Tablespoons to Teaspoons Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Tablespoons to Teaspoons Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `tablespoons-to-teaspoons-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`tablespoons-to-teaspoons-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="tablespoons-to-teaspoons-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Teaspoons to Cups Converter API # Teaspoons to Cups Converter API math 1 credit / call v2026-04-22 Convert US teaspoons and cups, including tablespoons and fluid ounces. One POST adds Teaspoons to Cups Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Teaspoons to Cups Converter on miniwebtool.com →](https://miniwebtool.com/teaspoons-to-cups-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/teaspoons-to-cups-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` teaspoons_to_cups | cups_to_teaspoons `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "teaspoons-to-cups-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) teaspoons_to_cups cups_to_teaspoons teaspoons_to_cups | cups_to_teaspoons Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`teaspoons-to-cups-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/teaspoons-to-cups-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":96,"direction":"teaspoons_to_cups"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/teaspoons-to-cups-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 96, 'direction': 'teaspoons_to_cups'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/teaspoons-to-cups-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":96,"direction":"teaspoons_to_cups"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 96, 'direction' => 'teaspoons_to_cups' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/teaspoons-to-cups-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 96, 'direction' => 'teaspoons_to_cups' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 96, "direction": "teaspoons_to_cups", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/teaspoons-to-cups-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/teaspoons-to-cups-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":96,\"direction\":\"teaspoons_to_cups\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call teaspoons-to-cups-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/teaspoons-to-cups-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Teaspoons to Cups Converter API do? + Convert US teaspoons and cups, including tablespoons and fluid ounces. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Teaspoons to Cups Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Teaspoons to Cups Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Teaspoons to Cups Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Teaspoons to Cups Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `teaspoons-to-cups-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`teaspoons-to-cups-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="teaspoons-to-cups-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Teaspoons to Tablespoons Converter API # Teaspoons to Tablespoons Converter API math 1 credit / call v2026-04-22 Convert US teaspoons to tablespoons, cups, fluid ounces, and milliliters. One POST adds Teaspoons to Tablespoons Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Teaspoons to Tablespoons Converter on miniwebtool.com →](https://miniwebtool.com/teaspoons-to-tablespoons-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/teaspoons-to-tablespoons-converter/run ``` ### Request body Field Type Req. `teaspoons` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "teaspoons-to-tablespoons-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) teaspoons (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`teaspoons-to-tablespoons-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/teaspoons-to-tablespoons-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"teaspoons":6,"decimal_places":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/teaspoons-to-tablespoons-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'teaspoons': 6, 'decimal_places': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/teaspoons-to-tablespoons-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"teaspoons":6,"decimal_places":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'teaspoons' => 6, 'decimal_places' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/teaspoons-to-tablespoons-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'teaspoons' => 6, 'decimal_places' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "teaspoons": 6, "decimal_places": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/teaspoons-to-tablespoons-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/teaspoons-to-tablespoons-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"teaspoons\":6,\"decimal_places\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call teaspoons-to-tablespoons-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`teaspoons`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/teaspoons-to-tablespoons-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Teaspoons to Tablespoons Converter API do? + Convert US teaspoons to tablespoons, cups, fluid ounces, and milliliters. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Teaspoons to Tablespoons Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Teaspoons to Tablespoons Converter API require? + Required fields: teaspoons. Full schema at /v1/openapi.json. Is the Teaspoons to Tablespoons Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Teaspoons to Tablespoons Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `teaspoons-to-tablespoons-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`teaspoons-to-tablespoons-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="teaspoons-to-tablespoons-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cups to Gallons Converter API # Cups to Gallons Converter API math 1 credit / call v2026-04-22 Convert US cups and gallons with related volume units. One POST adds Cups to Gallons Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cups to Gallons Converter on miniwebtool.com →](https://miniwebtool.com/cups-to-gallons-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cups-to-gallons-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` cups_to_gallons | gallons_to_cups `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cups-to-gallons-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) cups_to_gallons gallons_to_cups cups_to_gallons | gallons_to_cups Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cups-to-gallons-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cups-to-gallons-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":8,"direction":"cups_to_gallons"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cups-to-gallons-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 8, 'direction': 'cups_to_gallons'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cups-to-gallons-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":8,"direction":"cups_to_gallons"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 8, 'direction' => 'cups_to_gallons' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cups-to-gallons-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 8, 'direction' => 'cups_to_gallons' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 8, "direction": "cups_to_gallons", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cups-to-gallons-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cups-to-gallons-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":8,\"direction\":\"cups_to_gallons\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cups-to-gallons-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cups-to-gallons-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cups to Gallons Converter API do? + Convert US cups and gallons with related volume units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cups to Gallons Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cups to Gallons Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Cups to Gallons Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cups to Gallons Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cups-to-gallons-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cups-to-gallons-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cups-to-gallons-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cups to Liters Converter API # Cups to Liters Converter API math 1 credit / call v2026-04-22 Convert US cups and liters with milliliter, fluid-ounce, and spoon equivalents. One POST adds Cups to Liters Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cups to Liters Converter on miniwebtool.com →](https://miniwebtool.com/cups-to-liters-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cups-to-liters-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` cups_to_liters | liters_to_cups `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cups-to-liters-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) cups_to_liters liters_to_cups cups_to_liters | liters_to_cups Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cups-to-liters-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cups-to-liters-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":2,"direction":"cups_to_liters"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cups-to-liters-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 2, 'direction': 'cups_to_liters'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cups-to-liters-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":2,"direction":"cups_to_liters"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 2, 'direction' => 'cups_to_liters' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cups-to-liters-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 2, 'direction' => 'cups_to_liters' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 2, "direction": "cups_to_liters", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cups-to-liters-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cups-to-liters-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":2,\"direction\":\"cups_to_liters\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cups-to-liters-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cups-to-liters-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cups to Liters Converter API do? + Convert US cups and liters with milliliter, fluid-ounce, and spoon equivalents. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cups to Liters Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cups to Liters Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Cups to Liters Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cups to Liters Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cups-to-liters-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cups-to-liters-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cups-to-liters-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cups to Ounces Converter API # Cups to Ounces Converter API math 1 credit / call v2026-04-22 Convert cups and fluid ounces for US customary, US legal, imperial, or metric cups. One POST adds Cups to Ounces Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cups to Ounces Converter on miniwebtool.com →](https://miniwebtool.com/cups-to-ounces-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cups-to-ounces-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` cups_to_ounces | ounces_to_cups `str` — `cup_standard` us_customary | us_legal | imperial | metric `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cups-to-ounces-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) cups_to_ounces ounces_to_cups cups_to_ounces | ounces_to_cups cup_standard (str) us_customary us_legal imperial metric us_customary | us_legal | imperial | metric Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cups-to-ounces-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cups-to-ounces-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":2,"direction":"cups_to_ounces","cup_standard":"us_customary"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cups-to-ounces-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 2, 'direction': 'cups_to_ounces', 'cup_standard': 'us_customary'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cups-to-ounces-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":2,"direction":"cups_to_ounces","cup_standard":"us_customary"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 2, 'direction' => 'cups_to_ounces', 'cup_standard' => 'us_customary' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cups-to-ounces-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 2, 'direction' => 'cups_to_ounces', 'cup_standard' => 'us_customary' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 2, "direction": "cups_to_ounces", "cup_standard": "us_customary", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cups-to-ounces-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cups-to-ounces-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":2,\"direction\":\"cups_to_ounces\",\"cup_standard\":\"us_customary\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cups-to-ounces-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cups-to-ounces-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cups to Ounces Converter API do? + Convert cups and fluid ounces for US customary, US legal, imperial, or metric cups. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cups to Ounces Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cups to Ounces Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Cups to Ounces Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cups to Ounces Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cups-to-ounces-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cups-to-ounces-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cups-to-ounces-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cups to Quarts Converter API # Cups to Quarts Converter API math 1 credit / call v2026-04-22 Convert US cups and quarts with related volume units. One POST adds Cups to Quarts Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cups to Quarts Converter on miniwebtool.com →](https://miniwebtool.com/cups-to-quarts-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cups-to-quarts-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` cups_to_quarts | quarts_to_cups `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cups-to-quarts-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) cups_to_quarts quarts_to_cups cups_to_quarts | quarts_to_cups Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cups-to-quarts-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cups-to-quarts-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":6,"direction":"cups_to_quarts"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cups-to-quarts-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 6, 'direction': 'cups_to_quarts'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cups-to-quarts-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":6,"direction":"cups_to_quarts"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 6, 'direction' => 'cups_to_quarts' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cups-to-quarts-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 6, 'direction' => 'cups_to_quarts' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 6, "direction": "cups_to_quarts", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cups-to-quarts-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cups-to-quarts-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":6,\"direction\":\"cups_to_quarts\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cups-to-quarts-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cups-to-quarts-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cups to Quarts Converter API do? + Convert US cups and quarts with related volume units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cups to Quarts Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cups to Quarts Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Cups to Quarts Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cups to Quarts Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cups-to-quarts-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cups-to-quarts-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cups-to-quarts-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Cups to Teaspoons Converter API # Cups to Teaspoons Converter API math 1 credit / call v2026-04-22 Convert US cups and teaspoons with tablespoon and fluid-ounce equivalents. One POST adds Cups to Teaspoons Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Cups to Teaspoons Converter on miniwebtool.com →](https://miniwebtool.com/cups-to-teaspoons-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cups-to-teaspoons-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `direction` cups_to_teaspoons | teaspoons_to_cups `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cups-to-teaspoons-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * direction (str) cups_to_teaspoons teaspoons_to_cups cups_to_teaspoons | teaspoons_to_cups Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cups-to-teaspoons-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cups-to-teaspoons-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":0.5,"direction":"cups_to_teaspoons"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cups-to-teaspoons-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 0.5, 'direction': 'cups_to_teaspoons'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cups-to-teaspoons-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":0.5,"direction":"cups_to_teaspoons"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 0.5, 'direction' => 'cups_to_teaspoons' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cups-to-teaspoons-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 0.5, 'direction' => 'cups_to_teaspoons' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 0.5, "direction": "cups_to_teaspoons", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cups-to-teaspoons-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cups-to-teaspoons-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":0.5,\"direction\":\"cups_to_teaspoons\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cups-to-teaspoons-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cups-to-teaspoons-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Cups to Teaspoons Converter API do? + Convert US cups and teaspoons with tablespoon and fluid-ounce equivalents. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Cups to Teaspoons Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Cups to Teaspoons Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Cups to Teaspoons Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Cups to Teaspoons Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cups-to-teaspoons-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cups-to-teaspoons-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cups-to-teaspoons-converter")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Volume of a Cone Calculator API # Volume of a Cone Calculator API math 1 credit / call v2026-04-22 Calculate cone volume, slant height, base area, lateral area, and total surface area. One POST adds Volume of a Cone Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Volume of a Cone Calculator on miniwebtool.com →](https://miniwebtool.com/volume-of-a-cone-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/volume-of-a-cone-calculator/run ``` ### Request body Field Type Req. `radius` `float` — `height` `float` — `unit` units | mm | cm | m | in | ft | yd `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "volume-of-a-cone-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) radius (float) height (float) unit (str) units mm cm m in ft yd units | mm | cm | m | in | ft | yd precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`volume-of-a-cone-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/volume-of-a-cone-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"radius":3,"height":4,"unit":"cm","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/volume-of-a-cone-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'radius': 3, 'height': 4, 'unit': 'cm', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/volume-of-a-cone-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"radius":3,"height":4,"unit":"cm","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'radius' => 3, 'height' => 4, 'unit' => 'cm', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/volume-of-a-cone-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'radius' => 3, 'height' => 4, 'unit' => 'cm', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "radius": 3, "height": 4, "unit": "cm", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/volume-of-a-cone-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/volume-of-a-cone-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"radius\":3,\"height\":4,\"unit\":\"cm\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call volume-of-a-cone-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/volume-of-a-cone-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Volume of a Cone Calculator API do? + Calculate cone volume, slant height, base area, lateral area, and total surface area. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Volume of a Cone Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Volume of a Cone Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Volume of a Cone Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Volume of a Cone Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `volume-of-a-cone-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`volume-of-a-cone-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="volume-of-a-cone-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Volume of a Cube Calculator API # Volume of a Cube Calculator API math 1 credit / call v2026-04-22 Calculate cube volume, surface area, face area, diagonals, and total edge length. One POST adds Volume of a Cube Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Volume of a Cube Calculator on miniwebtool.com →](https://miniwebtool.com/volume-of-a-cube-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/volume-of-a-cube-calculator/run ``` ### Request body Field Type Req. `edge` `float` — `unit` units | mm | cm | m | km | in | ft | yd | mi `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "volume-of-a-cube-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) edge (float) unit (str) units mm cm m km in ft yd mi units | mm | cm | m | km | in | ft | yd | mi precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`volume-of-a-cube-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/volume-of-a-cube-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"edge":3,"unit":"units","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/volume-of-a-cube-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'edge': 3, 'unit': 'units', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/volume-of-a-cube-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"edge":3,"unit":"units","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'edge' => 3, 'unit' => 'units', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/volume-of-a-cube-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'edge' => 3, 'unit' => 'units', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "edge": 3, "unit": "units", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/volume-of-a-cube-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/volume-of-a-cube-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"edge\":3,\"unit\":\"units\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call volume-of-a-cube-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/volume-of-a-cube-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Volume of a Cube Calculator API do? + Calculate cube volume, surface area, face area, diagonals, and total edge length. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Volume of a Cube Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Volume of a Cube Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Volume of a Cube Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Volume of a Cube Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `volume-of-a-cube-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`volume-of-a-cube-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="volume-of-a-cube-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Volume of a Pyramid Calculator API # Volume of a Pyramid Calculator API math 1 credit / call v2026-04-22 Calculate volume, base area, slant height, and surface area for square, rectangular, or triangular pyramids. One POST adds Volume of a Pyramid Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Volume of a Pyramid Calculator on miniwebtool.com →](https://miniwebtool.com/volume-of-a-pyramid-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/volume-of-a-pyramid-calculator/run ``` ### Request body Field Type Req. `pyramid_type` rectangular | square | triangular `str` — `height` `float` — `length` `float | None` — `width` `float | None` — `side` `float | None` — `tri_base` `float | None` — `tri_base_height` `float | None` — `unit` m | cm | mm | ft | in `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "volume-of-a-pyramid-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) pyramid_type (str) rectangular square triangular rectangular | square | triangular height (float) length (float | None) width (float | None) side (float | None) tri_base (float | None) tri_base_height (float | None) unit (str) m cm mm ft in m | cm | mm | ft | in precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`volume-of-a-pyramid-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/volume-of-a-pyramid-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"pyramid_type":"square","side":6,"height":4,"unit":"cm","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/volume-of-a-pyramid-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'pyramid_type': 'square', 'side': 6, 'height': 4, 'unit': 'cm', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/volume-of-a-pyramid-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"pyramid_type":"square","side":6,"height":4,"unit":"cm","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'pyramid_type' => 'square', 'side' => 6, 'height' => 4, 'unit' => 'cm', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/volume-of-a-pyramid-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'pyramid_type' => 'square', 'side' => 6, 'height' => 4, 'unit' => 'cm', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "pyramid_type": "square", "side": 6, "height": 4, "unit": "cm", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/volume-of-a-pyramid-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/volume-of-a-pyramid-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"pyramid_type\":\"square\",\"side\":6,\"height\":4,\"unit\":\"cm\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call volume-of-a-pyramid-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/volume-of-a-pyramid-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Volume of a Pyramid Calculator API do? + Calculate volume, base area, slant height, and surface area for square, rectangular, or triangular pyramids. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Volume of a Pyramid Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Volume of a Pyramid Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Volume of a Pyramid Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Volume of a Pyramid Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `volume-of-a-pyramid-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`volume-of-a-pyramid-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="volume-of-a-pyramid-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Volume of a Rectangular Prism Calculator API # Volume of a Rectangular Prism Calculator API math 1 credit / call v2026-04-22 Calculate rectangular prism volume, surface area, diagonals, base perimeter, and total edge length. One POST adds Volume of a Rectangular Prism Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Volume of a Rectangular Prism Calculator on miniwebtool.com →](https://miniwebtool.com/volume-of-a-rectangular-prism-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/volume-of-a-rectangular-prism-calculator/run ``` ### Request body Field Type Req. `length` `float` — `width` `float` — `height` `float` — `unit` mm | cm | m | km | in | ft | yd | mi `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "volume-of-a-rectangular-prism-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) length (float) width (float) height (float) unit (str) mm cm m km in ft yd mi mm | cm | m | km | in | ft | yd | mi precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`volume-of-a-rectangular-prism-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/volume-of-a-rectangular-prism-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"length":2,"width":3,"height":4,"unit":"cm","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/volume-of-a-rectangular-prism-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'length': 2, 'width': 3, 'height': 4, 'unit': 'cm', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/volume-of-a-rectangular-prism-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"length":2,"width":3,"height":4,"unit":"cm","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'length' => 2, 'width' => 3, 'height' => 4, 'unit' => 'cm', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/volume-of-a-rectangular-prism-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'length' => 2, 'width' => 3, 'height' => 4, 'unit' => 'cm', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "length": 2, "width": 3, "height": 4, "unit": "cm", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/volume-of-a-rectangular-prism-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/volume-of-a-rectangular-prism-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"length\":2,\"width\":3,\"height\":4,\"unit\":\"cm\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call volume-of-a-rectangular-prism-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/volume-of-a-rectangular-prism-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Volume of a Rectangular Prism Calculator API do? + Calculate rectangular prism volume, surface area, diagonals, base perimeter, and total edge length. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Volume of a Rectangular Prism Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Volume of a Rectangular Prism Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Volume of a Rectangular Prism Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Volume of a Rectangular Prism Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `volume-of-a-rectangular-prism-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`volume-of-a-rectangular-prism-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="volume-of-a-rectangular-prism-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [math](/tools/#math) - / - Volume of Ellipsoid Calculator API # Volume of Ellipsoid Calculator API math 1 credit / call v2026-04-22 Calculate ellipsoid volume, approximate surface area, cross sections, equivalent sphere radius, and shape type. One POST adds Volume of Ellipsoid Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Volume of Ellipsoid Calculator on miniwebtool.com →](https://miniwebtool.com/volume-of-ellipsoid-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/volume-of-ellipsoid-calculator/run ``` ### Request body Field Type Req. `axis_a` `float` — `axis_b` `float` — `axis_c` `float` — `unit` unitless | mm | cm | m | km | in | ft | yd | mi `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "volume-of-ellipsoid-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) axis_a (float) axis_b (float) axis_c (float) unit (str) unitless mm cm m km in ft yd mi unitless | mm | cm | m | km | in | ft | yd | mi precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`volume-of-ellipsoid-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/volume-of-ellipsoid-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"axis_a":2,"axis_b":3,"axis_c":4,"unit":"unitless","precision":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/volume-of-ellipsoid-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'axis_a': 2, 'axis_b': 3, 'axis_c': 4, 'unit': 'unitless', 'precision': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/volume-of-ellipsoid-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"axis_a":2,"axis_b":3,"axis_c":4,"unit":"unitless","precision":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'axis_a' => 2, 'axis_b' => 3, 'axis_c' => 4, 'unit' => 'unitless', 'precision' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/volume-of-ellipsoid-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'axis_a' => 2, 'axis_b' => 3, 'axis_c' => 4, 'unit' => 'unitless', 'precision' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "axis_a": 2, "axis_b": 3, "axis_c": 4, "unit": "unitless", "precision": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/volume-of-ellipsoid-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/volume-of-ellipsoid-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"axis_a\":2,\"axis_b\":3,\"axis_c\":4,\"unit\":\"unitless\",\"precision\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call volume-of-ellipsoid-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/volume-of-ellipsoid-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Volume of Ellipsoid Calculator API do? + Calculate ellipsoid volume, approximate surface area, cross sections, equivalent sphere radius, and shape type. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Volume of Ellipsoid Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Volume of Ellipsoid Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Volume of Ellipsoid Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Volume of Ellipsoid Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `volume-of-ellipsoid-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`volume-of-ellipsoid-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="volume-of-ellipsoid-calculator")' ``` see-also related math tools [ Grams to Ounces Converter Convert grams to ounces, pounds, kilograms, and milligrams. ](/tools/grams-to-ounces-converter/) [ Ounce to Gram Converter Convert ounces to grams, kilograms, milligrams, and pounds. ](/tools/ounce-to-gram-converter/) [ Square Feet to Acres Converter Convert square feet to acres and related land-area units. ](/tools/square-feet-to-acres-converter/) [ Square Miles to Acres Converter Convert square miles to acres and related land-area units. ](/tools/square-miles-to-acres-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [miscellaneous](/tools/#miscellaneous) - / - Tire Size Calculator API # Tire Size Calculator API miscellaneous 1 credit / call v2026-04-22 Calculate tire sidewall, diameter, circumference, and revolutions per mile. One POST adds Tire Size Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Tire Size Calculator on miniwebtool.com →](https://miniwebtool.com/tire-size-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/tire-size-calculator/run ``` ### Request body Field Type Req. `width_mm` `float` — `aspect_ratio` `float` — `rim_inches` `float` — `speed_mph` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "tire-size-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) width_mm (float) aspect_ratio (float) rim_inches (float) speed_mph (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`tire-size-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/tire-size-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"width_mm":225,"aspect_ratio":50,"rim_inches":17,"speed_mph":60}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/tire-size-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'width_mm': 225, 'aspect_ratio': 50, 'rim_inches': 17, 'speed_mph': 60}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/tire-size-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"width_mm":225,"aspect_ratio":50,"rim_inches":17,"speed_mph":60}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'width_mm' => 225, 'aspect_ratio' => 50, 'rim_inches' => 17, 'speed_mph' => 60 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/tire-size-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'width_mm' => 225, 'aspect_ratio' => 50, 'rim_inches' => 17, 'speed_mph' => 60 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "width_mm": 225, "aspect_ratio": 50, "rim_inches": 17, "speed_mph": 60, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/tire-size-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/tire-size-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"width_mm\":225,\"aspect_ratio\":50,\"rim_inches\":17,\"speed_mph\":60}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call tire-size-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/tire-size-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Tire Size Calculator API do? + Calculate tire sidewall, diameter, circumference, and revolutions per mile. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Tire Size Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Tire Size Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Tire Size Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Tire Size Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `tire-size-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`tire-size-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="tire-size-calculator")' ``` see-also related miscellaneous tools [ Daily Time Savings Calculator Calculate yearly, monthly, and weekly time saved from a small daily savings hab… ](/tools/daily-time-savings-calculator/) [ Test Score Calculator Convert earned and total test points into a percentage, letter grade, and GPA p… ](/tools/test-score-calculator/) [ Weighted Grade Calculator Calculate a weighted course grade from category weights and scores. ](/tools/weighted-grade-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [miscellaneous](/tools/#miscellaneous) - / - Test Score Calculator API # Test Score Calculator API miscellaneous 1 credit / call v2026-04-22 Convert earned and total test points into a percentage, letter grade, and GPA points. One POST adds Test Score Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Test Score Calculator on miniwebtool.com →](https://miniwebtool.com/test-score-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/test-score-calculator/run ``` ### Request body Field Type Req. `earned_points` `float` ✓ `total_points` `float` ✓ `grading_scale` us_standard | us_plus_minus | ten_point | seven_point | pass_fail `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "test-score-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) earned_points (float) * total_points (float) * grading_scale (str) us_standard us_plus_minus ten_point seven_point pass_fail us_standard | us_plus_minus | ten_point | seven_point | pass_fail Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`test-score-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/test-score-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"earned_points":45,"total_points":50,"grading_scale":"us_standard"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/test-score-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'earned_points': 45, 'total_points': 50, 'grading_scale': 'us_standard'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/test-score-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"earned_points":45,"total_points":50,"grading_scale":"us_standard"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'earned_points' => 45, 'total_points' => 50, 'grading_scale' => 'us_standard' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/test-score-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'earned_points' => 45, 'total_points' => 50, 'grading_scale' => 'us_standard' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "earned_points": 45, "total_points": 50, "grading_scale": "us_standard", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/test-score-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/test-score-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"earned_points\":45,\"total_points\":50,\"grading_scale\":\"us_standard\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call test-score-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`earned_points`,`total_points`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/test-score-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Test Score Calculator API do? + Convert earned and total test points into a percentage, letter grade, and GPA points. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Test Score Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Test Score Calculator API require? + Required fields: earned_points, total_points. Full schema at /v1/openapi.json. Is the Test Score Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Test Score Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `test-score-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`test-score-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="test-score-calculator")' ``` see-also related miscellaneous tools [ Daily Time Savings Calculator Calculate yearly, monthly, and weekly time saved from a small daily savings hab… ](/tools/daily-time-savings-calculator/) [ Weighted Grade Calculator Calculate a weighted course grade from category weights and scores. ](/tools/weighted-grade-calculator/) [ Tire Size Calculator Calculate tire sidewall, diameter, circumference, and revolutions per mile. ](/tools/tire-size-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [miscellaneous](/tools/#miscellaneous) - / - Weighted Grade Calculator API # Weighted Grade Calculator API miscellaneous 1 credit / call v2026-04-22 Calculate a weighted course grade from category weights and scores. One POST adds Weighted Grade Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Weighted Grade Calculator on miniwebtool.com →](https://miniwebtool.com/weighted-grade-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/weighted-grade-calculator/run ``` ### Request body Field Type Req. `weights` `list` ✓ `scores` `list` ✓ `grading_scale` us_standard | us_plus_minus | ten_point | seven_point | pass_fail `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "weighted-grade-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) weights (list) * scores (list) * grading_scale (str) us_standard us_plus_minus ten_point seven_point pass_fail us_standard | us_plus_minus | ten_point | seven_point | pass_fail Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`weighted-grade-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/weighted-grade-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"weights":[40,60],"scores":[85,95],"grading_scale":"ten_point"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/weighted-grade-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'weights': [40, 60], 'scores': [85, 95], 'grading_scale': 'ten_point'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/weighted-grade-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"weights":[40,60],"scores":[85,95],"grading_scale":"ten_point"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'weights' => '[40, 60]', 'scores' => '[85, 95]', 'grading_scale' => 'ten_point' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/weighted-grade-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'weights' => '[40, 60]', 'scores' => '[85, 95]', 'grading_scale' => 'ten_point' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "weights": "[40, 60]", "scores": "[85, 95]", "grading_scale": "ten_point", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/weighted-grade-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/weighted-grade-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"weights\":[40,60],\"scores\":[85,95],\"grading_scale\":\"ten_point\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call weighted-grade-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`weights`,`scores`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/weighted-grade-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Weighted Grade Calculator API do? + Calculate a weighted course grade from category weights and scores. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Weighted Grade Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Weighted Grade Calculator API require? + Required fields: weights, scores. Full schema at /v1/openapi.json. Is the Weighted Grade Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Weighted Grade Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `weighted-grade-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`weighted-grade-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="weighted-grade-calculator")' ``` see-also related miscellaneous tools [ Daily Time Savings Calculator Calculate yearly, monthly, and weekly time saved from a small daily savings hab… ](/tools/daily-time-savings-calculator/) [ Test Score Calculator Convert earned and total test points into a percentage, letter grade, and GPA p… ](/tools/test-score-calculator/) [ Tire Size Calculator Calculate tire sidewall, diameter, circumference, and revolutions per mile. ](/tools/tire-size-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [miscellaneous](/tools/#miscellaneous) - / - Daily Time Savings Calculator API # Daily Time Savings Calculator API miscellaneous 1 credit / call v2026-04-22 Calculate yearly, monthly, and weekly time saved from a small daily savings habit. One POST adds Daily Time Savings Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Daily Time Savings Calculator on miniwebtool.com →](https://miniwebtool.com/daily-time-savings-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/daily-time-savings-calculator/run ``` ### Request body Field Type Req. `minutes_per_day` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "daily-time-savings-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) minutes_per_day (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`daily-time-savings-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/daily-time-savings-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/daily-time-savings-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/daily-time-savings-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/daily-time-savings-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/daily-time-savings-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/daily-time-savings-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call daily-time-savings-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/daily-time-savings-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Daily Time Savings Calculator API do? + Calculate yearly, monthly, and weekly time saved from a small daily savings habit. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Daily Time Savings Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Daily Time Savings Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Daily Time Savings Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Daily Time Savings Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `daily-time-savings-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`daily-time-savings-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="daily-time-savings-calculator")' ``` see-also related miscellaneous tools [ Test Score Calculator Convert earned and total test points into a percentage, letter grade, and GPA p… ](/tools/test-score-calculator/) [ Weighted Grade Calculator Calculate a weighted course grade from category weights and scores. ](/tools/weighted-grade-calculator/) [ Tire Size Calculator Calculate tire sidewall, diameter, circumference, and revolutions per mile. ](/tools/tire-size-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [physics](/tools/#physics) - / - Boiling Point Calculator API # Boiling Point Calculator API physics 1 credit / call v2026-04-22 Calculate water boiling point from altitude or atmospheric pressure. One POST adds Boiling Point Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Boiling Point Calculator on miniwebtool.com →](https://miniwebtool.com/boiling-point-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/boiling-point-calculator/run ``` ### Request body Field Type Req. `mode` altitude | pressure `str` — `value` `float` — `unit` m | ft | kpa | atm | psi | mmhg | bar `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "boiling-point-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) altitude pressure altitude | pressure value (float) unit (str) m ft kpa atm psi mmhg bar m | ft | kpa | atm | psi | mmhg | bar precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`boiling-point-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/boiling-point-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"altitude","value":0,"unit":"m","precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/boiling-point-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'altitude', 'value': 0, 'unit': 'm', 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/boiling-point-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"altitude","value":0,"unit":"m","precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'altitude', 'value' => 0, 'unit' => 'm', 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/boiling-point-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'altitude', 'value' => 0, 'unit' => 'm', 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "altitude", "value": 0, "unit": "m", "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/boiling-point-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/boiling-point-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"altitude\",\"value\":0,\"unit\":\"m\",\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call boiling-point-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/boiling-point-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Boiling Point Calculator API do? + Calculate water boiling point from altitude or atmospheric pressure. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Boiling Point Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Boiling Point Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Boiling Point Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Boiling Point Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `boiling-point-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`boiling-point-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="boiling-point-calculator")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Playing Card Generator API # Random Playing Card Generator API random 1 credit / call v2026-04-22 Draw random playing cards from a standard deck with optional jokers. One POST adds Random Playing Card Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Playing Card Generator on miniwebtool.com →](https://miniwebtool.com/random-playing-card-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-playing-card-generator/run ``` ### Request body Field Type Req. `num_cards` `int` — `include_jokers` `bool` — `allow_duplicates` `bool` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-playing-card-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) num_cards (int) include_jokers (bool) false true allow_duplicates (bool) false true seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-playing-card-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-playing-card-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"num_cards":3,"include_jokers":false,"allow_duplicates":false}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-playing-card-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'num_cards': 3, 'include_jokers': False, 'allow_duplicates': False}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-playing-card-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"num_cards":3,"include_jokers":false,"allow_duplicates":false}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'num_cards' => 3, 'include_jokers' => false, 'allow_duplicates' => false ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-playing-card-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'num_cards' => 3, 'include_jokers' => false, 'allow_duplicates' => false }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "num_cards": 3, "include_jokers": false, "allow_duplicates": false, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-playing-card-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-playing-card-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"num_cards\":3,\"include_jokers\":false,\"allow_duplicates\":false}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-playing-card-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-playing-card-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Playing Card Generator API do? + Draw random playing cards from a standard deck with optional jokers. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Playing Card Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Playing Card Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Random Playing Card Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Playing Card Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-playing-card-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-playing-card-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-playing-card-generator")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Color Generator API # Random Color Generator API random 1 credit / call v2026-04-22 Generate random HEX, RGB, and HSL colors with optional harmony rules. One POST adds Random Color Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Color Generator on miniwebtool.com →](https://miniwebtool.com/random-color-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-color-generator/run ``` ### Request body Field Type Req. `quantity` `int` — `color_mode` all | vibrant | pastel | dark | warm | cool | earth | neon `str` — `harmony` random | complementary | analogous | triadic | split_complementary | monochromatic `str` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-color-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) quantity (int) color_mode (str) all vibrant pastel dark warm cool earth neon all | vibrant | pastel | dark | warm | cool | earth | neon harmony (str) random complementary analogous triadic split_complementary monochromatic random | complementary | analogous | triadic | split_complementary | monochromatic seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-color-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-color-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"quantity":6,"color_mode":"vibrant","harmony":"random"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-color-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'quantity': 6, 'color_mode': 'vibrant', 'harmony': 'random'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-color-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"quantity":6,"color_mode":"vibrant","harmony":"random"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'quantity' => 6, 'color_mode' => 'vibrant', 'harmony' => 'random' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-color-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'quantity' => 6, 'color_mode' => 'vibrant', 'harmony' => 'random' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "quantity": 6, "color_mode": "vibrant", "harmony": "random", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-color-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-color-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"quantity\":6,\"color_mode\":\"vibrant\",\"harmony\":\"random\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-color-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-color-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Color Generator API do? + Generate random HEX, RGB, and HSL colors with optional harmony rules. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Color Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Color Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Random Color Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Color Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-color-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-color-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-color-generator")' ``` see-also related random tools [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) [ Random Letter Generator Generate random letters with case, vowel/consonant, and duplicate controls. ](/tools/random-letter-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Date Generator API # Random Date Generator API random 1 credit / call v2026-04-22 Generate random dates inside a bounded date range. One POST adds Random Date Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Date Generator on miniwebtool.com →](https://miniwebtool.com/random-date-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-date-generator/run ``` ### Request body Field Type Req. `start_date` `date` ✓ `end_date` `date` ✓ `count` `int` — `output_format` iso | us | eu | long | short | unix `str` — `exclude_weekends` `bool` — `sort_results` `bool` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-date-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) start_date (date) * 2026-01-01 end_date (date) * 2026-12-31 count (int) output_format (str) iso us eu long short unix iso | us | eu | long | short | unix exclude_weekends (bool) false true sort_results (bool) false true seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-date-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-date-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"start_date":"2026-01-01","end_date":"2026-12-31","count":5,"output_format":"iso"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-date-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'start_date': '2026-01-01', 'end_date': '2026-12-31', 'count': 5, 'output_format': 'iso'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-date-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"start_date":"2026-01-01","end_date":"2026-12-31","count":5,"output_format":"iso"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'start_date' => '2026-01-01', 'end_date' => '2026-12-31', 'count' => 5, 'output_format' => 'iso' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-date-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'start_date' => '2026-01-01', 'end_date' => '2026-12-31', 'count' => 5, 'output_format' => 'iso' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "start_date": "2026-01-01", "end_date": "2026-12-31", "count": 5, "output_format": "iso", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-date-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-date-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"start_date\":\"2026-01-01\",\"end_date\":\"2026-12-31\",\"count\":5,\"output_format\":\"iso\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-date-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`start_date`,`end_date`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-date-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Date Generator API do? + Generate random dates inside a bounded date range. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Date Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Date Generator API require? + Required fields: start_date, end_date. Full schema at /v1/openapi.json. Is the Random Date Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Date Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-date-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-date-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-date-generator")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - List Randomizer API # List Randomizer API random 1 credit / call v2026-04-22 Shuffle a newline-separated list into random order. One POST adds List Randomizer to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the List Randomizer on miniwebtool.com →](https://miniwebtool.com/list-randomizer/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/list-randomizer/run ``` ### Request body Field Type Req. `text` `str` ✓ `show_numbers` yes | no `str` — `shuffle_count` 1 | 3 | 5 | 10 `str` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "list-randomizer", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * Alpha Beta Gamma Delta show_numbers (str) yes no yes | no shuffle_count (str) 1 3 5 10 1 | 3 | 5 | 10 seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`list-randomizer`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/list-randomizer/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"Alpha\nBeta\nGamma\nDelta","show_numbers":"yes","shuffle_count":"1"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/list-randomizer/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'Alpha\nBeta\nGamma\nDelta', 'show_numbers': 'yes', 'shuffle_count': '1'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/list-randomizer/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"Alpha\nBeta\nGamma\nDelta","show_numbers":"yes","shuffle_count":"1"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'Alpha Beta Gamma Delta', 'show_numbers' => 'yes', 'shuffle_count' => '1' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/list-randomizer/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'Alpha Beta Gamma Delta', 'show_numbers' => 'yes', 'shuffle_count' => '1' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "Alpha Beta Gamma Delta", "show_numbers": "yes", "shuffle_count": "1", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/list-randomizer/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/list-randomizer/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"Alpha\\nBeta\\nGamma\\nDelta\",\"show_numbers\":\"yes\",\"shuffle_count\":\"1\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call list-randomizer - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/list-randomizer/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the List Randomizer API do? + Shuffle a newline-separated list into random order. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to List Randomizer cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the List Randomizer API require? + Required fields: text. Full schema at /v1/openapi.json. Is the List Randomizer API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the List Randomizer API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `list-randomizer` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`list-randomizer`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="list-randomizer")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Group Generator API # Random Group Generator API random 1 credit / call v2026-04-22 Create random balanced groups from a newline-separated list of names. One POST adds Random Group Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Group Generator on miniwebtool.com →](https://miniwebtool.com/random-group-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-group-generator/run ``` ### Request body Field Type Req. `name_list` `str` ✓ `group_mode` size | count `str` — `group_size` `int` — `group_count` `int` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-group-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) name_list (str) * Alice Bob Charlie David Eve Frank group_mode (str) size count size | count group_size (int) group_count (int) seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-group-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-group-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"name_list":"Alice\nBob\nCharlie\nDavid\nEve\nFrank","group_mode":"size","group_size":2,"group_count":3}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-group-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'name_list': 'Alice\nBob\nCharlie\nDavid\nEve\nFrank', 'group_mode': 'size', 'group_size': 2, 'group_count': 3}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-group-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"name_list":"Alice\nBob\nCharlie\nDavid\nEve\nFrank","group_mode":"size","group_size":2,"group_count":3}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'name_list' => 'Alice Bob Charlie David Eve Frank', 'group_mode' => 'size', 'group_size' => 2, 'group_count' => 3 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-group-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'name_list' => 'Alice Bob Charlie David Eve Frank', 'group_mode' => 'size', 'group_size' => 2, 'group_count' => 3 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "name_list": "Alice Bob Charlie David Eve Frank", "group_mode": "size", "group_size": 2, "group_count": 3, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-group-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-group-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"name_list\":\"Alice\\nBob\\nCharlie\\nDavid\\nEve\\nFrank\",\"group_mode\":\"size\",\"group_size\":2,\"group_count\":3}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-group-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`name_list`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-group-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Group Generator API do? + Create random balanced groups from a newline-separated list of names. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Group Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Group Generator API require? + Required fields: name_list. Full schema at /v1/openapi.json. Is the Random Group Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Group Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-group-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-group-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-group-generator")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Line Picker API # Random Line Picker API random 1 credit / call v2026-04-22 Pick random non-empty lines from user-supplied text. One POST adds Random Line Picker to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Line Picker on miniwebtool.com →](https://miniwebtool.com/random-line-picker/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-line-picker/run ``` ### Request body Field Type Req. `text` `str` ✓ `count` `int` — `no_duplicates` `bool` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-line-picker", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * Option A Option B Option C Option D count (int) no_duplicates (bool) false true seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-line-picker`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-line-picker/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"Option A\nOption B\nOption C\nOption D","count":2,"no_duplicates":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-line-picker/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'Option A\nOption B\nOption C\nOption D', 'count': 2, 'no_duplicates': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-line-picker/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"Option A\nOption B\nOption C\nOption D","count":2,"no_duplicates":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'Option A Option B Option C Option D', 'count' => 2, 'no_duplicates' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-line-picker/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'Option A Option B Option C Option D', 'count' => 2, 'no_duplicates' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "Option A Option B Option C Option D", "count": 2, "no_duplicates": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-line-picker/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-line-picker/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"Option A\\nOption B\\nOption C\\nOption D\",\"count\":2,\"no_duplicates\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-line-picker - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-line-picker/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Line Picker API do? + Pick random non-empty lines from user-supplied text. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Line Picker cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Line Picker API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Random Line Picker API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Line Picker API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-line-picker` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-line-picker`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-line-picker")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Port Number Generator API # Random Port Number Generator API random 1 credit / call v2026-04-22 Generate random network port numbers in standard or custom ranges. One POST adds Random Port Number Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Port Number Generator on miniwebtool.com →](https://miniwebtool.com/random-port-number-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-port-number-generator/run ``` ### Request body Field Type Req. `port_range` all | well-known | registered | dynamic | custom `str` — `quantity` `int` — `avoid_common` `bool` — `unique_only` `bool` — `custom_min` `int | None` — `custom_max` `int | None` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-port-number-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) port_range (str) all well-known registered dynamic custom all | well-known | registered | dynamic | custom quantity (int) avoid_common (bool) false true unique_only (bool) false true custom_min (int | None) custom_max (int | None) seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-port-number-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-port-number-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"port_range":"dynamic","quantity":5,"unique_only":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-port-number-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'port_range': 'dynamic', 'quantity': 5, 'unique_only': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-port-number-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"port_range":"dynamic","quantity":5,"unique_only":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'port_range' => 'dynamic', 'quantity' => 5, 'unique_only' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-port-number-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'port_range' => 'dynamic', 'quantity' => 5, 'unique_only' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "port_range": "dynamic", "quantity": 5, "unique_only": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-port-number-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-port-number-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"port_range\":\"dynamic\",\"quantity\":5,\"unique_only\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-port-number-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-port-number-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Port Number Generator API do? + Generate random network port numbers in standard or custom ranges. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Port Number Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Port Number Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Random Port Number Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Port Number Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-port-number-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-port-number-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-port-number-generator")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) [ Random Letter Generator Generate random letters with case, vowel/consonant, and duplicate controls. ](/tools/random-letter-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Decimal Number Generator API # Random Decimal Number Generator API random 1 credit / call v2026-04-22 Generate random decimal numbers between 0 and 1 with configurable precision. One POST adds Random Decimal Number Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Decimal Number Generator on miniwebtool.com →](https://miniwebtool.com/random-decimal-number-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-decimal-number-generator/run ``` ### Request body Field Type Req. `count` `int` — `precision` `int` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-decimal-number-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) count (int) precision (int) seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-decimal-number-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-decimal-number-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"count":5,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-decimal-number-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'count': 5, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-decimal-number-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"count":5,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'count' => 5, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-decimal-number-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'count' => 5, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "count": 5, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-decimal-number-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-decimal-number-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"count\":5,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-decimal-number-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-decimal-number-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Decimal Number Generator API do? + Generate random decimal numbers between 0 and 1 with configurable precision. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Decimal Number Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Decimal Number Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Random Decimal Number Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Decimal Number Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-decimal-number-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-decimal-number-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-decimal-number-generator")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Letter Generator Generate random letters with case, vowel/consonant, and duplicate controls. ](/tools/random-letter-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Integer Generator API # Random Integer Generator API random 1 credit / call v2026-04-22 Generate random integers with optional uniqueness, sorting, exclusions, and seed replay. One POST adds Random Integer Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Integer Generator on miniwebtool.com →](https://miniwebtool.com/random-integer-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-integer-generator/run ``` ### Request body Field Type Req. `min_value` `int` — `max_value` `int` — `count` `int` — `unique` yes | no `str` — `sort_order` none | asc | desc `str` — `exclude` `str` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-integer-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) min_value (int) max_value (int) count (int) unique (str) yes no yes | no sort_order (str) none asc desc none | asc | desc exclude (str) seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-integer-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-integer-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"min_value":1,"max_value":100,"count":5,"unique":"no","sort_order":"asc"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-integer-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'min_value': 1, 'max_value': 100, 'count': 5, 'unique': 'no', 'sort_order': 'asc'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-integer-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"min_value":1,"max_value":100,"count":5,"unique":"no","sort_order":"asc"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'min_value' => 1, 'max_value' => 100, 'count' => 5, 'unique' => 'no', 'sort_order' => 'asc' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-integer-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'min_value' => 1, 'max_value' => 100, 'count' => 5, 'unique' => 'no', 'sort_order' => 'asc' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "min_value": 1, "max_value": 100, "count": 5, "unique": "no", "sort_order": "asc", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-integer-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-integer-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"min_value\":1,\"max_value\":100,\"count\":5,\"unique\":\"no\",\"sort_order\":\"asc\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-integer-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-integer-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Integer Generator API do? + Generate random integers with optional uniqueness, sorting, exclusions, and seed replay. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Integer Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Integer Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Random Integer Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Integer Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-integer-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-integer-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-integer-generator")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) [ Random Letter Generator Generate random letters with case, vowel/consonant, and duplicate controls. ](/tools/random-letter-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Quote Generator API # Random Quote Generator API random 3 credits / call v2026-04-22 Generate or search quotes from a bundled SQLite quote database. One POST adds Random Quote Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Quote Generator on miniwebtool.com →](https://miniwebtool.com/random-quote-generator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 3cr ```text POST https://api.miniwebtool.com/v1/tools/random-quote-generator/run ``` ### Request body Field Type Req. `mode` random | search | author `str` — `query` `str` — `limit` `int` — `seed` `int | None` — ### Cost & access - 3 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-quote-generator", "tool_version": "2026-04-22", "credits_used": 3, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) mode (str) random search author random | search | author query (str) limit (int) seed (int | None) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`random-quote-generator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-quote-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"random","limit":1}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-quote-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'random', 'limit': 1}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-quote-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"random","limit":1}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'random', 'limit' => 1 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-quote-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'random', 'limit' => 1 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "random", "limit": 1, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-quote-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-quote-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"random\",\"limit\":1}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-quote-generator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-quote-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Quote Generator API do? + Generate or search quotes from a bundled SQLite quote database. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Quote Generator cost? + 3 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Quote Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Random Quote Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Quote Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-quote-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-quote-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-quote-generator")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random Letter Generator API # Random Letter Generator API random 1 credit / call v2026-04-22 Generate random letters with case, vowel/consonant, and duplicate controls. One POST adds Random Letter Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random Letter Generator on miniwebtool.com →](https://miniwebtool.com/random-letter-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-letter-generator/run ``` ### Request body Field Type Req. `count` `int` — `letter_case` upper | lower | mixed `str` — `letter_type` all | vowels | consonants `str` — `allow_duplicates` yes | no `str` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-letter-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) count (int) letter_case (str) upper lower mixed upper | lower | mixed letter_type (str) all vowels consonants all | vowels | consonants allow_duplicates (str) yes no yes | no seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-letter-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-letter-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"count":8,"letter_case":"upper","letter_type":"all","allow_duplicates":"yes"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-letter-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'count': 8, 'letter_case': 'upper', 'letter_type': 'all', 'allow_duplicates': 'yes'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-letter-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"count":8,"letter_case":"upper","letter_type":"all","allow_duplicates":"yes"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'count' => 8, 'letter_case' => 'upper', 'letter_type' => 'all', 'allow_duplicates' => 'yes' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-letter-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'count' => 8, 'letter_case' => 'upper', 'letter_type' => 'all', 'allow_duplicates' => 'yes' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "count": 8, "letter_case": "upper", "letter_type": "all", "allow_duplicates": "yes", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-letter-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-letter-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"count\":8,\"letter_case\":\"upper\",\"letter_type\":\"all\",\"allow_duplicates\":\"yes\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-letter-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-letter-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random Letter Generator API do? + Generate random letters with case, vowel/consonant, and duplicate controls. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random Letter Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random Letter Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Random Letter Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random Letter Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-letter-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-letter-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-letter-generator")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [random](/tools/#random) - / - Random String Generator API # Random String Generator API random 1 credit / call v2026-04-22 Generate random strings, passwords, API keys, tokens, PINs, or hex strings. One POST adds Random String Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Random String Generator on miniwebtool.com →](https://miniwebtool.com/random-string-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/random-string-generator/run ``` ### Request body Field Type Req. `preset` password | api_key | token | pin | hex | custom `str` — `length` `int` — `count` `int` — `numeric` `bool` — `lowercase` `bool` — `uppercase` `bool` — `special` `bool` — `exclude_ambiguous` `bool` — `seed` `int | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "random-string-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) preset (str) password api_key token pin hex custom password | api_key | token | pin | hex | custom length (int) count (int) numeric (bool) false true lowercase (bool) false true uppercase (bool) false true special (bool) false true exclude_ambiguous (bool) false true seed (int | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`random-string-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/random-string-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"preset":"password","count":3}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/random-string-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'preset': 'password', 'count': 3}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/random-string-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"preset":"password","count":3}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'preset' => 'password', 'count' => 3 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/random-string-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'preset' => 'password', 'count' => 3 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "preset": "password", "count": 3, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/random-string-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/random-string-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"preset\":\"password\",\"count\":3}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call random-string-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/random-string-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Random String Generator API do? + Generate random strings, passwords, API keys, tokens, PINs, or hex strings. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Random String Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Random String Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Random String Generator API deterministic? + This tool's output may vary (e.g. random generation). Version: 2026-04-22. Can an AI agent call the Random String Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `random-string-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`random-string-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="random-string-generator")' ``` see-also related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) [ Random Integer Generator Generate random integers with optional uniqueness, sorting, exclusions, and see… ](/tools/random-integer-generator/) [ Random Decimal Number Generator Generate random decimal numbers between 0 and 1 with configurable precision. ](/tools/random-decimal-number-generator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Astronomical Unit Converter API # Astronomical Unit Converter API science 1 credit / call v2026-04-22 Convert astronomical distances among AU, light-time, parsecs, kilometers, and miles. One POST adds Astronomical Unit Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Astronomical Unit Converter on miniwebtool.com →](https://miniwebtool.com/astronomical-unit-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/astronomical-unit-converter/run ``` ### Request body Field Type Req. `distance` `float` — `unit` km | mi | ls | lm | lh | au | ld | ly | pc | kpc | mpc `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "astronomical-unit-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) distance (float) unit (str) km mi ls lm lh au ld ly pc kpc mpc km | mi | ls | lm | lh | au | ld | ly | pc | kpc | mpc Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`astronomical-unit-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/astronomical-unit-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"distance":1,"unit":"au"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/astronomical-unit-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'distance': 1, 'unit': 'au'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/astronomical-unit-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"distance":1,"unit":"au"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'distance' => 1, 'unit' => 'au' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/astronomical-unit-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'distance' => 1, 'unit' => 'au' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "distance": 1, "unit": "au", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/astronomical-unit-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/astronomical-unit-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"distance\":1,\"unit\":\"au\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call astronomical-unit-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/astronomical-unit-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Astronomical Unit Converter API do? + Convert astronomical distances among AU, light-time, parsecs, kilometers, and miles. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Astronomical Unit Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Astronomical Unit Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Astronomical Unit Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Astronomical Unit Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `astronomical-unit-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`astronomical-unit-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="astronomical-unit-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Capacitor Calculator Calculate capacitor charge, stored energy, reactance, RC timing, or decode cera… ](/tools/capacitor-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Percent Yield Calculator API # Percent Yield Calculator API science 1 credit / call v2026-04-22 Solve percent yield, actual yield, or theoretical yield. One POST adds Percent Yield Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Percent Yield Calculator on miniwebtool.com →](https://miniwebtool.com/percent-yield-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/percent-yield-calculator/run ``` ### Request body Field Type Req. `solve_for` percent_yield | actual | theoretical `str` — `actual_yield` `float | None` — `theoretical_yield` `float | None` — `percent_yield` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "percent-yield-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) percent_yield actual theoretical percent_yield | actual | theoretical actual_yield (float | None) theoretical_yield (float | None) percent_yield (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`percent-yield-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/percent-yield-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"percent_yield","actual_yield":8.5,"theoretical_yield":10,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/percent-yield-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'percent_yield', 'actual_yield': 8.5, 'theoretical_yield': 10, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/percent-yield-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"percent_yield","actual_yield":8.5,"theoretical_yield":10,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'percent_yield', 'actual_yield' => 8.5, 'theoretical_yield' => 10, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/percent-yield-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'percent_yield', 'actual_yield' => 8.5, 'theoretical_yield' => 10, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "percent_yield", "actual_yield": 8.5, "theoretical_yield": 10, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/percent-yield-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/percent-yield-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"percent_yield\",\"actual_yield\":8.5,\"theoretical_yield\":10,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call percent-yield-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/percent-yield-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Percent Yield Calculator API do? + Solve percent yield, actual yield, or theoretical yield. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Percent Yield Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Percent Yield Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Percent Yield Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Percent Yield Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `percent-yield-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`percent-yield-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="percent-yield-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Parallel Resistor Calculator API # Parallel Resistor Calculator API science 1 credit / call v2026-04-22 Calculate equivalent resistance and current sharing for resistors in parallel. One POST adds Parallel Resistor Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Parallel Resistor Calculator on miniwebtool.com →](https://miniwebtool.com/parallel-resistor-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/parallel-resistor-calculator/run ``` ### Request body Field Type Req. `resistors` `list` — `unit` ohm | kohm | mohm `str` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "parallel-resistor-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) resistors (list) unit (str) ohm kohm mohm ohm | kohm | mohm precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`parallel-resistor-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/parallel-resistor-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/parallel-resistor-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/parallel-resistor-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/parallel-resistor-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/parallel-resistor-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/parallel-resistor-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call parallel-resistor-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/parallel-resistor-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Parallel Resistor Calculator API do? + Calculate equivalent resistance and current sharing for resistors in parallel. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Parallel Resistor Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Parallel Resistor Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Parallel Resistor Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Parallel Resistor Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `parallel-resistor-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`parallel-resistor-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="parallel-resistor-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Power Factor Calculator API # Power Factor Calculator API science 1 credit / call v2026-04-22 Calculate power factor, reactive power, or capacitor correction values. One POST adds Power Factor Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Power Factor Calculator on miniwebtool.com →](https://miniwebtool.com/power-factor-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/power-factor-calculator/run ``` ### Request body Field Type Req. `calc_mode` vi | power | correction `str` — `voltage` `float` — `current` `float` — `real_power` `float` — `known_value_type` pf | s | q `str` — `known_value` `float` — `current_pf` `float` — `target_pf` `float` — `frequency` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "power-factor-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calc_mode (str) vi power correction vi | power | correction voltage (float) current (float) real_power (float) known_value_type (str) pf s q pf | s | q known_value (float) current_pf (float) target_pf (float) frequency (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`power-factor-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/power-factor-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/power-factor-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/power-factor-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/power-factor-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/power-factor-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/power-factor-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call power-factor-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/power-factor-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Power Factor Calculator API do? + Calculate power factor, reactive power, or capacitor correction values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Power Factor Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Power Factor Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Power Factor Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Power Factor Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `power-factor-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`power-factor-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="power-factor-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - RC Time Constant Calculator API # RC Time Constant Calculator API science 1 credit / call v2026-04-22 Calculate RC circuit time constant, cutoff frequency, and charging or discharging levels. One POST adds RC Time Constant Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the RC Time Constant Calculator on miniwebtool.com →](https://miniwebtool.com/rc-time-constant-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/rc-time-constant-calculator/run ``` ### Request body Field Type Req. `resistance` `float` — `r_unit` ohm | kohm | mohm `str` — `capacitance` `float` — `c_unit` f | mf | uf | nf | pf `str` — `voltage` `float` — `mode` charging | discharging `str` — `time_point` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "rc-time-constant-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) resistance (float) r_unit (str) ohm kohm mohm ohm | kohm | mohm capacitance (float) c_unit (str) f mf uf nf pf f | mf | uf | nf | pf voltage (float) mode (str) charging discharging charging | discharging time_point (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`rc-time-constant-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/rc-time-constant-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/rc-time-constant-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/rc-time-constant-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/rc-time-constant-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/rc-time-constant-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/rc-time-constant-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call rc-time-constant-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/rc-time-constant-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the RC Time Constant Calculator API do? + Calculate RC circuit time constant, cutoff frequency, and charging or discharging levels. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to RC Time Constant Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the RC Time Constant Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the RC Time Constant Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the RC Time Constant Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `rc-time-constant-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`rc-time-constant-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="rc-time-constant-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - 555 Timer Calculator API # 555 Timer Calculator API science 1 credit / call v2026-04-22 Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse width. One POST adds 555 Timer Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the 555 Timer Calculator on miniwebtool.com →](https://miniwebtool.com/555-timer-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/555-timer-calculator/run ``` ### Request body Field Type Req. `mode` astable | monostable `str` — `r1` `float` — `r2` `float | None` — `c` `float` — `r1_unit` ohm | kohm | mohm `str` — `r2_unit` ohm | kohm | mohm `str` — `c_unit` pf | nf | uf | mf | f `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "555-timer-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) astable monostable astable | monostable r1 (float) r2 (float | None) c (float) r1_unit (str) ohm kohm mohm ohm | kohm | mohm r2_unit (str) ohm kohm mohm ohm | kohm | mohm c_unit (str) pf nf uf mf f pf | nf | uf | mf | f Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`555-timer-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/555-timer-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"astable","r1":10,"r2":47,"c":10,"r1_unit":"kohm","r2_unit":"kohm","c_unit":"nf"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/555-timer-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'astable', 'r1': 10, 'r2': 47, 'c': 10, 'r1_unit': 'kohm', 'r2_unit': 'kohm', 'c_unit': 'nf'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/555-timer-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"astable","r1":10,"r2":47,"c":10,"r1_unit":"kohm","r2_unit":"kohm","c_unit":"nf"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'astable', 'r1' => 10, 'r2' => 47, 'c' => 10, 'r1_unit' => 'kohm', 'r2_unit' => 'kohm', 'c_unit' => 'nf' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/555-timer-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'astable', 'r1' => 10, 'r2' => 47, 'c' => 10, 'r1_unit' => 'kohm', 'r2_unit' => 'kohm', 'c_unit' => 'nf' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "astable", "r1": 10, "r2": 47, "c": 10, "r1_unit": "kohm", "r2_unit": "kohm", "c_unit": "nf", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/555-timer-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/555-timer-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"astable\",\"r1\":10,\"r2\":47,\"c\":10,\"r1_unit\":\"kohm\",\"r2_unit\":\"kohm\",\"c_unit\":\"nf\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call 555-timer-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/555-timer-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the 555 Timer Calculator API do? + Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse width. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to 555 Timer Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the 555 Timer Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the 555 Timer Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the 555 Timer Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `555-timer-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`555-timer-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="555-timer-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) [ Capacitor Calculator Calculate capacitor charge, stored energy, reactance, RC timing, or decode cera… ](/tools/capacitor-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Capacitor Calculator API # Capacitor Calculator API science 1 credit / call v2026-04-22 Calculate capacitor charge, stored energy, reactance, RC timing, or decode ceramic capacitor codes. One POST adds Capacitor Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Capacitor Calculator on miniwebtool.com →](https://miniwebtool.com/capacitor-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/capacitor-calculator/run ``` ### Request body Field Type Req. `mode` calculate | decode `str` — `capacitance` `float | None` — `cap_unit` pf | nf | uf | mf | f `str` — `voltage` `float | None` — `frequency` `float | None` — `freq_unit` hz | khz | mhz | ghz `str` — `resistance` `float | None` — `res_unit` ohm | kohm | mohm `str` — `cap_code` `str | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "capacitor-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) calculate decode calculate | decode capacitance (float | None) cap_unit (str) pf nf uf mf f pf | nf | uf | mf | f voltage (float | None) frequency (float | None) freq_unit (str) hz khz mhz ghz hz | khz | mhz | ghz resistance (float | None) res_unit (str) ohm kohm mohm ohm | kohm | mohm cap_code (str | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`capacitor-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/capacitor-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"calculate","capacitance":10,"cap_unit":"uf","voltage":5,"frequency":1,"freq_unit":"khz","resistance":10,"res_unit":"kohm"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/capacitor-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'calculate', 'capacitance': 10, 'cap_unit': 'uf', 'voltage': 5, 'frequency': 1, 'freq_unit': 'khz', 'resistance': 10, 'res_unit': 'kohm'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/capacitor-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"calculate","capacitance":10,"cap_unit":"uf","voltage":5,"frequency":1,"freq_unit":"khz","resistance":10,"res_unit":"kohm"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'calculate', 'capacitance' => 10, 'cap_unit' => 'uf', 'voltage' => 5, 'frequency' => 1, 'freq_unit' => 'khz', 'resistance' => 10, 'res_unit' => 'kohm' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/capacitor-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'calculate', 'capacitance' => 10, 'cap_unit' => 'uf', 'voltage' => 5, 'frequency' => 1, 'freq_unit' => 'khz', 'resistance' => 10, 'res_unit' => 'kohm' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "calculate", "capacitance": 10, "cap_unit": "uf", "voltage": 5, "frequency": 1, "freq_unit": "khz", "resistance": 10, "res_unit": "kohm", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/capacitor-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/capacitor-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"calculate\",\"capacitance\":10,\"cap_unit\":\"uf\",\"voltage\":5,\"frequency\":1,\"freq_unit\":\"khz\",\"resistance\":10,\"res_unit\":\"kohm\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call capacitor-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/capacitor-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Capacitor Calculator API do? + Calculate capacitor charge, stored energy, reactance, RC timing, or decode ceramic capacitor codes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Capacitor Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Capacitor Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Capacitor Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Capacitor Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `capacitor-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`capacitor-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="capacitor-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Decibel (dB) Calculator API # Decibel (dB) Calculator API science 1 credit / call v2026-04-22 Calculate power dB, voltage dB, dB ratios, and dBm/dBW/watt conversions. One POST adds Decibel (dB) Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Decibel (dB) Calculator on miniwebtool.com →](https://miniwebtool.com/decibel-db-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/decibel-db-calculator/run ``` ### Request body Field Type Req. `calc_mode` power_db | voltage_db | db_to_ratio | dbm_dbw `str` — `p1` `float | None` — `p2` `float | None` — `v1` `float | None` — `v2` `float | None` — `db_value` `float | None` — `dbm_value` `float | None` — `dbm_unit` dbm | dbw | w | mw `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "decibel-db-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calc_mode (str) power_db voltage_db db_to_ratio dbm_dbw power_db | voltage_db | db_to_ratio | dbm_dbw p1 (float | None) p2 (float | None) v1 (float | None) v2 (float | None) db_value (float | None) dbm_value (float | None) dbm_unit (str) dbm dbw w mw dbm | dbw | w | mw Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`decibel-db-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/decibel-db-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"power_db","p1":2,"p2":50,"dbm_unit":"dbm"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/decibel-db-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'power_db', 'p1': 2, 'p2': 50, 'dbm_unit': 'dbm'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/decibel-db-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"power_db","p1":2,"p2":50,"dbm_unit":"dbm"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'power_db', 'p1' => 2, 'p2' => 50, 'dbm_unit' => 'dbm' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/decibel-db-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'power_db', 'p1' => 2, 'p2' => 50, 'dbm_unit' => 'dbm' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "power_db", "p1": 2, "p2": 50, "dbm_unit": "dbm", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/decibel-db-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/decibel-db-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"power_db\",\"p1\":2,\"p2\":50,\"dbm_unit\":\"dbm\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call decibel-db-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/decibel-db-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Decibel (dB) Calculator API do? + Calculate power dB, voltage dB, dB ratios, and dBm/dBW/watt conversions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Decibel (dB) Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Decibel (dB) Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Decibel (dB) Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Decibel (dB) Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `decibel-db-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`decibel-db-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="decibel-db-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Ohm's Law Calculator API # Ohm's Law Calculator API science 1 credit / call v2026-04-22 Calculate voltage, current, resistance, and power from any two known values. One POST adds Ohm's Law Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Ohm's Law Calculator on miniwebtool.com →](https://miniwebtool.com/ohm-s-law-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ohm-s-law-calculator/run ``` ### Request body Field Type Req. `voltage` `float | None` — `current` `float | None` — `resistance` `float | None` — `power` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ohm-s-law-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) voltage (float | None) current (float | None) resistance (float | None) power (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ohm-s-law-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ohm-s-law-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ohm-s-law-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ohm-s-law-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ohm-s-law-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ohm-s-law-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ohm-s-law-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ohm-s-law-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ohm-s-law-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Ohm's Law Calculator API do? + Calculate voltage, current, resistance, and power from any two known values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Ohm's Law Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Ohm's Law Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Ohm's Law Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Ohm's Law Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ohm-s-law-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ohm-s-law-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ohm-s-law-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Resonant Frequency Calculator API # Resonant Frequency Calculator API science 1 credit / call v2026-04-22 Calculate LC/RLC resonant frequency, inductance, capacitance, impedance, Q factor, and bandwidth. One POST adds Resonant Frequency Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Resonant Frequency Calculator on miniwebtool.com →](https://miniwebtool.com/resonant-frequency-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/resonant-frequency-calculator/run ``` ### Request body Field Type Req. `solve_for` freq | inductance | capacitance `str` — `circuit_type` series | parallel `str` — `inductance` `float | None` — `capacitance` `float | None` — `resistance` `float | None` — `frequency` `float | None` — `l_unit` h | mh | uh | nh `str` — `c_unit` f | mf | uf | nf | pf `str` — `r_unit` ohm | kohm | mohm `str` — `f_unit` hz | khz | mhz | ghz `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "resonant-frequency-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) freq inductance capacitance freq | inductance | capacitance circuit_type (str) series parallel series | parallel inductance (float | None) capacitance (float | None) resistance (float | None) frequency (float | None) l_unit (str) h mh uh nh h | mh | uh | nh c_unit (str) f mf uf nf pf f | mf | uf | nf | pf r_unit (str) ohm kohm mohm ohm | kohm | mohm f_unit (str) hz khz mhz ghz hz | khz | mhz | ghz Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`resonant-frequency-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/resonant-frequency-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"freq","circuit_type":"series","inductance":100,"capacitance":100,"l_unit":"uh","c_unit":"pf","r_unit":"ohm","f_unit":"mhz"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/resonant-frequency-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'freq', 'circuit_type': 'series', 'inductance': 100, 'capacitance': 100, 'l_unit': 'uh', 'c_unit': 'pf', 'r_unit': 'ohm', 'f_unit': 'mhz'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/resonant-frequency-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"freq","circuit_type":"series","inductance":100,"capacitance":100,"l_unit":"uh","c_unit":"pf","r_unit":"ohm","f_unit":"mhz"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'freq', 'circuit_type' => 'series', 'inductance' => 100, 'capacitance' => 100, 'l_unit' => 'uh', 'c_unit' => 'pf', 'r_unit' => 'ohm', 'f_unit' => 'mhz' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/resonant-frequency-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'freq', 'circuit_type' => 'series', 'inductance' => 100, 'capacitance' => 100, 'l_unit' => 'uh', 'c_unit' => 'pf', 'r_unit' => 'ohm', 'f_unit' => 'mhz' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "freq", "circuit_type": "series", "inductance": 100, "capacitance": 100, "l_unit": "uh", "c_unit": "pf", "r_unit": "ohm", "f_unit": "mhz", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/resonant-frequency-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/resonant-frequency-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"freq\",\"circuit_type\":\"series\",\"inductance\":100,\"capacitance\":100,\"l_unit\":\"uh\",\"c_unit\":\"pf\",\"r_unit\":\"ohm\",\"f_unit\":\"mhz\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call resonant-frequency-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/resonant-frequency-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Resonant Frequency Calculator API do? + Calculate LC/RLC resonant frequency, inductance, capacitance, impedance, Q factor, and bandwidth. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Resonant Frequency Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Resonant Frequency Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Resonant Frequency Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Resonant Frequency Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `resonant-frequency-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`resonant-frequency-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="resonant-frequency-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Density Calculator API # Density Calculator API science 1 credit / call v2026-04-22 Solve density, mass, or volume with common unit conversions. One POST adds Density Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Density Calculator on miniwebtool.com →](https://miniwebtool.com/density-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/density-calculator/run ``` ### Request body Field Type Req. `solve_for` density | mass | volume `str` — `mass` `float | None` — `volume` `float | None` — `density` `float | None` — `mass_unit` mg | g | kg | tonne | oz | lb `str` — `volume_unit` mm3 | cm3 | dm3 | m3 | mL | L | in3 | ft3 | gal_us | gal_uk `str` — `density_unit` g/cm3 | kg/m3 | kg/L | lb/ft3 | lb/in3 | lb/gal `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "density-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) density mass volume density | mass | volume mass (float | None) volume (float | None) density (float | None) mass_unit (str) mg g kg tonne oz lb mg | g | kg | tonne | oz | lb volume_unit (str) mm3 cm3 dm3 m3 mL L in3 ft3 gal_us gal_uk mm3 | cm3 | dm3 | m3 | mL | L | in3 | ft3 | gal_us | gal_uk density_unit (str) g/cm3 kg/m3 kg/L lb/ft3 lb/in3 lb/gal g/cm3 | kg/m3 | kg/L | lb/ft3 | lb/in3 | lb/gal Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`density-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/density-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"density","mass":1000,"volume":1,"mass_unit":"g","volume_unit":"L","density_unit":"g/cm3"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/density-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'density', 'mass': 1000, 'volume': 1, 'mass_unit': 'g', 'volume_unit': 'L', 'density_unit': 'g/cm3'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/density-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"density","mass":1000,"volume":1,"mass_unit":"g","volume_unit":"L","density_unit":"g/cm3"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'density', 'mass' => 1000, 'volume' => 1, 'mass_unit' => 'g', 'volume_unit' => 'L', 'density_unit' => 'g/cm3' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/density-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'density', 'mass' => 1000, 'volume' => 1, 'mass_unit' => 'g', 'volume_unit' => 'L', 'density_unit' => 'g/cm3' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "density", "mass": 1000, "volume": 1, "mass_unit": "g", "volume_unit": "L", "density_unit": "g/cm3", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/density-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/density-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"density\",\"mass\":1000,\"volume\":1,\"mass_unit\":\"g\",\"volume_unit\":\"L\",\"density_unit\":\"g/cm3\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call density-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/density-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Density Calculator API do? + Solve density, mass, or volume with common unit conversions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Density Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Density Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Density Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Density Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `density-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`density-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="density-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Force Calculator API # Force Calculator API science 1 credit / call v2026-04-22 Solve Newton's second law for force, mass, or acceleration with common unit conversions. One POST adds Force Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Force Calculator on miniwebtool.com →](https://miniwebtool.com/force-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/force-calculator/run ``` ### Request body Field Type Req. `solve_for` force | mass | acceleration `str` — `force` `float | None` — `mass` `float | None` — `acceleration` `float | None` — `force_unit` N | kN | lbf | dyn | kgf `str` — `mass_unit` kg | g | lb | oz | tonne `str` — `acceleration_unit` ms2 | fts2 | g0 | cms2 `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "force-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) force mass acceleration force | mass | acceleration force (float | None) mass (float | None) acceleration (float | None) force_unit (str) N kN lbf dyn kgf N | kN | lbf | dyn | kgf mass_unit (str) kg g lb oz tonne kg | g | lb | oz | tonne acceleration_unit (str) ms2 fts2 g0 cms2 ms2 | fts2 | g0 | cms2 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`force-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/force-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"force","mass":10,"acceleration":2,"force_unit":"N","mass_unit":"kg","acceleration_unit":"ms2"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/force-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'force', 'mass': 10, 'acceleration': 2, 'force_unit': 'N', 'mass_unit': 'kg', 'acceleration_unit': 'ms2'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/force-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"force","mass":10,"acceleration":2,"force_unit":"N","mass_unit":"kg","acceleration_unit":"ms2"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'force', 'mass' => 10, 'acceleration' => 2, 'force_unit' => 'N', 'mass_unit' => 'kg', 'acceleration_unit' => 'ms2' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/force-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'force', 'mass' => 10, 'acceleration' => 2, 'force_unit' => 'N', 'mass_unit' => 'kg', 'acceleration_unit' => 'ms2' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "force", "mass": 10, "acceleration": 2, "force_unit": "N", "mass_unit": "kg", "acceleration_unit": "ms2", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/force-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/force-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"force\",\"mass\":10,\"acceleration\":2,\"force_unit\":\"N\",\"mass_unit\":\"kg\",\"acceleration_unit\":\"ms2\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call force-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/force-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Force Calculator API do? + Solve Newton's second law for force, mass, or acceleration with common unit conversions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Force Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Force Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Force Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Force Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `force-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`force-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="force-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Kinetic Energy Calculator API # Kinetic Energy Calculator API science 1 credit / call v2026-04-22 Solve kinetic energy, mass, or velocity with KE = 1/2 m v^2 and unit conversions. One POST adds Kinetic Energy Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Kinetic Energy Calculator on miniwebtool.com →](https://miniwebtool.com/kinetic-energy-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/kinetic-energy-calculator/run ``` ### Request body Field Type Req. `solve_for` energy | mass | velocity `str` — `energy` `float | None` — `mass` `float | None` — `velocity` `float | None` — `energy_unit` J | kJ | MJ | cal | kcal | Wh | kWh | eV | BTU | ftlb `str` — `mass_unit` kg | g | mg | lb | oz | ton `str` — `velocity_unit` ms | kmh | mph | fts | knot `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "kinetic-energy-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) energy mass velocity energy | mass | velocity energy (float | None) mass (float | None) velocity (float | None) energy_unit (str) J kJ MJ cal kcal Wh kWh eV BTU ftlb J | kJ | MJ | cal | kcal | Wh | kWh | eV | BTU | ftlb mass_unit (str) kg g mg lb oz ton kg | g | mg | lb | oz | ton velocity_unit (str) ms kmh mph fts knot ms | kmh | mph | fts | knot Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`kinetic-energy-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/kinetic-energy-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"energy","mass":2,"velocity":3,"energy_unit":"J","mass_unit":"kg","velocity_unit":"ms"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/kinetic-energy-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'energy', 'mass': 2, 'velocity': 3, 'energy_unit': 'J', 'mass_unit': 'kg', 'velocity_unit': 'ms'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/kinetic-energy-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"energy","mass":2,"velocity":3,"energy_unit":"J","mass_unit":"kg","velocity_unit":"ms"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'energy', 'mass' => 2, 'velocity' => 3, 'energy_unit' => 'J', 'mass_unit' => 'kg', 'velocity_unit' => 'ms' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/kinetic-energy-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'energy', 'mass' => 2, 'velocity' => 3, 'energy_unit' => 'J', 'mass_unit' => 'kg', 'velocity_unit' => 'ms' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "energy", "mass": 2, "velocity": 3, "energy_unit": "J", "mass_unit": "kg", "velocity_unit": "ms", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/kinetic-energy-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/kinetic-energy-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"energy\",\"mass\":2,\"velocity\":3,\"energy_unit\":\"J\",\"mass_unit\":\"kg\",\"velocity_unit\":\"ms\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call kinetic-energy-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/kinetic-energy-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Kinetic Energy Calculator API do? + Solve kinetic energy, mass, or velocity with KE = 1/2 m v^2 and unit conversions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Kinetic Energy Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Kinetic Energy Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Kinetic Energy Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Kinetic Energy Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `kinetic-energy-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`kinetic-energy-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="kinetic-energy-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Momentum Calculator API # Momentum Calculator API science 1 credit / call v2026-04-22 Calculate linear momentum and kinetic energy from mass and velocity. One POST adds Momentum Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Momentum Calculator on miniwebtool.com →](https://miniwebtool.com/momentum-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/momentum-calculator/run ``` ### Request body Field Type Req. `mass` `float` — `velocity` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "momentum-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mass (float) velocity (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`momentum-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/momentum-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/momentum-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/momentum-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/momentum-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/momentum-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/momentum-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call momentum-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/momentum-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Momentum Calculator API do? + Calculate linear momentum and kinetic energy from mass and velocity. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Momentum Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Momentum Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Momentum Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Momentum Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `momentum-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`momentum-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="momentum-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Potential Energy Calculator API # Potential Energy Calculator API science 1 credit / call v2026-04-22 Calculate gravitational or elastic potential energy and solve for missing variables. One POST adds Potential Energy Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Potential Energy Calculator on miniwebtool.com →](https://miniwebtool.com/potential-energy-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/potential-energy-calculator/run ``` ### Request body Field Type Req. `energy_type` gravitational | elastic `str` — `solve_for` energy | mass | height | spring_constant | displacement `str` — `energy` `float | None` — `mass` `float | None` — `height` `float | None` — `spring_constant` `float | None` — `displacement` `float | None` — `planet` earth | moon | mars | jupiter | venus | saturn | mercury | custom `str` — `custom_g` `float | None` — `energy_unit` J | kJ | MJ | cal | kcal | Wh | kWh | eV | BTU | ftlb `str` — `mass_unit` kg | g | mg | lb | oz | ton `str` — `height_unit` m | cm | km | ft | in | mi `str` — `spring_unit` Nm | kNm | lbin | lbft `str` — `displacement_unit` m | cm | mm | in | ft `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "potential-energy-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) energy_type (str) gravitational elastic gravitational | elastic solve_for (str) energy mass height spring_constant displacement energy | mass | height | spring_constant | displacement energy (float | None) mass (float | None) height (float | None) spring_constant (float | None) displacement (float | None) planet (str) earth moon mars jupiter venus saturn mercury custom earth | moon | mars | jupiter | venus | saturn | mercury | custom custom_g (float | None) energy_unit (str) J kJ MJ cal kcal Wh kWh eV BTU ftlb J | kJ | MJ | cal | kcal | Wh | kWh | eV | BTU | ftlb mass_unit (str) kg g mg lb oz ton kg | g | mg | lb | oz | ton height_unit (str) m cm km ft in mi m | cm | km | ft | in | mi spring_unit (str) Nm kNm lbin lbft Nm | kNm | lbin | lbft displacement_unit (str) m cm mm in ft m | cm | mm | in | ft Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`potential-energy-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/potential-energy-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"energy_type":"gravitational","solve_for":"energy","mass":2,"height":3,"planet":"earth","energy_unit":"J","mass_unit":"kg","height_unit":"m","spring_unit":"Nm","displacement_unit":"m"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/potential-energy-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'energy_type': 'gravitational', 'solve_for': 'energy', 'mass': 2, 'height': 3, 'planet': 'earth', 'energy_unit': 'J', 'mass_unit': 'kg', 'height_unit': 'm', 'spring_unit': 'Nm', 'displacement_unit': 'm'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/potential-energy-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"energy_type":"gravitational","solve_for":"energy","mass":2,"height":3,"planet":"earth","energy_unit":"J","mass_unit":"kg","height_unit":"m","spring_unit":"Nm","displacement_unit":"m"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'energy_type' => 'gravitational', 'solve_for' => 'energy', 'mass' => 2, 'height' => 3, 'planet' => 'earth', 'energy_unit' => 'J', 'mass_unit' => 'kg', 'height_unit' => 'm', 'spring_unit' => 'Nm', 'displacement_unit' => 'm' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/potential-energy-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'energy_type' => 'gravitational', 'solve_for' => 'energy', 'mass' => 2, 'height' => 3, 'planet' => 'earth', 'energy_unit' => 'J', 'mass_unit' => 'kg', 'height_unit' => 'm', 'spring_unit' => 'Nm', 'displacement_unit' => 'm' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "energy_type": "gravitational", "solve_for": "energy", "mass": 2, "height": 3, "planet": "earth", "energy_unit": "J", "mass_unit": "kg", "height_unit": "m", "spring_unit": "Nm", "displacement_unit": "m", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/potential-energy-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/potential-energy-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"energy_type\":\"gravitational\",\"solve_for\":\"energy\",\"mass\":2,\"height\":3,\"planet\":\"earth\",\"energy_unit\":\"J\",\"mass_unit\":\"kg\",\"height_unit\":\"m\",\"spring_unit\":\"Nm\",\"displacement_unit\":\"m\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call potential-energy-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/potential-energy-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Potential Energy Calculator API do? + Calculate gravitational or elastic potential energy and solve for missing variables. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Potential Energy Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Potential Energy Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Potential Energy Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Potential Energy Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `potential-energy-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`potential-energy-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="potential-energy-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Torque Calculator API # Torque Calculator API science 1 credit / call v2026-04-22 Solve torque, force, lever arm distance, or angle using tau = F r sin(theta). One POST adds Torque Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Torque Calculator on miniwebtool.com →](https://miniwebtool.com/torque-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/torque-calculator/run ``` ### Request body Field Type Req. `solve_for` torque | force | distance | angle `str` — `torque` `float | None` — `force` `float | None` — `distance` `float | None` — `angle_degrees` `float` — `torque_unit` Nm | kNm | ftlbf | inlbf | kgfm | kgfcm | ozfin `str` — `force_unit` N | kN | lbf | kgf | dyn `str` — `distance_unit` m | cm | mm | ft | in `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "torque-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) torque force distance angle torque | force | distance | angle torque (float | None) force (float | None) distance (float | None) angle_degrees (float) torque_unit (str) Nm kNm ftlbf inlbf kgfm kgfcm ozfin Nm | kNm | ftlbf | inlbf | kgfm | kgfcm | ozfin force_unit (str) N kN lbf kgf dyn N | kN | lbf | kgf | dyn distance_unit (str) m cm mm ft in m | cm | mm | ft | in Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`torque-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/torque-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"torque","force":10,"distance":2,"angle_degrees":90,"torque_unit":"Nm","force_unit":"N","distance_unit":"m"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/torque-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'torque', 'force': 10, 'distance': 2, 'angle_degrees': 90, 'torque_unit': 'Nm', 'force_unit': 'N', 'distance_unit': 'm'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/torque-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"torque","force":10,"distance":2,"angle_degrees":90,"torque_unit":"Nm","force_unit":"N","distance_unit":"m"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'torque', 'force' => 10, 'distance' => 2, 'angle_degrees' => 90, 'torque_unit' => 'Nm', 'force_unit' => 'N', 'distance_unit' => 'm' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/torque-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'torque', 'force' => 10, 'distance' => 2, 'angle_degrees' => 90, 'torque_unit' => 'Nm', 'force_unit' => 'N', 'distance_unit' => 'm' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "torque", "force": 10, "distance": 2, "angle_degrees": 90, "torque_unit": "Nm", "force_unit": "N", "distance_unit": "m", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/torque-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/torque-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"torque\",\"force\":10,\"distance\":2,\"angle_degrees\":90,\"torque_unit\":\"Nm\",\"force_unit\":\"N\",\"distance_unit\":\"m\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call torque-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/torque-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Torque Calculator API do? + Solve torque, force, lever arm distance, or angle using tau = F r sin(theta). Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Torque Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Torque Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Torque Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Torque Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `torque-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`torque-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="torque-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Velocity Calculator API # Velocity Calculator API science 1 credit / call v2026-04-22 Calculate average velocity, distance, time, or relative velocity with distance, time, and speed units. One POST adds Velocity Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Velocity Calculator on miniwebtool.com →](https://miniwebtool.com/velocity-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/velocity-calculator/run ``` ### Request body Field Type Req. `mode` average | distance | time | relative `str` — `distance` `float | None` — `time` `float | None` — `velocity` `float | None` — `velocity2` `float | None` — `distance_unit` m | km | mi | ft | yd | nm `str` — `time_unit` s | min | hr `str` — `velocity_unit` ms | kmh | mph | fts | knots `str` — `velocity2_unit` ms | kmh | mph | fts | knots `str` — `direction` same | opposite `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "velocity-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) average distance time relative average | distance | time | relative distance (float | None) time (float | None) velocity (float | None) velocity2 (float | None) distance_unit (str) m km mi ft yd nm m | km | mi | ft | yd | nm time_unit (str) s min hr s | min | hr velocity_unit (str) ms kmh mph fts knots ms | kmh | mph | fts | knots velocity2_unit (str) ms kmh mph fts knots ms | kmh | mph | fts | knots direction (str) same opposite same | opposite Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`velocity-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/velocity-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"average","distance":100,"time":10,"distance_unit":"m","time_unit":"s","velocity_unit":"ms","velocity2_unit":"ms","direction":"same"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/velocity-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'average', 'distance': 100, 'time': 10, 'distance_unit': 'm', 'time_unit': 's', 'velocity_unit': 'ms', 'velocity2_unit': 'ms', 'direction': 'same'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/velocity-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"average","distance":100,"time":10,"distance_unit":"m","time_unit":"s","velocity_unit":"ms","velocity2_unit":"ms","direction":"same"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'average', 'distance' => 100, 'time' => 10, 'distance_unit' => 'm', 'time_unit' => 's', 'velocity_unit' => 'ms', 'velocity2_unit' => 'ms', 'direction' => 'same' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/velocity-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'average', 'distance' => 100, 'time' => 10, 'distance_unit' => 'm', 'time_unit' => 's', 'velocity_unit' => 'ms', 'velocity2_unit' => 'ms', 'direction' => 'same' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "average", "distance": 100, "time": 10, "distance_unit": "m", "time_unit": "s", "velocity_unit": "ms", "velocity2_unit": "ms", "direction": "same", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/velocity-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/velocity-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"average\",\"distance\":100,\"time\":10,\"distance_unit\":\"m\",\"time_unit\":\"s\",\"velocity_unit\":\"ms\",\"velocity2_unit\":\"ms\",\"direction\":\"same\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call velocity-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/velocity-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Velocity Calculator API do? + Calculate average velocity, distance, time, or relative velocity with distance, time, and speed units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Velocity Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Velocity Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Velocity Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Velocity Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `velocity-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`velocity-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="velocity-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Work and Power Calculator API # Work and Power Calculator API science 1 credit / call v2026-04-22 Calculate mechanical work and power with common unit conversions. One POST adds Work and Power Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Work and Power Calculator on miniwebtool.com →](https://miniwebtool.com/work-and-power-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/work-and-power-calculator/run ``` ### Request body Field Type Req. `mode` work | power | both `str` — `force` `float` — `distance` `float` — `angle_degrees` `float` — `work` `float` — `time` `float` — `force_unit` N | kN | lbf | kgf `str` — `distance_unit` m | km | cm | mm | ft | in | yd | mi `str` — `work_unit` J | kJ | MJ | cal | kcal | Wh | kWh | BTU | ftlb `str` — `time_unit` s | min | h | ms `str` — `power_unit` W | kW | MW | hp | ftlbs | BTUs `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "work-and-power-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) work power both work | power | both force (float) distance (float) angle_degrees (float) work (float) time (float) force_unit (str) N kN lbf kgf N | kN | lbf | kgf distance_unit (str) m km cm mm ft in yd mi m | km | cm | mm | ft | in | yd | mi work_unit (str) J kJ MJ cal kcal Wh kWh BTU ftlb J | kJ | MJ | cal | kcal | Wh | kWh | BTU | ftlb time_unit (str) s min h ms s | min | h | ms power_unit (str) W kW MW hp ftlbs BTUs W | kW | MW | hp | ftlbs | BTUs Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`work-and-power-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/work-and-power-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"both","force":100,"distance":5,"angle_degrees":0,"time":10,"force_unit":"N","distance_unit":"m","work_unit":"J","time_unit":"s","power_unit":"W"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/work-and-power-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'both', 'force': 100, 'distance': 5, 'angle_degrees': 0, 'time': 10, 'force_unit': 'N', 'distance_unit': 'm', 'work_unit': 'J', 'time_unit': 's', 'power_unit': 'W'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/work-and-power-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"both","force":100,"distance":5,"angle_degrees":0,"time":10,"force_unit":"N","distance_unit":"m","work_unit":"J","time_unit":"s","power_unit":"W"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'both', 'force' => 100, 'distance' => 5, 'angle_degrees' => 0, 'time' => 10, 'force_unit' => 'N', 'distance_unit' => 'm', 'work_unit' => 'J', 'time_unit' => 's', 'power_unit' => 'W' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/work-and-power-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'both', 'force' => 100, 'distance' => 5, 'angle_degrees' => 0, 'time' => 10, 'force_unit' => 'N', 'distance_unit' => 'm', 'work_unit' => 'J', 'time_unit' => 's', 'power_unit' => 'W' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "both", "force": 100, "distance": 5, "angle_degrees": 0, "time": 10, "force_unit": "N", "distance_unit": "m", "work_unit": "J", "time_unit": "s", "power_unit": "W", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/work-and-power-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/work-and-power-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"both\",\"force\":100,\"distance\":5,\"angle_degrees\":0,\"time\":10,\"force_unit\":\"N\",\"distance_unit\":\"m\",\"work_unit\":\"J\",\"time_unit\":\"s\",\"power_unit\":\"W\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call work-and-power-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/work-and-power-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Work and Power Calculator API do? + Calculate mechanical work and power with common unit conversions. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Work and Power Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Work and Power Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Work and Power Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Work and Power Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `work-and-power-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`work-and-power-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="work-and-power-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Electricity Calculator API # Electricity Calculator API science 1 credit / call v2026-04-22 Solve voltage, current, resistance, and power from any two known Ohm's law values. One POST adds Electricity Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Electricity Calculator on miniwebtool.com →](https://miniwebtool.com/electricity-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/electricity-calculator/run ``` ### Request body Field Type Req. `voltage` `float | None` — `current` `float | None` — `resistance` `float | None` — `power` `float | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "electricity-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) voltage (float | None) current (float | None) resistance (float | None) power (float | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`electricity-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/electricity-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"voltage":120,"current":2,"precision":6}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/electricity-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'voltage': 120, 'current': 2, 'precision': 6}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/electricity-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"voltage":120,"current":2,"precision":6}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'voltage' => 120, 'current' => 2, 'precision' => 6 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/electricity-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'voltage' => 120, 'current' => 2, 'precision' => 6 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "voltage": 120, "current": 2, "precision": 6, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/electricity-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/electricity-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"voltage\":120,\"current\":2,\"precision\":6}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call electricity-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/electricity-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Electricity Calculator API do? + Solve voltage, current, resistance, and power from any two known Ohm's law values. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Electricity Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Electricity Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Electricity Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Electricity Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `electricity-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`electricity-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="electricity-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Bar to PSI Converter API # Bar to PSI Converter API science 1 credit / call v2026-04-22 Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. One POST adds Bar to PSI Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Bar to PSI Converter on miniwebtool.com →](https://miniwebtool.com/bar-to-psi-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/bar-to-psi-converter/run ``` ### Request body Field Type Req. `value` `float` ✓ `unit` bar | psi `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "bar-to-psi-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) * unit (str) bar psi bar | psi Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`bar-to-psi-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/bar-to-psi-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":2.2,"unit":"bar"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/bar-to-psi-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 2.2, 'unit': 'bar'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/bar-to-psi-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":2.2,"unit":"bar"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 2.2, 'unit' => 'bar' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/bar-to-psi-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 2.2, 'unit' => 'bar' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 2.2, "unit": "bar", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/bar-to-psi-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/bar-to-psi-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":2.2,\"unit\":\"bar\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call bar-to-psi-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`value`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/bar-to-psi-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Bar to PSI Converter API do? + Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Bar to PSI Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Bar to PSI Converter API require? + Required fields: value. Full schema at /v1/openapi.json. Is the Bar to PSI Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Bar to PSI Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `bar-to-psi-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`bar-to-psi-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="bar-to-psi-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) [ Capacitor Calculator Calculate capacitor charge, stored energy, reactance, RC timing, or decode cera… ](/tools/capacitor-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - psi to kPa Converter API # psi to kPa Converter API science 1 credit / call v2026-04-22 Convert pounds per square inch to kilopascals and related pressure units. One POST adds psi to kPa Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the psi to kPa Converter on miniwebtool.com →](https://miniwebtool.com/psi-to-kpa-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/psi-to-kpa-converter/run ``` ### Request body Field Type Req. `psi` `float` ✓ `decimal_places` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "psi-to-kpa-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) psi (float) * decimal_places (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`psi-to-kpa-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/psi-to-kpa-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"psi":32,"decimal_places":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/psi-to-kpa-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'psi': 32, 'decimal_places': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/psi-to-kpa-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"psi":32,"decimal_places":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'psi' => 32, 'decimal_places' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/psi-to-kpa-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'psi' => 32, 'decimal_places' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "psi": 32, "decimal_places": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/psi-to-kpa-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/psi-to-kpa-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"psi\":32,\"decimal_places\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call psi-to-kpa-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`psi`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/psi-to-kpa-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the psi to kPa Converter API do? + Convert pounds per square inch to kilopascals and related pressure units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to psi to kPa Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the psi to kPa Converter API require? + Required fields: psi. Full schema at /v1/openapi.json. Is the psi to kPa Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the psi to kPa Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `psi-to-kpa-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`psi-to-kpa-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="psi-to-kpa-converter")' ``` see-also related science tools [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) [ Capacitor Calculator Calculate capacitor charge, stored energy, reactance, RC timing, or decode cera… ](/tools/capacitor-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Celsius to Fahrenheit Calculator API # Celsius to Fahrenheit Calculator API science 1 credit / call v2026-04-22 Convert Celsius to Fahrenheit and related temperature scales. One POST adds Celsius to Fahrenheit Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Celsius to Fahrenheit Calculator on miniwebtool.com →](https://miniwebtool.com/celsius-to-fahrenheit-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/celsius-to-fahrenheit-calculator/run ``` ### Request body Field Type Req. `celsius` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "celsius-to-fahrenheit-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) celsius (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`celsius-to-fahrenheit-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/celsius-to-fahrenheit-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"celsius":100}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/celsius-to-fahrenheit-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'celsius': 100}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/celsius-to-fahrenheit-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"celsius":100}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'celsius' => 100 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/celsius-to-fahrenheit-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'celsius' => 100 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "celsius": 100, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/celsius-to-fahrenheit-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/celsius-to-fahrenheit-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"celsius\":100}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call celsius-to-fahrenheit-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`celsius`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/celsius-to-fahrenheit-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Celsius to Fahrenheit Calculator API do? + Convert Celsius to Fahrenheit and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Celsius to Fahrenheit Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Celsius to Fahrenheit Calculator API require? + Required fields: celsius. Full schema at /v1/openapi.json. Is the Celsius to Fahrenheit Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Celsius to Fahrenheit Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `celsius-to-fahrenheit-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`celsius-to-fahrenheit-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="celsius-to-fahrenheit-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Celsius to Kelvin Converter API # Celsius to Kelvin Converter API science 1 credit / call v2026-04-22 Convert Celsius to Kelvin and related temperature scales. One POST adds Celsius to Kelvin Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Celsius to Kelvin Converter on miniwebtool.com →](https://miniwebtool.com/celsius-to-kelvin-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/celsius-to-kelvin-converter/run ``` ### Request body Field Type Req. `celsius` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "celsius-to-kelvin-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) celsius (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`celsius-to-kelvin-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/celsius-to-kelvin-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"celsius":0}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/celsius-to-kelvin-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'celsius': 0}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/celsius-to-kelvin-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"celsius":0}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'celsius' => 0 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/celsius-to-kelvin-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'celsius' => 0 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "celsius": 0, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/celsius-to-kelvin-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/celsius-to-kelvin-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"celsius\":0}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call celsius-to-kelvin-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`celsius`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/celsius-to-kelvin-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Celsius to Kelvin Converter API do? + Convert Celsius to Kelvin and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Celsius to Kelvin Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Celsius to Kelvin Converter API require? + Required fields: celsius. Full schema at /v1/openapi.json. Is the Celsius to Kelvin Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Celsius to Kelvin Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `celsius-to-kelvin-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`celsius-to-kelvin-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="celsius-to-kelvin-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Celsius to Rankine Converter API # Celsius to Rankine Converter API science 1 credit / call v2026-04-22 Convert Celsius to Rankine and related temperature scales. One POST adds Celsius to Rankine Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Celsius to Rankine Converter on miniwebtool.com →](https://miniwebtool.com/celsius-to-rankine-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/celsius-to-rankine-converter/run ``` ### Request body Field Type Req. `celsius` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "celsius-to-rankine-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) celsius (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`celsius-to-rankine-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/celsius-to-rankine-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"celsius":-40}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/celsius-to-rankine-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'celsius': -40}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/celsius-to-rankine-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"celsius":-40}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'celsius' => -40 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/celsius-to-rankine-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'celsius' => -40 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "celsius": -40, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/celsius-to-rankine-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/celsius-to-rankine-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"celsius\":-40}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call celsius-to-rankine-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`celsius`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/celsius-to-rankine-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Celsius to Rankine Converter API do? + Convert Celsius to Rankine and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Celsius to Rankine Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Celsius to Rankine Converter API require? + Required fields: celsius. Full schema at /v1/openapi.json. Is the Celsius to Rankine Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Celsius to Rankine Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `celsius-to-rankine-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`celsius-to-rankine-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="celsius-to-rankine-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Fahrenheit to Celsius Calculator API # Fahrenheit to Celsius Calculator API science 1 credit / call v2026-04-22 Convert Fahrenheit to Celsius and related temperature scales. One POST adds Fahrenheit to Celsius Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fahrenheit to Celsius Calculator on miniwebtool.com →](https://miniwebtool.com/fahrenheit-to-celsius-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fahrenheit-to-celsius-calculator/run ``` ### Request body Field Type Req. `fahrenheit` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fahrenheit-to-celsius-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) fahrenheit (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fahrenheit-to-celsius-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fahrenheit-to-celsius-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"fahrenheit":212}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fahrenheit-to-celsius-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'fahrenheit': 212}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fahrenheit-to-celsius-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"fahrenheit":212}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'fahrenheit' => 212 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fahrenheit-to-celsius-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'fahrenheit' => 212 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "fahrenheit": 212, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fahrenheit-to-celsius-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fahrenheit-to-celsius-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"fahrenheit\":212}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fahrenheit-to-celsius-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`fahrenheit`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fahrenheit-to-celsius-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fahrenheit to Celsius Calculator API do? + Convert Fahrenheit to Celsius and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fahrenheit to Celsius Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fahrenheit to Celsius Calculator API require? + Required fields: fahrenheit. Full schema at /v1/openapi.json. Is the Fahrenheit to Celsius Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fahrenheit to Celsius Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fahrenheit-to-celsius-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fahrenheit-to-celsius-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fahrenheit-to-celsius-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Fahrenheit to Kelvin Converter API # Fahrenheit to Kelvin Converter API science 1 credit / call v2026-04-22 Convert Fahrenheit to Kelvin and related temperature scales. One POST adds Fahrenheit to Kelvin Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fahrenheit to Kelvin Converter on miniwebtool.com →](https://miniwebtool.com/fahrenheit-to-kelvin-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fahrenheit-to-kelvin-converter/run ``` ### Request body Field Type Req. `fahrenheit` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fahrenheit-to-kelvin-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) fahrenheit (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fahrenheit-to-kelvin-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fahrenheit-to-kelvin-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"fahrenheit":32}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fahrenheit-to-kelvin-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'fahrenheit': 32}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fahrenheit-to-kelvin-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"fahrenheit":32}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'fahrenheit' => 32 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fahrenheit-to-kelvin-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'fahrenheit' => 32 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "fahrenheit": 32, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fahrenheit-to-kelvin-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fahrenheit-to-kelvin-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"fahrenheit\":32}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fahrenheit-to-kelvin-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`fahrenheit`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fahrenheit-to-kelvin-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fahrenheit to Kelvin Converter API do? + Convert Fahrenheit to Kelvin and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fahrenheit to Kelvin Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fahrenheit to Kelvin Converter API require? + Required fields: fahrenheit. Full schema at /v1/openapi.json. Is the Fahrenheit to Kelvin Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fahrenheit to Kelvin Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fahrenheit-to-kelvin-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fahrenheit-to-kelvin-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fahrenheit-to-kelvin-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Fahrenheit to Rankine Converter API # Fahrenheit to Rankine Converter API science 1 credit / call v2026-04-22 Convert Fahrenheit to Rankine and related temperature scales. One POST adds Fahrenheit to Rankine Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Fahrenheit to Rankine Converter on miniwebtool.com →](https://miniwebtool.com/fahrenheit-to-rankine-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fahrenheit-to-rankine-converter/run ``` ### Request body Field Type Req. `fahrenheit` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fahrenheit-to-rankine-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) fahrenheit (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fahrenheit-to-rankine-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fahrenheit-to-rankine-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"fahrenheit":-40}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fahrenheit-to-rankine-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'fahrenheit': -40}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fahrenheit-to-rankine-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"fahrenheit":-40}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'fahrenheit' => -40 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fahrenheit-to-rankine-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'fahrenheit' => -40 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "fahrenheit": -40, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fahrenheit-to-rankine-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fahrenheit-to-rankine-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"fahrenheit\":-40}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fahrenheit-to-rankine-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`fahrenheit`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fahrenheit-to-rankine-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Fahrenheit to Rankine Converter API do? + Convert Fahrenheit to Rankine and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Fahrenheit to Rankine Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Fahrenheit to Rankine Converter API require? + Required fields: fahrenheit. Full schema at /v1/openapi.json. Is the Fahrenheit to Rankine Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Fahrenheit to Rankine Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fahrenheit-to-rankine-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fahrenheit-to-rankine-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fahrenheit-to-rankine-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Kelvin to Celsius Converter API # Kelvin to Celsius Converter API science 1 credit / call v2026-04-22 Convert Kelvin to Celsius and related temperature scales. One POST adds Kelvin to Celsius Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Kelvin to Celsius Converter on miniwebtool.com →](https://miniwebtool.com/kelvin-to-celsius-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/kelvin-to-celsius-converter/run ``` ### Request body Field Type Req. `kelvin` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "kelvin-to-celsius-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) kelvin (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`kelvin-to-celsius-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/kelvin-to-celsius-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"kelvin":273.15}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/kelvin-to-celsius-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'kelvin': 273.15}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/kelvin-to-celsius-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"kelvin":273.15}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'kelvin' => 273.15 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/kelvin-to-celsius-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'kelvin' => 273.15 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "kelvin": 273.15, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/kelvin-to-celsius-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/kelvin-to-celsius-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"kelvin\":273.15}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call kelvin-to-celsius-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`kelvin`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/kelvin-to-celsius-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Kelvin to Celsius Converter API do? + Convert Kelvin to Celsius and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Kelvin to Celsius Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Kelvin to Celsius Converter API require? + Required fields: kelvin. Full schema at /v1/openapi.json. Is the Kelvin to Celsius Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Kelvin to Celsius Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `kelvin-to-celsius-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`kelvin-to-celsius-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="kelvin-to-celsius-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Kelvin to Fahrenheit Converter API # Kelvin to Fahrenheit Converter API science 1 credit / call v2026-04-22 Convert Kelvin to Fahrenheit and related temperature scales. One POST adds Kelvin to Fahrenheit Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Kelvin to Fahrenheit Converter on miniwebtool.com →](https://miniwebtool.com/kelvin-to-fahrenheit-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/kelvin-to-fahrenheit-converter/run ``` ### Request body Field Type Req. `kelvin` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "kelvin-to-fahrenheit-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) kelvin (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`kelvin-to-fahrenheit-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/kelvin-to-fahrenheit-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"kelvin":373.15}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/kelvin-to-fahrenheit-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'kelvin': 373.15}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/kelvin-to-fahrenheit-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"kelvin":373.15}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'kelvin' => 373.15 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/kelvin-to-fahrenheit-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'kelvin' => 373.15 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "kelvin": 373.15, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/kelvin-to-fahrenheit-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/kelvin-to-fahrenheit-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"kelvin\":373.15}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call kelvin-to-fahrenheit-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`kelvin`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/kelvin-to-fahrenheit-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Kelvin to Fahrenheit Converter API do? + Convert Kelvin to Fahrenheit and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Kelvin to Fahrenheit Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Kelvin to Fahrenheit Converter API require? + Required fields: kelvin. Full schema at /v1/openapi.json. Is the Kelvin to Fahrenheit Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Kelvin to Fahrenheit Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `kelvin-to-fahrenheit-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`kelvin-to-fahrenheit-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="kelvin-to-fahrenheit-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Rankine to Celsius Converter API # Rankine to Celsius Converter API science 1 credit / call v2026-04-22 Convert Rankine to Celsius and related temperature scales. One POST adds Rankine to Celsius Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Rankine to Celsius Converter on miniwebtool.com →](https://miniwebtool.com/rankine-to-celsius-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/rankine-to-celsius-converter/run ``` ### Request body Field Type Req. `rankine` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "rankine-to-celsius-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) rankine (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`rankine-to-celsius-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/rankine-to-celsius-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"rankine":491.67}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/rankine-to-celsius-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'rankine': 491.67}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/rankine-to-celsius-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"rankine":491.67}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'rankine' => 491.67 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/rankine-to-celsius-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'rankine' => 491.67 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "rankine": 491.67, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/rankine-to-celsius-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/rankine-to-celsius-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"rankine\":491.67}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call rankine-to-celsius-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`rankine`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/rankine-to-celsius-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Rankine to Celsius Converter API do? + Convert Rankine to Celsius and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Rankine to Celsius Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Rankine to Celsius Converter API require? + Required fields: rankine. Full schema at /v1/openapi.json. Is the Rankine to Celsius Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Rankine to Celsius Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `rankine-to-celsius-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`rankine-to-celsius-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="rankine-to-celsius-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Rankine to Fahrenheit Converter API # Rankine to Fahrenheit Converter API science 1 credit / call v2026-04-22 Convert Rankine to Fahrenheit and related temperature scales. One POST adds Rankine to Fahrenheit Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Rankine to Fahrenheit Converter on miniwebtool.com →](https://miniwebtool.com/rankine-to-fahrenheit-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/rankine-to-fahrenheit-converter/run ``` ### Request body Field Type Req. `rankine` `float` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "rankine-to-fahrenheit-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) rankine (float) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`rankine-to-fahrenheit-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/rankine-to-fahrenheit-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"rankine":671.67}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/rankine-to-fahrenheit-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'rankine': 671.67}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/rankine-to-fahrenheit-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"rankine":671.67}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'rankine' => 671.67 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/rankine-to-fahrenheit-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'rankine' => 671.67 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "rankine": 671.67, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/rankine-to-fahrenheit-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/rankine-to-fahrenheit-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"rankine\":671.67}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call rankine-to-fahrenheit-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`rankine`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/rankine-to-fahrenheit-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Rankine to Fahrenheit Converter API do? + Convert Rankine to Fahrenheit and related temperature scales. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Rankine to Fahrenheit Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Rankine to Fahrenheit Converter API require? + Required fields: rankine. Full schema at /v1/openapi.json. Is the Rankine to Fahrenheit Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Rankine to Fahrenheit Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `rankine-to-fahrenheit-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`rankine-to-fahrenheit-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="rankine-to-fahrenheit-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Energy Converter API # Energy Converter API science 1 credit / call v2026-04-22 Convert energy between joules, calories, BTU, watt-hours, electronvolts, ergs, and therms. One POST adds Energy Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Energy Converter on miniwebtool.com →](https://miniwebtool.com/energy-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/energy-converter/run ``` ### Request body Field Type Req. `value` `float` — `from_unit` joule | kilojoule | calorie | kilocalorie | btu | watthour | kilowatthour | footpound | electronvolt | megaelectronvolt | erg | therm `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "energy-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) from_unit (str) joule kilojoule calorie kilocalorie btu watthour kilowatthour footpound electronvolt megaelectronvolt erg therm joule | kilojoule | calorie | kilocalorie | btu | watthour | kilowatthour | footpound | electronvolt | megaelectronvolt | erg | therm Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`energy-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/energy-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":1,"from_unit":"kilowatthour"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/energy-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 1, 'from_unit': 'kilowatthour'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/energy-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":1,"from_unit":"kilowatthour"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 1, 'from_unit' => 'kilowatthour' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/energy-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 1, 'from_unit' => 'kilowatthour' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 1, "from_unit": "kilowatthour", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/energy-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/energy-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":1,\"from_unit\":\"kilowatthour\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call energy-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/energy-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Energy Converter API do? + Convert energy between joules, calories, BTU, watt-hours, electronvolts, ergs, and therms. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Energy Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Energy Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Energy Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Energy Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `energy-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`energy-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="energy-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Power Converter API # Power Converter API science 1 credit / call v2026-04-22 Convert power among watts, kilowatts, horsepower, BTU per hour, refrigeration tons, and related units. One POST adds Power Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Power Converter on miniwebtool.com →](https://miniwebtool.com/power-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/power-converter/run ``` ### Request body Field Type Req. `value` `float` — `from_unit` watt | kilowatt | megawatt | gigawatt | hp_mech | hp_metric | btu_h | ton_ref | ftlbps | calorie_s `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "power-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) value (float) from_unit (str) watt kilowatt megawatt gigawatt hp_mech hp_metric btu_h ton_ref ftlbps calorie_s watt | kilowatt | megawatt | gigawatt | hp_mech | hp_metric | btu_h | ton_ref | ftlbps | calorie_s Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`power-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/power-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"value":1,"from_unit":"kilowatt"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/power-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'value': 1, 'from_unit': 'kilowatt'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/power-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"value":1,"from_unit":"kilowatt"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'value' => 1, 'from_unit' => 'kilowatt' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/power-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'value' => 1, 'from_unit' => 'kilowatt' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "value": 1, "from_unit": "kilowatt", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/power-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/power-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"value\":1,\"from_unit\":\"kilowatt\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call power-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/power-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Power Converter API do? + Convert power among watts, kilowatts, horsepower, BTU per hour, refrigeration tons, and related units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Power Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Power Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Power Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Power Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `power-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`power-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="power-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Ultimate Frequency & Wavelength Converter API # Ultimate Frequency & Wavelength Converter API science 1 credit / call v2026-04-22 Convert between frequency and wavelength using a configurable propagation speed and identify the spectrum band. One POST adds Ultimate Frequency & Wavelength Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Ultimate Frequency & Wavelength Converter on miniwebtool.com →](https://miniwebtool.com/ultimate-frequency-wavelength-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ultimate-frequency-wavelength-converter/run ``` ### Request body Field Type Req. `mode` freq_to_wave | wave_to_freq `str` — `freq_value` `float | None` — `freq_unit` hz | khz | mhz | ghz | thz `str` — `wave_value` `float | None` — `wave_unit` m | cm | mm | um | nm | ang `str` — `speed` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ultimate-frequency-wavelength-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) freq_to_wave wave_to_freq freq_to_wave | wave_to_freq freq_value (float | None) freq_unit (str) hz khz mhz ghz thz hz | khz | mhz | ghz | thz wave_value (float | None) wave_unit (str) m cm mm um nm ang m | cm | mm | um | nm | ang speed (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ultimate-frequency-wavelength-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ultimate-frequency-wavelength-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"freq_to_wave","freq_value":100,"freq_unit":"mhz","wave_unit":"nm","speed":299792458.0}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ultimate-frequency-wavelength-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'freq_to_wave', 'freq_value': 100, 'freq_unit': 'mhz', 'wave_unit': 'nm', 'speed': 299792458.0}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ultimate-frequency-wavelength-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"freq_to_wave","freq_value":100,"freq_unit":"mhz","wave_unit":"nm","speed":299792458.0}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'freq_to_wave', 'freq_value' => 100, 'freq_unit' => 'mhz', 'wave_unit' => 'nm', 'speed' => 299792458.0 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ultimate-frequency-wavelength-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'freq_to_wave', 'freq_value' => 100, 'freq_unit' => 'mhz', 'wave_unit' => 'nm', 'speed' => 299792458.0 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "freq_to_wave", "freq_value": 100, "freq_unit": "mhz", "wave_unit": "nm", "speed": 299792458.0, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ultimate-frequency-wavelength-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ultimate-frequency-wavelength-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"freq_to_wave\",\"freq_value\":100,\"freq_unit\":\"mhz\",\"wave_unit\":\"nm\",\"speed\":299792458.0}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ultimate-frequency-wavelength-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ultimate-frequency-wavelength-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Ultimate Frequency & Wavelength Converter API do? + Convert between frequency and wavelength using a configurable propagation speed and identify the spectrum band. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Ultimate Frequency & Wavelength Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Ultimate Frequency & Wavelength Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Ultimate Frequency & Wavelength Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Ultimate Frequency & Wavelength Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ultimate-frequency-wavelength-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ultimate-frequency-wavelength-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ultimate-frequency-wavelength-converter")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [science](/tools/#science) - / - Wind Chill Calculator API # Wind Chill Calculator API science 1 credit / call v2026-04-22 Calculate NWS wind chill and frostbite risk from air temperature and wind speed. One POST adds Wind Chill Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Wind Chill Calculator on miniwebtool.com →](https://miniwebtool.com/wind-chill-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/wind-chill-calculator/run ``` ### Request body Field Type Req. `temperature` `float` — `wind_speed` `float` — `units` f | c `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "wind-chill-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) temperature (float) wind_speed (float) units (str) f c f | c Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`wind-chill-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/wind-chill-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"temperature":20,"wind_speed":15,"units":"f"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/wind-chill-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'temperature': 20, 'wind_speed': 15, 'units': 'f'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/wind-chill-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"temperature":20,"wind_speed":15,"units":"f"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'temperature' => 20, 'wind_speed' => 15, 'units' => 'f' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/wind-chill-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'temperature' => 20, 'wind_speed' => 15, 'units' => 'f' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "temperature": 20, "wind_speed": 15, "units": "f", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/wind-chill-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/wind-chill-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"temperature\":20,\"wind_speed\":15,\"units\":\"f\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call wind-chill-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/wind-chill-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Wind Chill Calculator API do? + Calculate NWS wind chill and frostbite risk from air temperature and wind speed. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Wind Chill Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Wind Chill Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Wind Chill Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Wind Chill Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `wind-chill-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`wind-chill-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="wind-chill-calculator")' ``` see-also related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ 555 Timer Calculator Calculate 555 timer astable frequency, period, duty cycle, or monostable pulse … ](/tools/555-timer-calculator/) [ Astronomical Unit Converter Convert astronomical distances among AU, light-time, parsecs, kilometers, and m… ](/tools/astronomical-unit-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - At Bats per Home Run Calculator API # At Bats per Home Run Calculator API sports 1 credit / call v2026-04-22 Calculate baseball at-bats per home run ratio and home run rate. One POST adds At Bats per Home Run Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the At Bats per Home Run Calculator on miniwebtool.com →](https://miniwebtool.com/at-bats-per-home-run-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/at-bats-per-home-run-calculator/run ``` ### Request body Field Type Req. `at_bats` `int` — `home_runs` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "at-bats-per-home-run-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) at_bats (int) home_runs (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`at-bats-per-home-run-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/at-bats-per-home-run-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"at_bats":500,"home_runs":25,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/at-bats-per-home-run-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'at_bats': 500, 'home_runs': 25, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/at-bats-per-home-run-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"at_bats":500,"home_runs":25,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'at_bats' => 500, 'home_runs' => 25, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/at-bats-per-home-run-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'at_bats' => 500, 'home_runs' => 25, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "at_bats": 500, "home_runs": 25, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/at-bats-per-home-run-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/at-bats-per-home-run-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"at_bats\":500,\"home_runs\":25,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call at-bats-per-home-run-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/at-bats-per-home-run-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the At Bats per Home Run Calculator API do? + Calculate baseball at-bats per home run ratio and home run rate. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to At Bats per Home Run Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the At Bats per Home Run Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the At Bats per Home Run Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the At Bats per Home Run Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `at-bats-per-home-run-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`at-bats-per-home-run-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="at-bats-per-home-run-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) [ OPS Calculator Calculate baseball on-base plus slugging with OBP and SLG components. ](/tools/ops-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - Batting Average Calculator API # Batting Average Calculator API sports 1 credit / call v2026-04-22 Calculate baseball batting average from hits and at-bats. One POST adds Batting Average Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Batting Average Calculator on miniwebtool.com →](https://miniwebtool.com/batting-average-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/batting-average-calculator/run ``` ### Request body Field Type Req. `hits` `int` ✓ `at_bats` `int` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "batting-average-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) hits (int) * at_bats (int) * Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`batting-average-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/batting-average-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hits":87,"at_bats":300}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/batting-average-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hits': 87, 'at_bats': 300}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/batting-average-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hits":87,"at_bats":300}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hits' => 87, 'at_bats' => 300 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/batting-average-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hits' => 87, 'at_bats' => 300 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hits": 87, "at_bats": 300, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/batting-average-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/batting-average-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hits\":87,\"at_bats\":300}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call batting-average-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`hits`,`at_bats`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/batting-average-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Batting Average Calculator API do? + Calculate baseball batting average from hits and at-bats. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Batting Average Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Batting Average Calculator API require? + Required fields: hits, at_bats. Full schema at /v1/openapi.json. Is the Batting Average Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Batting Average Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `batting-average-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`batting-average-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="batting-average-calculator")' ``` see-also related sports tools [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) [ OPS Calculator Calculate baseball on-base plus slugging with OBP and SLG components. ](/tools/ops-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - ERA Calculator API # ERA Calculator API sports 1 credit / call v2026-04-22 Calculate baseball earned run average. One POST adds ERA Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the ERA Calculator on miniwebtool.com →](https://miniwebtool.com/era-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/era-calculator/run ``` ### Request body Field Type Req. `earned_runs` `float` — `innings_pitched` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "era-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) earned_runs (float) innings_pitched (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`era-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/era-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"earned_runs":27,"innings_pitched":180,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/era-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'earned_runs': 27, 'innings_pitched': 180, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/era-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"earned_runs":27,"innings_pitched":180,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'earned_runs' => 27, 'innings_pitched' => 180, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/era-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'earned_runs' => 27, 'innings_pitched' => 180, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "earned_runs": 27, "innings_pitched": 180, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/era-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/era-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"earned_runs\":27,\"innings_pitched\":180,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call era-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/era-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the ERA Calculator API do? + Calculate baseball earned run average. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to ERA Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the ERA Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the ERA Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the ERA Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `era-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`era-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="era-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) [ OPS Calculator Calculate baseball on-base plus slugging with OBP and SLG components. ](/tools/ops-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - FIP Calculator API # FIP Calculator API sports 1 credit / call v2026-04-22 Calculate baseball fielding independent pitching. One POST adds FIP Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the FIP Calculator on miniwebtool.com →](https://miniwebtool.com/fip-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/fip-calculator/run ``` ### Request body Field Type Req. `home_runs` `int` — `walks` `int` — `intentional_walks` `int` — `hit_by_pitch` `int` — `strikeouts` `int` — `innings_pitched` `float` — `fip_constant` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "fip-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) home_runs (int) walks (int) intentional_walks (int) hit_by_pitch (int) strikeouts (int) innings_pitched (float) fip_constant (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`fip-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/fip-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"home_runs":15,"walks":45,"intentional_walks":5,"hit_by_pitch":8,"strikeouts":180,"innings_pitched":180,"fip_constant":3.1,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/fip-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'home_runs': 15, 'walks': 45, 'intentional_walks': 5, 'hit_by_pitch': 8, 'strikeouts': 180, 'innings_pitched': 180, 'fip_constant': 3.1, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/fip-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"home_runs":15,"walks":45,"intentional_walks":5,"hit_by_pitch":8,"strikeouts":180,"innings_pitched":180,"fip_constant":3.1,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'home_runs' => 15, 'walks' => 45, 'intentional_walks' => 5, 'hit_by_pitch' => 8, 'strikeouts' => 180, 'innings_pitched' => 180, 'fip_constant' => 3.1, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/fip-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'home_runs' => 15, 'walks' => 45, 'intentional_walks' => 5, 'hit_by_pitch' => 8, 'strikeouts' => 180, 'innings_pitched' => 180, 'fip_constant' => 3.1, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "home_runs": 15, "walks": 45, "intentional_walks": 5, "hit_by_pitch": 8, "strikeouts": 180, "innings_pitched": 180, "fip_constant": 3.1, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/fip-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/fip-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"home_runs\":15,\"walks\":45,\"intentional_walks\":5,\"hit_by_pitch\":8,\"strikeouts\":180,\"innings_pitched\":180,\"fip_constant\":3.1,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call fip-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/fip-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the FIP Calculator API do? + Calculate baseball fielding independent pitching. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to FIP Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the FIP Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the FIP Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the FIP Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `fip-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`fip-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="fip-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - OPS Calculator API # OPS Calculator API sports 1 credit / call v2026-04-22 Calculate baseball on-base plus slugging with OBP and SLG components. One POST adds OPS Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the OPS Calculator on miniwebtool.com →](https://miniwebtool.com/ops-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ops-calculator/run ``` ### Request body Field Type Req. `hits` `int` — `doubles` `int` — `triples` `int` — `home_runs` `int` — `walks` `int` — `hit_by_pitch` `int` — `at_bats` `int` — `sacrifice_flies` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ops-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) hits (int) doubles (int) triples (int) home_runs (int) walks (int) hit_by_pitch (int) at_bats (int) sacrifice_flies (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ops-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ops-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hits":150,"doubles":30,"triples":4,"home_runs":25,"walks":60,"hit_by_pitch":5,"at_bats":500,"sacrifice_flies":5,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ops-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hits': 150, 'doubles': 30, 'triples': 4, 'home_runs': 25, 'walks': 60, 'hit_by_pitch': 5, 'at_bats': 500, 'sacrifice_flies': 5, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ops-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hits":150,"doubles":30,"triples":4,"home_runs":25,"walks":60,"hit_by_pitch":5,"at_bats":500,"sacrifice_flies":5,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hits' => 150, 'doubles' => 30, 'triples' => 4, 'home_runs' => 25, 'walks' => 60, 'hit_by_pitch' => 5, 'at_bats' => 500, 'sacrifice_flies' => 5, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ops-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hits' => 150, 'doubles' => 30, 'triples' => 4, 'home_runs' => 25, 'walks' => 60, 'hit_by_pitch' => 5, 'at_bats' => 500, 'sacrifice_flies' => 5, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hits": 150, "doubles": 30, "triples": 4, "home_runs": 25, "walks": 60, "hit_by_pitch": 5, "at_bats": 500, "sacrifice_flies": 5, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ops-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ops-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hits\":150,\"doubles\":30,\"triples\":4,\"home_runs\":25,\"walks\":60,\"hit_by_pitch\":5,\"at_bats\":500,\"sacrifice_flies\":5,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ops-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ops-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the OPS Calculator API do? + Calculate baseball on-base plus slugging with OBP and SLG components. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to OPS Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the OPS Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the OPS Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the OPS Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ops-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ops-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ops-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - Slugging Percentage Calculator API # Slugging Percentage Calculator API sports 1 credit / call v2026-04-22 Calculate baseball slugging percentage from hit types. One POST adds Slugging Percentage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Slugging Percentage Calculator on miniwebtool.com →](https://miniwebtool.com/slugging-percentage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/slugging-percentage-calculator/run ``` ### Request body Field Type Req. `singles` `int` — `doubles` `int` — `triples` `int` — `home_runs` `int` — `at_bats` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "slugging-percentage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) singles (int) doubles (int) triples (int) home_runs (int) at_bats (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`slugging-percentage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/slugging-percentage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"singles":15,"doubles":5,"triples":2,"home_runs":3,"at_bats":100,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/slugging-percentage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'singles': 15, 'doubles': 5, 'triples': 2, 'home_runs': 3, 'at_bats': 100, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/slugging-percentage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"singles":15,"doubles":5,"triples":2,"home_runs":3,"at_bats":100,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'singles' => 15, 'doubles' => 5, 'triples' => 2, 'home_runs' => 3, 'at_bats' => 100, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/slugging-percentage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'singles' => 15, 'doubles' => 5, 'triples' => 2, 'home_runs' => 3, 'at_bats' => 100, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "singles": 15, "doubles": 5, "triples": 2, "home_runs": 3, "at_bats": 100, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/slugging-percentage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/slugging-percentage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"singles\":15,\"doubles\":5,\"triples\":2,\"home_runs\":3,\"at_bats\":100,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call slugging-percentage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/slugging-percentage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Slugging Percentage Calculator API do? + Calculate baseball slugging percentage from hit types. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Slugging Percentage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Slugging Percentage Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Slugging Percentage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Slugging Percentage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `slugging-percentage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`slugging-percentage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="slugging-percentage-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - Total Bases Calculator API # Total Bases Calculator API sports 1 credit / call v2026-04-22 Calculate baseball total bases from singles, doubles, triples, and home runs. One POST adds Total Bases Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Total Bases Calculator on miniwebtool.com →](https://miniwebtool.com/total-bases-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/total-bases-calculator/run ``` ### Request body Field Type Req. `singles` `int` — `doubles` `int` — `triples` `int` — `home_runs` `int` — `at_bats` `int | None` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "total-bases-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) singles (int) doubles (int) triples (int) home_runs (int) at_bats (int | None) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`total-bases-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/total-bases-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"singles":15,"doubles":5,"triples":2,"home_runs":3,"at_bats":100,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/total-bases-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'singles': 15, 'doubles': 5, 'triples': 2, 'home_runs': 3, 'at_bats': 100, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/total-bases-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"singles":15,"doubles":5,"triples":2,"home_runs":3,"at_bats":100,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'singles' => 15, 'doubles' => 5, 'triples' => 2, 'home_runs' => 3, 'at_bats' => 100, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/total-bases-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'singles' => 15, 'doubles' => 5, 'triples' => 2, 'home_runs' => 3, 'at_bats' => 100, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "singles": 15, "doubles": 5, "triples": 2, "home_runs": 3, "at_bats": 100, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/total-bases-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/total-bases-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"singles\":15,\"doubles\":5,\"triples\":2,\"home_runs\":3,\"at_bats\":100,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call total-bases-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/total-bases-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Total Bases Calculator API do? + Calculate baseball total bases from singles, doubles, triples, and home runs. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Total Bases Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Total Bases Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Total Bases Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Total Bases Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `total-bases-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`total-bases-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="total-bases-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - WAR Calculator API # WAR Calculator API sports 1 credit / call v2026-04-22 Estimate simplified baseball WAR for position players or pitchers. One POST adds WAR Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the WAR Calculator on miniwebtool.com →](https://miniwebtool.com/war-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/war-calculator/run ``` ### Request body Field Type Req. `player_type` position | pitcher `str` — `pa` `int` — `hits` `int` — `doubles` `int` — `triples` `int` — `home_runs` `int` — `walks` `int` — `hbp` `int` — `stolen_bases` `int` — `caught_stealing` `int` — `position` C | 1B | 2B | 3B | SS | LF | CF | RF | DH `str` — `innings_played` `float` — `errors` `int` — `league_avg_obp` `float` — `league_avg_slg` `float` — `innings_pitched` `float` — `earned_runs` `int` — `strikeouts` `int` — `walks_allowed` `int` — `hits_allowed` `int` — `home_runs_allowed` `int` — `league_era` `float` — `league_fip` `float` — `pitcher_type` SP | RP `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "war-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) player_type (str) position pitcher position | pitcher pa (int) hits (int) doubles (int) triples (int) home_runs (int) walks (int) hbp (int) stolen_bases (int) caught_stealing (int) position (str) C 1B 2B 3B SS LF CF RF DH C | 1B | 2B | 3B | SS | LF | CF | RF | DH innings_played (float) errors (int) league_avg_obp (float) league_avg_slg (float) innings_pitched (float) earned_runs (int) strikeouts (int) walks_allowed (int) hits_allowed (int) home_runs_allowed (int) league_era (float) league_fip (float) pitcher_type (str) SP RP SP | RP Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`war-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/war-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"player_type":"position","pa":600,"hits":150,"doubles":30,"triples":3,"home_runs":25,"walks":60,"hbp":5,"stolen_bases":15,"caught_stealing":5,"position":"SS","innings_played":1350,"errors":10,"league_avg_obp":0.32,"league_avg_slg":0.41}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/war-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'player_type': 'position', 'pa': 600, 'hits': 150, 'doubles': 30, 'triples': 3, 'home_runs': 25, 'walks': 60, 'hbp': 5, 'stolen_bases': 15, 'caught_stealing': 5, 'position': 'SS', 'innings_played': 1350, 'errors': 10, 'league_avg_obp': 0.32, 'league_avg_slg': 0.41}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/war-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"player_type":"position","pa":600,"hits":150,"doubles":30,"triples":3,"home_runs":25,"walks":60,"hbp":5,"stolen_bases":15,"caught_stealing":5,"position":"SS","innings_played":1350,"errors":10,"league_avg_obp":0.32,"league_avg_slg":0.41}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'player_type' => 'position', 'pa' => 600, 'hits' => 150, 'doubles' => 30, 'triples' => 3, 'home_runs' => 25, 'walks' => 60, 'hbp' => 5, 'stolen_bases' => 15, 'caught_stealing' => 5, 'position' => 'SS', 'innings_played' => 1350, 'errors' => 10, 'league_avg_obp' => 0.32, 'league_avg_slg' => 0.41 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/war-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'player_type' => 'position', 'pa' => 600, 'hits' => 150, 'doubles' => 30, 'triples' => 3, 'home_runs' => 25, 'walks' => 60, 'hbp' => 5, 'stolen_bases' => 15, 'caught_stealing' => 5, 'position' => 'SS', 'innings_played' => 1350, 'errors' => 10, 'league_avg_obp' => 0.32, 'league_avg_slg' => 0.41 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "player_type": "position", "pa": 600, "hits": 150, "doubles": 30, "triples": 3, "home_runs": 25, "walks": 60, "hbp": 5, "stolen_bases": 15, "caught_stealing": 5, "position": "SS", "innings_played": 1350, "errors": 10, "league_avg_obp": 0.32, "league_avg_slg": 0.41, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/war-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/war-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"player_type\":\"position\",\"pa\":600,\"hits\":150,\"doubles\":30,\"triples\":3,\"home_runs\":25,\"walks\":60,\"hbp\":5,\"stolen_bases\":15,\"caught_stealing\":5,\"position\":\"SS\",\"innings_played\":1350,\"errors\":10,\"league_avg_obp\":0.32,\"league_avg_slg\":0.41}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call war-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/war-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the WAR Calculator API do? + Estimate simplified baseball WAR for position players or pitchers. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to WAR Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the WAR Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the WAR Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the WAR Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `war-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`war-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="war-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - WHIP Calculator API # WHIP Calculator API sports 1 credit / call v2026-04-22 Calculate baseball WHIP with baseball innings notation support. One POST adds WHIP Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the WHIP Calculator on miniwebtool.com →](https://miniwebtool.com/whip-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/whip-calculator/run ``` ### Request body Field Type Req. `hits` `float` — `walks` `float` — `innings` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "whip-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) hits (float) walks (float) innings (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`whip-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/whip-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"hits":120,"walks":40,"innings":180.2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/whip-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'hits': 120, 'walks': 40, 'innings': 180.2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/whip-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"hits":120,"walks":40,"innings":180.2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'hits' => 120, 'walks' => 40, 'innings' => 180.2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/whip-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'hits' => 120, 'walks' => 40, 'innings' => 180.2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "hits": 120, "walks": 40, "innings": 180.2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/whip-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/whip-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hits\":120,\"walks\":40,\"innings\":180.2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call whip-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/whip-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the WHIP Calculator API do? + Calculate baseball WHIP with baseball innings notation support. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to WHIP Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the WHIP Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the WHIP Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the WHIP Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `whip-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`whip-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="whip-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - Effective Field Goal Percentage Calculator API # Effective Field Goal Percentage Calculator API sports 1 credit / call v2026-04-22 Calculate basketball effective field goal percentage. One POST adds Effective Field Goal Percentage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Effective Field Goal Percentage Calculator on miniwebtool.com →](https://miniwebtool.com/efg-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/efg-calculator/run ``` ### Request body Field Type Req. `fgm` `int` — `fga` `int` — `three_pm` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "efg-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) fgm (int) fga (int) three_pm (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`efg-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/efg-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"fgm":8,"fga":15,"three_pm":3,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/efg-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'fgm': 8, 'fga': 15, 'three_pm': 3, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/efg-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"fgm":8,"fga":15,"three_pm":3,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'fgm' => 8, 'fga' => 15, 'three_pm' => 3, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/efg-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'fgm' => 8, 'fga' => 15, 'three_pm' => 3, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "fgm": 8, "fga": 15, "three_pm": 3, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/efg-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/efg-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"fgm\":8,\"fga\":15,\"three_pm\":3,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call efg-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/efg-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Effective Field Goal Percentage Calculator API do? + Calculate basketball effective field goal percentage. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Effective Field Goal Percentage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Effective Field Goal Percentage Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Effective Field Goal Percentage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Effective Field Goal Percentage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `efg-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`efg-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="efg-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - Field Goal Percentage Calculator API # Field Goal Percentage Calculator API sports 1 credit / call v2026-04-22 Calculate made-shot percentage and related shooting metrics. One POST adds Field Goal Percentage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Field Goal Percentage Calculator on miniwebtool.com →](https://miniwebtool.com/field-goal-percentage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/field-goal-percentage-calculator/run ``` ### Request body Field Type Req. `made` `int` — `attempted` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "field-goal-percentage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) made (int) attempted (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`field-goal-percentage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/field-goal-percentage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"made":7,"attempted":15,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/field-goal-percentage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'made': 7, 'attempted': 15, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/field-goal-percentage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"made":7,"attempted":15,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'made' => 7, 'attempted' => 15, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/field-goal-percentage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'made' => 7, 'attempted' => 15, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "made": 7, "attempted": 15, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/field-goal-percentage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/field-goal-percentage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"made\":7,\"attempted\":15,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call field-goal-percentage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/field-goal-percentage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Field Goal Percentage Calculator API do? + Calculate made-shot percentage and related shooting metrics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Field Goal Percentage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Field Goal Percentage Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Field Goal Percentage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Field Goal Percentage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `field-goal-percentage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`field-goal-percentage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="field-goal-percentage-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ OPS Calculator Calculate baseball on-base plus slugging with OBP and SLG components. ](/tools/ops-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - Rebound Rate Calculator API # Rebound Rate Calculator API sports 1 credit / call v2026-04-22 Calculate basketball offensive, defensive, and total rebound rates. One POST adds Rebound Rate Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Rebound Rate Calculator on miniwebtool.com →](https://miniwebtool.com/rebound-rate-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/rebound-rate-calculator/run ``` ### Request body Field Type Req. `player_offensive_rebounds` `int` — `team_offensive_rebounds` `int` — `opponent_defensive_rebounds` `int` — `player_defensive_rebounds` `int` — `team_defensive_rebounds` `int` — `opponent_offensive_rebounds` `int` — `player_minutes` `float` — `team_minutes` `float` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "rebound-rate-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) player_offensive_rebounds (int) team_offensive_rebounds (int) opponent_defensive_rebounds (int) player_defensive_rebounds (int) team_defensive_rebounds (int) opponent_offensive_rebounds (int) player_minutes (float) team_minutes (float) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`rebound-rate-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/rebound-rate-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"player_offensive_rebounds":5,"team_offensive_rebounds":50,"opponent_defensive_rebounds":30,"player_defensive_rebounds":10,"team_defensive_rebounds":40,"opponent_offensive_rebounds":25,"player_minutes":30,"team_minutes":240,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/rebound-rate-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'player_offensive_rebounds': 5, 'team_offensive_rebounds': 50, 'opponent_defensive_rebounds': 30, 'player_defensive_rebounds': 10, 'team_defensive_rebounds': 40, 'opponent_offensive_rebounds': 25, 'player_minutes': 30, 'team_minutes': 240, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/rebound-rate-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"player_offensive_rebounds":5,"team_offensive_rebounds":50,"opponent_defensive_rebounds":30,"player_defensive_rebounds":10,"team_defensive_rebounds":40,"opponent_offensive_rebounds":25,"player_minutes":30,"team_minutes":240,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'player_offensive_rebounds' => 5, 'team_offensive_rebounds' => 50, 'opponent_defensive_rebounds' => 30, 'player_defensive_rebounds' => 10, 'team_defensive_rebounds' => 40, 'opponent_offensive_rebounds' => 25, 'player_minutes' => 30, 'team_minutes' => 240, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/rebound-rate-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'player_offensive_rebounds' => 5, 'team_offensive_rebounds' => 50, 'opponent_defensive_rebounds' => 30, 'player_defensive_rebounds' => 10, 'team_defensive_rebounds' => 40, 'opponent_offensive_rebounds' => 25, 'player_minutes' => 30, 'team_minutes' => 240, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "player_offensive_rebounds": 5, "team_offensive_rebounds": 50, "opponent_defensive_rebounds": 30, "player_defensive_rebounds": 10, "team_defensive_rebounds": 40, "opponent_offensive_rebounds": 25, "player_minutes": 30, "team_minutes": 240, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/rebound-rate-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/rebound-rate-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"player_offensive_rebounds\":5,\"team_offensive_rebounds\":50,\"opponent_defensive_rebounds\":30,\"player_defensive_rebounds\":10,\"team_defensive_rebounds\":40,\"opponent_offensive_rebounds\":25,\"player_minutes\":30,\"team_minutes\":240,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call rebound-rate-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/rebound-rate-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Rebound Rate Calculator API do? + Calculate basketball offensive, defensive, and total rebound rates. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Rebound Rate Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Rebound Rate Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Rebound Rate Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Rebound Rate Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `rebound-rate-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`rebound-rate-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="rebound-rate-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [sports](/tools/#sports) - / - True Shooting Percentage Calculator API # True Shooting Percentage Calculator API sports 1 credit / call v2026-04-22 Calculate basketball true shooting percentage from points, FGA, and FTA. One POST adds True Shooting Percentage Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the True Shooting Percentage Calculator on miniwebtool.com →](https://miniwebtool.com/true-shooting-percentage-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/true-shooting-percentage-calculator/run ``` ### Request body Field Type Req. `points` `int` — `field_goal_attempts` `int` — `free_throw_attempts` `int` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "true-shooting-percentage-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) points (int) field_goal_attempts (int) free_throw_attempts (int) precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`true-shooting-percentage-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/true-shooting-percentage-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"points":28,"field_goal_attempts":18,"free_throw_attempts":8,"precision":4}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/true-shooting-percentage-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'points': 28, 'field_goal_attempts': 18, 'free_throw_attempts': 8, 'precision': 4}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/true-shooting-percentage-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"points":28,"field_goal_attempts":18,"free_throw_attempts":8,"precision":4}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'points' => 28, 'field_goal_attempts' => 18, 'free_throw_attempts' => 8, 'precision' => 4 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/true-shooting-percentage-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'points' => 28, 'field_goal_attempts' => 18, 'free_throw_attempts' => 8, 'precision' => 4 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "points": 28, "field_goal_attempts": 18, "free_throw_attempts": 8, "precision": 4, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/true-shooting-percentage-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/true-shooting-percentage-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"points\":28,\"field_goal_attempts\":18,\"free_throw_attempts\":8,\"precision\":4}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call true-shooting-percentage-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/true-shooting-percentage-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the True Shooting Percentage Calculator API do? + Calculate basketball true shooting percentage from points, FGA, and FTA. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to True Shooting Percentage Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the True Shooting Percentage Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the True Shooting Percentage Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the True Shooting Percentage Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `true-shooting-percentage-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`true-shooting-percentage-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="true-shooting-percentage-calculator")' ``` see-also related sports tools [ Batting Average Calculator Calculate baseball batting average from hits and at-bats. ](/tools/batting-average-calculator/) [ At Bats per Home Run Calculator Calculate baseball at-bats per home run ratio and home run rate. ](/tools/at-bats-per-home-run-calculator/) [ ERA Calculator Calculate baseball earned run average. ](/tools/era-calculator/) [ Field Goal Percentage Calculator Calculate made-shot percentage and related shooting metrics. ](/tools/field-goal-percentage-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Character Counter API # Character Counter API text 1 credit / call v2026-04-22 Count characters, letters, digits, whitespace, and punctuation. One POST adds Character Counter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Character Counter on miniwebtool.com →](https://miniwebtool.com/character-counter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/character-counter/run ``` ### Request body Field Type Req. `text` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "character-counter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * Hello, World! 你好 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`character-counter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/character-counter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"Hello, World! \u4f60\u597d"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/character-counter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'Hello, World! 你好'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/character-counter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"Hello, World! \u4f60\u597d"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'Hello, World! 你好' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/character-counter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'Hello, World! 你好' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "Hello, World! 你好", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/character-counter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/character-counter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"Hello, World! \\u4f60\\u597d\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call character-counter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/character-counter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Character Counter API do? + Count characters, letters, digits, whitespace, and punctuation. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Character Counter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Character Counter API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Character Counter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Character Counter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `character-counter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`character-counter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="character-counter")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Compare Two Strings API # Compare Two Strings API text 1 credit / call v2026-04-22 Compare two strings with equality, similarity, edit distance, and diff statistics. One POST adds Compare Two Strings to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Compare Two Strings on miniwebtool.com →](https://miniwebtool.com/compare-two-strings/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/compare-two-strings/run ``` ### Request body Field Type Req. `string1` `str` ✓ `string2` `str` ✓ `mode` char | word `str` — `ignore_case` `bool` — `ignore_whitespace` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "compare-two-strings", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) string1 (str) * kitten string2 (str) * sitting mode (str) char word char | word ignore_case (bool) false true ignore_whitespace (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`compare-two-strings`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/compare-two-strings/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"string1":"kitten","string2":"sitting","mode":"char","ignore_case":false,"ignore_whitespace":false}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/compare-two-strings/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'string1': 'kitten', 'string2': 'sitting', 'mode': 'char', 'ignore_case': False, 'ignore_whitespace': False}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/compare-two-strings/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"string1":"kitten","string2":"sitting","mode":"char","ignore_case":false,"ignore_whitespace":false}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'string1' => 'kitten', 'string2' => 'sitting', 'mode' => 'char', 'ignore_case' => false, 'ignore_whitespace' => false ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/compare-two-strings/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'string1' => 'kitten', 'string2' => 'sitting', 'mode' => 'char', 'ignore_case' => false, 'ignore_whitespace' => false }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "string1": "kitten", "string2": "sitting", "mode": "char", "ignore_case": false, "ignore_whitespace": false, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/compare-two-strings/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/compare-two-strings/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"string1\":\"kitten\",\"string2\":\"sitting\",\"mode\":\"char\",\"ignore_case\":false,\"ignore_whitespace\":false}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call compare-two-strings - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`string1`,`string2`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/compare-two-strings/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Compare Two Strings API do? + Compare two strings with equality, similarity, edit distance, and diff statistics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Compare Two Strings cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Compare Two Strings API require? + Required fields: string1, string2. Full schema at /v1/openapi.json. Is the Compare Two Strings API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Compare Two Strings API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `compare-two-strings` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`compare-two-strings`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="compare-two-strings")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Find Longest Line API # Find Longest Line API text 1 credit / call v2026-04-22 Rank text lines by character, word, or byte length and return the longest lines. One POST adds Find Longest Line to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Find Longest Line on miniwebtool.com →](https://miniwebtool.com/find-longest-line/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/find-longest-line/run ``` ### Request body Field Type Req. `text` `str` ✓ `count_mode` characters | characters_no_space | words | bytes `str` — `show_top` 1 | 3 | 5 | 10 | all `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "find-longest-line", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * short much longer line mid count_mode (str) characters characters_no_space words bytes characters | characters_no_space | words | bytes show_top (str) 1 3 5 10 all 1 | 3 | 5 | 10 | all Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`find-longest-line`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/find-longest-line/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"short\nmuch longer line\nmid","count_mode":"characters","show_top":"3"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/find-longest-line/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'short\nmuch longer line\nmid', 'count_mode': 'characters', 'show_top': '3'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/find-longest-line/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"short\nmuch longer line\nmid","count_mode":"characters","show_top":"3"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'short much longer line mid', 'count_mode' => 'characters', 'show_top' => '3' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/find-longest-line/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'short much longer line mid', 'count_mode' => 'characters', 'show_top' => '3' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "short much longer line mid", "count_mode": "characters", "show_top": "3", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/find-longest-line/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/find-longest-line/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"short\\nmuch longer line\\nmid\",\"count_mode\":\"characters\",\"show_top\":\"3\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call find-longest-line - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/find-longest-line/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Find Longest Line API do? + Rank text lines by character, word, or byte length and return the longest lines. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Find Longest Line cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Find Longest Line API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Find Longest Line API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Find Longest Line API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `find-longest-line` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`find-longest-line`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="find-longest-line")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Line Counter API # Line Counter API text 1 credit / call v2026-04-22 Count total / non-empty / empty lines and longest-line length. One POST adds Line Counter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Line Counter on miniwebtool.com →](https://miniwebtool.com/line-counter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/line-counter/run ``` ### Request body Field Type Req. `text` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "line-counter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * first line second line fourth Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`line-counter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/line-counter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"first line\nsecond line\n\nfourth"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/line-counter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'first line\nsecond line\n\nfourth'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/line-counter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"first line\nsecond line\n\nfourth"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'first line second line fourth' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/line-counter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'first line second line fourth' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "first line second line fourth", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/line-counter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/line-counter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"first line\\nsecond line\\n\\nfourth\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call line-counter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/line-counter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Line Counter API do? + Count total / non-empty / empty lines and longest-line length. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Line Counter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Line Counter API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Line Counter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Line Counter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `line-counter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`line-counter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="line-counter")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Pangram Checker API # Pangram Checker API text 1 credit / call v2026-04-22 Check whether text contains every letter A through Z. One POST adds Pangram Checker to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Pangram Checker on miniwebtool.com →](https://miniwebtool.com/pangram-checker/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/pangram-checker/run ``` ### Request body Field Type Req. `text` `str` — `ignore_diacritics` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "pangram-checker", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) ignore_diacritics (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`pangram-checker`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/pangram-checker/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/pangram-checker/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/pangram-checker/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/pangram-checker/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/pangram-checker/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/pangram-checker/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call pangram-checker - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/pangram-checker/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Pangram Checker API do? + Check whether text contains every letter A through Z. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Pangram Checker cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Pangram Checker API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Pangram Checker API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Pangram Checker API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `pangram-checker` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`pangram-checker`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="pangram-checker")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ List Difference Calculator Compare two line-based lists and return differences, intersection, and union. ](/tools/list-difference-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Sentence Counter API # Sentence Counter API text 1 credit / call v2026-04-22 Count sentences and classify sentence type and basic complexity. One POST adds Sentence Counter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Sentence Counter on miniwebtool.com →](https://miniwebtool.com/sentence-counter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sentence-counter/run ``` ### Request body Field Type Req. `text` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sentence-counter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * Dr. Smith arrived at 3 p.m. Did the meeting start? Yes, it did. Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sentence-counter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sentence-counter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"Dr. Smith arrived at 3 p.m. Did the meeting start? Yes, it did."}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sentence-counter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'Dr. Smith arrived at 3 p.m. Did the meeting start? Yes, it did.'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sentence-counter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"Dr. Smith arrived at 3 p.m. Did the meeting start? Yes, it did."}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'Dr. Smith arrived at 3 p.m. Did the meeting start? Yes, it did.' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sentence-counter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'Dr. Smith arrived at 3 p.m. Did the meeting start? Yes, it did.' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "Dr. Smith arrived at 3 p.m. Did the meeting start? Yes, it did.", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sentence-counter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sentence-counter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"Dr. Smith arrived at 3 p.m. Did the meeting start? Yes, it did.\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sentence-counter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sentence-counter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Sentence Counter API do? + Count sentences and classify sentence type and basic complexity. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Sentence Counter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Sentence Counter API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Sentence Counter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Sentence Counter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sentence-counter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sentence-counter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sentence-counter")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Word Counter API # Word Counter API text 1 credit / call v2026-04-22 Count words, characters, sentences, paragraphs, reading/speaking time, top words. One POST adds Word Counter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Word Counter on miniwebtool.com →](https://miniwebtool.com/word-counter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/word-counter/run ``` ### Request body Field Type Req. `text` Text to analyze. UTF-8, up to 200K chars. `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "word-counter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * The quick brown fox jumps over the lazy dog. Text to analyze. UTF-8, up to 200K chars. Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`word-counter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/word-counter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"The quick brown fox jumps over the lazy dog."}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/word-counter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'The quick brown fox jumps over the lazy dog.'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/word-counter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"The quick brown fox jumps over the lazy dog."}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'The quick brown fox jumps over the lazy dog.' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/word-counter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'The quick brown fox jumps over the lazy dog.' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "The quick brown fox jumps over the lazy dog.", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/word-counter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/word-counter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"The quick brown fox jumps over the lazy dog.\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call word-counter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/word-counter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Word Counter API do? + Count words, characters, sentences, paragraphs, reading/speaking time, top words. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Word Counter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Word Counter API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Word Counter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Word Counter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `word-counter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`word-counter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="word-counter")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - CSS Beautifier API # CSS Beautifier API text 1 credit / call v2026-04-22 Format compact CSS with indentation and line breaks. One POST adds CSS Beautifier to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the CSS Beautifier on miniwebtool.com →](https://miniwebtool.com/css-beautifier/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/css-beautifier/run ``` ### Request body Field Type Req. `text` `str` — `indent_size` `int` — `preserve_comments` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "css-beautifier", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) body{margin:0;padding:0}.box{color:red;} indent_size (int) preserve_comments (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`css-beautifier`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/css-beautifier/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"body{margin:0;padding:0}.box{color:red;}","indent_size":2,"preserve_comments":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/css-beautifier/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'body{margin:0;padding:0}.box{color:red;}', 'indent_size': 2, 'preserve_comments': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/css-beautifier/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"body{margin:0;padding:0}.box{color:red;}","indent_size":2,"preserve_comments":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'body{margin:0;padding:0}.box{color:red;}', 'indent_size' => 2, 'preserve_comments' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/css-beautifier/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'body{margin:0;padding:0}.box{color:red;}', 'indent_size' => 2, 'preserve_comments' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "body{margin:0;padding:0}.box{color:red;}", "indent_size": 2, "preserve_comments": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/css-beautifier/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/css-beautifier/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"body{margin:0;padding:0}.box{color:red;}\",\"indent_size\":2,\"preserve_comments\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call css-beautifier - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/css-beautifier/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the CSS Beautifier API do? + Format compact CSS with indentation and line breaks. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to CSS Beautifier cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the CSS Beautifier API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the CSS Beautifier API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the CSS Beautifier API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `css-beautifier` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`css-beautifier`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="css-beautifier")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Text Case Converter API # Text Case Converter API text 1 credit / call v2026-04-22 Convert text to uppercase, lowercase, title, sentence, camel, snake, kebab, and related cases. One POST adds Text Case Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Text Case Converter on miniwebtool.com →](https://miniwebtool.com/lowercase-uppercase-letters/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/lowercase-uppercase-letters/run ``` ### Request body Field Type Req. `text` `str` ✓ `conversion` upper | lower | title | sentence | alternating | inverse | camel | pascal | snake | kebab | constant | dot `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "lowercase-uppercase-letters", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * hello world from MiniWebtool conversion (str) upper lower title sentence alternating inverse camel pascal snake kebab constant dot upper | lower | title | sentence | alternating | inverse | camel | pascal | snake | kebab | constant | dot Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`lowercase-uppercase-letters`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/lowercase-uppercase-letters/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"hello world from MiniWebtool","conversion":"kebab"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/lowercase-uppercase-letters/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'hello world from MiniWebtool', 'conversion': 'kebab'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/lowercase-uppercase-letters/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"hello world from MiniWebtool","conversion":"kebab"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'hello world from MiniWebtool', 'conversion' => 'kebab' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/lowercase-uppercase-letters/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'hello world from MiniWebtool', 'conversion' => 'kebab' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "hello world from MiniWebtool", "conversion": "kebab", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/lowercase-uppercase-letters/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/lowercase-uppercase-letters/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"hello world from MiniWebtool\",\"conversion\":\"kebab\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call lowercase-uppercase-letters - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/lowercase-uppercase-letters/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Text Case Converter API do? + Convert text to uppercase, lowercase, title, sentence, camel, snake, kebab, and related cases. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Text Case Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Text Case Converter API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Text Case Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Text Case Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `lowercase-uppercase-letters` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`lowercase-uppercase-letters`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="lowercase-uppercase-letters")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Title Case Converter API # Title Case Converter API text 1 credit / call v2026-04-22 Convert text to title case using smart, APA, Chicago, MLA, AP, or simple capitalization rules. One POST adds Title Case Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Title Case Converter on miniwebtool.com →](https://miniwebtool.com/title-case-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/title-case-converter/run ``` ### Request body Field Type Req. `text` `str` ✓ `style` smart | simple | apa | chicago | mla | ap `str` — `keep_acronyms` `bool` — `multi_line` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "title-case-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * the NASA guide to writing APIs style (str) smart simple apa chicago mla ap smart | simple | apa | chicago | mla | ap keep_acronyms (bool) false true multi_line (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`title-case-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/title-case-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"the NASA guide to writing APIs","style":"smart","keep_acronyms":true,"multi_line":false}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/title-case-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'the NASA guide to writing APIs', 'style': 'smart', 'keep_acronyms': True, 'multi_line': False}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/title-case-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"the NASA guide to writing APIs","style":"smart","keep_acronyms":true,"multi_line":false}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'the NASA guide to writing APIs', 'style' => 'smart', 'keep_acronyms' => true, 'multi_line' => false ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/title-case-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'the NASA guide to writing APIs', 'style' => 'smart', 'keep_acronyms' => true, 'multi_line' => false }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "the NASA guide to writing APIs", "style": "smart", "keep_acronyms": true, "multi_line": false, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/title-case-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/title-case-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"the NASA guide to writing APIs\",\"style\":\"smart\",\"keep_acronyms\":true,\"multi_line\":false}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call title-case-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/title-case-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Title Case Converter API do? + Convert text to title case using smart, APA, Chicago, MLA, AP, or simple capitalization rules. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Title Case Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Title Case Converter API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Title Case Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Title Case Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `title-case-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`title-case-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="title-case-converter")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Remove Duplicate Lines API # Remove Duplicate Lines API text 1 credit / call v2026-04-22 Remove duplicate text lines while keeping first, last, or only unique occurrences. One POST adds Remove Duplicate Lines to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Remove Duplicate Lines on miniwebtool.com →](https://miniwebtool.com/remove-duplicate-lines/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/remove-duplicate-lines/run ``` ### Request body Field Type Req. `text` `str` ✓ `mode` first | last | remove_all `str` — `case_sensitive` `bool` — `trim_whitespace` `bool` — `remove_blank` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "remove-duplicate-lines", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * Apple banana apple banana pear mode (str) first last remove_all first | last | remove_all case_sensitive (bool) false true trim_whitespace (bool) false true remove_blank (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`remove-duplicate-lines`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/remove-duplicate-lines/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"Apple\nbanana\napple\nbanana\npear","mode":"first","case_sensitive":false,"trim_whitespace":true,"remove_blank":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/remove-duplicate-lines/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'Apple\nbanana\napple\nbanana\npear', 'mode': 'first', 'case_sensitive': False, 'trim_whitespace': True, 'remove_blank': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/remove-duplicate-lines/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"Apple\nbanana\napple\nbanana\npear","mode":"first","case_sensitive":false,"trim_whitespace":true,"remove_blank":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'Apple banana apple banana pear', 'mode' => 'first', 'case_sensitive' => false, 'trim_whitespace' => true, 'remove_blank' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/remove-duplicate-lines/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'Apple banana apple banana pear', 'mode' => 'first', 'case_sensitive' => false, 'trim_whitespace' => true, 'remove_blank' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "Apple banana apple banana pear", "mode": "first", "case_sensitive": false, "trim_whitespace": true, "remove_blank": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/remove-duplicate-lines/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/remove-duplicate-lines/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"Apple\\nbanana\\napple\\nbanana\\npear\",\"mode\":\"first\",\"case_sensitive\":false,\"trim_whitespace\":true,\"remove_blank\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call remove-duplicate-lines - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/remove-duplicate-lines/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Remove Duplicate Lines API do? + Remove duplicate text lines while keeping first, last, or only unique occurrences. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Remove Duplicate Lines cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Remove Duplicate Lines API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Remove Duplicate Lines API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Remove Duplicate Lines API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `remove-duplicate-lines` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`remove-duplicate-lines`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="remove-duplicate-lines")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Morse Code Generator API # Morse Code Generator API text 1 credit / call v2026-04-22 Convert text to International Morse code with character breakdown. One POST adds Morse Code Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Morse Code Generator on miniwebtool.com →](https://miniwebtool.com/morse-code-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/morse-code-generator/run ``` ### Request body Field Type Req. `text` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "morse-code-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`morse-code-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/morse-code-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/morse-code-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/morse-code-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/morse-code-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/morse-code-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/morse-code-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call morse-code-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/morse-code-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Morse Code Generator API do? + Convert text to International Morse code with character breakdown. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Morse Code Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Morse Code Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Morse Code Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Morse Code Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `morse-code-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`morse-code-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="morse-code-generator")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) [ List Difference Calculator Compare two line-based lists and return differences, intersection, and union. ](/tools/list-difference-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - ASCII Art Generator API # ASCII Art Generator API text 1 credit / call v2026-04-22 Generate deterministic ASCII banner art from short text. One POST adds ASCII Art Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the ASCII Art Generator on miniwebtool.com →](https://miniwebtool.com/ascii-art-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ascii-art-generator/run ``` ### Request body Field Type Req. `input_text` `str` — `style` standard | banner | block | bubble | slant `str` — `alignment` left | center | right `str` — `width` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ascii-art-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) input_text (str) style (str) standard banner block bubble slant standard | banner | block | bubble | slant alignment (str) left center right left | center | right width (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ascii-art-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ascii-art-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ascii-art-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ascii-art-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ascii-art-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ascii-art-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ascii-art-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ascii-art-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ascii-art-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the ASCII Art Generator API do? + Generate deterministic ASCII banner art from short text. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to ASCII Art Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the ASCII Art Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the ASCII Art Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the ASCII Art Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ascii-art-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ascii-art-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ascii-art-generator")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) [ List Difference Calculator Compare two line-based lists and return differences, intersection, and union. ](/tools/list-difference-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Buzzword Bingo Generator API # Buzzword Bingo Generator API text 1 credit / call v2026-04-22 Generate a deterministic buzzword bingo board from a term list and seed. One POST adds Buzzword Bingo Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Buzzword Bingo Generator on miniwebtool.com →](https://miniwebtool.com/buzzword-bingo-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/buzzword-bingo-generator/run ``` ### Request body Field Type Req. `terms` `list[str] | None` — `size` `int` — `free_space` `bool` — `seed` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "buzzword-bingo-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) terms (list[str] | None) size (int) free_space (bool) false true seed (str) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`buzzword-bingo-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/buzzword-bingo-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/buzzword-bingo-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/buzzword-bingo-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/buzzword-bingo-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/buzzword-bingo-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/buzzword-bingo-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call buzzword-bingo-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/buzzword-bingo-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Buzzword Bingo Generator API do? + Generate a deterministic buzzword bingo board from a term list and seed. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Buzzword Bingo Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Buzzword Bingo Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Buzzword Bingo Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Buzzword Bingo Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `buzzword-bingo-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`buzzword-bingo-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="buzzword-bingo-generator")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - List Difference Calculator API # List Difference Calculator API text 1 credit / call v2026-04-22 Compare two line-based lists and return differences, intersection, and union. One POST adds List Difference Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the List Difference Calculator on miniwebtool.com →](https://miniwebtool.com/list-difference-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/list-difference-calculator/run ``` ### Request body Field Type Req. `list_a` `str` — `list_b` `str` — `case_sensitive` `bool` — `remove_duplicates` `bool` — `ignore_empty` `bool` — `trim_whitespace` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "list-difference-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) list_a (str) list_b (str) case_sensitive (bool) false true remove_duplicates (bool) false true ignore_empty (bool) false true trim_whitespace (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`list-difference-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/list-difference-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/list-difference-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/list-difference-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/list-difference-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/list-difference-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/list-difference-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call list-difference-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/list-difference-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the List Difference Calculator API do? + Compare two line-based lists and return differences, intersection, and union. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to List Difference Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the List Difference Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the List Difference Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the List Difference Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `list-difference-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`list-difference-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="list-difference-calculator")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Add Line Numbers API # Add Line Numbers API text 1 credit / call v2026-04-22 Add configurable line numbers to the start or end of each text line. One POST adds Add Line Numbers to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Add Line Numbers on miniwebtool.com →](https://miniwebtool.com/add-line-numbers/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/add-line-numbers/run ``` ### Request body Field Type Req. `text` `str` ✓ `prefix` `str` — `suffix` `str` — `position` start | end `str` — `remove_blank` `bool` — `start` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "add-line-numbers", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * alpha beta gamma prefix (str) suffix (str). position (str) start end start | end remove_blank (bool) false true start (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`add-line-numbers`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/add-line-numbers/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"alpha\nbeta\n\ngamma","prefix":"","suffix":". ","position":"start","remove_blank":true,"start":1}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/add-line-numbers/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'alpha\nbeta\n\ngamma', 'prefix': '', 'suffix': '. ', 'position': 'start', 'remove_blank': True, 'start': 1}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/add-line-numbers/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"alpha\nbeta\n\ngamma","prefix":"","suffix":". ","position":"start","remove_blank":true,"start":1}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'alpha beta gamma', 'prefix' => '', 'suffix' => '. ', 'position' => 'start', 'remove_blank' => true, 'start' => 1 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/add-line-numbers/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'alpha beta gamma', 'prefix' => '', 'suffix' => '. ', 'position' => 'start', 'remove_blank' => true, 'start' => 1 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "alpha beta gamma", "prefix": "", "suffix": ". ", "position": "start", "remove_blank": true, "start": 1, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/add-line-numbers/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/add-line-numbers/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"alpha\\nbeta\\n\\ngamma\",\"prefix\":\"\",\"suffix\":\". \",\"position\":\"start\",\"remove_blank\":true,\"start\":1}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call add-line-numbers - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/add-line-numbers/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Add Line Numbers API do? + Add configurable line numbers to the start or end of each text line. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Add Line Numbers cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Add Line Numbers API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Add Line Numbers API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Add Line Numbers API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `add-line-numbers` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`add-line-numbers`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="add-line-numbers")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Add Prefix and Suffix API # Add Prefix and Suffix API text 1 credit / call v2026-04-22 Add prefix, suffix, and optional numbering to each text line, word, or delimited item. One POST adds Add Prefix and Suffix to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Add Prefix and Suffix on miniwebtool.com →](https://miniwebtool.com/add-prefix-and-suffix/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/add-prefix-and-suffix/run ``` ### Request body Field Type Req. `text` `str` ✓ `prefix` `str` — `suffix` `str` — `mode` line | word | custom `str` — `custom_delimiter` `str` — `remove_empty` `bool` — `trim_whitespace` `bool` — `add_numbering` `bool` — `numbering_format` 1 | 01 | bracket | paren `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "add-prefix-and-suffix", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * alpha beta omega prefix (str) [ suffix (str) ] mode (str) line word custom line | word | custom custom_delimiter (str) remove_empty (bool) false true trim_whitespace (bool) false true add_numbering (bool) false true numbering_format (str) 1 01 bracket paren 1 | 01 | bracket | paren Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`add-prefix-and-suffix`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/add-prefix-and-suffix/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"alpha\n beta \n\nomega","prefix":"[","suffix":"]","mode":"line","remove_empty":true,"trim_whitespace":true,"add_numbering":true,"numbering_format":"1"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/add-prefix-and-suffix/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'alpha\n beta \n\nomega', 'prefix': '[', 'suffix': ']', 'mode': 'line', 'remove_empty': True, 'trim_whitespace': True, 'add_numbering': True, 'numbering_format': '1'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/add-prefix-and-suffix/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"alpha\n beta \n\nomega","prefix":"[","suffix":"]","mode":"line","remove_empty":true,"trim_whitespace":true,"add_numbering":true,"numbering_format":"1"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'alpha beta omega', 'prefix' => '[', 'suffix' => ']', 'mode' => 'line', 'remove_empty' => true, 'trim_whitespace' => true, 'add_numbering' => true, 'numbering_format' => '1' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/add-prefix-and-suffix/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'alpha beta omega', 'prefix' => '[', 'suffix' => ']', 'mode' => 'line', 'remove_empty' => true, 'trim_whitespace' => true, 'add_numbering' => true, 'numbering_format' => '1' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "alpha beta omega", "prefix": "[", "suffix": "]", "mode": "line", "remove_empty": true, "trim_whitespace": true, "add_numbering": true, "numbering_format": "1", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/add-prefix-and-suffix/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/add-prefix-and-suffix/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"alpha\\n beta \\n\\nomega\",\"prefix\":\"[\",\"suffix\":\"]\",\"mode\":\"line\",\"remove_empty\":true,\"trim_whitespace\":true,\"add_numbering\":true,\"numbering_format\":\"1\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call add-prefix-and-suffix - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/add-prefix-and-suffix/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Add Prefix and Suffix API do? + Add prefix, suffix, and optional numbering to each text line, word, or delimited item. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Add Prefix and Suffix cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Add Prefix and Suffix API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Add Prefix and Suffix API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Add Prefix and Suffix API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `add-prefix-and-suffix` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`add-prefix-and-suffix`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="add-prefix-and-suffix")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Remove Accent API # Remove Accent API text 1 credit / call v2026-04-22 Remove accents and combining marks from Unicode text. One POST adds Remove Accent to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Remove Accent on miniwebtool.com →](https://miniwebtool.com/remove-accent/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/remove-accent/run ``` ### Request body Field Type Req. `text` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "remove-accent", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * café Noël jalapeño Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`remove-accent`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/remove-accent/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"caf\u00e9 No\u00ebl jalape\u00f1o"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/remove-accent/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'café Noël jalapeño'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/remove-accent/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"caf\u00e9 No\u00ebl jalape\u00f1o"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'café Noël jalapeño' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/remove-accent/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'café Noël jalapeño' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "café Noël jalapeño", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/remove-accent/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/remove-accent/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"caf\\u00e9 No\\u00ebl jalape\\u00f1o\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call remove-accent - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/remove-accent/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Remove Accent API do? + Remove accents and combining marks from Unicode text. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Remove Accent cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Remove Accent API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Remove Accent API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Remove Accent API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `remove-accent` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`remove-accent`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="remove-accent")' ``` see-also related text tools [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) [ List Difference Calculator Compare two line-based lists and return differences, intersection, and union. ](/tools/list-difference-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Remove Line Numbers API # Remove Line Numbers API text 1 credit / call v2026-04-22 Strip numeric prefixes such as line numbers from each line of text. One POST adds Remove Line Numbers to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Remove Line Numbers on miniwebtool.com →](https://miniwebtool.com/remove-line-numbers/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/remove-line-numbers/run ``` ### Request body Field Type Req. `text` `str` ✓ `prefix` `str` — `suffix` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "remove-line-numbers", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * 1. alpha 2. beta 10. gamma prefix (str) suffix (str). Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`remove-line-numbers`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/remove-line-numbers/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"1. alpha\n2. beta\n10. gamma","prefix":"","suffix":". "}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/remove-line-numbers/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': '1. alpha\n2. beta\n10. gamma', 'prefix': '', 'suffix': '. '}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/remove-line-numbers/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"1. alpha\n2. beta\n10. gamma","prefix":"","suffix":". "}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => '1. alpha 2. beta 10. gamma', 'prefix' => '', 'suffix' => '. ' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/remove-line-numbers/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => '1. alpha 2. beta 10. gamma', 'prefix' => '', 'suffix' => '. ' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "1. alpha 2. beta 10. gamma", "prefix": "", "suffix": ". ", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/remove-line-numbers/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/remove-line-numbers/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"1. alpha\\n2. beta\\n10. gamma\",\"prefix\":\"\",\"suffix\":\". \"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call remove-line-numbers - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/remove-line-numbers/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Remove Line Numbers API do? + Strip numeric prefixes such as line numbers from each line of text. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Remove Line Numbers cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Remove Line Numbers API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Remove Line Numbers API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Remove Line Numbers API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `remove-line-numbers` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`remove-line-numbers`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="remove-line-numbers")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Remove Lines Containing API # Remove Lines Containing API text 1 credit / call v2026-04-22 Keep or remove lines matching a text, word, prefix, suffix, or regex pattern. One POST adds Remove Lines Containing to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Remove Lines Containing on miniwebtool.com →](https://miniwebtool.com/remove-lines-containing/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/remove-lines-containing/run ``` ### Request body Field Type Req. `text` `str` ✓ `pattern` `str` — `action` keep | remove `str` — `match_mode` contains | word | starts | ends | regex `str` — `case_sensitive` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "remove-lines-containing", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * alpha beta error gamma ERROR delta pattern (str) error action (str) keep remove keep | remove match_mode (str) contains word starts ends regex contains | word | starts | ends | regex case_sensitive (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`remove-lines-containing`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/remove-lines-containing/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"alpha\nbeta error\ngamma\nERROR delta","pattern":"error","action":"remove","match_mode":"contains","case_sensitive":false}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/remove-lines-containing/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'alpha\nbeta error\ngamma\nERROR delta', 'pattern': 'error', 'action': 'remove', 'match_mode': 'contains', 'case_sensitive': False}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/remove-lines-containing/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"alpha\nbeta error\ngamma\nERROR delta","pattern":"error","action":"remove","match_mode":"contains","case_sensitive":false}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'alpha beta error gamma ERROR delta', 'pattern' => 'error', 'action' => 'remove', 'match_mode' => 'contains', 'case_sensitive' => false ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/remove-lines-containing/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'alpha beta error gamma ERROR delta', 'pattern' => 'error', 'action' => 'remove', 'match_mode' => 'contains', 'case_sensitive' => false }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "alpha beta error gamma ERROR delta", "pattern": "error", "action": "remove", "match_mode": "contains", "case_sensitive": false, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/remove-lines-containing/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/remove-lines-containing/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"alpha\\nbeta error\\ngamma\\nERROR delta\",\"pattern\":\"error\",\"action\":\"remove\",\"match_mode\":\"contains\",\"case_sensitive\":false}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call remove-lines-containing - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/remove-lines-containing/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Remove Lines Containing API do? + Keep or remove lines matching a text, word, prefix, suffix, or regex pattern. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Remove Lines Containing cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Remove Lines Containing API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Remove Lines Containing API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Remove Lines Containing API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `remove-lines-containing` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`remove-lines-containing`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="remove-lines-containing")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Remove Punctuation API # Remove Punctuation API text 1 credit / call v2026-04-22 Remove or replace selected punctuation categories from text. One POST adds Remove Punctuation to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Remove Punctuation on miniwebtool.com →](https://miniwebtool.com/remove-punctuation/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/remove-punctuation/run ``` ### Request body Field Type Req. `text` `str` ✓ `action` remove | replace `str` — `remove_periods` `bool` — `remove_commas` `bool` — `remove_quotes` `bool` — `remove_brackets` `bool` — `remove_dashes` `bool` — `remove_slashes` `bool` — `remove_special` `bool` — `remove_other` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "remove-punctuation", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * Hello, world! It works: yes. action (str) remove replace remove | replace remove_periods (bool) false true remove_commas (bool) false true remove_quotes (bool) false true remove_brackets (bool) false true remove_dashes (bool) false true remove_slashes (bool) false true remove_special (bool) false true remove_other (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`remove-punctuation`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/remove-punctuation/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"Hello, world! It works: yes.","action":"remove","remove_periods":true,"remove_commas":true,"remove_quotes":true,"remove_brackets":true,"remove_dashes":true,"remove_slashes":true,"remove_special":true,"remove_other":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/remove-punctuation/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'Hello, world! It works: yes.', 'action': 'remove', 'remove_periods': True, 'remove_commas': True, 'remove_quotes': True, 'remove_brackets': True, 'remove_dashes': True, 'remove_slashes': True, 'remove_special': True, 'remove_other': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/remove-punctuation/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"Hello, world! It works: yes.","action":"remove","remove_periods":true,"remove_commas":true,"remove_quotes":true,"remove_brackets":true,"remove_dashes":true,"remove_slashes":true,"remove_special":true,"remove_other":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'Hello, world! It works: yes.', 'action' => 'remove', 'remove_periods' => true, 'remove_commas' => true, 'remove_quotes' => true, 'remove_brackets' => true, 'remove_dashes' => true, 'remove_slashes' => true, 'remove_special' => true, 'remove_other' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/remove-punctuation/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'Hello, world! It works: yes.', 'action' => 'remove', 'remove_periods' => true, 'remove_commas' => true, 'remove_quotes' => true, 'remove_brackets' => true, 'remove_dashes' => true, 'remove_slashes' => true, 'remove_special' => true, 'remove_other' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "Hello, world! It works: yes.", "action": "remove", "remove_periods": true, "remove_commas": true, "remove_quotes": true, "remove_brackets": true, "remove_dashes": true, "remove_slashes": true, "remove_special": true, "remove_other": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/remove-punctuation/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/remove-punctuation/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"Hello, world! It works: yes.\",\"action\":\"remove\",\"remove_periods\":true,\"remove_commas\":true,\"remove_quotes\":true,\"remove_brackets\":true,\"remove_dashes\":true,\"remove_slashes\":true,\"remove_special\":true,\"remove_other\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call remove-punctuation - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/remove-punctuation/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Remove Punctuation API do? + Remove or replace selected punctuation categories from text. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Remove Punctuation cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Remove Punctuation API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Remove Punctuation API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Remove Punctuation API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `remove-punctuation` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`remove-punctuation`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="remove-punctuation")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Reverse Text API # Reverse Text API text 1 credit / call v2026-04-22 Reverse whole text, word order, each word, or line order. One POST adds Reverse Text to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Reverse Text on miniwebtool.com →](https://miniwebtool.com/reverse-text/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/reverse-text/run ``` ### Request body Field Type Req. `text` `str` ✓ `mode` full | words | each_word | lines `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "reverse-text", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * Hello world Second line mode (str) full words each_word lines full | words | each_word | lines Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`reverse-text`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/reverse-text/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"Hello world\nSecond line","mode":"each_word"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/reverse-text/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'Hello world\nSecond line', 'mode': 'each_word'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/reverse-text/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"Hello world\nSecond line","mode":"each_word"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'Hello world Second line', 'mode' => 'each_word' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/reverse-text/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'Hello world Second line', 'mode' => 'each_word' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "Hello world Second line", "mode": "each_word", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/reverse-text/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/reverse-text/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"Hello world\\nSecond line\",\"mode\":\"each_word\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call reverse-text - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/reverse-text/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Reverse Text API do? + Reverse whole text, word order, each word, or line order. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Reverse Text cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Reverse Text API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Reverse Text API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Reverse Text API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `reverse-text` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`reverse-text`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="reverse-text")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Sort Lines Alphabetically API # Sort Lines Alphabetically API text 1 credit / call v2026-04-22 Sort text lines alphabetically, naturally, numerically, or by length. One POST adds Sort Lines Alphabetically to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Sort Lines Alphabetically on miniwebtool.com →](https://miniwebtool.com/sort-lines-alphabetically/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/sort-lines-alphabetically/run ``` ### Request body Field Type Req. `text` `str` ✓ `sort_order` asc | desc `str` — `sort_type` alpha | natural | length | numeric `str` — `ignore_case` `bool` — `remove_duplicates` `bool` — `remove_empty` `bool` — `trim_whitespace` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "sort-lines-alphabetically", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * file10 file2 file1 banana Apple sort_order (str) asc desc asc | desc sort_type (str) alpha natural length numeric alpha | natural | length | numeric ignore_case (bool) false true remove_duplicates (bool) false true remove_empty (bool) false true trim_whitespace (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`sort-lines-alphabetically`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/sort-lines-alphabetically/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"file10\nfile2\nfile1\nbanana\nApple","sort_order":"asc","sort_type":"natural","ignore_case":true,"remove_duplicates":false,"remove_empty":true,"trim_whitespace":false}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/sort-lines-alphabetically/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'file10\nfile2\nfile1\nbanana\nApple', 'sort_order': 'asc', 'sort_type': 'natural', 'ignore_case': True, 'remove_duplicates': False, 'remove_empty': True, 'trim_whitespace': False}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/sort-lines-alphabetically/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"file10\nfile2\nfile1\nbanana\nApple","sort_order":"asc","sort_type":"natural","ignore_case":true,"remove_duplicates":false,"remove_empty":true,"trim_whitespace":false}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'file10 file2 file1 banana Apple', 'sort_order' => 'asc', 'sort_type' => 'natural', 'ignore_case' => true, 'remove_duplicates' => false, 'remove_empty' => true, 'trim_whitespace' => false ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/sort-lines-alphabetically/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'file10 file2 file1 banana Apple', 'sort_order' => 'asc', 'sort_type' => 'natural', 'ignore_case' => true, 'remove_duplicates' => false, 'remove_empty' => true, 'trim_whitespace' => false }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "file10 file2 file1 banana Apple", "sort_order": "asc", "sort_type": "natural", "ignore_case": true, "remove_duplicates": false, "remove_empty": true, "trim_whitespace": false, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/sort-lines-alphabetically/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/sort-lines-alphabetically/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"file10\\nfile2\\nfile1\\nbanana\\nApple\",\"sort_order\":\"asc\",\"sort_type\":\"natural\",\"ignore_case\":true,\"remove_duplicates\":false,\"remove_empty\":true,\"trim_whitespace\":false}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call sort-lines-alphabetically - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/sort-lines-alphabetically/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Sort Lines Alphabetically API do? + Sort text lines alphabetically, naturally, numerically, or by length. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Sort Lines Alphabetically cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Sort Lines Alphabetically API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Sort Lines Alphabetically API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Sort Lines Alphabetically API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `sort-lines-alphabetically` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`sort-lines-alphabetically`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="sort-lines-alphabetically")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - CSV to SRT Converter API # CSV to SRT Converter API text 1 credit / call v2026-04-22 Convert CSV subtitle rows with start, end, and text columns to SRT. One POST adds CSV to SRT Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the CSV to SRT Converter on miniwebtool.com →](https://miniwebtool.com/csv-to-srt/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/csv-to-srt/run ``` ### Request body Field Type Req. `csv_text` `str` — `merge_empty_text` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "csv-to-srt", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) csv_text (str) start,end,text 0,1.5,Hello 1.5,3,World merge_empty_text (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`csv-to-srt`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/csv-to-srt/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"csv_text":"start,end,text\n0,1.5,Hello\n1.5,3,World","merge_empty_text":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/csv-to-srt/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'csv_text': 'start,end,text\n0,1.5,Hello\n1.5,3,World', 'merge_empty_text': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/csv-to-srt/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"csv_text":"start,end,text\n0,1.5,Hello\n1.5,3,World","merge_empty_text":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'csv_text' => 'start,end,text 0,1.5,Hello 1.5,3,World', 'merge_empty_text' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/csv-to-srt/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'csv_text' => 'start,end,text 0,1.5,Hello 1.5,3,World', 'merge_empty_text' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "csv_text": "start,end,text 0,1.5,Hello 1.5,3,World", "merge_empty_text": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/csv-to-srt/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/csv-to-srt/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"csv_text\":\"start,end,text\\n0,1.5,Hello\\n1.5,3,World\",\"merge_empty_text\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call csv-to-srt - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/csv-to-srt/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the CSV to SRT Converter API do? + Convert CSV subtitle rows with start, end, and text columns to SRT. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to CSV to SRT Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the CSV to SRT Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the CSV to SRT Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the CSV to SRT Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `csv-to-srt` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`csv-to-srt`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="csv-to-srt")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Word to Phone Number Converter API # Word to Phone Number Converter API text 1 credit / call v2026-04-22 Convert words and phrases into T9 keypad phone numbers. One POST adds Word to Phone Number Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Word to Phone Number Converter on miniwebtool.com →](https://miniwebtool.com/word-to-phone-number-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/word-to-phone-number-converter/run ``` ### Request body Field Type Req. `text` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "word-to-phone-number-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * MINIWEBTOOL Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`word-to-phone-number-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/word-to-phone-number-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"MINIWEBTOOL"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/word-to-phone-number-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'MINIWEBTOOL'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/word-to-phone-number-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"MINIWEBTOOL"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'MINIWEBTOOL' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/word-to-phone-number-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'MINIWEBTOOL' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "MINIWEBTOOL", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/word-to-phone-number-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/word-to-phone-number-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"MINIWEBTOOL\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call word-to-phone-number-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/word-to-phone-number-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Word to Phone Number Converter API do? + Convert words and phrases into T9 keypad phone numbers. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Word to Phone Number Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Word to Phone Number Converter API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Word to Phone Number Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Word to Phone Number Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `word-to-phone-number-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`word-to-phone-number-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="word-to-phone-number-converter")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Text Repeat API # Text Repeat API text 1 credit / call v2026-04-22 Repeat text multiple times with separators, numbering, and case options. One POST adds Text Repeat to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Text Repeat on miniwebtool.com →](https://miniwebtool.com/text-repeat/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/text-repeat/run ``` ### Request body Field Type Req. `text` `str` ✓ `times` `int` — `separator` newline | space | comma | comma_space | semicolon | tab | pipe | dash | none | custom `str` — `custom_separator` `str` — `add_numbering` `bool` — `number_format` simple | padded | bracket | paren | dot | hash `str` — `number_position` prefix | suffix `str` — `use_placeholder` `bool` — `start_number` `int` — `case_variation` none | upper | lower | title | alternate `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "text-repeat", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * alpha times (int) separator (str) newline space comma comma_space semicolon tab pipe dash none custom newline | space | comma | comma_space | semicolon | tab | pipe | dash | none | custom custom_separator (str) add_numbering (bool) false true number_format (str) simple padded bracket paren dot hash simple | padded | bracket | paren | dot | hash number_position (str) prefix suffix prefix | suffix use_placeholder (bool) false true start_number (int) case_variation (str) none upper lower title alternate none | upper | lower | title | alternate Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`text-repeat`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/text-repeat/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"alpha","times":3,"separator":"comma_space","add_numbering":true,"number_format":"simple","number_position":"prefix","case_variation":"none"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/text-repeat/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'alpha', 'times': 3, 'separator': 'comma_space', 'add_numbering': True, 'number_format': 'simple', 'number_position': 'prefix', 'case_variation': 'none'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/text-repeat/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"alpha","times":3,"separator":"comma_space","add_numbering":true,"number_format":"simple","number_position":"prefix","case_variation":"none"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'alpha', 'times' => 3, 'separator' => 'comma_space', 'add_numbering' => true, 'number_format' => 'simple', 'number_position' => 'prefix', 'case_variation' => 'none' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/text-repeat/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'alpha', 'times' => 3, 'separator' => 'comma_space', 'add_numbering' => true, 'number_format' => 'simple', 'number_position' => 'prefix', 'case_variation' => 'none' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "alpha", "times": 3, "separator": "comma_space", "add_numbering": true, "number_format": "simple", "number_position": "prefix", "case_variation": "none", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/text-repeat/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/text-repeat/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"alpha\",\"times\":3,\"separator\":\"comma_space\",\"add_numbering\":true,\"number_format\":\"simple\",\"number_position\":\"prefix\",\"case_variation\":\"none\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call text-repeat - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/text-repeat/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Text Repeat API do? + Repeat text multiple times with separators, numbering, and case options. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Text Repeat cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Text Repeat API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Text Repeat API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Text Repeat API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `text-repeat` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`text-repeat`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="text-repeat")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Upside Down Text Generator API # Upside Down Text Generator API text 1 credit / call v2026-04-22 Flip text upside down using Unicode character mappings. One POST adds Upside Down Text Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Upside Down Text Generator on miniwebtool.com →](https://miniwebtool.com/upside-down-text-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/upside-down-text-generator/run ``` ### Request body Field Type Req. `text` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "upside-down-text-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * Hello World! Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`upside-down-text-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/upside-down-text-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"Hello World!"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/upside-down-text-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'Hello World!'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/upside-down-text-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"Hello World!"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'Hello World!' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/upside-down-text-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'Hello World!' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "Hello World!", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/upside-down-text-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/upside-down-text-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"Hello World!\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call upside-down-text-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/upside-down-text-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Upside Down Text Generator API do? + Flip text upside down using Unicode character mappings. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Upside Down Text Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Upside Down Text Generator API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Upside Down Text Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Upside Down Text Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `upside-down-text-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`upside-down-text-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="upside-down-text-generator")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Word Frequency Analyzer API # Word Frequency Analyzer API text 1 credit / call v2026-04-22 Analyze word frequency, unique words, lexical diversity, and CSV output. One POST adds Word Frequency Analyzer to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Word Frequency Analyzer on miniwebtool.com →](https://miniwebtool.com/word-frequency-analyzer/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/word-frequency-analyzer/run ``` ### Request body Field Type Req. `text` `str` ✓ `top_n` `int` — `include_numbers` `bool` — `case_sensitive` `bool` — `remove_stop_words` `bool` — `lemmatize` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "word-frequency-analyzer", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * Cats chase cats and dogs chase balls. top_n (int) include_numbers (bool) false true case_sensitive (bool) false true remove_stop_words (bool) false true lemmatize (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`word-frequency-analyzer`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/word-frequency-analyzer/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"Cats chase cats and dogs chase balls.","top_n":5,"remove_stop_words":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/word-frequency-analyzer/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'Cats chase cats and dogs chase balls.', 'top_n': 5, 'remove_stop_words': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/word-frequency-analyzer/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"Cats chase cats and dogs chase balls.","top_n":5,"remove_stop_words":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'Cats chase cats and dogs chase balls.', 'top_n' => 5, 'remove_stop_words' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/word-frequency-analyzer/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'Cats chase cats and dogs chase balls.', 'top_n' => 5, 'remove_stop_words' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "Cats chase cats and dogs chase balls.", "top_n": 5, "remove_stop_words": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/word-frequency-analyzer/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/word-frequency-analyzer/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"Cats chase cats and dogs chase balls.\",\"top_n\":5,\"remove_stop_words\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call word-frequency-analyzer - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/word-frequency-analyzer/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Word Frequency Analyzer API do? + Analyze word frequency, unique words, lexical diversity, and CSV output. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Word Frequency Analyzer cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Word Frequency Analyzer API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Word Frequency Analyzer API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Word Frequency Analyzer API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `word-frequency-analyzer` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`word-frequency-analyzer`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="word-frequency-analyzer")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Remove Empty Lines API # Remove Empty Lines API text 1 credit / call v2026-04-22 Remove blank or whitespace-only lines from text and report line reduction statistics. One POST adds Remove Empty Lines to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Remove Empty Lines on miniwebtool.com →](https://miniwebtool.com/remove-empty-lines/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/remove-empty-lines/run ``` ### Request body Field Type Req. `text` `str` ✓ `mode` all | blank `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "remove-empty-lines", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * alpha beta mode (str) all blank all | blank Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`remove-empty-lines`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/remove-empty-lines/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"alpha\n\n \nbeta\n","mode":"all"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/remove-empty-lines/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'alpha\n\n \nbeta\n', 'mode': 'all'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/remove-empty-lines/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"alpha\n\n \nbeta\n","mode":"all"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'alpha beta ', 'mode' => 'all' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/remove-empty-lines/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'alpha beta ', 'mode' => 'all' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "alpha beta ", "mode": "all", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/remove-empty-lines/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/remove-empty-lines/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"alpha\\n\\n \\nbeta\\n\",\"mode\":\"all\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call remove-empty-lines - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/remove-empty-lines/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Remove Empty Lines API do? + Remove blank or whitespace-only lines from text and report line reduction statistics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Remove Empty Lines cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Remove Empty Lines API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Remove Empty Lines API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Remove Empty Lines API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `remove-empty-lines` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`remove-empty-lines`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="remove-empty-lines")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Remove Leading Trailing Spaces API # Remove Leading Trailing Spaces API text 1 credit / call v2026-04-22 Trim leading and trailing spaces or tabs from each line. One POST adds Remove Leading Trailing Spaces to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Remove Leading Trailing Spaces on miniwebtool.com →](https://miniwebtool.com/remove-leading-trailing-spaces/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/remove-leading-trailing-spaces/run ``` ### Request body Field Type Req. `text` `str` ✓ `remove_leading` `bool` — `remove_trailing` `bool` — `trim_mode` spaces_tabs | all_whitespace | spaces_only | tabs_only `str` — `preserve_blank_lines` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "remove-leading-trailing-spaces", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * alpha beta gamma remove_leading (bool) false true remove_trailing (bool) false true trim_mode (str) spaces_tabs all_whitespace spaces_only tabs_only spaces_tabs | all_whitespace | spaces_only | tabs_only preserve_blank_lines (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`remove-leading-trailing-spaces`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/remove-leading-trailing-spaces/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":" alpha \n\tbeta\t\n\n gamma ","remove_leading":true,"remove_trailing":true,"trim_mode":"spaces_tabs","preserve_blank_lines":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/remove-leading-trailing-spaces/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': ' alpha \n\tbeta\t\n\n gamma ', 'remove_leading': True, 'remove_trailing': True, 'trim_mode': 'spaces_tabs', 'preserve_blank_lines': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/remove-leading-trailing-spaces/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":" alpha \n\tbeta\t\n\n gamma ","remove_leading":true,"remove_trailing":true,"trim_mode":"spaces_tabs","preserve_blank_lines":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => ' alpha beta gamma ', 'remove_leading' => true, 'remove_trailing' => true, 'trim_mode' => 'spaces_tabs', 'preserve_blank_lines' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/remove-leading-trailing-spaces/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => ' alpha beta gamma ', 'remove_leading' => true, 'remove_trailing' => true, 'trim_mode' => 'spaces_tabs', 'preserve_blank_lines' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": " alpha beta gamma ", "remove_leading": true, "remove_trailing": true, "trim_mode": "spaces_tabs", "preserve_blank_lines": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/remove-leading-trailing-spaces/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/remove-leading-trailing-spaces/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\" alpha \\n\\tbeta\\t\\n\\n gamma \",\"remove_leading\":true,\"remove_trailing\":true,\"trim_mode\":\"spaces_tabs\",\"preserve_blank_lines\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call remove-leading-trailing-spaces - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/remove-leading-trailing-spaces/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Remove Leading Trailing Spaces API do? + Trim leading and trailing spaces or tabs from each line. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Remove Leading Trailing Spaces cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Remove Leading Trailing Spaces API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Remove Leading Trailing Spaces API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Remove Leading Trailing Spaces API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `remove-leading-trailing-spaces` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`remove-leading-trailing-spaces`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="remove-leading-trailing-spaces")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [text](/tools/#text) - / - Remove Spaces API # Remove Spaces API text 1 credit / call v2026-04-22 Strip whitespace: all, extra, leading, trailing, or per-line. One POST adds Remove Spaces to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Remove Spaces on miniwebtool.com →](https://miniwebtool.com/remove-spaces/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/remove-spaces/run ``` ### Request body Field Type Req. `text` `str` ✓ `mode` One of: all, extra, leading, trailing, lines. `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "remove-spaces", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * hello world mode (str) all extra leading trailing lines One of: all, extra, leading, trailing, lines. Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`remove-spaces`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/remove-spaces/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":" hello world ","mode":"extra"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/remove-spaces/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': ' hello world ', 'mode': 'extra'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/remove-spaces/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":" hello world ","mode":"extra"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => ' hello world ', 'mode' => 'extra' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/remove-spaces/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => ' hello world ', 'mode' => 'extra' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": " hello world ", "mode": "extra", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/remove-spaces/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/remove-spaces/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\" hello world \",\"mode\":\"extra\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call remove-spaces - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/remove-spaces/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Remove Spaces API do? + Strip whitespace: all, extra, leading, trailing, or per-line. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Remove Spaces cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Remove Spaces API require? + Required fields: text. Full schema at /v1/openapi.json. Is the Remove Spaces API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Remove Spaces API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `remove-spaces` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`remove-spaces`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="remove-spaces")' ``` see-also related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ ASCII Art Generator Generate deterministic ASCII banner art from short text. ](/tools/ascii-art-generator/) [ Morse Code Generator Convert text to International Morse code with character breakdown. ](/tools/morse-code-generator/) [ Pangram Checker Check whether text contains every letter A through Z. ](/tools/pangram-checker/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time](/tools/#time) - / - Halfway Date Calculator API # Halfway Date Calculator API time 1 credit / call v2026-04-22 Find the midpoint and quarter points between two dates. One POST adds Halfway Date Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Halfway Date Calculator on miniwebtool.com →](https://miniwebtool.com/halfway-date-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/halfway-date-calculator/run ``` ### Request body Field Type Req. `start_date` `str` — `end_date` `str` — `rounding` nearest | floor | ceil `str` — `precision_mode` day | hms `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "halfway-date-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) start_date (str) end_date (str) rounding (str) nearest floor ceil nearest | floor | ceil precision_mode (str) day hms day | hms Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`halfway-date-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/halfway-date-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/halfway-date-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/halfway-date-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/halfway-date-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/halfway-date-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/halfway-date-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call halfway-date-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/halfway-date-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Halfway Date Calculator API do? + Find the midpoint and quarter points between two dates. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Halfway Date Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Halfway Date Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Halfway Date Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Halfway Date Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `halfway-date-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`halfway-date-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="halfway-date-calculator")' ``` API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time-date](/tools/#time-date) - / - When Is Leap Year API # When Is Leap Year API time-date 1 credit / call v2026-04-22 Check leap-year status and nearby leap years using Gregorian rules. One POST adds When Is Leap Year to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the When Is Leap Year on miniwebtool.com →](https://miniwebtool.com/when-is-leap-year/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/when-is-leap-year/run ``` ### Request body Field Type Req. `year` `int` — `range_years` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "when-is-leap-year", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) year (int) range_years (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`when-is-leap-year`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/when-is-leap-year/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"year":2024,"range_years":10}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/when-is-leap-year/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'year': 2024, 'range_years': 10}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/when-is-leap-year/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"year":2024,"range_years":10}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'year' => 2024, 'range_years' => 10 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/when-is-leap-year/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'year' => 2024, 'range_years' => 10 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "year": 2024, "range_years": 10, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/when-is-leap-year/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/when-is-leap-year/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"year\":2024,\"range_years\":10}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call when-is-leap-year - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/when-is-leap-year/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the When Is Leap Year API do? + Check leap-year status and nearby leap years using Gregorian rules. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to When Is Leap Year cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the When Is Leap Year API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the When Is Leap Year API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the When Is Leap Year API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `when-is-leap-year` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`when-is-leap-year`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="when-is-leap-year")' ``` see-also related time-date tools [ Winter Solstice Day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. ](/tools/winter-solstice-day/) [ Time Duration Calculator Calculate elapsed time between two times or datetimes. ](/tools/time-duration-calculator/) [ Time to Decimal Converter Convert between hours/minutes/seconds and decimal hours. ](/tools/time-to-decimal-converter/) [ Unix Time Converter Convert between Unix timestamps and UTC ISO datetimes. ](/tools/unix-time-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time-date](/tools/#time-date) - / - Date Calculator API # Date Calculator API time-date 1 credit / call v2026-04-22 Add or subtract years, months, weeks, and days from a date. One POST adds Date Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Date Calculator on miniwebtool.com →](https://miniwebtool.com/date-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/date-calculator/run ``` ### Request body Field Type Req. `start_date` `str` ✓ `operation` add | subtract `str` — `years` `int` — `months` `int` — `weeks` `int` — `days` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "date-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) start_date (str) * 2026-01-31 operation (str) add subtract add | subtract years (int) months (int) weeks (int) days (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`date-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/date-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"start_date":"2026-01-31","operation":"add","years":0,"months":1,"weeks":0,"days":7}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/date-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'start_date': '2026-01-31', 'operation': 'add', 'years': 0, 'months': 1, 'weeks': 0, 'days': 7}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/date-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"start_date":"2026-01-31","operation":"add","years":0,"months":1,"weeks":0,"days":7}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'start_date' => '2026-01-31', 'operation' => 'add', 'years' => 0, 'months' => 1, 'weeks' => 0, 'days' => 7 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/date-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'start_date' => '2026-01-31', 'operation' => 'add', 'years' => 0, 'months' => 1, 'weeks' => 0, 'days' => 7 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "start_date": "2026-01-31", "operation": "add", "years": 0, "months": 1, "weeks": 0, "days": 7, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/date-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/date-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"start_date\":\"2026-01-31\",\"operation\":\"add\",\"years\":0,\"months\":1,\"weeks\":0,\"days\":7}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call date-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`start_date`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/date-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Date Calculator API do? + Add or subtract years, months, weeks, and days from a date. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Date Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Date Calculator API require? + Required fields: start_date. Full schema at /v1/openapi.json. Is the Date Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Date Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `date-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`date-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="date-calculator")' ``` see-also related time-date tools [ When Is Leap Year Check leap-year status and nearby leap years using Gregorian rules. ](/tools/when-is-leap-year/) [ Winter Solstice Day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. ](/tools/winter-solstice-day/) [ Time Duration Calculator Calculate elapsed time between two times or datetimes. ](/tools/time-duration-calculator/) [ Time to Decimal Converter Convert between hours/minutes/seconds and decimal hours. ](/tools/time-to-decimal-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time-date](/tools/#time-date) - / - Date Difference Calculator API # Date Difference Calculator API time-date 1 credit / call v2026-04-22 Calculate days, weeks, approximate months/years, and business days between two dates. One POST adds Date Difference Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Date Difference Calculator on miniwebtool.com →](https://miniwebtool.com/date-difference-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/date-difference-calculator/run ``` ### Request body Field Type Req. `start_date` `str` ✓ `end_date` `str` ✓ `include_end_date` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "date-difference-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) start_date (str) * 2026-01-01 end_date (str) * 2026-01-31 include_end_date (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`date-difference-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/date-difference-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"start_date":"2026-01-01","end_date":"2026-01-31","include_end_date":false}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/date-difference-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'start_date': '2026-01-01', 'end_date': '2026-01-31', 'include_end_date': False}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/date-difference-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"start_date":"2026-01-01","end_date":"2026-01-31","include_end_date":false}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'start_date' => '2026-01-01', 'end_date' => '2026-01-31', 'include_end_date' => false ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/date-difference-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'start_date' => '2026-01-01', 'end_date' => '2026-01-31', 'include_end_date' => false }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "start_date": "2026-01-01", "end_date": "2026-01-31", "include_end_date": false, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/date-difference-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/date-difference-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-31\",\"include_end_date\":false}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call date-difference-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`start_date`,`end_date`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/date-difference-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Date Difference Calculator API do? + Calculate days, weeks, approximate months/years, and business days between two dates. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Date Difference Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Date Difference Calculator API require? + Required fields: start_date, end_date. Full schema at /v1/openapi.json. Is the Date Difference Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Date Difference Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `date-difference-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`date-difference-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="date-difference-calculator")' ``` see-also related time-date tools [ When Is Leap Year Check leap-year status and nearby leap years using Gregorian rules. ](/tools/when-is-leap-year/) [ Winter Solstice Day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. ](/tools/winter-solstice-day/) [ Time Duration Calculator Calculate elapsed time between two times or datetimes. ](/tools/time-duration-calculator/) [ Time to Decimal Converter Convert between hours/minutes/seconds and decimal hours. ](/tools/time-to-decimal-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time-date](/tools/#time-date) - / - Time Between Two Dates API # Time Between Two Dates API time-date 1 credit / call v2026-04-22 Calculate exact elapsed time between two ISO datetimes. One POST adds Time Between Two Dates to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Time Between Two Dates on miniwebtool.com →](https://miniwebtool.com/time-between-two-dates/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/time-between-two-dates/run ``` ### Request body Field Type Req. `start_datetime` `str` ✓ `end_datetime` `str` ✓ ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "time-between-two-dates", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) start_datetime (str) * 2026-01-01T09:00:00Z end_datetime (str) * 2026-01-03T10:30:15Z Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`time-between-two-dates`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/time-between-two-dates/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"start_datetime":"2026-01-01T09:00:00Z","end_datetime":"2026-01-03T10:30:15Z"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/time-between-two-dates/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'start_datetime': '2026-01-01T09:00:00Z', 'end_datetime': '2026-01-03T10:30:15Z'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/time-between-two-dates/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"start_datetime":"2026-01-01T09:00:00Z","end_datetime":"2026-01-03T10:30:15Z"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'start_datetime' => '2026-01-01T09:00:00Z', 'end_datetime' => '2026-01-03T10:30:15Z' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/time-between-two-dates/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'start_datetime' => '2026-01-01T09:00:00Z', 'end_datetime' => '2026-01-03T10:30:15Z' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "start_datetime": "2026-01-01T09:00:00Z", "end_datetime": "2026-01-03T10:30:15Z", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/time-between-two-dates/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/time-between-two-dates/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"start_datetime\":\"2026-01-01T09:00:00Z\",\"end_datetime\":\"2026-01-03T10:30:15Z\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call time-between-two-dates - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`start_datetime`,`end_datetime`. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/time-between-two-dates/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Time Between Two Dates API do? + Calculate exact elapsed time between two ISO datetimes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Time Between Two Dates cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Time Between Two Dates API require? + Required fields: start_datetime, end_datetime. Full schema at /v1/openapi.json. Is the Time Between Two Dates API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Time Between Two Dates API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `time-between-two-dates` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`time-between-two-dates`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="time-between-two-dates")' ``` see-also related time-date tools [ When Is Leap Year Check leap-year status and nearby leap years using Gregorian rules. ](/tools/when-is-leap-year/) [ Winter Solstice Day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. ](/tools/winter-solstice-day/) [ Time Duration Calculator Calculate elapsed time between two times or datetimes. ](/tools/time-duration-calculator/) [ Time to Decimal Converter Convert between hours/minutes/seconds and decimal hours. ](/tools/time-to-decimal-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time-date](/tools/#time-date) - / - Winter Solstice Day API # Winter Solstice Day API time-date 1 credit / call v2026-04-22 Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. One POST adds Winter Solstice Day to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Winter Solstice Day on miniwebtool.com →](https://miniwebtool.com/winter-solstice-day/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/winter-solstice-day/run ``` ### Request body Field Type Req. `year` `int` — `hemisphere` northern | southern `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "winter-solstice-day", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) year (int) hemisphere (str) northern southern northern | southern Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`winter-solstice-day`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/winter-solstice-day/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"year":2026,"hemisphere":"northern"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/winter-solstice-day/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'year': 2026, 'hemisphere': 'northern'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/winter-solstice-day/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"year":2026,"hemisphere":"northern"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'year' => 2026, 'hemisphere' => 'northern' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/winter-solstice-day/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'year' => 2026, 'hemisphere' => 'northern' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "year": 2026, "hemisphere": "northern", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/winter-solstice-day/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/winter-solstice-day/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"year\":2026,\"hemisphere\":\"northern\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call winter-solstice-day - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/winter-solstice-day/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Winter Solstice Day API do? + Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Winter Solstice Day cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Winter Solstice Day API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Winter Solstice Day API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Winter Solstice Day API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `winter-solstice-day` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`winter-solstice-day`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="winter-solstice-day")' ``` see-also related time-date tools [ When Is Leap Year Check leap-year status and nearby leap years using Gregorian rules. ](/tools/when-is-leap-year/) [ Time Duration Calculator Calculate elapsed time between two times or datetimes. ](/tools/time-duration-calculator/) [ Time to Decimal Converter Convert between hours/minutes/seconds and decimal hours. ](/tools/time-to-decimal-converter/) [ Unix Time Converter Convert between Unix timestamps and UTC ISO datetimes. ](/tools/unix-time-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time-date](/tools/#time-date) - / - Time Duration Calculator API # Time Duration Calculator API time-date 1 credit / call v2026-04-22 Calculate elapsed time between two times or datetimes. One POST adds Time Duration Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Time Duration Calculator on miniwebtool.com →](https://miniwebtool.com/time-duration-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/time-duration-calculator/run ``` ### Request body Field Type Req. `start_time` `str` — `end_time` `str` — `calc_mode` same_day | different_day `str` — `start_date` `str` — `end_date` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "time-duration-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) start_time (str) 09:15:00 end_time (str) 17:45:30 calc_mode (str) same_day different_day same_day | different_day start_date (str) 2026-01-01 end_date (str) 2026-01-01 Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`time-duration-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/time-duration-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"start_time":"09:15:00","end_time":"17:45:30","calc_mode":"same_day","start_date":"2026-01-01","end_date":"2026-01-01"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/time-duration-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'start_time': '09:15:00', 'end_time': '17:45:30', 'calc_mode': 'same_day', 'start_date': '2026-01-01', 'end_date': '2026-01-01'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/time-duration-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"start_time":"09:15:00","end_time":"17:45:30","calc_mode":"same_day","start_date":"2026-01-01","end_date":"2026-01-01"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'start_time' => '09:15:00', 'end_time' => '17:45:30', 'calc_mode' => 'same_day', 'start_date' => '2026-01-01', 'end_date' => '2026-01-01' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/time-duration-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'start_time' => '09:15:00', 'end_time' => '17:45:30', 'calc_mode' => 'same_day', 'start_date' => '2026-01-01', 'end_date' => '2026-01-01' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "start_time": "09:15:00", "end_time": "17:45:30", "calc_mode": "same_day", "start_date": "2026-01-01", "end_date": "2026-01-01", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/time-duration-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/time-duration-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"start_time\":\"09:15:00\",\"end_time\":\"17:45:30\",\"calc_mode\":\"same_day\",\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call time-duration-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/time-duration-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Time Duration Calculator API do? + Calculate elapsed time between two times or datetimes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Time Duration Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Time Duration Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Time Duration Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Time Duration Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `time-duration-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`time-duration-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="time-duration-calculator")' ``` see-also related time-date tools [ When Is Leap Year Check leap-year status and nearby leap years using Gregorian rules. ](/tools/when-is-leap-year/) [ Winter Solstice Day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. ](/tools/winter-solstice-day/) [ Time to Decimal Converter Convert between hours/minutes/seconds and decimal hours. ](/tools/time-to-decimal-converter/) [ Unix Time Converter Convert between Unix timestamps and UTC ISO datetimes. ](/tools/unix-time-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time-date](/tools/#time-date) - / - Time to Decimal Converter API # Time to Decimal Converter API time-date 1 credit / call v2026-04-22 Convert between hours/minutes/seconds and decimal hours. One POST adds Time to Decimal Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Time to Decimal Converter on miniwebtool.com →](https://miniwebtool.com/time-to-decimal-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/time-to-decimal-converter/run ``` ### Request body Field Type Req. `calc_mode` time_to_decimal | decimal_to_time `str` — `hours` `int` — `minutes` `int` — `seconds` `int` — `decimal_hours` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "time-to-decimal-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calc_mode (str) time_to_decimal decimal_to_time time_to_decimal | decimal_to_time hours (int) minutes (int) seconds (int) decimal_hours (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`time-to-decimal-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/time-to-decimal-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"time_to_decimal","hours":2,"minutes":30,"seconds":0,"decimal_hours":2.5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/time-to-decimal-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'time_to_decimal', 'hours': 2, 'minutes': 30, 'seconds': 0, 'decimal_hours': 2.5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/time-to-decimal-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"time_to_decimal","hours":2,"minutes":30,"seconds":0,"decimal_hours":2.5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'time_to_decimal', 'hours' => 2, 'minutes' => 30, 'seconds' => 0, 'decimal_hours' => 2.5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/time-to-decimal-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'time_to_decimal', 'hours' => 2, 'minutes' => 30, 'seconds' => 0, 'decimal_hours' => 2.5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "time_to_decimal", "hours": 2, "minutes": 30, "seconds": 0, "decimal_hours": 2.5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/time-to-decimal-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/time-to-decimal-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"time_to_decimal\",\"hours\":2,\"minutes\":30,\"seconds\":0,\"decimal_hours\":2.5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call time-to-decimal-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/time-to-decimal-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Time to Decimal Converter API do? + Convert between hours/minutes/seconds and decimal hours. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Time to Decimal Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Time to Decimal Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Time to Decimal Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Time to Decimal Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `time-to-decimal-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`time-to-decimal-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="time-to-decimal-converter")' ``` see-also related time-date tools [ When Is Leap Year Check leap-year status and nearby leap years using Gregorian rules. ](/tools/when-is-leap-year/) [ Winter Solstice Day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. ](/tools/winter-solstice-day/) [ Time Duration Calculator Calculate elapsed time between two times or datetimes. ](/tools/time-duration-calculator/) [ Unix Time Converter Convert between Unix timestamps and UTC ISO datetimes. ](/tools/unix-time-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time-date](/tools/#time-date) - / - Work Hours Calculator API # Work Hours Calculator API time-date 1 credit / call v2026-04-22 Calculate weekly work hours, overtime, and optional pay from day entries. One POST adds Work Hours Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Work Hours Calculator on miniwebtool.com →](https://miniwebtool.com/work-hours-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/work-hours-calculator/run ``` ### Request body Field Type Req. `days` `list` ✓ `standard_hours` `float` — `hourly_rate` `float | None` — `overtime_multiplier` `float` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "work-hours-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) days (list) * standard_hours (float) hourly_rate (float | None) overtime_multiplier (float) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`work-hours-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/work-hours-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"days":[{"day":"Monday","start":"09:00","end":"17:30","break_minutes":30,"enabled":true},{"day":"Tuesday","start":"09:00","end":"17:00","break_minutes":30,"enabled":true}],"standard_hours":40,"hourly_rate":25,"overtime_multiplier":1.5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/work-hours-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'days': [{'day': 'Monday', 'start': '09:00', 'end': '17:30', 'break_minutes': 30, 'enabled': True}, {'day': 'Tuesday', 'start': '09:00', 'end': '17:00', 'break_minutes': 30, 'enabled': True}], 'standard_hours': 40, 'hourly_rate': 25, 'overtime_multiplier': 1.5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/work-hours-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"days":[{"day":"Monday","start":"09:00","end":"17:30","break_minutes":30,"enabled":true},{"day":"Tuesday","start":"09:00","end":"17:00","break_minutes":30,"enabled":true}],"standard_hours":40,"hourly_rate":25,"overtime_multiplier":1.5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'days' => '[{'day': 'Monday', 'start': '09:00', 'end': '17:30', 'break_minutes': 30, 'enabled': True}, {'day': 'Tuesday', 'start': '09:00', 'end': '17:00', 'break_minutes': 30, 'enabled': True}]', 'standard_hours' => 40, 'hourly_rate' => 25, 'overtime_multiplier' => 1.5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/work-hours-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'days' => '[{'day': 'Monday', 'start': '09:00', 'end': '17:30', 'break_minutes': 30, 'enabled': True}, {'day': 'Tuesday', 'start': '09:00', 'end': '17:00', 'break_minutes': 30, 'enabled': True}]', 'standard_hours' => 40, 'hourly_rate' => 25, 'overtime_multiplier' => 1.5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "days": "[{'day': 'Monday', 'start': '09:00', 'end': '17:30', 'break_minutes': 30, 'enabled': True}, {'day': 'Tuesday', 'start': '09:00', 'end': '17:00', 'break_minutes': 30, 'enabled': True}]", "standard_hours": 40, "hourly_rate": 25, "overtime_multiplier": 1.5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/work-hours-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/work-hours-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"days\":[{\"day\":\"Monday\",\"start\":\"09:00\",\"end\":\"17:30\",\"break_minutes\":30,\"enabled\":true},{\"day\":\"Tuesday\",\"start\":\"09:00\",\"end\":\"17:00\",\"break_minutes\":30,\"enabled\":true}],\"standard_hours\":40,\"hourly_rate\":25,\"overtime_multiplier\":1.5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call work-hours-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`days`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/work-hours-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Work Hours Calculator API do? + Calculate weekly work hours, overtime, and optional pay from day entries. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Work Hours Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Work Hours Calculator API require? + Required fields: days. Full schema at /v1/openapi.json. Is the Work Hours Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Work Hours Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `work-hours-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`work-hours-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="work-hours-calculator")' ``` see-also related time-date tools [ When Is Leap Year Check leap-year status and nearby leap years using Gregorian rules. ](/tools/when-is-leap-year/) [ Winter Solstice Day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. ](/tools/winter-solstice-day/) [ Time Duration Calculator Calculate elapsed time between two times or datetimes. ](/tools/time-duration-calculator/) [ Time to Decimal Converter Convert between hours/minutes/seconds and decimal hours. ](/tools/time-to-decimal-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [time-date](/tools/#time-date) - / - Unix Time Converter API # Unix Time Converter API time-date 1 credit / call v2026-04-22 Convert between Unix timestamps and UTC ISO datetimes. One POST adds Unix Time Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Unix Time Converter on miniwebtool.com →](https://miniwebtool.com/unix-time-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/unix-time-converter/run ``` ### Request body Field Type Req. `mode` unix_to_datetime | datetime_to_unix `str` — `unix_timestamp` `int` — `datetime_value` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "unix-time-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) mode (str) unix_to_datetime datetime_to_unix unix_to_datetime | datetime_to_unix unix_timestamp (int) datetime_value (str) 2024-01-01T00:00:00Z Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`unix-time-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/unix-time-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"mode":"unix_to_datetime","unix_timestamp":1704067200,"datetime_value":"2024-01-01T00:00:00Z"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/unix-time-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'mode': 'unix_to_datetime', 'unix_timestamp': 1704067200, 'datetime_value': '2024-01-01T00:00:00Z'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/unix-time-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"mode":"unix_to_datetime","unix_timestamp":1704067200,"datetime_value":"2024-01-01T00:00:00Z"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'mode' => 'unix_to_datetime', 'unix_timestamp' => 1704067200, 'datetime_value' => '2024-01-01T00:00:00Z' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/unix-time-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'mode' => 'unix_to_datetime', 'unix_timestamp' => 1704067200, 'datetime_value' => '2024-01-01T00:00:00Z' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "mode": "unix_to_datetime", "unix_timestamp": 1704067200, "datetime_value": "2024-01-01T00:00:00Z", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/unix-time-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/unix-time-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"mode\":\"unix_to_datetime\",\"unix_timestamp\":1704067200,\"datetime_value\":\"2024-01-01T00:00:00Z\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call unix-time-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/unix-time-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Unix Time Converter API do? + Convert between Unix timestamps and UTC ISO datetimes. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Unix Time Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Unix Time Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the Unix Time Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Unix Time Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `unix-time-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`unix-time-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="unix-time-converter")' ``` see-also related time-date tools [ When Is Leap Year Check leap-year status and nearby leap years using Gregorian rules. ](/tools/when-is-leap-year/) [ Winter Solstice Day Return winter solstice date/time for Northern or Southern Hemisphere, 2024-2030. ](/tools/winter-solstice-day/) [ Time Duration Calculator Calculate elapsed time between two times or datetimes. ](/tools/time-duration-calculator/) [ Time to Decimal Converter Convert between hours/minutes/seconds and decimal hours. ](/tools/time-to-decimal-converter/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [webmaster](/tools/#webmaster) - / - CPC Calculator API # CPC Calculator API webmaster 1 credit / call v2026-04-22 Calculate CPC, CPM, or CTR from two known campaign metrics. One POST adds CPC Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the CPC Calculator on miniwebtool.com →](https://miniwebtool.com/cpc-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cpc-calculator/run ``` ### Request body Field Type Req. `calc_mode` cpc | cpm | ctr `str` — `cpm` `float | None` — `ctr` `float | None` — `cpc` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cpc-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) calc_mode (str) cpc cpm ctr cpc | cpm | ctr cpm (float | None) ctr (float | None) cpc (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cpc-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cpc-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"calc_mode":"cpc","cpm":25,"ctr":2.5}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cpc-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'calc_mode': 'cpc', 'cpm': 25, 'ctr': 2.5}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cpc-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"calc_mode":"cpc","cpm":25,"ctr":2.5}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'calc_mode' => 'cpc', 'cpm' => 25, 'ctr' => 2.5 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cpc-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'calc_mode' => 'cpc', 'cpm' => 25, 'ctr' => 2.5 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "calc_mode": "cpc", "cpm": 25, "ctr": 2.5, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cpc-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cpc-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"calc_mode\":\"cpc\",\"cpm\":25,\"ctr\":2.5}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cpc-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cpc-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the CPC Calculator API do? + Calculate CPC, CPM, or CTR from two known campaign metrics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to CPC Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the CPC Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the CPC Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the CPC Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cpc-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cpc-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cpc-calculator")' ``` see-also related webmaster tools [ CPM Calculator Calculate campaign cost, CPM, or impressions from two known advertising metrics. ](/tools/cpm-calculator/) [ IP Address to Binary Converter Convert IPv4 or IPv6 addresses to padded binary forms. ](/tools/ip-address-to-binary-converter/) [ JSON String Escape/Unescape Escape or unescape JSON string content deterministically. ](/tools/json-string-escape-unescape/) [ Value of A Visitor Calculator Calculate website visitor value, conversion rate, annualized revenue, and traff… ](/tools/value-of-a-visitor-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [webmaster](/tools/#webmaster) - / - CPM Calculator API # CPM Calculator API webmaster 1 credit / call v2026-04-22 Calculate campaign cost, CPM, or impressions from two known advertising metrics. One POST adds CPM Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the CPM Calculator on miniwebtool.com →](https://miniwebtool.com/cpm-calculator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/cpm-calculator/run ``` ### Request body Field Type Req. `solve_for` cost | cpm | impressions `str` — `campaign_cost` `float | None` — `cpm` `float | None` — `impressions` `float | None` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "cpm-calculator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) solve_for (str) cost cpm impressions cost | cpm | impressions campaign_cost (float | None) cpm (float | None) impressions (float | None) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`cpm-calculator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/cpm-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"solve_for":"cost","cpm":5,"impressions":100000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/cpm-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'solve_for': 'cost', 'cpm': 5, 'impressions': 100000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/cpm-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"solve_for":"cost","cpm":5,"impressions":100000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'solve_for' => 'cost', 'cpm' => 5, 'impressions' => 100000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/cpm-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'solve_for' => 'cost', 'cpm' => 5, 'impressions' => 100000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "solve_for": "cost", "cpm": 5, "impressions": 100000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/cpm-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/cpm-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"solve_for\":\"cost\",\"cpm\":5,\"impressions\":100000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call cpm-calculator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/cpm-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the CPM Calculator API do? + Calculate campaign cost, CPM, or impressions from two known advertising metrics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to CPM Calculator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the CPM Calculator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the CPM Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the CPM Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `cpm-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`cpm-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="cpm-calculator")' ``` see-also related webmaster tools [ CPC Calculator Calculate CPC, CPM, or CTR from two known campaign metrics. ](/tools/cpc-calculator/) [ IP Address to Binary Converter Convert IPv4 or IPv6 addresses to padded binary forms. ](/tools/ip-address-to-binary-converter/) [ JSON String Escape/Unescape Escape or unescape JSON string content deterministically. ](/tools/json-string-escape-unescape/) [ Value of A Visitor Calculator Calculate website visitor value, conversion rate, annualized revenue, and traff… ](/tools/value-of-a-visitor-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [webmaster](/tools/#webmaster) - / - Value of A Visitor Calculator API # Value of A Visitor Calculator API webmaster 2 credits / call v2026-04-22 Calculate website visitor value, conversion rate, annualized revenue, and traffic ROI. One POST adds Value of A Visitor Calculator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the Value of A Visitor Calculator on miniwebtool.com →](https://miniwebtool.com/value-of-a-visitor-calculator/) [Start Starter →](/billing/checkout/?plan=starter) Requires Starter+ · $29/mo Starts on Starter Free keys can view docs and examples, but calls to this endpoint require Starter or higher. [Start Starter →](/billing/checkout/?plan=starter) ### Endpoint POST · 2cr ```text POST https://api.miniwebtool.com/v1/tools/value-of-a-visitor-calculator/run ``` ### Request body Field Type Req. `website_revenue` `float` ✓ `visitors` `int` ✓ `time_period` day | week | month | year `str` — `conversions` `int | None` — `ad_spend` `float | None` — `precision` `int` — ### Cost & access - 2 credits per successful call — failed calls refund. - Starts on: Starter or higher. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "value-of-a-visitor-calculator", "tool_version": "2026-04-22", "credits_used": 2, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=starter) website_revenue (float) * visitors (int) * time_period (str) day week month year day | week | month | year conversions (int | None) ad_spend (float | None) precision (int) Send request → Response copy body This endpoint starts on Starter Your key is valid, but its current plan cannot call`value-of-a-visitor-calculator`. Upgrade to Starter or higher to run this tool. [Start Starter →](/billing/checkout/?plan=starter) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/value-of-a-visitor-calculator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"website_revenue":10000,"visitors":50000,"time_period":"month","conversions":500,"ad_spend":2000}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/value-of-a-visitor-calculator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'website_revenue': 10000, 'visitors': 50000, 'time_period': 'month', 'conversions': 500, 'ad_spend': 2000}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/value-of-a-visitor-calculator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"website_revenue":10000,"visitors":50000,"time_period":"month","conversions":500,"ad_spend":2000}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'website_revenue' => 10000, 'visitors' => 50000, 'time_period' => 'month', 'conversions' => 500, 'ad_spend' => 2000 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/value-of-a-visitor-calculator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'website_revenue' => 10000, 'visitors' => 50000, 'time_period' => 'month', 'conversions' => 500, 'ad_spend' => 2000 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "website_revenue": 10000, "visitors": 50000, "time_period": "month", "conversions": 500, "ad_spend": 2000, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/value-of-a-visitor-calculator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/value-of-a-visitor-calculator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"website_revenue\":10000,\"visitors\":50000,\"time_period\":\"month\",\"conversions\":500,\"ad_spend\":2000}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call value-of-a-visitor-calculator - Get an API key [Get an API key](/billing/checkout/?plan=starter). Choose the Starter plan or higher to receive a bearer token with access to this endpoint. - Assemble the JSON body Required fields:`website_revenue`,`visitors`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/value-of-a-visitor-calculator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the Value of A Visitor Calculator API do? + Calculate website visitor value, conversion rate, annualized revenue, and traffic ROI. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to Value of A Visitor Calculator cost? + 2 credits per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the Value of A Visitor Calculator API require? + Required fields: website_revenue, visitors. Full schema at /v1/openapi.json. Is the Value of A Visitor Calculator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the Value of A Visitor Calculator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `value-of-a-visitor-calculator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`value-of-a-visitor-calculator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="value-of-a-visitor-calculator")' ``` see-also related webmaster tools [ CPC Calculator Calculate CPC, CPM, or CTR from two known campaign metrics. ](/tools/cpc-calculator/) [ CPM Calculator Calculate campaign cost, CPM, or impressions from two known advertising metrics. ](/tools/cpm-calculator/) [ IP Address to Binary Converter Convert IPv4 or IPv6 addresses to padded binary forms. ](/tools/ip-address-to-binary-converter/) [ JSON String Escape/Unescape Escape or unescape JSON string content deterministically. ](/tools/json-string-escape-unescape/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [webmaster](/tools/#webmaster) - / - CSS Box Shadow Generator API # CSS Box Shadow Generator API webmaster 1 credit / call v2026-04-22 Generate a CSS box-shadow declaration from numeric shadow controls. One POST adds CSS Box Shadow Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the CSS Box Shadow Generator on miniwebtool.com →](https://miniwebtool.com/css-box-shadow-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/css-box-shadow-generator/run ``` ### Request body Field Type Req. `offset_x` `float` — `offset_y` `float` — `blur_radius` `float` — `spread_radius` `float` — `color` `str` — `opacity` `float` — `inset` `bool` — `precision` `int` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "css-box-shadow-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) offset_x (float) offset_y (float) blur_radius (float) spread_radius (float) color (str) #000000 opacity (float) inset (bool) false true precision (int) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`css-box-shadow-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/css-box-shadow-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"offset_x":0,"offset_y":4,"blur_radius":12,"spread_radius":0,"color":"#000000","opacity":0.25,"inset":false,"precision":2}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/css-box-shadow-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'offset_x': 0, 'offset_y': 4, 'blur_radius': 12, 'spread_radius': 0, 'color': '#000000', 'opacity': 0.25, 'inset': False, 'precision': 2}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/css-box-shadow-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"offset_x":0,"offset_y":4,"blur_radius":12,"spread_radius":0,"color":"#000000","opacity":0.25,"inset":false,"precision":2}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'offset_x' => 0, 'offset_y' => 4, 'blur_radius' => 12, 'spread_radius' => 0, 'color' => '#000000', 'opacity' => 0.25, 'inset' => false, 'precision' => 2 ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/css-box-shadow-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'offset_x' => 0, 'offset_y' => 4, 'blur_radius' => 12, 'spread_radius' => 0, 'color' => '#000000', 'opacity' => 0.25, 'inset' => false, 'precision' => 2 }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "offset_x": 0, "offset_y": 4, "blur_radius": 12, "spread_radius": 0, "color": "#000000", "opacity": 0.25, "inset": false, "precision": 2, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/css-box-shadow-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/css-box-shadow-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"offset_x\":0,\"offset_y\":4,\"blur_radius\":12,\"spread_radius\":0,\"color\":\"#000000\",\"opacity\":0.25,\"inset\":false,\"precision\":2}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call css-box-shadow-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/css-box-shadow-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the CSS Box Shadow Generator API do? + Generate a CSS box-shadow declaration from numeric shadow controls. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to CSS Box Shadow Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the CSS Box Shadow Generator API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the CSS Box Shadow Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the CSS Box Shadow Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `css-box-shadow-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`css-box-shadow-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="css-box-shadow-generator")' ``` see-also related webmaster tools [ CPC Calculator Calculate CPC, CPM, or CTR from two known campaign metrics. ](/tools/cpc-calculator/) [ CPM Calculator Calculate campaign cost, CPM, or impressions from two known advertising metrics. ](/tools/cpm-calculator/) [ IP Address to Binary Converter Convert IPv4 or IPv6 addresses to padded binary forms. ](/tools/ip-address-to-binary-converter/) [ JSON String Escape/Unescape Escape or unescape JSON string content deterministically. ](/tools/json-string-escape-unescape/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [webmaster](/tools/#webmaster) - / - CSS Compressor API # CSS Compressor API webmaster 1 credit / call v2026-04-22 Minify CSS and return compression statistics. One POST adds CSS Compressor to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the CSS Compressor on miniwebtool.com →](https://miniwebtool.com/css-compressor/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/css-compressor/run ``` ### Request body Field Type Req. `text` `str` — `compression_mode` standard | aggressive | preserve_lines `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "css-compressor", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) body { margin: 0; padding: 0; } compression_mode (str) standard aggressive preserve_lines standard | aggressive | preserve_lines Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`css-compressor`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/css-compressor/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"body { margin: 0; padding: 0; }","compression_mode":"standard"}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/css-compressor/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'body { margin: 0; padding: 0; }', 'compression_mode': 'standard'}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/css-compressor/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"body { margin: 0; padding: 0; }","compression_mode":"standard"}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'body { margin: 0; padding: 0; }', 'compression_mode' => 'standard' ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/css-compressor/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'body { margin: 0; padding: 0; }', 'compression_mode' => 'standard' }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "body { margin: 0; padding: 0; }", "compression_mode": "standard", }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/css-compressor/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/css-compressor/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"body { margin: 0; padding: 0; }\",\"compression_mode\":\"standard\"}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call css-compressor - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/css-compressor/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the CSS Compressor API do? + Minify CSS and return compression statistics. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to CSS Compressor cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the CSS Compressor API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the CSS Compressor API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the CSS Compressor API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `css-compressor` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`css-compressor`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="css-compressor")' ``` see-also related webmaster tools [ CPC Calculator Calculate CPC, CPM, or CTR from two known campaign metrics. ](/tools/cpc-calculator/) [ CPM Calculator Calculate campaign cost, CPM, or impressions from two known advertising metrics. ](/tools/cpm-calculator/) [ IP Address to Binary Converter Convert IPv4 or IPv6 addresses to padded binary forms. ](/tools/ip-address-to-binary-converter/) [ JSON String Escape/Unescape Escape or unescape JSON string content deterministically. ](/tools/json-string-escape-unescape/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [webmaster](/tools/#webmaster) - / - JSON String Escape/Unescape API # JSON String Escape/Unescape API webmaster 1 credit / call v2026-04-22 Escape or unescape JSON string content deterministically. One POST adds JSON String Escape/Unescape to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the JSON String Escape/Unescape on miniwebtool.com →](https://miniwebtool.com/json-string-escape-unescape/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/json-string-escape-unescape/run ``` ### Request body Field Type Req. `input_text` `str` — `mode` escape | unescape `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "json-string-escape-unescape", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) input_text (str) mode (str) escape unescape escape | unescape Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`json-string-escape-unescape`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/json-string-escape-unescape/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/json-string-escape-unescape/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/json-string-escape-unescape/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/json-string-escape-unescape/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/json-string-escape-unescape/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/json-string-escape-unescape/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call json-string-escape-unescape - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/json-string-escape-unescape/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the JSON String Escape/Unescape API do? + Escape or unescape JSON string content deterministically. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to JSON String Escape/Unescape cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the JSON String Escape/Unescape API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the JSON String Escape/Unescape API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the JSON String Escape/Unescape API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `json-string-escape-unescape` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`json-string-escape-unescape`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="json-string-escape-unescape")' ``` see-also related webmaster tools [ CPC Calculator Calculate CPC, CPM, or CTR from two known campaign metrics. ](/tools/cpc-calculator/) [ CPM Calculator Calculate campaign cost, CPM, or impressions from two known advertising metrics. ](/tools/cpm-calculator/) [ IP Address to Binary Converter Convert IPv4 or IPv6 addresses to padded binary forms. ](/tools/ip-address-to-binary-converter/) [ Value of A Visitor Calculator Calculate website visitor value, conversion rate, annualized revenue, and traff… ](/tools/value-of-a-visitor-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [webmaster](/tools/#webmaster) - / - IP Address to Binary Converter API # IP Address to Binary Converter API webmaster 1 credit / call v2026-04-22 Convert IPv4 or IPv6 addresses to padded binary forms. One POST adds IP Address to Binary Converter to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the IP Address to Binary Converter on miniwebtool.com →](https://miniwebtool.com/ip-address-to-binary-converter/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/ip-address-to-binary-converter/run ``` ### Request body Field Type Req. `ip` `str` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`hash_only` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "ip-address-to-binary-converter", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) ip (str) Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`ip-address-to-binary-converter`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/ip-address-to-binary-converter/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/ip-address-to-binary-converter/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/ip-address-to-binary-converter/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/ip-address-to-binary-converter/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ , }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/ip-address-to-binary-converter/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/ip-address-to-binary-converter/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call ip-address-to-binary-converter - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/ip-address-to-binary-converter/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the IP Address to Binary Converter API do? + Convert IPv4 or IPv6 addresses to padded binary forms. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to IP Address to Binary Converter cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the IP Address to Binary Converter API require? + Required fields: (none). Full schema at /v1/openapi.json. Is the IP Address to Binary Converter API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the IP Address to Binary Converter API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `ip-address-to-binary-converter` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`ip-address-to-binary-converter`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="ip-address-to-binary-converter")' ``` see-also related webmaster tools [ CPC Calculator Calculate CPC, CPM, or CTR from two known campaign metrics. ](/tools/cpc-calculator/) [ CPM Calculator Calculate campaign cost, CPM, or impressions from two known advertising metrics. ](/tools/cpm-calculator/) [ JSON String Escape/Unescape Escape or unescape JSON string content deterministically. ](/tools/json-string-escape-unescape/) [ Value of A Visitor Calculator Calculate website visitor value, conversion rate, annualized revenue, and traff… ](/tools/value-of-a-visitor-calculator/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool > For the complete documentation index, see [llms.txt](/llms.txt). [miniwebtool /api](/) [tools](/tools/) [docs](/docs/) [reference](/v1/docs) [pricing](/#pricing) [log in](/dashboard/login/) [get free key →](/billing/checkout/?plan=free) - [~](/) - / - [tools](/tools/) - / - [webmaster](/tools/#webmaster) - / - URL Slug Generator API # URL Slug Generator API webmaster 1 credit / call v2026-04-22 Generate an SEO-friendly URL slug from a title or phrase. One POST adds URL Slug Generator to your app, site, workflow, or agent — formula, validation, edge cases, and docs already handled. prefer a UI? [Open the URL Slug Generator on miniwebtool.com →](https://miniwebtool.com/url-slug-generator/) [Start free — get a key →](/billing/checkout/?plan=free) 1,000 credits · no card · 30 seconds ### Endpoint POST · 1cr ```text POST https://api.miniwebtool.com/v1/tools/url-slug-generator/run ``` ### Request body Field Type Req. `text` `str` ✓ `separator` - | _ `str` — `lowercase` `bool` — `remove_special_chars` `bool` — ### Cost & access - 1 credit per successful call — failed calls refund. - Starts on: Free. - Max payload:`65536`bytes. - Privacy mode:`no_body_logs` - Available on: free, starter, pro, business, scale ### Response envelope ```text { "request_id": "01K...", "tool": "url-slug-generator", "tool_version": "2026-04-22", "credits_used": 1, "result": {... } } ``` ### Try it API key * Stored only in this browser tab. Playground test key is prefilled and only works on this page. [Get a live key →](/billing/checkout/?plan=free) text (str) * How to Create SEO-Friendly URLs in 2026 separator (str) - _ - | _ lowercase (bool) false true remove_special_chars (bool) false true Send request → Response copy body This endpoint starts on Free Your key is valid, but its current plan cannot call`url-slug-generator`. Upgrade to Free or higher to run this tool. [Start Free →](/billing/checkout/?plan=free) [Compare plans](/#pricing) ```text ``` Response headers ```text ``` ### Code examples cURL Python JavaScript PHP Ruby Go Java copy ```text curl -X POST https://api.miniwebtool.com/v1/tools/url-slug-generator/run \ -H 'Authorization: Bearer mwt_live_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"How to Create SEO-Friendly URLs in 2026","separator":"-","lowercase":true,"remove_special_chars":true}' ``` copy ```text import requests resp = requests.post( 'https://api.miniwebtool.com/v1/tools/url-slug-generator/run', headers={'Authorization': 'Bearer mwt_live_YOUR_KEY'}, json={'text': 'How to Create SEO-Friendly URLs in 2026', 'separator': '-', 'lowercase': True, 'remove_special_chars': True}, ) resp.raise_for_status() print(resp.json()) ``` copy ```text const resp = await fetch( 'https://api.miniwebtool.com/v1/tools/url-slug-generator/run', { method: 'POST', headers: { 'Authorization': 'Bearer mwt_live_YOUR_KEY', 'Content-Type': 'application/json', }, body: JSON.stringify({"text":"How to Create SEO-Friendly URLs in 2026","separator":"-","lowercase":true,"remove_special_chars":true}), } ); const data = await resp.json(); console.log(data); ``` copy ```text true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer mwt_live_YOUR_KEY', 'Content-Type: application/json', ], CURLOPT_POSTFIELDS => json_encode([ 'text' => 'How to Create SEO-Friendly URLs in 2026', 'separator' => '-', 'lowercase' => true, 'remove_special_chars' => true ]), ]); $resp = curl_exec($ch); curl_close($ch); print_r(json_decode($resp, true)); ``` copy ```text require 'net/http' require 'json' require 'uri' uri = URI('https://api.miniwebtool.com/v1/tools/url-slug-generator/run') http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = (uri.scheme == 'https') req = Net::HTTP::Post.new(uri) req['Authorization'] = 'Bearer mwt_live_YOUR_KEY' req['Content-Type'] = 'application/json' req.body = { 'text' => 'How to Create SEO-Friendly URLs in 2026', 'separator' => '-', 'lowercase' => true, 'remove_special_chars' => true }.to_json resp = http.request(req) puts JSON.parse(resp.body).inspect ``` copy ```text package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" ) func main() { body, _:= json.Marshal(map[string]interface{}{ "text": "How to Create SEO-Friendly URLs in 2026", "separator": "-", "lowercase": true, "remove_special_chars": true, }) req, _:= http.NewRequest("POST", "https://api.miniwebtool.com/v1/tools/url-slug-generator/run", bytes.NewReader(body)) req.Header.Set("Authorization", "Bearer mwt_live_YOUR_KEY") req.Header.Set("Content-Type", "application/json") resp, err:= http.DefaultClient.Do(req) if err!= nil { panic(err) } defer resp.Body.Close() out, _:= io.ReadAll(resp.Body) fmt.Println(string(out)) } ``` copy ```text import java.net.URI; import java.net.http.*; var client = HttpClient.newHttpClient(); var req = HttpRequest.newBuilder() .uri(URI.create("https://api.miniwebtool.com/v1/tools/url-slug-generator/run")) .header("Authorization", "Bearer mwt_live_YOUR_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"How to Create SEO-Friendly URLs in 2026\",\"separator\":\"-\",\"lowercase\":true,\"remove_special_chars\":true}")) .build(); var resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.body()); ``` how-to call url-slug-generator - Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - Assemble the JSON body Required fields:`text`,. See the Request body table above for the full schema. - POST to`https://api.miniwebtool.com/v1/tools/url-slug-generator/run` Headers:`Authorization: Bearer `and`Content-Type: application/json`. Copy-paste snippets in 7 languages are under Code examples. - Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. faq frequently asked What does the URL Slug Generator API do? + Generate an SEO-friendly URL slug from a title or phrase. Use it to add this utility without rebuilding formulas, validation, examples, and documentation. How much does one call to URL Slug Generator cost? + 1 credit per successful call. Failed calls (validation errors, 5xx) don't bill. What parameters does the URL Slug Generator API require? + Required fields: text. Full schema at /v1/openapi.json. Is the URL Slug Generator API deterministic? + Yes — same input, same output, forever. Tool version 2026-04-22; output shape is stable within a major version. Can an AI agent call the URL Slug Generator API? + Yes. Connect to https://api.miniwebtool.com/v1/mcp over the Model Context Protocol. The agent discovers `url-slug-generator` with its JSON Schema automatically, so the model can plan while MiniWebtool handles the exact tool result. What format does the API return? + JSON with a stable envelope: `{request_id, tool, tool_version, credits_used, result}`. Errors are RFC 7807 `application/problem+json`. mcp use from an AI agent Every endpoint on this site is also exposed via the [Model Context Protocol](/docs/#mcp) at`https://api.miniwebtool.com/v1/mcp`. Claude, Cursor, and any MCP-capable agent can discover this tool (`url-slug-generator`) and its JSON Schema automatically — no client codegen. ```text # List tools the agent can call curl -s https://api.miniwebtool.com/v1/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \ | jq '.result.tools[] | select(.name=="url-slug-generator")' ``` see-also related webmaster tools [ CPC Calculator Calculate CPC, CPM, or CTR from two known campaign metrics. ](/tools/cpc-calculator/) [ CPM Calculator Calculate campaign cost, CPM, or impressions from two known advertising metrics. ](/tools/cpm-calculator/) [ IP Address to Binary Converter Convert IPv4 or IPv6 addresses to padded binary forms. ](/tools/ip-address-to-binary-converter/) [ JSON String Escape/Unescape Escape or unescape JSON string content deterministically. ](/tools/json-string-escape-unescape/) API OPERATIONAL v1 · OpenAPI 3.1 · MCP 2025-06-18 [terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [privacy](https://miniwebtool.com/about/privacy/#api-privacy) [llms.txt](/llms.txt) [consumer site →](https://miniwebtool.com) © 2026 miniwebtool