API · /minify-api

Minify API

healthy 4,108 Subscribers

Shrink your web assets. Minify CSS, JavaScript and HTML through one simple API and get back the compact output plus how many bytes (and what percent) you saved. CSS is minified with clean-css, JavaScript with Terser (with optional name-mangling and compression toggles), and HTML with html-minifier-terser (collapsing whitespace, dropping comments and redundant attributes, and minifying inline CSS and JS). Pass the source as a parameter or in the request body (up to 5 MB). Pure local processing — no key, no third-party service, instant. Live. 4 endpoints. Built for build pipelines, on-the-fly asset optimisation, email-HTML slimming, CMS and CDN tooling, and page-speed work.

api.oanor.com/minify-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/minify-api/openapi.json
/api/minify-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
94 ms
Server probes · 24h
Subscribers
4,108
active
Total calls
60
last 7 days
status Full status page → · 16 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 1,400 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 1,400 calls/month
  • 2 req/sec
  • CSS + JS + HTML
  • No credit card
Sign in to subscribe

Starter

€5.80 /month

  • 23,000 calls / month
  • 8 requests / second
  • Hard cap (429 above quota, no overage)
  • 23k calls/month
  • 8 req/sec
  • Terser toggles, savings stats
  • Email support
Sign in to subscribe

Pro

€25.40 /month

  • 172,000 calls / month
  • 20 requests / second
  • Hard cap (429 above quota, no overage)
  • 172k calls/month
  • 20 req/sec
  • Build / CDN pipelines
  • Priority support
Sign in to subscribe

Mega

€61.40 /month

  • 880,000 calls / month
  • 50 requests / second
  • Hard cap (429 above quota, no overage)
  • 880k calls/month
  • 50 req/sec
  • Platform scale
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

SVG Optimizer API

Shrink and clean SVG files automatically with SVGO, the industry-standard SVG optimiser. The optimize endpoint strips comments, metadata, editor cruft and redundant attributes, collapses and merges paths, and returns minified markup together with the original and optimised byte sizes and the percentage saved — typically 30-60% smaller. The data-uri endpoint goes one step further and returns a ready-to-paste CSS data URI (URL-encoded or base64) plus the matching background-image rule, so you can inline icons without an extra HTTP request. Perfect for build pipelines, icon systems, design tooling, email and embedding SVGs in CSS. Pure local processing — no key, no third-party service, instant; send markup via POST for large files (up to 2 MB). Live, nothing stored. 3 endpoints. Distinct from raster image compression, QR/code generation and JSON/HTML formatting.

api.oanor.com/svgo-api

JSON API

A fast, fully-local JSON and CSV toolkit: validate JSON (with a clear error message, type and size), pretty-print and format it (with optional deep key-sorting), minify it (reporting bytes saved), and convert between CSV and JSON — RFC-4180 CSV parsing with automatic value typing, and JSON arrays to CSV. Every endpoint accepts input via the query string or the request body (up to 1 MB). Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for data pipelines, ETL, webhooks, config tooling and developer utilities.

api.oanor.com/json-api

Modular Scale API

Generate a modular (geometric) scale for typography and spacing. Pick a base size and a ratio — a named musical interval (minor-second, major-second, minor-third, major-third, perfect-fourth, augmented-fourth, perfect-fifth, minor-sixth, golden, major-sixth, minor-seventh, major-seventh, octave and more), a plain number like 1.25, or an interval written as 3:2 — and the scale endpoint returns a harmonious set of sizes stepping up and down from the base, where each value is base × ratio^step (step 0 is the base). Choose how many steps above and below, the rounding, and an optional unit suffix (px, rem, em) so the values come back ready to paste into CSS or design tokens. The ratios endpoint lists every named ratio with its decimal value. A modular scale gives type, spacing and layout a consistent rhythm instead of arbitrary pixel values. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This produces a numeric size scale; for colour scales and gradients use the Gradient API.

api.oanor.com/modularscale-api

Color Name API

Name any colour. The nearest endpoint takes a colour as a hex, an rgb() value, an r,g,b triple or another name and returns the closest of the 140+ CSS named colours — matched perceptually with CIE76 Lab distance, not naive RGB, so the name actually looks right — along with the distance and whether it is an exact match. The name endpoint resolves a CSS colour keyword (e.g. rebeccapurple, cornflowerblue) to its hex and RGB, and list returns the whole named-colour set. Perfect for design tools and pickers, accessibility and theming, turning brand hex codes into human labels, and naming colours in generated palettes. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. Distinct from colour conversion / palette / contrast tooling, which does not name colours.

api.oanor.com/colorname-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Minify API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Minify API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Minify API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Minify API cost?
Minify API has a free tier with 100 calls / month. Paid plans start at €5.80 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Minify API GDPR-compliant?
All requests to Minify API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/minify-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/minify-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/minify-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/minify-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.