Μετάβαση στο περιεχόμενο
GET /v1/mix

Two-part mix by ratio

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/resin-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}