# 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/) [Start free](/billing/checkout/?plan=free) Deterministic tools for apps & AI agents # Stop wasting LLM tokens. Call exact tools instead of prompting a model to guess. One bearer token, one credit pool, stable JSON — for calculators, text utilities, hashes, and finance formulas your product or agent can trust. ✓ Exact JSON output ✓ No prompt retries ✓ Predictable credits ✓ MCP-ready [Get API access →](/billing/checkout/?plan=free) [View docs](/v1/docs) ✓ Proven on [miniwebtool.com](https://miniwebtool.com) since 2010 — 10M+ monthly tool uses 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 ``` Starts at $29/mo · Pay as you grow Free tier — 1,000 credits, no card 🔒 Bearer Simple token auth 💳 Credits Predictable cost per call ⚡ Growing Curated API catalog Finance · Text · Math · Hash · More deterministic tools weekly Fair-use: scraping & cloning blocked. Commercial use on any paid plan. [ 🧰 SaaS Embed calcs in dashboards ](/tools/) [ 💰 Fintech Interest, mortgage, APY ](/tools/) [ 🎓 Education Homework & quiz tools ](/tools/) [ 🤖 Automation Exact tools for agents ](/tools/) [Browse endpoints →](/tools/) ## Pricing Predictable credits for work that should not consume model tokens. Cancel anytime from the Stripe portal. Monthly Yearly ### 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? [Talk to us](mailto:sales@miniwebtool.com). ## Your first`curl`in 30 seconds. Verify email → key → exact JSON. No card, no prompt engineering, no install. [Get API access →](/billing/checkout/?plan=free) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) # Docs MiniWebtool API gives apps and AI agents exact JSON tools for work that should not be guessed by a model. Start with Concepts if you're new. Jump to the [endpoint reference](/v1/docs) when you know what you're calling. Concepts ### How the API works Auth, errors, rate limits, credits, versioning, MCP, and when to use tools instead of LLM tokens. [ Reference ### Every endpoint, searchable Scalar UI backed by the live OpenAPI 3.1 spec. Grouped by category, hotkey`K`to search. ](/v1/docs) [Tool catalog (150)](/tools/) [openapi.json](/v1/openapi.json) [Contact](mailto:support@miniwebtool.com) ## When to use MiniWebtool API Use LLMs for language, reasoning, and orchestration. Use MiniWebtool API when the job is deterministic: percentages, hashes, counters, date math, finance formulas, converters, and repeatable utility results. You get stable JSON, fixed credit cost, lower latency, and no prompt retries for calculations a model should not improvise. ## Quickstart Get a key from the [dashboard](/dashboard/), 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. ## 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. ## 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`. ## 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. ## 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`. - 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 the customer enables it. ## 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. ## 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: use model tokens for planning, then call exact tools for calculations, conversions, formatting, and hashing. Every MCP`tools/call`also shows up in the REST`UsageEvent`log — same dashboard, same billing. ## 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) ## Support - Email [support@miniwebtool.com](mailto:support@miniwebtool.com) with the failing`X-Request-Id`. - Feature requests: [support@miniwebtool.com](mailto:support@miniwebtool.com) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) # API catalog 150 JSON endpoints across 11 categories. Use them when you need exact JSON instead of spending LLM tokens on utility work. Type / to search. Click any tool for its schema, credit cost, and copy-paste snippets. 🔎 / Finance 4 Text 20 Hash & Checksum 6 Math 96 Random 2 Construction 1 Cooking 1 Dev 5 Electronics 1 Science 13 Sports 1 No tools match that search. [Clear filter](/tools/) or [request one →](mailto:support@miniwebtool.com) ## [Finance](/tools/category/finance/) 4 endpoints [Full page →](/tools/category/finance/) Exact interest, mortgage, APY, and other money math. Discounts [ Percent Off Calculator percent-off-calculator Calculate discount amount and sale price from original price and percent off. 1cr ](/tools/percent-off-calculator/) Interest [ Compound Interest Calculator compound-interest-calculator Compound-interest formula with selectable compounding frequency. 2cr ](/tools/compound-interest-calculator/) [ Simple Interest Calculator simple-interest-calculator Simple-interest formula: I = P * r * t. 2cr ](/tools/simple-interest-calculator/) Loans [ Mortgage Calculator mortgage-calculator Monthly payment, total interest, LTV, and optional amortization schedule. 5cr ](/tools/mortgage-calculator/) ## [Text](/tools/category/text/) 20 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/) [ 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/) 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/) 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/) 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/) 96 endpoints [Full page →](/tools/category/math/) Percentage, unit conversion, geometry, and sequences. Advanced Math [ Antilog Calculator antilog-calculator Calculate an antilogarithm as base raised to an exponent. 1cr ](/tools/antilog-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 [ 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 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/) 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/) 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/) 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/) [ 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/) 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/) [ Cross Product Calculator cross-product-calculator Calculate the 3D cross product, magnitude, areas, and angle. 1cr ](/tools/cross-product-calculator/) [ Dot Product Calculator dot-product-calculator Calculate the dot product, magnitudes, angle, and vector projection. 1cr ](/tools/dot-product-calculator/) Number Systems [ Base Converter base-converter Convert integers between bases 2 through 36. 1cr ](/tools/base-converter/) [ 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/) 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/) Physics [ Acceleration Calculator acceleration-calculator Calculate acceleration from velocity change, distance, force, centripetal motion, or free fall. 1cr ](/tools/acceleration-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/) Sequences [ Arithmetic Sequence Calculator arithmetic-sequence-calculator Calculate the nth term and partial sum of an arithmetic sequence. 1cr ](/tools/arithmetic-sequence-calculator/) Statistics [ 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/) [ 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/) Trigonometry [ Arccos Calculator arccos-calculator Calculate inverse cosine in radians and degrees. 1cr ](/tools/arccos-calculator/) [ Arctan Calculator arctan-calculator Calculate inverse tangent in radians and degrees. 1cr ](/tools/arctan-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/) 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/) [ 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/) [ 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/) ## [Random](/tools/category/random/) 2 endpoints [Full page →](/tools/category/random/) Random generators for apps, tests, and automations. Color [ Random Color Generator random-color-generator Generate random HEX, RGB, and HSL colors with optional harmony rules. 1cr ](/tools/random-color-generator/) 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/) ## [Construction](/tools/category/construction/) 1 endpoint [Full page →](/tools/category/construction/) [ Board Foot Calculator board-foot-calculator Calculate lumber volume in board feet, cubic volume, weight, and optional cost. 1cr ](/tools/board-foot-calculator/) ## [Cooking](/tools/category/cooking/) 1 endpoint [Full page →](/tools/category/cooking/) [ Baker's Percentage Calculator baker-s-percentage-calculator Scale bread ingredients from flour weight and baker's percentages. 1cr ](/tools/baker-s-percentage-calculator/) ## [Dev](/tools/category/dev/) 5 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/) ## [Electronics](/tools/category/electronics/) 1 endpoint [Full page →](/tools/category/electronics/) [ Battery Life Calculator battery-life-calculator Estimate battery runtime from capacity, consumption, and efficiency. 1cr ](/tools/battery-life-calculator/) ## [Science](/tools/category/science/) 13 endpoints [Full page →](/tools/category/science/) Physics [ Density Calculator density-calculator Solve density, mass, or volume with common unit conversions. 1cr ](/tools/density-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/) ## [Sports](/tools/category/sports/) 1 endpoint [Full page →](/tools/category/sports/) [ Batting Average Calculator batting-average-calculator Calculate baseball batting average from hits and at-bats. 1cr ](/tools/batting-average-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Construction # Construction API 1 endpoints — Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Cooking # Cooking API 1 endpoints — Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Dev # Dev API 5 endpoints — Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Electronics # Electronics API 1 endpoints — Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Battery Life Calculator battery-life-calculator Estimate battery runtime from capacity, consumption, and efficiency. 1cr · v2026-04-22 ](/tools/battery-life-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Finance # Finance API 4 endpoints — Exact interest, mortgage, APY, and other money math. Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Discounts [ 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/) Interest [ Compound Interest Calculator compound-interest-calculator Compound-interest formula with selectable compounding frequency. 2cr · v2026-04-22 ](/tools/compound-interest-calculator/) [ Simple Interest Calculator simple-interest-calculator Simple-interest formula: I = P * r * t. 2cr · v2026-04-22 ](/tools/simple-interest-calculator/) Loans [ Mortgage Calculator mortgage-calculator Monthly payment, total interest, LTV, and optional amortization schedule. 5cr · v2026-04-22 ](/tools/mortgage-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Hash & Checksum # Hash & Checksum API 6 endpoints — SHA, MD5, HMAC, and digest utilities with stable JSON output. Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Math # Math API 96 endpoints — Percentage, unit conversion, geometry, and sequences. Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Advanced Math [ Antilog Calculator antilog-calculator Calculate an antilogarithm as base raised to an exponent. 1cr · v2026-04-22 ](/tools/antilog-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 [ 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 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/) 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/) 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/) 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/) [ 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/) 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/) [ Cross Product Calculator cross-product-calculator Calculate the 3D cross product, magnitude, areas, and angle. 1cr · v2026-04-22 ](/tools/cross-product-calculator/) [ Dot Product Calculator dot-product-calculator Calculate the dot product, magnitudes, angle, and vector projection. 1cr · v2026-04-22 ](/tools/dot-product-calculator/) Number Systems [ Base Converter base-converter Convert integers between bases 2 through 36. 1cr · v2026-04-22 ](/tools/base-converter/) [ 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/) 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/) Physics [ Acceleration Calculator acceleration-calculator Calculate acceleration from velocity change, distance, force, centripetal motion, or free fall. 1cr · v2026-04-22 ](/tools/acceleration-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/) 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/) Statistics [ 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/) [ 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/) Trigonometry [ Arccos Calculator arccos-calculator Calculate inverse cosine in radians and degrees. 1cr · v2026-04-22 ](/tools/arccos-calculator/) [ Arctan Calculator arctan-calculator Calculate inverse tangent in radians and degrees. 1cr · v2026-04-22 ](/tools/arctan-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/) 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/) [ 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/) [ 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Random # Random API 2 endpoints — Random generators for apps, tests, and automations. Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) 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/) 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Science # Science API 13 endpoints — Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) Physics [ Density Calculator density-calculator Solve density, mass, or volume with common unit conversions. 1cr · v2026-04-22 ](/tools/density-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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Sports # Sports API 1 endpoints — Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [Start free →](/billing/checkout/?plan=free) [View OpenAPI](/v1/docs) [All categories](/tools/) [ Batting Average Calculator batting-average-calculator Calculate baseball batting average from hits and at-bats. 1cr · v2026-04-22 ](/tools/batting-average-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - Text # Text API 20 endpoints — Word / character / line counters, whitespace, case, encoding. Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic. [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/) [ 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/) 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/) 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/) 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Construction](/tools/#construction) - › - Board Foot Calculator API # Board Foot Calculator API construction 1 credits / call v2026-04-22 Calculate lumber volume in board feet, cubic volume, weight, and optional cost. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`thickness_inches`,`width_inches`,`length_feet`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Board Foot Calculator API do? ▾ Calculate lumber volume in board feet, cubic volume, weight, and optional cost. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Cooking](/tools/#cooking) - › - Baker's Percentage Calculator API # Baker's Percentage Calculator API cooking 1 credits / call v2026-04-22 Scale bread ingredients from flour weight and baker's percentages. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`flour_weight`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Baker's Percentage Calculator API do? ▾ Scale bread ingredients from flour weight and baker's percentages. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Dev](/tools/#dev) - › - CMYK to Hex Converter API # CMYK to Hex Converter API dev 1 credits / call v2026-04-22 Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`cyan`,`magenta`,`yellow`,`black`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ Base64 Decoder Decode standard or URL-safe Base64 text and return byte and character analysis. ](/tools/base64-decoder/) [ Hex to RGB Converter Convert a hex color to RGB, HSL, CMYK, and contrast metrics. ](/tools/hex-to-rgb-converter/) [ Hex to CMYK Converter Convert a hex color to CMYK print percentages. ](/tools/hex-to-cmyk-converter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Dev](/tools/#dev) - › - Hex to CMYK Converter API # Hex to CMYK Converter API dev 1 credits / call v2026-04-22 Convert a hex color to CMYK print percentages. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`hex_color`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Hex to CMYK Converter API do? ▾ Convert a hex color to CMYK print percentages. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ 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/) [ Hex to RGB Converter Convert a hex color to RGB, HSL, CMYK, and contrast metrics. ](/tools/hex-to-rgb-converter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Dev](/tools/#dev) - › - Hex to RGB Converter API # Hex to RGB Converter API dev 1 credits / call v2026-04-22 Convert a hex color to RGB, HSL, CMYK, and contrast metrics. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`hex_color`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Hex to RGB Converter API do? ▾ Convert a hex color to RGB, HSL, CMYK, and contrast metrics. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ 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/) [ Hex to CMYK Converter Convert a hex color to CMYK print percentages. ](/tools/hex-to-cmyk-converter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Dev](/tools/#dev) - › - RGB to Hex Converter API # RGB to Hex Converter API dev 1 credits / call v2026-04-22 Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`red`,`green`,`blue`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the RGB to Hex Converter API do? ▾ Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related dev tools [ 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/) [ Hex to RGB Converter Convert a hex color to RGB, HSL, CMYK, and contrast metrics. ](/tools/hex-to-rgb-converter/) [ Hex to CMYK Converter Convert a hex color to CMYK print percentages. ](/tools/hex-to-cmyk-converter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Dev](/tools/#dev) - › - Base64 Decoder API # Base64 Decoder API dev 1 credits / call v2026-04-22 Decode standard or URL-safe Base64 text and return byte and character analysis. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Base64 Decoder API do? ▾ Decode standard or URL-safe Base64 text and return byte and character analysis. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related dev tools [ RGB to Hex Converter Convert RGB channels to hex, HSL, HSV, CMYK, and relative luminance. ](/tools/rgb-to-hex-converter/) [ CMYK to Hex Converter Convert CMYK percentages to RGB, HEX, HSL, HSV, and contrast text color. ](/tools/cmyk-to-hex-converter/) [ Hex to RGB Converter Convert a hex color to RGB, HSL, CMYK, and contrast metrics. ](/tools/hex-to-rgb-converter/) [ Hex to CMYK Converter Convert a hex color to CMYK print percentages. ](/tools/hex-to-cmyk-converter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Electronics](/tools/#electronics) - › - Battery Life Calculator API # Battery Life Calculator API electronics 1 credits / call v2026-04-22 Estimate battery runtime from capacity, consumption, and efficiency. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`capacity_mah`,`consumption_ma`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Battery Life Calculator API do? ▾ Estimate battery runtime from capacity, consumption, and efficiency. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Finance](/tools/#finance) - › - Percent Off Calculator API # Percent Off Calculator API finance 1 credits / call v2026-04-22 Calculate discount amount and sale price from original price and percent off. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`original_price`,`percent_off`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Percent Off Calculator API do? ▾ Calculate discount amount and sale price from original price and percent off. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related finance tools [ Simple Interest Calculator Simple-interest formula: I = P * r * t. ](/tools/simple-interest-calculator/) [ Compound Interest Calculator Compound-interest formula with selectable compounding frequency. ](/tools/compound-interest-calculator/) [ Mortgage Calculator Monthly payment, total interest, LTV, and optional amortization schedule. ](/tools/mortgage-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [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. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 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. - 2 Assemble the JSON body Required fields:`principal`,`annual_rate_percent`,`years`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Compound Interest Calculator API do? ▾ Compound-interest formula with selectable compounding frequency. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related finance tools [ Simple Interest Calculator Simple-interest formula: I = P * r * t. ](/tools/simple-interest-calculator/) [ Mortgage Calculator Monthly payment, total interest, LTV, and optional amortization schedule. ](/tools/mortgage-calculator/) [ Percent Off Calculator Calculate discount amount and sale price from original price and percent off. ](/tools/percent-off-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [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. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 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. - 2 Assemble the JSON body Required fields:`principal`,`annual_rate_percent`,`years`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Simple Interest Calculator API do? ▾ Simple-interest formula: I = P * r * t. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related finance tools [ Compound Interest Calculator Compound-interest formula with selectable compounding frequency. ](/tools/compound-interest-calculator/) [ Mortgage Calculator Monthly payment, total interest, LTV, and optional amortization schedule. ](/tools/mortgage-calculator/) [ Percent Off Calculator Calculate discount amount and sale price from original price and percent off. ](/tools/percent-off-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [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. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 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. - 2 Assemble the JSON body Required fields:`home_price`,`down_payment`,`annual_rate_percent`,`years`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Mortgage Calculator API do? ▾ Monthly payment, total interest, LTV, and optional amortization schedule. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related finance tools [ Simple Interest Calculator Simple-interest formula: I = P * r * t. ](/tools/simple-interest-calculator/) [ Compound Interest Calculator Compound-interest formula with selectable compounding frequency. ](/tools/compound-interest-calculator/) [ Percent Off Calculator Calculate discount amount and sale price from original price and percent off. ](/tools/percent-off-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Hash](/tools/#hash) - › - BLAKE2b Hash Generator API # BLAKE2b Hash Generator API hash 1 credits / call v2026-04-22 Generate a BLAKE2b digest with 256, 384, or 512-bit output. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the BLAKE2b Hash Generator API do? ▾ Generate a BLAKE2b digest with 256, 384, or 512-bit output. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Hash](/tools/#hash) - › - MD5 Hash Generator API # MD5 Hash Generator API hash 1 credits / call v2026-04-22 Generate an MD5 hex digest for checksum and legacy compatibility. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the MD5 Hash Generator API do? ▾ Generate an MD5 hex digest for checksum and legacy compatibility. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Hash](/tools/#hash) - › - SHA-256 Hash Generator API # SHA-256 Hash Generator API hash 1 credits / call v2026-04-22 Generate a SHA-256 hex digest of a UTF-8 string. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 SHA-256 Hash Generator - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the SHA-256 Hash Generator API do? ▾ Generate a SHA-256 hex digest of a UTF-8 string. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Hash](/tools/#hash) - › - SHA3-512 Hash Generator API # SHA3-512 Hash Generator API hash 1 credits / call v2026-04-22 Generate a SHA3-512 hex digest of a UTF-8 string. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the SHA3-512 Hash Generator API do? ▾ Generate a SHA3-512 hex digest of a UTF-8 string. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Hash](/tools/#hash) - › - SHA-384 Hash Generator API # SHA-384 Hash Generator API hash 1 credits / call v2026-04-22 Generate a SHA-384 hex digest of a UTF-8 string. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 SHA-384 Hash Generator - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the SHA-384 Hash Generator API do? ▾ Generate a SHA-384 hex digest of a UTF-8 string. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Hash](/tools/#hash) - › - SHA-512 Hash Generator API # SHA-512 Hash Generator API hash 1 credits / call v2026-04-22 Generate a SHA-512 hex digest of a UTF-8 string. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 SHA-512 Hash Generator - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the SHA-512 Hash Generator API do? ▾ Generate a SHA-512 hex digest of a UTF-8 string. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Antilog Calculator API # Antilog Calculator API math 1 credits / call v2026-04-22 Calculate an antilogarithm as base raised to an exponent. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Antilog Calculator API do? ▾ Calculate an antilogarithm as base raised to an exponent. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Radian to Degree Converter API # Radian to Degree Converter API math 1 credits / call v2026-04-22 Convert radians, fractions, or pi expressions to degrees. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`radian`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Radian to Degree Converter API do? ▾ Convert radians, fractions, or pi expressions to degrees. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Hectares to Acres Converter API # Hectares to Acres Converter API math 1 credits / call v2026-04-22 Convert hectares to acres and related land-area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Hectares to Acres Converter API do? ▾ Convert hectares to acres and related land-area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Square Feet to Acres Converter API # Square Feet to Acres Converter API math 1 credits / call v2026-04-22 Convert square feet to acres and related land-area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Square Feet to Acres Converter API do? ▾ Convert square feet to acres and related land-area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Square Meters to Acres Converter API # Square Meters to Acres Converter API math 1 credits / call v2026-04-22 Convert square meters to acres and related land-area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`square_meters`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Square Meters to Acres Converter API do? ▾ Convert square meters to acres and related land-area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Square Miles to Acres Converter API # Square Miles to Acres Converter API math 1 credits / call v2026-04-22 Convert square miles to acres and related land-area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Square Miles to Acres Converter API do? ▾ Convert square miles to acres and related land-area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Absolute Value Calculator API # Absolute Value Calculator API math 1 credits / call v2026-04-22 Calculate the absolute value of a real or complex number. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Absolute Value Calculator API do? ▾ Calculate the absolute value of a real or complex number. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cube and Cube Root Calculator API # Cube and Cube Root Calculator API math 1 credits / call v2026-04-22 Calculate a number's cube and cube root. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`number`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Cube and Cube Root Calculator API do? ▾ Calculate a number's cube and cube root. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cube Root Calculator API # Cube Root Calculator API math 1 credits / call v2026-04-22 Calculate the real cube root of a finite number. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`number`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Cube Root Calculator API do? ▾ Calculate the real cube root of a finite number. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Even or Odd Number Checker API # Even or Odd Number Checker API math 1 credits / call v2026-04-22 Check whether one or more integers are even or odd. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`numbers`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Even or Odd Number Checker API do? ▾ Check whether one or more integers are even or odd. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Binomial Coefficient Calculator API # Binomial Coefficient Calculator API math 1 credits / call v2026-04-22 Calculate C(n, k), the number of combinations choosing k items from n. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`n`,`k`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Combination Calculator API # Combination Calculator API math 1 credits / call v2026-04-22 Calculate combinations C(n, k). Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`n`,`k`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Combination Calculator API do? ▾ Calculate combinations C(n, k). Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Comparing Fractions Calculator API # Comparing Fractions Calculator API math 1 credits / call v2026-04-22 Compare two fractions or mixed numbers using a common denominator. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`a_numerator`,`a_denominator`,`b_numerator`,`b_denominator`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Comparing Fractions Calculator API do? ▾ Compare two fractions or mixed numbers using a common denominator. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Decimal to Fraction Calculator API # Decimal to Fraction Calculator API math 1 credits / call v2026-04-22 Convert a decimal or parenthesized repeating decimal to a fraction. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`decimal_input`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Decimal to Fraction Calculator API do? ▾ Convert a decimal or parenthesized repeating decimal to a fraction. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - 3D Distance Calculator API # 3D Distance Calculator API math 1 credits / call v2026-04-22 Calculate 3D Euclidean distance, midpoint, direction cosines, and related distances. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`x1`,`y1`,`z1`,`x2`,`y2`,`z2`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the 3D Distance Calculator API do? ▾ Calculate 3D Euclidean distance, midpoint, direction cosines, and related distances. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Angle Bisector Calculator API # Angle Bisector Calculator API math 1 credits / call v2026-04-22 Calculate triangle angle bisectors, angles, area, and inradius from side lengths. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`side_a`,`side_b`,`side_c`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Angle Bisector Calculator API do? ▾ Calculate triangle angle bisectors, angles, area, and inradius from side lengths. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Arc Length Calculator API # Arc Length Calculator API math 1 credits / call v2026-04-22 Solve arc length, radius, or central angle for a circle sector. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Arc Length Calculator API do? ▾ Solve arc length, radius, or central angle for a circle sector. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Area of a Circle Calculator API # Area of a Circle Calculator API math 1 credits / call v2026-04-22 Calculate circle radius, diameter, circumference, and area from one value. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Area of a Circle Calculator API do? ▾ Calculate circle radius, diameter, circumference, and area from one value. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Area of a Parallelogram Calculator API # Area of a Parallelogram Calculator API math 1 credits / call v2026-04-22 Find parallelogram area from base-height, sides-angle, or diagonals-angle inputs. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Area of a Sector Calculator API # Area of a Sector Calculator API math 1 credits / call v2026-04-22 Calculate sector area, arc length, perimeter, chord, and segment area. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`radius`,`angle`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Area of a Sector Calculator API do? ▾ Calculate sector area, arc length, perimeter, chord, and segment area. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Area of a Trapezoid Calculator API # Area of a Trapezoid Calculator API math 1 credits / call v2026-04-22 Calculate trapezoid area from two parallel bases and height. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`base_a`,`base_b`,`height`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Area of a Trapezoid Calculator API do? ▾ Calculate trapezoid area from two parallel bases and height. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Area of an Ellipse Calculator API # Area of an Ellipse Calculator API math 1 credits / call v2026-04-22 Calculate ellipse area, Ramanujan perimeter, foci, and eccentricity. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`semi_major_axis`,`semi_minor_axis`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Area of an Ellipse Calculator API do? ▾ Calculate ellipse area, Ramanujan perimeter, foci, and eccentricity. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Area of Equilateral Triangle Calculator API # Area of Equilateral Triangle Calculator API math 1 credits / call v2026-04-22 Calculate equilateral-triangle side, area, height, perimeter, and radii. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Area of Equilateral Triangle Calculator API do? ▾ Calculate equilateral-triangle side, area, height, perimeter, and radii. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cartesian to Polar Coordinates Converter API # Cartesian to Polar Coordinates Converter API math 1 credits / call v2026-04-22 Convert Cartesian x-y coordinates to polar radius and angle. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 Coordinates Converter - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`x`,`y`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Cartesian to Polar Coordinates Converter API do? ▾ Convert Cartesian x-y coordinates to polar radius and angle. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Circle Calculator API # Circle Calculator API math 1 credits / call v2026-04-22 Calculate circle radius, diameter, circumference, area, and optional arc/sector values. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Circle Calculator API do? ▾ Calculate circle radius, diameter, circumference, area, and optional arc/sector values. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Distance Between Two Points Calculator API # Distance Between Two Points Calculator API math 1 credits / call v2026-04-22 Calculate 2D point distance, midpoint, slope, and line equation. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`x1`,`y1`,`x2`,`y2`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Distance Between Two Points Calculator API do? ▾ Calculate 2D point distance, midpoint, slope, and line equation. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Angle Between Vectors Calculator API # Angle Between Vectors Calculator API math 1 credits / call v2026-04-22 Calculate the angle between two 2D or 3D vectors. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`a`,`b`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Angle Between Vectors Calculator API do? ▾ Calculate the angle between two 2D or 3D vectors. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cross Product Calculator API # Cross Product Calculator API math 1 credits / call v2026-04-22 Calculate the 3D cross product, magnitude, areas, and angle. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`a`,`b`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Cross Product Calculator API do? ▾ Calculate the 3D cross product, magnitude, areas, and angle. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Dot Product Calculator API # Dot Product Calculator API math 1 credits / call v2026-04-22 Calculate the dot product, magnitudes, angle, and vector projection. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`a`,`b`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Dot Product Calculator API do? ▾ Calculate the dot product, magnitudes, angle, and vector projection. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Base Converter API # Base Converter API math 1 credits / call v2026-04-22 Convert integers between bases 2 through 36. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`number`,`from_base`,`to_base`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Base Converter API do? ▾ Convert integers between bases 2 through 36. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - BCD to Binary Converter API # BCD to Binary Converter API math 1 credits / call v2026-04-22 Convert 8421 BCD nibbles to decimal and binary. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`bcd`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the BCD to Binary Converter API do? ▾ Convert 8421 BCD nibbles to decimal and binary. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - BCD to Decimal Converter API # BCD to Decimal Converter API math 1 credits / call v2026-04-22 Convert binary-coded decimal nibbles to a decimal integer. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`bcd`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the BCD to Decimal Converter API do? ▾ Convert binary-coded decimal nibbles to a decimal integer. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - BCD to Hex Converter API # BCD to Hex Converter API math 1 credits / call v2026-04-22 Convert BCD to hexadecimal or hexadecimal to BCD. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the BCD to Hex Converter API do? ▾ Convert BCD to hexadecimal or hexadecimal to BCD. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Binary Calculator API # Binary Calculator API math 1 credits / call v2026-04-22 Run binary arithmetic and bitwise operations. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`number1`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Binary Calculator API do? ▾ Run binary arithmetic and bitwise operations. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Binary to BCD Converter API # Binary to BCD Converter API math 1 credits / call v2026-04-22 Convert an integer binary value to binary-coded decimal. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`binary`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Binary to BCD Converter API do? ▾ Convert an integer binary value to binary-coded decimal. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Binary to Decimal Converter API # Binary to Decimal Converter API math 1 credits / call v2026-04-22 Convert a binary number to decimal, hexadecimal, and octal. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`binary`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Binary to Decimal Converter API do? ▾ Convert a binary number to decimal, hexadecimal, and octal. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Binary to Gray Code Converter API # Binary to Gray Code Converter API math 1 credits / call v2026-04-22 Convert an integer binary value to Gray code. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`binary`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Binary to Gray Code Converter API do? ▾ Convert an integer binary value to Gray code. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Binary to Hex Converter API # Binary to Hex Converter API math 1 credits / call v2026-04-22 Convert a binary number to hexadecimal with nibble grouping. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`binary`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Binary to Hex Converter API do? ▾ Convert a binary number to hexadecimal with nibble grouping. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Binary to Octal Converter API # Binary to Octal Converter API math 1 credits / call v2026-04-22 Convert a binary number to octal using 3-bit grouping. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`binary`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Binary to Octal Converter API do? ▾ Convert a binary number to octal using 3-bit grouping. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Decimal to Binary Converter API # Decimal to Binary Converter API math 1 credits / call v2026-04-22 Convert a decimal integer to binary with grouped bits and division steps. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`number`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Decimal to Hex Converter API # Decimal to Hex Converter API math 1 credits / call v2026-04-22 Convert a decimal integer to hexadecimal with conversion steps. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`number`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Decimal to Hex Converter API do? ▾ Convert a decimal integer to hexadecimal with conversion steps. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Decimal to Octal Converter API # Decimal to Octal Converter API math 1 credits / call v2026-04-22 Convert a base-10 integer to octal with division steps. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`number`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Decimal to Octal Converter API do? ▾ Convert a base-10 integer to octal with division steps. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Decimal to Scientific Notation Converter API # Decimal to Scientific Notation Converter API math 1 credits / call v2026-04-22 Convert decimal numbers to scientific, E, and engineering notation. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`number`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Decimal to Scientific Notation Converter API do? ▾ Convert decimal numbers to scientific, E, and engineering notation. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Gray Code to Binary Converter API # Gray Code to Binary Converter API math 1 credits / call v2026-04-22 Convert Gray code to ordinary binary with XOR steps. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`gray_code`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Gray Code to Binary Converter API do? ▾ Convert Gray code to ordinary binary with XOR steps. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Hex to BCD Converter API # Hex to BCD Converter API math 1 credits / call v2026-04-22 Convert a hexadecimal integer to binary-coded decimal. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`hex_value`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Hex to BCD Converter API do? ▾ Convert a hexadecimal integer to binary-coded decimal. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Hex to Binary Converter API # Hex to Binary Converter API math 1 credits / call v2026-04-22 Convert a hexadecimal integer to binary. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`hex_value`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Hex to Binary Converter API do? ▾ Convert a hexadecimal integer to binary. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Hex to Decimal Converter API # Hex to Decimal Converter API math 1 credits / call v2026-04-22 Convert a hexadecimal integer to decimal with digit breakdown. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`hex_value`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Hex to Decimal Converter API do? ▾ Convert a hexadecimal integer to decimal with digit breakdown. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Hex to Octal Converter API # Hex to Octal Converter API math 1 credits / call v2026-04-22 Convert a hexadecimal integer to octal through binary grouping. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`hex_value`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Hex to Octal Converter API do? ▾ Convert a hexadecimal integer to octal through binary grouping. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Octal to Binary Converter API # Octal to Binary Converter API math 1 credits / call v2026-04-22 Convert an octal integer to binary with per-digit mapping. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`octal`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Octal to Binary Converter API do? ▾ Convert an octal integer to binary with per-digit mapping. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Octal to Decimal Converter API # Octal to Decimal Converter API math 1 credits / call v2026-04-22 Convert an octal integer to decimal with positional breakdown. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`octal`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Octal to Decimal Converter API do? ▾ Convert an octal integer to decimal with positional breakdown. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Ratio to Percentage Calculator API # Ratio to Percentage Calculator API math 1 credits / call v2026-04-22 Convert ratios, fractions, or decimal divisions to percentages. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`numerator`,`denominator`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Ratio to Percentage Calculator API do? ▾ Convert ratios, fractions, or decimal divisions to percentages. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Scientific Notation to Decimal Converter API # Scientific Notation to Decimal Converter API math 1 credits / call v2026-04-22 Convert scientific notation to ordinary decimal notation. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`coefficient`,`exponent`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Scientific Notation to Decimal Converter API do? ▾ Convert scientific notation to ordinary decimal notation. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Decimal to Percent Converter API # Decimal to Percent Converter API math 1 credits / call v2026-04-22 Convert one or more decimal numbers to percentages. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`decimal_input`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Decimal to Percent Converter API do? ▾ Convert one or more decimal numbers to percentages. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Percentage Calculator API # Percentage Calculator API math 1 credits / call v2026-04-22 Six percentage operations behind one endpoint, selected by mode. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`mode`,`a`,`b`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Percentage Calculator API do? ▾ Six percentage operations behind one endpoint, selected by mode. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Acceleration Calculator API # Acceleration Calculator API math 1 credits / call v2026-04-22 Calculate acceleration from velocity change, distance, force, centripetal motion, or free fall. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Acceleration Calculator API do? ▾ Calculate acceleration from velocity change, distance, force, centripetal motion, or free fall. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Aspect Ratio Calculator API # Aspect Ratio Calculator API math 1 credits / call v2026-04-22 Simplify dimensions to a ratio, derive dimensions from a ratio, or resize proportionally. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Arithmetic Sequence Calculator API # Arithmetic Sequence Calculator API math 1 credits / call v2026-04-22 Calculate the nth term and partial sum of an arithmetic sequence. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`first_term`,`common_difference`,`n`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Arithmetic Sequence Calculator API do? ▾ Calculate the nth term and partial sum of an arithmetic sequence. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Average Calculator API # Average Calculator API math 1 credits / call v2026-04-22 Calculate mean, median, mode, range, variance, and optional weighted average. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`numbers`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Average Calculator API do? ▾ Calculate mean, median, mode, range, variance, and optional weighted average. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Average Deviation Calculator API # Average Deviation Calculator API math 1 credits / call v2026-04-22 Calculate mean and median absolute deviation for a numeric dataset. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`numbers`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Average Deviation Calculator API do? ▾ Calculate mean and median absolute deviation for a numeric dataset. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Find Minimum and Maximum API # Find Minimum and Maximum API math 1 credits / call v2026-04-22 Find min, max, range, mean, median, positions, and sorted values for a number list. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 and Maximum - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`numbers`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Arccos Calculator API # Arccos Calculator API math 1 credits / call v2026-04-22 Calculate inverse cosine in radians and degrees. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Arccos Calculator API do? ▾ Calculate inverse cosine in radians and degrees. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Arctan Calculator API # Arctan Calculator API math 1 credits / call v2026-04-22 Calculate inverse tangent in radians and degrees. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Arctan Calculator API do? ▾ Calculate inverse tangent in radians and degrees. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Degree to Radian Converter API # Degree to Radian Converter API math 1 credits / call v2026-04-22 Convert degrees to radians with pi-fraction, quadrant, and trig values. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`degrees`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Degree to Radian Converter API do? ▾ Convert degrees to radians with pi-fraction, quadrant, and trig values. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - DMS to Decimal Degrees Converter API # DMS to Decimal Degrees Converter API math 1 credits / call v2026-04-22 Convert degrees, minutes, and seconds to signed decimal degrees. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 Degrees Converter - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`degrees`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the DMS to Decimal Degrees Converter API do? ▾ Convert degrees, minutes, and seconds to signed decimal degrees. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Acres to Hectares Converter API # Acres to Hectares Converter API math 1 credits / call v2026-04-22 Convert between acres and hectares with related area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Acres to Hectares Converter API do? ▾ Convert between acres and hectares with related area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Acres to Perches Converter API # Acres to Perches Converter API math 1 credits / call v2026-04-22 Convert acres and perches for land area calculations. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Acres to Perches Converter API do? ▾ Convert acres and perches for land area calculations. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Acres to Square Feet Converter API # Acres to Square Feet Converter API math 1 credits / call v2026-04-22 Convert between acres and square feet with related area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Acres to Square Feet Converter API do? ▾ Convert between acres and square feet with related area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Acres to Square Meters Converter API # Acres to Square Meters Converter API math 1 credits / call v2026-04-22 Convert between acres and square meters with related area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Acres to Square Meters Converter API do? ▾ Convert between acres and square meters with related area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Acres to Square Miles Converter API # Acres to Square Miles Converter API math 1 credits / call v2026-04-22 Convert acres and square miles, including related land-area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Acres to Square Miles Converter API do? ▾ Convert acres and square miles, including related land-area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Acres to Square Yards Converter API # Acres to Square Yards Converter API math 1 credits / call v2026-04-22 Convert acres and square yards, including related area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Acres to Square Yards Converter API do? ▾ Convert acres and square yards, including related area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Angle Converter API # Angle Converter API math 1 credits / call v2026-04-22 Convert angles between degrees, radians, gradians, turns, arcminutes, arcseconds, and milliradians. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,`from_unit`,`to_unit`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Angle Converter API do? ▾ Convert angles between degrees, radians, gradians, turns, arcminutes, arcseconds, and milliradians. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - CM to Inches Converter API # CM to Inches Converter API math 1 credits / call v2026-04-22 Convert centimeters to inches, feet/inches, and nearest 1/16-inch fraction. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`cm`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cups to Tablespoons Converter API # Cups to Tablespoons Converter API math 1 credits / call v2026-04-22 Convert US cups and tablespoons, including teaspoons and fluid ounces. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Cups to Tablespoons Converter API do? ▾ Convert US cups and tablespoons, including teaspoons and fluid ounces. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Feet to Meters Converter API # Feet to Meters Converter API math 1 credits / call v2026-04-22 Convert feet and optional inches to meters, centimeters, and millimeters. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`feet`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Feet to Meters Converter API do? ▾ Convert feet and optional inches to meters, centimeters, and millimeters. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Gallons to Cups Converter API # Gallons to Cups Converter API math 1 credits / call v2026-04-22 Convert US gallons and cups, with quart and pint equivalents. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Gallons to Cups Converter API do? ▾ Convert US gallons and cups, with quart and pint equivalents. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Grams to Ounces Converter API # Grams to Ounces Converter API math 1 credits / call v2026-04-22 Convert grams to ounces, pounds, kilograms, and milligrams. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Grams to Ounces Converter API do? ▾ Convert grams to ounces, pounds, kilograms, and milligrams. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Grams to Pounds Converter API # Grams to Pounds Converter API math 1 credits / call v2026-04-22 Convert grams to pounds, ounces, and kilograms. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Grams to Pounds Converter API do? ▾ Convert grams to pounds, ounces, and kilograms. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Inches to CM Converter API # Inches to CM Converter API math 1 credits / call v2026-04-22 Convert inches to centimeters, millimeters, meters, and feet. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`inches`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Inches to CM Converter API do? ▾ Convert inches to centimeters, millimeters, meters, and feet. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - kg to lbs Converter API # kg to lbs Converter API math 1 credits / call v2026-04-22 Convert kilograms and pounds with ounce breakdown. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the kg to lbs Converter API do? ▾ Convert kilograms and pounds with ounce breakdown. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - kPa to psi Converter API # kPa to psi Converter API math 1 credits / call v2026-04-22 Convert kilopascals to psi, bar, atm, and mmHg. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`kpa`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the kPa to psi Converter API do? ▾ Convert kilopascals to psi, bar, atm, and mmHg. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Liters to Cups Converter API # Liters to Cups Converter API math 1 credits / call v2026-04-22 Convert liters to US, metric, and imperial cups. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`liters`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Liters to Cups Converter API do? ▾ Convert liters to US, metric, and imperial cups. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Meters to Feet Converter API # Meters to Feet Converter API math 1 credits / call v2026-04-22 Convert meters to decimal feet and feet-and-inches. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`meters`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Meters to Feet Converter API do? ▾ Convert meters to decimal feet and feet-and-inches. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Ounce to Gram Converter API # Ounce to Gram Converter API math 1 credits / call v2026-04-22 Convert ounces to grams, kilograms, milligrams, and pounds. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`ounces`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Ounce to Gram Converter API do? ▾ Convert ounces to grams, kilograms, milligrams, and pounds. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Ounces to Cups Converter API # Ounces to Cups Converter API math 1 credits / call v2026-04-22 Convert US fluid ounces and cups with spoon and milliliter equivalents. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Ounces to Cups Converter API do? ▾ Convert US fluid ounces and cups with spoon and milliliter equivalents. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Perches to Acres Converter API # Perches to Acres Converter API math 1 credits / call v2026-04-22 Convert perches and acres for land area calculations. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Perches to Acres Converter API do? ▾ Convert perches and acres for land area calculations. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Pounds to Grams Converter API # Pounds to Grams Converter API math 1 credits / call v2026-04-22 Convert pounds to grams, kilograms, ounces, and milligrams. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Pounds to Grams Converter API do? ▾ Convert pounds to grams, kilograms, ounces, and milligrams. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Square Yards to Acres Converter API # Square Yards to Acres Converter API math 1 credits / call v2026-04-22 Convert square yards and acres, including related area units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Square Yards to Acres Converter API do? ▾ Convert square yards and acres, including related area units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Tablespoons to Cups Converter API # Tablespoons to Cups Converter API math 1 credits / call v2026-04-22 Convert US tablespoons to cups, teaspoons, fluid ounces, and milliliters. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`tablespoons`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Tablespoons to Cups Converter API do? ▾ Convert US tablespoons to cups, teaspoons, fluid ounces, and milliliters. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Tablespoons to Teaspoons Converter API # Tablespoons to Teaspoons Converter API math 1 credits / call v2026-04-22 Convert US tablespoons to teaspoons, cups, fluid ounces, and milliliters. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`tablespoons`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Tablespoons to Teaspoons Converter API do? ▾ Convert US tablespoons to teaspoons, cups, fluid ounces, and milliliters. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Teaspoons to Cups Converter API # Teaspoons to Cups Converter API math 1 credits / call v2026-04-22 Convert US teaspoons and cups, including tablespoons and fluid ounces. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Teaspoons to Cups Converter API do? ▾ Convert US teaspoons and cups, including tablespoons and fluid ounces. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Teaspoons to Tablespoons Converter API # Teaspoons to Tablespoons Converter API math 1 credits / call v2026-04-22 Convert US teaspoons to tablespoons, cups, fluid ounces, and milliliters. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`teaspoons`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Teaspoons to Tablespoons Converter API do? ▾ Convert US teaspoons to tablespoons, cups, fluid ounces, and milliliters. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cups to Gallons Converter API # Cups to Gallons Converter API math 1 credits / call v2026-04-22 Convert US cups and gallons with related volume units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Cups to Gallons Converter API do? ▾ Convert US cups and gallons with related volume units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cups to Liters Converter API # Cups to Liters Converter API math 1 credits / call v2026-04-22 Convert US cups and liters with milliliter, fluid-ounce, and spoon equivalents. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cups to Ounces Converter API # Cups to Ounces Converter API math 1 credits / call v2026-04-22 Convert cups and fluid ounces for US customary, US legal, imperial, or metric cups. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cups to Quarts Converter API # Cups to Quarts Converter API math 1 credits / call v2026-04-22 Convert US cups and quarts with related volume units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Cups to Quarts Converter API do? ▾ Convert US cups and quarts with related volume units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Math](/tools/#math) - › - Cups to Teaspoons Converter API # Cups to Teaspoons Converter API math 1 credits / call v2026-04-22 Convert US cups and teaspoons with tablespoon and fluid-ounce equivalents. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Cups to Teaspoons Converter API do? ▾ Convert US cups and teaspoons with tablespoon and fluid-ounce equivalents. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Random](/tools/#random) - › - Random Color Generator API # Random Color Generator API random 1 credits / call v2026-04-22 Generate random HEX, RGB, and HSL colors with optional harmony rules. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Random Color Generator API do? ▾ Generate random HEX, RGB, and HSL colors with optional harmony rules. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related random tools [ Random Port Number Generator Generate random network port numbers in standard or custom ranges. ](/tools/random-port-number-generator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Random](/tools/#random) - › - Random Port Number Generator API # Random Port Number Generator API random 1 credits / call v2026-04-22 Generate random network port numbers in standard or custom ranges. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Random Port Number Generator API do? ▾ Generate random network port numbers in standard or custom ranges. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related random tools [ Random Color Generator Generate random HEX, RGB, and HSL colors with optional harmony rules. ](/tools/random-color-generator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Density Calculator API # Density Calculator API science 1 credits / call v2026-04-22 Solve density, mass, or volume with common unit conversions. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Density Calculator API do? ▾ Solve density, mass, or volume with common unit conversions. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) [ Celsius to Kelvin Converter Convert Celsius to Kelvin and related temperature scales. ](/tools/celsius-to-kelvin-converter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Bar to PSI Converter API # Bar to PSI Converter API science 1 credits / call v2026-04-22 Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`value`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related science tools [ psi to kPa Converter Convert pounds per square inch to kilopascals and related pressure units. ](/tools/psi-to-kpa-converter/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) [ Celsius to Kelvin Converter Convert Celsius to Kelvin and related temperature scales. ](/tools/celsius-to-kelvin-converter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - psi to kPa Converter API # psi to kPa Converter API science 1 credits / call v2026-04-22 Convert pounds per square inch to kilopascals and related pressure units. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`psi`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the psi to kPa Converter API do? ▾ Convert pounds per square inch to kilopascals and related pressure units. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related science tools [ Bar to PSI Converter Convert bar and PSI, including kPa, MPa, atm, torr, inHg, and Pa. ](/tools/bar-to-psi-converter/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) [ Celsius to Kelvin Converter Convert Celsius to Kelvin and related temperature scales. ](/tools/celsius-to-kelvin-converter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Celsius to Fahrenheit Calculator API # Celsius to Fahrenheit Calculator API science 1 credits / call v2026-04-22 Convert Celsius to Fahrenheit and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`celsius`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Celsius to Fahrenheit Calculator API do? ▾ Convert Celsius to Fahrenheit and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Kelvin Converter Convert Celsius to Kelvin and related temperature scales. ](/tools/celsius-to-kelvin-converter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Celsius to Kelvin Converter API # Celsius to Kelvin Converter API science 1 credits / call v2026-04-22 Convert Celsius to Kelvin and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`celsius`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Celsius to Kelvin Converter API do? ▾ Convert Celsius to Kelvin and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Celsius to Rankine Converter API # Celsius to Rankine Converter API science 1 credits / call v2026-04-22 Convert Celsius to Rankine and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`celsius`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Celsius to Rankine Converter API do? ▾ Convert Celsius to Rankine and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Fahrenheit to Celsius Calculator API # Fahrenheit to Celsius Calculator API science 1 credits / call v2026-04-22 Convert Fahrenheit to Celsius and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`fahrenheit`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Fahrenheit to Celsius Calculator API do? ▾ Convert Fahrenheit to Celsius and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Fahrenheit to Kelvin Converter API # Fahrenheit to Kelvin Converter API science 1 credits / call v2026-04-22 Convert Fahrenheit to Kelvin and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`fahrenheit`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Fahrenheit to Kelvin Converter API do? ▾ Convert Fahrenheit to Kelvin and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Fahrenheit to Rankine Converter API # Fahrenheit to Rankine Converter API science 1 credits / call v2026-04-22 Convert Fahrenheit to Rankine and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`fahrenheit`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Fahrenheit to Rankine Converter API do? ▾ Convert Fahrenheit to Rankine and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Kelvin to Celsius Converter API # Kelvin to Celsius Converter API science 1 credits / call v2026-04-22 Convert Kelvin to Celsius and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`kelvin`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Kelvin to Celsius Converter API do? ▾ Convert Kelvin to Celsius and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Kelvin to Fahrenheit Converter API # Kelvin to Fahrenheit Converter API science 1 credits / call v2026-04-22 Convert Kelvin to Fahrenheit and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`kelvin`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Kelvin to Fahrenheit Converter API do? ▾ Convert Kelvin to Fahrenheit and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Rankine to Celsius Converter API # Rankine to Celsius Converter API science 1 credits / call v2026-04-22 Convert Rankine to Celsius and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`rankine`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Rankine to Celsius Converter API do? ▾ Convert Rankine to Celsius and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Science](/tools/#science) - › - Rankine to Fahrenheit Converter API # Rankine to Fahrenheit Converter API science 1 credits / call v2026-04-22 Convert Rankine to Fahrenheit and related temperature scales. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`rankine`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Rankine to Fahrenheit Converter API do? ▾ Convert Rankine to Fahrenheit and related temperature scales. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## 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/) [ Density Calculator Solve density, mass, or volume with common unit conversions. ](/tools/density-calculator/) [ Celsius to Fahrenheit Calculator Convert Celsius to Fahrenheit and related temperature scales. ](/tools/celsius-to-fahrenheit-calculator/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Sports](/tools/#sports) - › - Batting Average Calculator API # Batting Average Calculator API sports 1 credits / call v2026-04-22 Calculate baseball batting average from hits and at-bats. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`hits`,`at_bats`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Batting Average Calculator API do? ▾ Calculate baseball batting average from hits and at-bats. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Character Counter API # Character Counter API text 1 credits / call v2026-04-22 Count characters, letters, digits, whitespace, and punctuation. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Character Counter API do? ▾ Count characters, letters, digits, whitespace, and punctuation. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) [ Remove Spaces Strip whitespace: all, extra, leading, trailing, or per-line. ](/tools/remove-spaces/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Compare Two Strings API # Compare Two Strings API text 1 credits / call v2026-04-22 Compare two strings with equality, similarity, edit distance, and diff statistics. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`string1`,`string2`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Compare Two Strings API do? ▾ Compare two strings with equality, similarity, edit distance, and diff statistics. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Find Longest Line API # Find Longest Line API text 1 credits / call v2026-04-22 Rank text lines by character, word, or byte length and return the longest lines. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Line Counter API # Line Counter API text 1 credits / call v2026-04-22 Count total / non-empty / empty lines and longest-line length. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Line Counter API do? ▾ Count total / non-empty / empty lines and longest-line length. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Remove Spaces Strip whitespace: all, extra, leading, trailing, or per-line. ](/tools/remove-spaces/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Sentence Counter API # Sentence Counter API text 1 credits / call v2026-04-22 Count sentences and classify sentence type and basic complexity. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Sentence Counter API do? ▾ Count sentences and classify sentence type and basic complexity. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Word Counter API # Word Counter API text 1 credits / call v2026-04-22 Count words, characters, sentences, paragraphs, reading/speaking time, top words. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Word Counter API do? ▾ Count words, characters, sentences, paragraphs, reading/speaking time, top words. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) [ Remove Spaces Strip whitespace: all, extra, leading, trailing, or per-line. ](/tools/remove-spaces/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Text Case Converter API # Text Case Converter API text 1 credits / call v2026-04-22 Convert text to uppercase, lowercase, title, sentence, camel, snake, kebab, and related cases. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 Text Case Converter - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Title Case Converter API # Title Case Converter API text 1 credits / call v2026-04-22 Convert text to title case using smart, APA, Chicago, MLA, AP, or simple capitalization rules. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Remove Duplicate Lines API # Remove Duplicate Lines API text 1 credits / call v2026-04-22 Remove duplicate text lines while keeping first, last, or only unique occurrences. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Remove Duplicate Lines API do? ▾ Remove duplicate text lines while keeping first, last, or only unique occurrences. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Add Line Numbers API # Add Line Numbers API text 1 credits / call v2026-04-22 Add configurable line numbers to the start or end of each text line. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Add Prefix and Suffix API # Add Prefix and Suffix API text 1 credits / call v2026-04-22 Add prefix, suffix, and optional numbering to each text line, word, or delimited item. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Remove Accent API # Remove Accent API text 1 credits / call v2026-04-22 Remove accents and combining marks from Unicode text. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Remove Accent API do? ▾ Remove accents and combining marks from Unicode text. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) [ Remove Spaces Strip whitespace: all, extra, leading, trailing, or per-line. ](/tools/remove-spaces/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Remove Line Numbers API # Remove Line Numbers API text 1 credits / call v2026-04-22 Strip numeric prefixes such as line numbers from each line of text. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Remove Line Numbers API do? ▾ Strip numeric prefixes such as line numbers from each line of text. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Remove Lines Containing API # Remove Lines Containing API text 1 credits / call v2026-04-22 Keep or remove lines matching a text, word, prefix, suffix, or regex pattern. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Remove Punctuation API # Remove Punctuation API text 1 credits / call v2026-04-22 Remove or replace selected punctuation categories from text. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Remove Punctuation API do? ▾ Remove or replace selected punctuation categories from text. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Reverse Text API # Reverse Text API text 1 credits / call v2026-04-22 Reverse whole text, word order, each word, or line order. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Reverse Text API do? ▾ Reverse whole text, word order, each word, or line order. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Sort Lines Alphabetically API # Sort Lines Alphabetically API text 1 credits / call v2026-04-22 Sort text lines alphabetically, naturally, numerically, or by length. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Sort Lines Alphabetically API do? ▾ Sort text lines alphabetically, naturally, numerically, or by length. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Remove Empty Lines API # Remove Empty Lines API text 1 credits / call v2026-04-22 Remove blank or whitespace-only lines from text and report line reduction statistics. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## 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 when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Remove Leading Trailing Spaces API # Remove Leading Trailing Spaces API text 1 credits / call v2026-04-22 Trim leading and trailing spaces or tabs from each line. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Remove Leading Trailing Spaces API do? ▾ Trim leading and trailing spaces or tabs from each line. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com) > For the complete documentation index, see [llms.txt](/llms.txt). [◆ miniwebtool /api](/) [Tools](/tools/) [Docs](/docs/) [Reference](/v1/docs) [Pricing](/#pricing) [Log in](/dashboard/login/) [Start free](/billing/checkout/?plan=free) - [Home](/) - › - [Tools](/tools/) - › - [Text](/tools/#text) - › - Remove Spaces API # Remove Spaces API text 1 credits / call v2026-04-22 Strip whitespace: all, extra, leading, trailing, or per-line. Use this endpoint when your app or AI agent needs exact JSON instead of spending LLM tokens on well-defined utility work. Prefer the browser version? [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 ```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. - Starts 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 - 1 Get an API key [Get an API key](/billing/checkout/?plan=free). Sign up free for a bearer token. 1,000 credits/month, no card. - 2 Assemble the JSON body Required fields:`text`,. See the Request body table below for the full schema. - 3 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. - 4 Parse the response Envelope:`{request_id, tool, tool_version, credits_used, result}`. The typed output lives in`result`. ## Frequently asked What does the Remove Spaces API do? ▾ Strip whitespace: all, extra, leading, trailing, or per-line. Use it when you need exact JSON instead of asking an LLM to recreate well-defined utility logic. 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`. ## Use from an AI agent Every endpoint on this site is also exposed via 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")' ``` ## Related text tools [ Remove Accent Remove accents and combining marks from Unicode text. ](/tools/remove-accent/) [ Word Counter Count words, characters, sentences, paragraphs, reading/speaking time, top word… ](/tools/word-counter/) [ Character Counter Count characters, letters, digits, whitespace, and punctuation. ](/tools/character-counter/) [ Line Counter Count total / non-empty / empty lines and longest-line length. ](/tools/line-counter/) © 2026 miniwebtool. API is a separate product from the consumer site. [Terms](https://miniwebtool.com/about/terms-and-disclaimer/#api-terms) [Privacy](https://miniwebtool.com/about/privacy/#api-privacy) [consumer site →](https://miniwebtool.com)