Ir al contenido
GET /v1/salinity

Salinity from salt + water

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/fermentation-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "Two ways to express the same brine: percent of the water (the recipe convention) and percent of the total solution (what a refractometer or hydrometer reads). For a 5 %-of-water brine, the total reads about 4.76 %.",
        "inputs": {
            "salt_g": 50,
            "water_g": 1000
        },
        "percent_of_total": 4.76,
        "percent_of_water": 5
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:52.445Z",
        "request_id": "ff0ba80c-0902-4375-9555-0252e67b89a1"
    },
    "status": "ok",
    "message": "Salinity",
    "success": true
}