/v1/capacity
Towing capacity
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/towing-api/v1/capacity" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/towing-api/v1/capacity", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/towing-api/v1/capacity");
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/towing-api/v1/capacity",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Max trailer = GCWR − curb − payload (passengers and cargo in the tow vehicle). Stay within the rating.",
"inputs": {
"gcwr": 7000,
"payload": 400,
"curb_weight": 2000
},
"margin": 600,
"trailer_weight": 4000,
"within_capacity": true,
"max_trailer_weight": 4600,
"loaded_vehicle_weight": 2400
},
"meta": {
"timestamp": "2026-06-04T18:38:19.817Z",
"request_id": "3240a73f-aa35-409f-92fd-7fa28cd8c521"
},
"status": "ok",
"message": "Towing capacity",
"success": true
}