Skip to content
GET /v1/bias

Voltage-divider bias

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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "note": "Voltage-divider bias: Vth = Vcc·R2/(R1+R2), Rth = R1‖R2; Ib = (Vth−Vbe)/(Rth+(β+1)Re). A mid-rail Vce (~Vcc/2) gives the most symmetric swing.",
        "vb_v": 1.724924,
        "vc_v": 7.38738,
        "ve_v": 1.024924,
        "vce_v": 6.362455,
        "inputs": {
            "r1": 47000,
            "r2": 10000,
            "rc": 1000,
            "re": 220,
            "vbe": 0.7,
            "beta": 100,
            "supply_voltage": 12
        },
        "region": "active",
        "base_current_a": 4.6126205e-5,
        "emitter_current_a": 0.0046587467,
        "thevenin_voltage_v": 2.105263,
        "collector_current_a": 0.0046126205,
        "thevenin_resistance_ohm": 8245.614
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:23.863Z",
        "request_id": "3543df5a-5cb2-4bc6-a70c-68950d3c0023"
    },
    "status": "ok",
    "message": "Voltage-divider bias",
    "success": true
}