Naar de inhoud
GET /v1/scientific

Scientific & engineering notation

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

Voorbeeldrespons

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

{
    "data": {
        "value": 1500,
        "exponent": 3,
        "mantissa": 1.5,
        "scientific": "1.5e+3",
        "engineering": "1.5e+3",
        "scientific_pretty": "1.5 × 10^3",
        "engineering_pretty": "1.5 × 10^3",
        "engineering_exponent": 3,
        "engineering_mantissa": 1.5
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:03.238Z",
        "request_id": "74cbd299-d352-40ec-bf45-55417200cfee"
    },
    "status": "ok",
    "message": "Scientific notation",
    "success": true
}