# 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"
```

**Response:**
```json
{
    "data": {
        "note": "Full-load current = input power ÷ (√3 × volts × power factor) for three-phase (drop the √3 for single-phase), where input power = output ÷ efficiency. This is the calculated value; the NEC requires you to size conductors and protection from its motor FLC tables (430.247–250), which are deliberately a little higher — so use the table value for code work and this for a sanity check.",
        "inputs": {
            "phase": 3,
            "voltage": 460,
            "power_hp": 10,
            "power_factor": 0.85,
            "efficiency_pct": 90
        },
        "input_kw": 8.286,
        "input_kva": 9.748,
        "output_kw": 7.457,
        "full_load_amps": 12.23
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:06.413Z",
        "request_id": "02337ca4-4fe3-4304-bab8-d01cc058774d"
    },
    "status": "ok",
    "message": "Full-load amps",
    "success": true
}
```

#### `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"
```

**Response:**
```json
{
    "data": {
        "note": "NEC 430 sizing from the motor FLC: branch-circuit conductors at 125 % (430.22), overload protection at 115–125 % depending on the service factor (430.32), and branch-circuit short-circuit/ground-fault protection up to 250 % for an inverse-time breaker or 175 % for a time-delay fuse (430.52). These are maximums you then round to a standard device size — the larger protection lets the motor's inrush pass without nuisance trips while the overload guards the windings.",
        "inputs": {
            "overload_pct": 125,
            "full_load_amps": 12.24
        },
        "min_conductor_amps": 15.3,
        "overload_trip_amps": 15.3,
        "max_time_delay_fuse_amps": 21.42,
        "max_inverse_time_breaker_amps": 30.6
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:06.524Z",
        "request_id": "847226fd-6370-4aec-b6f0-17fc64ca8a65"
    },
    "status": "ok",
    "message": "NEC sizing",
    "success": true
}
```

#### `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"
```

**Response:**
```json
{
    "data": {
        "note": "Locked-rotor (inrush) current ≈ 6 × full-load for a typical across-the-line start — often 600 % for a few seconds until the motor spins up. It sets the voltage dip on starting and why feeders and protection must ride through it; the exact figure comes from the nameplate NEMA code letter (its locked-rotor kVA/hp). Soft starters and VFDs cut this inrush dramatically, which is why big motors rarely start direct-on-line.",
        "inputs": {
            "full_load_amps": 12.24,
            "lra_multiplier": 6
        },
        "locked_rotor_amps": 73.4
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:06.616Z",
        "request_id": "e40293c2-a9d0-4b56-96c7-7b2a135d92d2"
    },
    "status": "ok",
    "message": "Starting current",
    "success": true
}
```

### Meta

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

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

**Response:**
```json
{
    "data": {
        "notes": "hp/kW, volts, amps. FLA = (P/eff) ÷ (√3·V·PF) [3φ] or ÷(V·PF) [1φ]; NEC: conductor 125 %, OCPD ≤250 % breaker/175 % fuse; LRA ≈ 6×FLA. Calculated values — use NEC FLC tables for code. For general three-phase power use a three-phase API.",
        "service": "motorfla-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/sizing": "NEC 430 conductor, overload and protection sizing from the FLA.",
            "GET /v1/starting": "Locked-rotor (starting) current from the FLA.",
            "GET /v1/full-load-amps": "Full-load current, input kW and kVA from motor power."
        },
        "description": "Electric-motor electrical maths: full-load current from power/voltage/phase, NEC 430 branch-circuit sizing, and locked-rotor starting current."
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:06.718Z",
        "request_id": "76713bd7-28b5-47b6-ad38-126f40b8032d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


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