/v1/weight
Sheet / ream / M-weight
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/paper-api/v1/weight" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/paper-api/v1/weight", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/paper-api/v1/weight");
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/paper-api/v1/weight",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Sheet weight = gsm × sheet area (m²). Ream = 500 sheets; M-weight is the weight of 1000 sheets in pounds.",
"input": {
"gsm": 80,
"count": 500,
"area_m2": 0.06237
},
"total_kg": 2.4948,
"m_weight_lb": 11.0002,
"ream_500_kg": 2.4948,
"sheet_grams": 4.9896,
"total_grams": 2494.8,
"ream_500_grams": 2494.8
},
"meta": {
"timestamp": "2026-06-04T01:59:13.760Z",
"request_id": "3849415b-e9cc-42ed-b82e-c406269f3b4c"
},
"status": "ok",
"message": "Sheet / ream weight",
"success": true
}