/v1/convert
GSM ↔ US basis 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/convert" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/paper-api/v1/convert", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/paper-api/v1/convert");
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/convert",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"gsm": 80,
"note": "Basis weight is for bond stock (basis size 17×22 in, 500 sheets). gsm = lb × 3.7595.",
"input": {
"stock": "bond",
"basis_size_in": "17×22"
},
"basis_weight_lb": 21.28,
"factor_gsm_per_lb": 3.7595
},
"meta": {
"timestamp": "2026-06-04T01:59:13.573Z",
"request_id": "0353c058-c609-4bc0-83f6-c5a7076f8a47"
},
"status": "ok",
"message": "GSM <-> basis weight",
"success": true
}