Ir al contenido
GET /v1/nutrients

Nutrient pounds in a bag

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/fertilizer-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}