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

Spec + SAP table

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

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

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

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

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

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

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

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

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

{
    "data": {
        "oils": {
            "hemp": 0.1345,
            "lard": 0.138,
            "neem": 0.1387,
            "palm": 0.141,
            "shea": 0.128,
            "olive": 0.134,
            "canola": 0.1241,
            "castor": 0.128,
            "jojoba": 0.069,
            "tallow": 0.14,
            "avocado": 0.133,
            "babassu": 0.175,
            "beeswax": 0.069,
            "coconut": 0.178,
            "soybean": 0.135,
            "grapeseed": 0.1265,
            "rice-bran": 0.128,
            "sunflower": 0.134,
            "palm-kernel": 0.156,
            "cocoa-butter": 0.137,
            "mango-butter": 0.135,
            "sweet-almond": 0.136
        },
        "notes": "Metric: grams, cm³, percent. SAP = g NaOH per g of oil. Always run a new recipe through a trusted lye calculator and wear protection — lye is caustic. KOH for liquid soap, NaOH for bar soap.",
        "service": "soap-api",
        "endpoints": {
            "GET /v1/lye": "Lye, water, fragrance and batch weight from an oils list with superfat.",
            "GET /v1/meta": "This document (includes the supported oils and SAP values).",
            "GET /v1/mould": "Total oil weight to fill a mould volume."
        },
        "description": "Soap-making saponification maths: lye (NaOH/KOH) for a set of oils with superfat, water and fragrance, plus mould sizing."
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:12.799Z",
        "request_id": "ec5dc23b-7f04-46ed-8e56-54aac0041ca2"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}