/v1/density
Spacing <-> density (and reverse)
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/plantspacing-api/v1/density" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/plantspacing-api/v1/density", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/plantspacing-api/v1/density");
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/plantspacing-api/v1/density",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"mode": "forward",
"note": "Planting density from spacing. For triangular, density uses the plant spacing equally in all directions.",
"unit": "m",
"layout": "square",
"density": {
"per_m2": 11.1111,
"per_ft2": 1.03226,
"per_acre": 44965.1,
"per_hectare": 111111.1,
"per_1000_sqft": 1032.26
},
"row_spacing_m": 0.3,
"plant_spacing_m": 0.3
},
"meta": {
"timestamp": "2026-06-04T01:59:09.644Z",
"request_id": "ffe81629-e1d9-432b-b72d-3bf206c640a6"
},
"status": "ok",
"message": "Spacing <-> density, and reverse",
"success": true
}