Aller au contenu
GET /v1/coverage

Coverage from solids & DFT

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/coating-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/coating-api/v1/coverage" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coating-api/v1/coverage", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coating-api/v1/coverage");
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/coating-api/v1/coverage",
    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": "Theoretical coverage = 1604 × volume-solids fraction ÷ dry film thickness (mils), where 1604 is the ft² a gallon covers at 1 mil. Real coverage is lower — knock off a loss factor for overspray, surface profile and waste. Higher-solids coatings cover more per gallon at the same film build.",
        "inputs": {
            "dft_mils": 2,
            "loss_pct": 25,
            "volume_solids_pct": 50
        },
        "theoretical_coverage_m2_per_l": 9.842,
        "practical_coverage_ft2_per_gal": 300.8,
        "theoretical_coverage_ft2_per_gal": 401
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:40.654Z",
        "request_id": "007da266-38eb-4632-a6f6-1e7c5d503f43"
    },
    "status": "ok",
    "message": "Coverage",
    "success": true
}