Obix

API reference

Two routes, one auth header, one body shape. No SDK, no request-side config.

Endpoints

RouteDoes
POST https://obix.dev/v1/minifystrips whitespace, shortens names, drops dead code - smaller output
POST https://obix.dev/v1/manglerenames, encodes strings, flattens control flow, splits strings - larger, hard to reverse
AuthX-Api-Key: <your key> header, same key for both
Body{"code":"..."} - that's the whole body

Defaults

EndpointApplies
/minifymangle + compress
/manglecompact, control-flow flattening, string splitting, string-array shuffle, numbers-to-expressions

Errors

Non-200 responses look like {"ok":0,"err":"..."}.

ErrorMeaning
400 bad requestbody is not JSON, or code is missing / not a string
401 bad keykey missing, unknown, or disabled
405 method not allowedanything other than POST
413 payload too largebody exceeds the current payload cap (see limits)
422 parse error: ...your JS does not parse - message tells you where
503 busyqueue was full when yours arrived - retry shortly

FAQ

How do I get a key?

Create an account - your key is in the dashboard right away. What a key can do is on the limits page.

What's the difference between minify and mangle?

/minify makes your JS smaller by stripping whitespace and shortening names. /mangle goes further - renaming, encoding strings, and flattening control flow to make the output hard to read or reverse, at the cost of a larger file.

Do I need to configure anything?

No. Each endpoint has one tested setting - there's no options object to pass.