# Electric Motor FLA API
> Electric-motor electrical maths as an API, computed locally and deterministically — the full-load-current, NEC-sizing and starting-current numbers an electrician, panel designer or estimator runs for every motor circuit. The full-load-amps endpoint gives the motor current from its power, voltage and phase: FLA = (output ÷ efficiency) ÷ (√3 × volts × power factor) for three-phase (drop the √3 for single-phase) — a 10 hp, 460 V, three-phase motor at 90 % efficiency and 0.85 power factor draws about 12.2 A — and it also returns the input kW and kVA. The sizing endpoint applies NEC Article 430 from the full-load current: branch-circuit conductors at 125 %, overload protection at 115–125 % by service factor, and branch-circuit short-circuit/ground-fault protection up to 250 % for an inverse-time breaker or 175 % for a time-delay fuse — the larger protection lets the inrush pass while the overload guards the windings. The starting endpoint gives the locked-rotor (inrush) current, about six times full-load for an across-the-line start, the figure that sets the voltage dip and why soft starters and VFDs exist. Everything is computed locally and deterministically, so it is instant and private. Ideal for electrical-design and estimating tools, panel-builder and field utilities, and engineering calculators. Pure local computation — no key, no third-party service, instant. Calculated values — use the NEC FLC tables for code work. 3 compute endpoints. For general three-phase power use a three-phase API; for conduit fill a conduit API.

## Authentication
All requests require your oanor API key in the `x-oanor-key` header. Get one at https://www.oanor.com/developer/keys.

```bash
curl -H "x-oanor-key: oanor_live_…" "https://api.oanor.com/motorfla-api/..."
```

## Pricing
- **Free** (Free) — 5,800 calls/Mo, 2 req/s
- **Starter** ($12/Mo) — 58,000 calls/Mo, 6 req/s
- **Pro** ($37/Mo) — 243,000 calls/Mo, 15 req/s
- **Mega** ($115/Mo) — 1,210,000 calls/Mo, 40 req/s

## Endpoints

### Motor

#### `GET /v1/full-load-amps` — Full-load current from power

**Parameters:**
- `power_hp` (query, optional, string) — Motor power (hp) — give this OR power_kw Example: `10`
- `power_kw` (query, optional, string) — Motor power (kW) — give this OR power_hp
- `voltage` (query, required, string) — Voltage (V) Example: `460`
- `phase` (query, optional, string) — Phase: 1 or 3 (default 3) Example: `3`
- `efficiency_pct` (query, optional, string) — Efficiency % (default 90) Example: `90`
- `power_factor` (query, optional, string) — Power factor (default 0.85) Example: `0.85`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/motorfla-api/v1/full-load-amps?power_hp=10&voltage=460&phase=3&efficiency_pct=90&power_factor=0.85"
```

#### `GET /v1/sizing` — NEC 430 branch-circuit sizing

**Parameters:**
- `full_load_amps` (query, required, string) — Motor full-load current (A) Example: `12.24`
- `overload_pct` (query, optional, string) — Overload % (default 125) Example: `125`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/motorfla-api/v1/sizing?full_load_amps=12.24&overload_pct=125"
```

#### `GET /v1/starting` — Locked-rotor starting current

**Parameters:**
- `full_load_amps` (query, required, string) — Motor full-load current (A) Example: `12.24`
- `lra_multiplier` (query, optional, string) — Locked-rotor multiple (default 6) Example: `6`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/motorfla-api/v1/starting?full_load_amps=12.24&lra_multiplier=6"
```

### Meta

#### `GET /v1/meta` — Spec

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/motorfla-api/v1/meta"
```


---
Marketplace page: https://www.oanor.com/api/motorfla-api
OpenAPI spec: https://www.oanor.com/api/motorfla-api/openapi.json
