/v1/dilution
C1·V1 = C2·V2 solver
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/dilution-api/v1/dilution" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dilution-api/v1/dilution", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dilution-api/v1/dilution");
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/dilution-api/v1/dilution",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"c1": 10,
"c2": 1,
"v1": 10,
"v2": 100,
"note": "C1·V1 = C2·V2. Concentrations share one unit; volumes share another. Diluent to add = V2 − V1.",
"solved_for": "v1",
"diluent_to_add": 90,
"dilution_factor": 10,
"stock_volume_needed": 10
},
"meta": {
"timestamp": "2026-06-04T01:59:10.812Z",
"request_id": "ba6a5d1d-90dc-4eed-acd4-c46b4f3b309a"
},
"status": "ok",
"message": "C1·V1 = C2·V2 solver",
"success": true
}