/v1/duty-rating
Duty-rating class for a load
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/ladder-api/v1/duty-rating" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ladder-api/v1/duty-rating", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ladder-api/v1/duty-rating");
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/ladder-api/v1/duty-rating",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Duty rating is the TOTAL load — your weight plus tools and materials, not just bodyweight. Type III (200 lb) is household, II (225) light commercial, I (250) industrial, IA (300) extra-heavy and IAA (375) professional. Add up everything you carry up and pick the rating above it; never exceed it.",
"inputs": {
"total_load_lb": 280
},
"duty_use": "extra heavy duty",
"duty_type": "IA",
"rated_capacity_lb": 300
},
"meta": {
"timestamp": "2026-06-06T23:53:59.960Z",
"request_id": "c635a569-9e02-4738-9b63-e2bd1b53b3e0"
},
"status": "ok",
"message": "Duty rating",
"success": true
}