Zum Inhalt springen
GET /v1/row-spacing

Minimum row pitch

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/pvspacing-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

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