#craft
2 APIs with this tag
Candle Making API
Candle-making maths as an API, computed locally and deterministically — the wax, fragrance and burn-time numbers a chandler scales a batch with. The recipe endpoint sizes a pour from the container water volume: wax (g) per candle = volume(ml) × fill% × wax density (soy ≈ 0.9, beeswax ≈ 0.96, paraffin ≈ 0.9 g/ml), so a 250 ml jar at 80 % fill takes 180 g of soy wax; it adds the fragrance oil at the load percentage (commonly 6–10 %, never above the wax's maximum) and multiplies everything by the number of candles for the total wax, total fragrance and batch weight. The burn endpoint estimates how long a candle lasts: burn time ≈ wax grams ÷ burn rate, where a typical container candle consumes about 7–9 g of wax an hour. Everything is computed locally and deterministically, so it is instant and private. Ideal for candle-making, home-fragrance, handmade-craft and maker app developers, batch-calculator and recipe tools, and chandlery education. Pure local computation — no key, no third-party service, instant. Metric: millilitres, grams, percent. Live, nothing stored. 2 compute endpoints. A planning aid — pour tests and your wax datasheet always win.
api.oanor.com/candle-api
Soap Making API
Soap-making and saponification maths as an API, computed locally and deterministically — the lye-calculator numbers every cold- and hot-process soaper needs, with the safety margin built in. The lye endpoint takes a list of oils as oil:grams pairs (olive, coconut, palm, shea, castor, lard, tallow and a couple of dozen more, each with its standard SAP value) and returns the sodium hydroxide (NaOH) or potassium hydroxide (KOH) to saponify them: lye = Σ(oil grams × SAP) × (1 − superfat), so 1 kg of coconut oil at 5 % superfat needs 169.1 g of NaOH (or 263.6 g of 90 %-pure KOH for liquid soap). It sizes the water by lye-to-water ratio, percentage of oils, or lye-solution concentration, adds the fragrance (a few percent of the oils) and totals the batch weight. The mould endpoint sizes a batch to a mould: oils to fill it ≈ volume(cm³) × 0.40, from a volume or length × width × height. SAP values are grams of NaOH per gram of oil. Everything is computed locally and deterministically, so it is instant and private. Ideal for soap-making, cosmetics, handmade-craft and maker app developers, lye-calculator and recipe tools, and soaping education. Pure local computation — no key, no third-party service, instant. Metric: grams, cm³, percent. Live, nothing stored. 2 compute endpoints. Lye is caustic — wear protection and double-check a new recipe; this is a planning aid.
api.oanor.com/soap-api