{"openapi":"3.1.0","info":{"title":"AC Impedance API","version":"1.0.0","description":"AC complex-impedance maths as an API, computed locally and deterministically. The series endpoint computes the impedance of a series R-L-C circuit at a given frequency — the inductive reactance X_L = 2πf·L, the capacitive reactance X_C = 1/(2πf·C), the complex impedance Z = R + j(X_L − X_C), its magnitude |Z| = √(R²+X²) and phase angle φ = atan(X/R) — and classifies the circuit as inductive (current lags), capacitive (current leads) or resistive. The parallel endpoint computes a parallel R-L-C impedance through its admittance Y = 1/R + j(ωC − 1/ωL) and Z = 1/Y, with magnitude and phase. The ac-ohm endpoint applies Ohm's law for AC, I = V / |Z|, to give the RMS current and apparent power from an RMS voltage and an impedance specified either as resistance and reactance or as a magnitude, and the real power when the phase is known. Resistance and reactance are in ohms, inductance in henries, capacitance in farads, frequency in hertz and voltage RMS in volts; phase is in degrees. Everything is computed locally and deterministically, so it is instant and private. Ideal for electronics, audio, RF-filter, power-supply and motor-control app developers, AC-circuit and phasor tools, and electrical-engineering education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is AC complex impedance; for the resonant frequency and reactance alone use a resonance API and for power-factor correction a power-factor API.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/impedance-api","description":"oanor gateway"}],"tags":[{"name":"Impedance"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/ac-ohm":{"get":{"operationId":"get_v1_ac_ohm","tags":["Impedance"],"summary":"AC Ohm law","description":"","parameters":[{"name":"voltage","in":"query","required":true,"description":"RMS voltage (V)","schema":{"type":"string"},"example":"120"},{"name":"resistance","in":"query","required":false,"description":"Resistance R (Ω)","schema":{"type":"string"},"example":"10"},{"name":"reactance","in":"query","required":false,"description":"Net reactance X (Ω)","schema":{"type":"string"},"example":"-22.756"},{"name":"impedance_magnitude","in":"query","required":false,"description":"Or |Z| (Ω)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"AC Ohm's law: I = V / |Z|. Apparent power S = V·I (in volt-amps). Supply R and X to also get the phase angle.","inputs":{"voltage_v":120,"reactance_ohm":-22.756,"resistance_ohm":10},"phase_deg":-66.277174,"real_power_w":233.071734,"current_rms_a":4.82775,"apparent_power_va":579.330042,"impedance_magnitude_ohm":24.856298},"meta":{"timestamp":"2026-06-05T11:30:37.739Z","request_id":"b8224321-fce6-4038-bcff-560a664b0587"},"status":"ok","message":"AC Ohm law","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/parallel":{"get":{"operationId":"get_v1_parallel","tags":["Impedance"],"summary":"Parallel RLC impedance","description":"","parameters":[{"name":"resistance","in":"query","required":false,"description":"Resistance R (Ω)","schema":{"type":"string"},"example":"10"},{"name":"inductance","in":"query","required":false,"description":"Inductance L (H)","schema":{"type":"string"},"example":"0.01"},{"name":"capacitance","in":"query","required":false,"description":"Capacitance C (F)","schema":{"type":"string"},"example":"0.0001"},{"name":"frequency","in":"query","required":true,"description":"Frequency (Hz)","schema":{"type":"string"},"example":"60"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Parallel R-L-C: Y = 1/R + j(ωC − 1/ωL); Z = 1/Y. Susceptance sign is opposite to reactance — a net inductive susceptance (B<0) gives an inductive Z with positive phase.","inputs":{"frequency_hz":60,"inductance_h":0.01,"capacitance_f":0.0001,"resistance_ohm":10},"nature":"inductive","phase_deg":66.277093,"conductance_s":0.1,"susceptance_net_s":-0.22755913,"admittance_magnitude_s":0.24856218,"impedance_magnitude_ohm":4.023138},"meta":{"timestamp":"2026-06-05T11:30:37.844Z","request_id":"96e0844c-76f6-4ea5-93e2-f9a7dffefa82"},"status":"ok","message":"Parallel impedance","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/series":{"get":{"operationId":"get_v1_series","tags":["Impedance"],"summary":"Series RLC impedance","description":"","parameters":[{"name":"resistance","in":"query","required":false,"description":"Resistance R (Ω)","schema":{"type":"string"},"example":"10"},{"name":"inductance","in":"query","required":false,"description":"Inductance L (H)","schema":{"type":"string"},"example":"0.01"},{"name":"capacitance","in":"query","required":false,"description":"Capacitance C (F)","schema":{"type":"string"},"example":"0.0001"},{"name":"frequency","in":"query","required":true,"description":"Frequency (Hz)","schema":{"type":"string"},"example":"60"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Series R-L-C: Z = R + j(X_L − X_C). |Z| = √(R²+X²); the phase φ = atan(X/R) is positive (current lags) when inductive, negative when capacitive.","inputs":{"frequency_hz":60,"inductance_h":0.01,"capacitance_f":0.0001,"resistance_ohm":10},"nature":"capacitive","phase_deg":-66.277093,"net_reactance_ohm":-22.755913,"impedance_imag_ohm":-22.755913,"impedance_real_ohm":10,"impedance_magnitude_ohm":24.856218,"reactance_inductive_ohm":3.769911,"reactance_capacitive_ohm":26.525824},"meta":{"timestamp":"2026-06-05T11:30:37.942Z","request_id":"2d082f70-54d9-4224-9470-a81675036713"},"status":"ok","message":"Series impedance","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"notes":"Resistance/reactance in Ω, inductance in H, capacitance in F, frequency in Hz, voltage RMS in V. Phase is in degrees (positive = inductive, current lags).","service":"impedance-api","formulae":{"ac_ohm":"I = V / |Z|","series":"Z = R + j(X_L − X_C) ; |Z| = √(R²+X²) ; φ = atan(X/R)","parallel":"Y = 1/R + j(ωC − 1/ωL) ; Z = 1/Y","reactance":"X_L = 2πf·L ; X_C = 1/(2πf·C)"},"endpoints":{"GET /v1/meta":"This document.","GET /v1/ac-ohm":"RMS current and apparent power from voltage and impedance (R+jX or magnitude).","GET /v1/series":"Series R-L-C complex impedance, magnitude, phase and reactances at a frequency.","GET /v1/parallel":"Parallel R-L-C impedance via admittance, magnitude and phase."},"description":"AC complex-impedance calculator for R-L-C circuits: series impedance with magnitude and phase, parallel impedance via admittance, and AC Ohm's law for current and apparent power."},"meta":{"timestamp":"2026-06-05T11:30:38.069Z","request_id":"5e4bc28c-d2af-499f-a391-75ed1ac0957a"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":2500,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":800,"monthly_call_quota":44000,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2100,"monthly_call_quota":260000,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":6800,"monthly_call_quota":1550000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/impedance-api"}