Skip to content
GET /v1/yield

Finished jam weight at a target Brix

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/jam-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Jam keeps when boiled down to about 65 % soluble solids (Brix). The solids are the sugar plus the fruit's own dry matter (~10 % for most fruit); the finished weight = solids ÷ (target Brix/100), and the rest boils off as water. 1 kg sugar + 1 kg fruit (~1100 g solids) boils down to about 1690 g of jam at 65 %, evaporating roughly 310 g of water. Higher Brix keeps longer but sets firmer and sweeter.",
        "inputs": {
            "fruit_g": 1000,
            "sugar_g": 1000,
            "target_brix_pct": 65,
            "fruit_solids_pct": 10
        },
        "soluble_solids_g": 1100,
        "starting_weight_g": 2000,
        "final_jam_weight_g": 1692.31,
        "water_to_evaporate_g": 307.69
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:52.021Z",
        "request_id": "d28e2fab-ca69-4998-8ddc-3514fc32024a"
    },
    "status": "ok",
    "message": "Yield",
    "success": true
}