Aller au contenu
GET /v1/product

Product to add per tank

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/spray-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/spray-api/v1/product" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spray-api/v1/product", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spray-api/v1/product");
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/spray-api/v1/product",
    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": "Product per tank = the acres a tank covers × the label rate per acre (keep the rate's units — oz, pints, lb — and the answer comes back in them). Add that amount of pesticide or nutrient to each full tank and mix the partial tank to its acres. Always follow the product label for the legal rate, mixing order and any adjuvant, and agitate to keep the mix uniform.",
        "inputs": {
            "field_acres": 50,
            "tank_volume_gal": 300,
            "application_rate_gpa": 20,
            "product_rate_per_acre": 1.5
        },
        "total_product": 75,
        "acres_per_tank": 15,
        "product_per_tank": 22.5
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:00.283Z",
        "request_id": "c62a7607-f1d0-4eef-81bb-ef6c610035d9"
    },
    "status": "ok",
    "message": "Product per tank",
    "success": true
}