/v1/freight-class
NMFC LTL freight class
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/freight-api/v1/freight-class" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/freight-api/v1/freight-class", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/freight-api/v1/freight-class");
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/freight-api/v1/freight-class",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "LTL freight class from the NMFC density scale: density = weight / cubic feet. Denser freight is a lower (cheaper) class — 50 is densest, 500 lightest.",
"inputs": {
"width": 40,
"height": 48,
"length": 48,
"weight": 200
},
"cubic_feet": 53.3333,
"freight_class": 250,
"density_lb_per_cuft": 3.75
},
"meta": {
"timestamp": "2026-06-05T21:48:47.468Z",
"request_id": "6685750f-0f28-40ac-a2be-a5c6b8cfc00b"
},
"status": "ok",
"message": "Freight class",
"success": true
}