/v1/weight
Sheet / ream / M-weight
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/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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}