{"openapi":"3.1.0","info":{"title":"Vegetable Fermentation API","version":"1.0.0","description":"Vegetable lacto-fermentation maths as an API, computed locally and deterministically — the salt numbers a fermenter weighs sauerkraut, kimchi and pickles by. (Vegetables, not meat — for cure and nitrite that is a separate calculation.) Salt is the whole game: too little and the wrong microbes win, too much and the ferment stalls. The salt endpoint does the dry-salt method for shredded veg, salt = vegetable weight × percent, with about 2 % being the classic sauerkraut and kimchi target — so a kilo of cabbage takes 20 grams — and it bands the result from low-and-fast to a near salt-cure. The brine endpoint sizes a submerged ferment, salt = water weight × percent where the percent is of the water as recipes state it (1 ml water ≈ 1 g), so a litre at 5 % needs 50 grams for a standard sour pickle, 3.5 % for a milder one; it also reports the salinity as a percent of the total solution. The salinity endpoint converts the two ways the same brine is expressed — percent of water versus percent of total — so a 5 %-of-water brine reads about 4.76 % on a refractometer. Everything is computed locally and deterministically, so it is instant and private. Ideal for fermentation, homesteading, recipe and food app developers, ferment-calculator and batch tools, and culinary software. Pure local computation — no key, no third-party service, instant. Grams and ml. Live, nothing stored. 3 compute endpoints.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/fermentation-api","description":"oanor gateway"}],"tags":[{"name":"Ferment"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/brine":{"get":{"operationId":"get_v1_brine","tags":["Ferment"],"summary":"Brine salt for water","description":"","parameters":[{"name":"water_g","in":"query","required":true,"description":"Water weight/volume (g/ml)","schema":{"type":"string"},"example":"1000"},{"name":"brine_percent","in":"query","required":false,"description":"Brine % of water (default 5)","schema":{"type":"string"},"example":"5"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/salinity":{"get":{"operationId":"get_v1_salinity","tags":["Ferment"],"summary":"Salinity from salt + water","description":"","parameters":[{"name":"salt_g","in":"query","required":true,"description":"Salt (g)","schema":{"type":"string"},"example":"50"},{"name":"water_g","in":"query","required":true,"description":"Water (g/ml)","schema":{"type":"string"},"example":"1000"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/salt":{"get":{"operationId":"get_v1_salt","tags":["Ferment"],"summary":"Dry salt by vegetable weight","description":"","parameters":[{"name":"vegetable_g","in":"query","required":true,"description":"Vegetable weight (g)","schema":{"type":"string"},"example":"1000"},{"name":"salt_percent","in":"query","required":false,"description":"Salt % of veg (default 2)","schema":{"type":"string"},"example":"2"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":6920,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":421,"monthly_call_quota":56400,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1166,"monthly_call_quota":231200,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":3678,"monthly_call_quota":1347000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/fermentation-api"}