/v1/grout
Grout quantity
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/flooring-api/v1/grout" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/flooring-api/v1/grout", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/flooring-api/v1/grout");
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/flooring-api/v1/grout",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Grout ≈ ((A+B)/(A·B))·joint·thickness·1.8 per m² (tile dims in mm). Add ~10 % for waste and uneven joints.",
"inputs": {
"area": 20,
"tile_width": 300,
"joint_width": 3,
"tile_length": 300,
"tile_thickness": 8
},
"grout_total_kg": 5.76,
"grout_kg_per_m2": 0.288
},
"meta": {
"timestamp": "2026-06-04T18:38:17.971Z",
"request_id": "06287194-7b43-4d0a-8d00-a4be5351d228"
},
"status": "ok",
"message": "Grout quantity",
"success": true
}