Vai al contenuto
GET /v1/shrinkage

Clay shrinkage

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/pottery-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/pottery-api/v1/shrinkage" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pottery-api/v1/shrinkage", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pottery-api/v1/shrinkage");
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/pottery-api/v1/shrinkage",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Linear shrinkage applies wet → bone-dry → fired: fired = wet × (1 − shrinkage). To end at a target size, throw it larger: wet = target ÷ (1 − shrinkage). Most clay bodies shrink 10–13 % linear; volume shrinks by the cube of that.",
        "inputs": {
            "size": 100,
            "direction": "forward",
            "shrinkage_percent": 12
        },
        "wet_size": 100,
        "fired_size": 88,
        "linear_shrink_factor": 0.88,
        "total_volume_shrink_percent": 31.85
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:05.549Z",
        "request_id": "42d12d6c-5b7c-44d0-9e30-b2c8845643f3"
    },
    "status": "ok",
    "message": "Clay shrinkage",
    "success": true
}