/v1/mixture
Air or fuel mass for a mixture
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/airfuel-api/v1/mixture" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/airfuel-api/v1/mixture", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/airfuel-api/v1/mixture");
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/airfuel-api/v1/mixture",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"afr": 14.7,
"note": "At a chosen lambda the mixture has AFR = lambda × stoichiometric, so the fuel for a charge of air = air mass ÷ AFR (and air for a fuel mass = fuel × AFR). This links the air the engine breathes each cycle to the fuel the injectors must add — the heart of how an ECU and a tuner size injectors and set fuelling from the measured air mass.",
"inputs": {
"fuel": "gasoline",
"lambda": 1,
"air_mass_g": 1000,
"stoich_afr": 14.7,
"fuel_mass_g": null
},
"fuel_mass_g": 68.027
},
"meta": {
"timestamp": "2026-06-06T23:53:51.843Z",
"request_id": "1043e0bb-f4d1-4a37-b868-802e164735cd"
},
"status": "ok",
"message": "Mixture",
"success": true
}