Ir al contenido
GET /v1/mix

Two-part mix by ratio

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/resin-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/resin-api/v1/mix" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/resin-api/v1/mix", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/resin-api/v1/mix");
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/resin-api/v1/mix",
    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": "Mix two parts by the ratio: resin = total × A/(A+B), hardener = total × B/(A+B). Amounts stay in whatever unit you pass (ml, g, fl oz). Many epoxies mix by VOLUME (e.g. 2:1) or by WEIGHT (e.g. 100:45) — use the ratio the label specifies.",
        "total": 300,
        "inputs": {
            "ratio": "2:1"
        },
        "resin_part": 200,
        "ratio_resin": 2,
        "hardener_part": 100,
        "ratio_hardener": 1
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:02.629Z",
        "request_id": "0a63d69d-7cc4-426d-af63-ba7d6571a600"
    },
    "status": "ok",
    "message": "Resin mix",
    "success": true
}