/v1/nutrients
Nutrient pounds in a bag
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/fertilizer-api/v1/nutrients" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fertilizer-api/v1/nutrients", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fertilizer-api/v1/nutrients");
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/fertilizer-api/v1/nutrients",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Pounds of nutrient in the bag. P is shown as P₂O₅ and K as K₂O (label) plus the elemental amount.",
"input": {
"analysis": "20-5-10",
"bag_weight_lb": 40
},
"nutrients": {
"k2o_lb": 4,
"p2o5_lb": 2,
"nitrogen_lb": 8,
"potassium_lb": 3.3206,
"phosphorus_lb": 0.8728
}
},
"meta": {
"timestamp": "2026-06-04T01:59:14.071Z",
"request_id": "d121b28d-1dd0-42ba-9641-e5054ecd070f"
},
"status": "ok",
"message": "Nutrients in a bag",
"success": true
}