{"openapi":"3.1.0","info":{"title":"Three-Phase Power API","version":"1.0.0","description":"Three-phase AC power maths as an API, computed locally and deterministically. The power endpoint solves the three-phase power triangle from the line-to-line voltage, the line current and the power factor — the apparent power S = √3·V_L·I_L in volt-amperes, the real power P = S·cosφ in watts, the reactive power Q = S·sinφ in VAR and the phase angle — or works backwards to find the line current a load draws for a given real power. The wye endpoint gives the star-connection relationships, where the line-to-line voltage is √3 times the phase voltage and the line and phase currents are equal. The delta endpoint gives the delta-connection relationships, where the line and phase voltages are equal and the line current is √3 times the phase current. Supply a line or phase quantity and it returns the rest. Everything is computed locally and deterministically, so it is instant and private. Ideal for electrical, motor, industrial-automation, solar-inverter and building-services app developers, switchboard and motor-sizing tools, and electrical-engineering education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is balanced three-phase power; for the single-phase power triangle use a power-factor API and for voltage drop a voltage-drop API.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/threephase-api","description":"oanor gateway"}],"tags":[{"name":"Three-Phase"},{"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/delta":{"get":{"operationId":"get_v1_delta","tags":["Three-Phase"],"summary":"Delta connection","description":"","parameters":[{"name":"line_voltage","in":"query","required":false,"description":"Line-to-line voltage (V)","schema":{"type":"string"},"example":"400"},{"name":"phase_voltage","in":"query","required":false,"description":"Or phase voltage (V)","schema":{"type":"string"}},{"name":"line_current","in":"query","required":false,"description":"Line current (A)","schema":{"type":"string"},"example":"17.32"},{"name":"phase_current","in":"query","required":false,"description":"Or phase current (A)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Delta: line-to-line voltage = phase voltage; line current = √3 × phase current.","inputs":[],"connection":"delta","line_current_a":17.32,"line_voltage_v":400,"phase_current_a":9.999707,"phase_voltage_v":400},"meta":{"timestamp":"2026-06-04T18:38:03.815Z","request_id":"fcc64d87-3401-4cd6-9d7b-a595a762de61"},"status":"ok","message":"Delta","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/power":{"get":{"operationId":"get_v1_power","tags":["Three-Phase"],"summary":"Three-phase power","description":"","parameters":[{"name":"line_voltage","in":"query","required":true,"description":"Line-to-line voltage (V)","schema":{"type":"string"},"example":"400"},{"name":"line_current","in":"query","required":false,"description":"Line current (A)","schema":{"type":"string"},"example":"10"},{"name":"power_factor","in":"query","required":true,"description":"Power factor (−1 to 1)","schema":{"type":"string"},"example":"0.8"},{"name":"real_power","in":"query","required":false,"description":"Or real power (W) to solve current","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Three-phase: S = √3·V_L·I_L, P = S·cosφ, Q = S·sinφ. Uses line (line-to-line) voltage and line current.","inputs":{"solved_for":"power","power_factor":0.8,"line_current_a":10,"line_voltage_v":400},"real_power_w":5542.562584,"real_power_kw":5.542562584,"phase_angle_deg":36.869898,"apparent_power_va":6928.20323,"apparent_power_kva":6.92820323,"reactive_power_var":4156.921938,"reactive_power_kvar":4.156921938},"meta":{"timestamp":"2026-06-04T18:38:03.916Z","request_id":"13aa36b0-28bd-4959-984e-09a2568b267e"},"status":"ok","message":"3-phase power","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/wye":{"get":{"operationId":"get_v1_wye","tags":["Three-Phase"],"summary":"Star (wye) connection","description":"","parameters":[{"name":"line_voltage","in":"query","required":false,"description":"Line-to-line voltage (V)","schema":{"type":"string"},"example":"400"},{"name":"phase_voltage","in":"query","required":false,"description":"Or phase voltage (V)","schema":{"type":"string"}},{"name":"line_current","in":"query","required":false,"description":"Line current (A)","schema":{"type":"string"},"example":"10"},{"name":"phase_current","in":"query","required":false,"description":"Or phase current (A)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Star/wye: line-to-line voltage = √3 × phase voltage; line current = phase current.","inputs":[],"connection":"wye (star)","line_current_a":10,"line_voltage_v":400,"phase_current_a":10,"phase_voltage_v":230.940108},"meta":{"timestamp":"2026-06-04T18:38:04.019Z","request_id":"03b16b54-f386-4015-9fad-caeef023477b"},"status":"ok","message":"Wye/star","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":"Voltages in volts, currents in amperes, power factor −1…1. 'Line' voltage is line-to-line. Balanced three-phase loads.","service":"threephase-api","formulae":{"wye":"V_L = √3·V_phase, I_L = I_phase","delta":"V_L = V_phase, I_L = √3·I_phase","real_power":"P = √3·V_L·I_L·cosφ","apparent_power":"S = √3·V_L·I_L","reactive_power":"Q = √3·V_L·I_L·sinφ"},"endpoints":{"GET /v1/wye":"Star (wye) connection: VL = √3·Vphase, IL = Iphase.","GET /v1/meta":"This document.","GET /v1/delta":"Delta connection: VL = Vphase, IL = √3·Iphase.","GET /v1/power":"Real/apparent/reactive three-phase power, or solve the line current from a power."},"description":"Three-phase AC power calculator: real, apparent and reactive power from line voltage, current and power factor, and the line/phase voltage and current relationships for star (wye) and delta connections."},"meta":{"timestamp":"2026-06-04T18:38:04.128Z","request_id":"e9b62757-c226-4f00-af99-8a30bb5256c3"},"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":900,"monthly_call_quota":30000,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2400,"monthly_call_quota":150000,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":7500,"monthly_call_quota":750000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/threephase-api"}