/v1/row-spacing
Minimum row pitch
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/pvspacing-api/v1/row-spacing" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pvspacing-api/v1/row-spacing", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pvspacing-api/v1/row-spacing");
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/pvspacing-api/v1/row-spacing",
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": "The minimum row pitch (front-edge to front-edge) = the module's horizontal base (length·cos tilt) + the shadow its back edge casts (height ÷ tan(min sun elevation)). Use the lowest sun you need clear — typically the winter-solstice altitude at solar noon — so the rows never shade each other in the worst hours. Tighter spacing packs more kW per acre but loses winter yield to mutual shading; the ground coverage ratio measures that trade.",
"inputs": {
"tilt_deg": 30,
"module_length_m": 1.7,
"min_sun_elevation_deg": 20,
"azimuth_difference_deg": 0
},
"module_base_m": 1.472,
"min_row_pitch_m": 3.808,
"module_height_m": 0.85,
"shadow_clearance_m": 2.335,
"ground_coverage_ratio": 0.4465
},
"meta": {
"timestamp": "2026-06-07T08:17:56.652Z",
"request_id": "149ea60d-ea62-4e56-937d-93a47ccb9b6f"
},
"status": "ok",
"message": "Row spacing",
"success": true
}