Electrical
Complex impedance API
Converts a complex impedance R + jX into magnitude and phase angle, classifies it as inductive/capacitive, and returns conductance/susceptance/admittance. Answers 'What is the magnitude and phase of this impedance?', 'Is this load inductive or capacitive?'.
Price$0.04per request
MethodPOST
Route/v1/electrical/impedance
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
electricalimpedancereactancecomplexphasoradmittanceacmagnitude
API URL
Integration docshttps://x402.hexl.dev/v1/electrical/impedanceExample request
{
"resistanceOhm": 30,
"reactanceOhm": 40
}Example response
{
"resistanceOhm": 30,
"reactanceOhm": 40,
"magnitudeOhm": 50,
"phaseAngleDeg": 53.130102,
"kind": "inductive",
"admittanceMagSiemens": 0.02,
"conductanceSiemens": 0.012,
"susceptanceSiemens": -0.016,
"formula": "|Z| = sqrt(R^2+X^2); angle = atan2(X,R)"
}Input schema
{
"type": "object",
"required": [
"resistanceOhm",
"reactanceOhm"
],
"properties": {
"resistanceOhm": {
"type": "number",
"examples": [
30
]
},
"reactanceOhm": {
"type": "number",
"examples": [
40
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}