Vai al contenuto
GET /v1/recipe

Wax & fragrance for containers

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "note": "Wax (g) per candle = container volume(ml) × fill% × wax density (soy ≈ 0.9 g/ml). Fragrance = wax × load% (commonly 6–10%, never above the wax's max). Multiply by the number of candles.",
        "inputs": {
            "count": 4,
            "wax_type": "soy",
            "fill_percent": 80,
            "container_volume": 250,
            "fragrance_percent": 8
        },
        "wax_density": 0.9,
        "total_wax_grams": 720,
        "batch_weight_grams": 777.6,
        "wax_per_candle_grams": 180,
        "total_fragrance_grams": 57.6,
        "fragrance_per_candle_grams": 14.4
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:12.069Z",
        "request_id": "b2f9a3c9-1180-45c3-b29b-d7e9d6152d79"
    },
    "status": "ok",
    "message": "Wax & fragrance",
    "success": true
}