Vai al contenuto
GET /v1/glaze

Glaze batch

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

Risposta di esempio

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

{
    "data": {
        "note": "Each ingredient's grams = (its percent ÷ the recipe's percent sum) × batch weight, so recipes that total over 100 % (base 100 + colorant/opacifier additions) still scale correctly. Add water to taste for dipping (often ~80–90 % of dry weight, ~1.4–1.5 specific gravity).",
        "inputs": {
            "batch_grams": 1000,
            "water_percent": 85,
            "recipe_percent_sum": 100
        },
        "ingredients": [
            {
                "name": "Custer Feldspar",
                "grams": 400,
                "percent": 40
            },
            {
                "name": "Silica",
                "grams": 250,
                "percent": 25
            },
            {
                "name": "Whiting",
                "grams": 200,
                "percent": 20
            },
            {
                "name": "Kaolin",
                "grams": 150,
                "percent": 15
            }
        ],
        "water_grams": 850,
        "dry_total_grams": 1000
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:05.459Z",
        "request_id": "0104d60f-3ad2-47d9-bdb0-251ba1973b49"
    },
    "status": "ok",
    "message": "Glaze batch",
    "success": true
}