/v1/ring
Wire length + weight per ring
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/chainmaille-api/v1/ring" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chainmaille-api/v1/ring", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chainmaille-api/v1/ring");
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/chainmaille-api/v1/ring",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Wire per ring ≈ π × (inner diameter + wire diameter) — the mean-diameter circumference. Weight = wire volume × density. Add a little for cut loss and the kerf of the saw or cutter.",
"inputs": {
"material": "steel",
"density_g_cm3": 7.85,
"wire_diameter": 1.6,
"inner_diameter": 6.4
},
"wire_per_ring_in": 0.9895,
"wire_per_ring_mm": 25.133,
"weight_per_ring_g": 0.3967
},
"meta": {
"timestamp": "2026-06-06T07:13:58.013Z",
"request_id": "97f74abd-d763-487a-98c8-c7515e7c0f50"
},
"status": "ok",
"message": "Ring math",
"success": true
}