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/sigfig-api

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/sigfig-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sigfig-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sigfig-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/sigfig-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

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

{
    "data": {
        "name": "Scientific Notation API",
        "notes": "Engineering notation uses exponents that are multiples of 3. SI prefixes from yocto (10⁻²⁴) to yotta (10²⁴). µ and u both mean micro. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/scientific",
                "params": {
                    "value": "a number",
                    "sigfigs": "mantissa significant figures (default 6)"
                },
                "returns": "scientific and engineering notation"
            },
            {
                "path": "/v1/sigfigs",
                "params": {
                    "value": "a number",
                    "round_to": "round to N significant figures"
                },
                "returns": "the rounded value and/or the significant-figure count"
            },
            {
                "path": "/v1/si-prefix",
                "params": {
                    "unit": "optional unit",
                    "parse": "or a prefixed string to parse",
                    "value": "a number"
                },
                "returns": "the SI-prefixed form (or the parsed value)"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Scientific number representation as an API. The scientific endpoint expresses a number in both scientific notation (one digit before the decimal point × a power of ten) and engineering notation (the exponent a multiple of three, lining up with SI prefixes), and reports the mantissa and exponent. The sigfigs endpoint rounds a number to a chosen number of significant figures, and counts the significant figures in a value (respecting the rules for leading zeros, trailing zeros and the decimal point, and flagging the ambiguous cases). The si-prefix endpoint formats a number with the right metric prefix (1500 → 1.5 k, 2.3×10⁹ → 2.3 G, 0.0023 → 2.3 m) with an optional unit, and parses a prefixed value back to a plain number (2.2 MΩ → 2200000). Everything is computed locally and deterministically, so it is instant and private. Ideal for science and engineering tools, lab and measurement software, electronics, and education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. This is scientific number representation; for locale number formatting use a number-format API and for number-to-words or Roman numerals use a number API."
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:03.571Z",
        "request_id": "5c49da00-ab55-4d2f-8f44-31754b9234e1"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}