Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/minify-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/minify-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/minify-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/minify-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/minify-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "auth": "none upstream; this gateway requires x-api-key",
        "name": "Minify API",
        "note": "Minify web assets. /v1/css, /v1/js (terser; ?mangle=&?compress= toggles) and /v1/html — pass ?code= the source (or POST body, up to 5 MB). Each returns the minified output plus original/minified size and the percent saved. Instant, nothing stored.",
        "source": "Local minification (clean-css, terser, html-minifier-terser) — no key, no upstream",
        "endpoints": 4
    },
    "meta": {
        "timestamp": "2026-06-02T16:51:57.484Z",
        "request_id": "33e1943c-2b1b-4a1a-9c85-77ed6dd9f162"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}