/v1/scientific
Scientific & engineering notation
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}