Skip to content

Grid Alerts

All endpoints are prefixed with /v1/grid/. Risk evaluations refresh every 5 minutes alongside the space-weather context.

Coverage: Global (modelled); validated in Alberta. The storm epicenter is global. The ground-conductivity map layer covers Canada only (see below).

Tier: Builder+ for all endpoints (not available on Xplorer).

/epicenter, /assess, /line-exposure and /network-exposure accept an optional scenario parameter: quiet, kp8_alberta or kp9_extreme. It runs the endpoint on a canned storm instead of live conditions, which is useful for testing alert handling and dashboards. Scenario responses include "synthetic": true, scenario and scenario_label; they are illustrative, not measurements. Omit scenario for the live nowcast.

Important: The voltage-drop output is a relative modeled risk (0–100), not a calibrated kV value. The geoelectric field is a modeled estimate. Both become calibrated once validated against operator measurements.


Geomagnetic storms drive electric currents through the ground that stress substation transformers — depressing voltage and, in severe cases, damaging equipment. Public products report storm latitude only in coarse 5° bands or a few regional zones. Pxie localizes the storm to your substations: drop a latitude/longitude on each, and get its proximity to the disturbance, a modeled ground-field estimate, a relative voltage-drop risk, and a standby alert level with a recommended action.

Source: Pxie.


Credits: 8 | Tier: Builder+

The fine-grained center of geomagnetic activity (latitude/longitude) and the equatorward boundary — finer than the 5° public products.

Param Type Required Description
hemisphere string no north (default) or south
scenario string no Demo scenario (see above)
Terminal window
curl -H "X-API-Key: YOUR_KEY" \
"https://api.pxie.ai/v1/grid/epicenter?hemisphere=north"
{
"hemisphere": "north",
"epicenter": { "lat": 58.6, "lon": -101.2, "mlat": 66.9, "mlt": 23.4, "intensity": 8.4 },
"equatorward_boundary_mlat": 61.2,
"poleward_boundary_mlat": 72.8,
"resolution_deg": 0.5,
"intensity_scale": { "min": 0, "max": 10 },
"model": "…",
"coverage": "Global"
}

Credits: 0 | Tier: Builder+

Register (or update) your substations by latitude/longitude. Idempotent per substation name. Up to 50 substations per request and 200 per account.

Field Type Required Description
name string yes Substation name (1–120 chars); re-sending a name updates it
lat, lon float yes Location
owner string no Owner label (max 120 chars)
grounding_ohm float no Your transformer winding + grounding resistance in ohms (0–100). Replaces the typical value in network GIC estimates
Terminal window
curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '[{"name":"Substation A","lat":53.5,"lon":-113.5,"owner":"Example Utility"}]' \
"https://api.pxie.ai/v1/grid/substations"
{ "registered": 1, "substations": [{ "id": "a1b2c3…", "name": "Substation A", "lat": 53.5, "lon": -113.5 }] }

Credits: 3 | Tier: Builder+

Current grid-risk for one registered substation.

Param Type Required Description
id string yes Registered substation id
{
"substation": { "id": "a1b2c3…", "name": "Substation A" },
"local_dbdt_nt_s": 0.42,
"local_kp": 6.1,
"geoelectric": { "e_field_v_km": 0.83, "calibrated": false },
"oval": { "intensity": 7.2, "distance_to_boundary_km": 0.0, "inside_oval": true },
"voltage_risk": { "risk": 64.0, "band": "high", "calibrated": false },
"transformer": { "saturation_level": "possible", "directional_only": true },
"alert": { "level": "WARNING", "recommended_action": "…", "onset_eta_minutes": { "min": 15, "max": 45 } }
}

Credits: 5 | Tier: Builder+

Onset forecast for one substation: alert level, onset ETA window, and recommended action.

Param Type Required Description
id string yes Registered substation id

Credits: 5 | Tier: Builder+

Modeled ground geoelectric field at any location.

Param Type Required Description
lat float yes Latitude (-90 to 90)
lon float yes Longitude (-180 to 180)
{
"location": { "lat": 53.5, "lon": -113.5 },
"e_field_v_km": 0.83,
"local_dbdt_nt_s": 0.42,
"conductivity_region": "resistive craton (Canadian Shield / Alberta basement)",
"calibrated": false,
"coverage": "North America"
}

Credits: 5 | Tier: Builder+

Full grid-risk assessment at any point — no substation registration required. Returns the complete nowcast (voltage-drop risk, local field change, geoelectric field with direction, transformer indicator, alert level), the 60-minute projection, and a prioritized list of suggested operator actions. Registered substations add standing email/webhook alerting on top of this.

Param Type Required Description
lat float yes Latitude (-90 to 90)
lon float yes Longitude (-180 to 180)
scenario string no Demo scenario (see above)
Terminal window
curl -H "X-API-Key: YOUR_KEY" \
"https://api.pxie.ai/v1/grid/assess?lat=53.55&lon=-113.5"
{
"location": { "lat": 53.55, "lon": -113.5 },
"voltage_risk": { "risk": 62.4, "band": "high", "calibrated": false },
"local_dbdt_nt_s": 7.4,
"geoelectric": { "e_field_v_km": 1.92, "azimuth_deg": 12.0, "calibrated": false },
"transformer": { "saturation_level": "possible", "directional_only": true },
"alert": { "level": "WARNING", "onset_eta_minutes": { "min": 15, "max": 45 } },
"forecast_60min": { "direction": "intensifying", "projected_band": "severe" },
"suggested_actions": {
"summary": "Move toward conservative operations and review transfer limits on your longest high-voltage lines.",
"actions": [
{ "priority": 1, "action": "…", "why": "…", "category": "operations" }
],
"guidance_note": "Guidance, not control. …",
"basis": "Aligned with utility GMD operating plans (NERC EOP-010-1; …)."
},
"b_field_source": "modeled",
"conductivity_region": "MT survey: Alberta Sedimentary Basin (central) (111 km)",
"coverage": "Global (modeled); validated: Alberta"
}

suggested_actions is a prioritized checklist adapted to the situation — alert level, transformer saturation, onset timing, whether conditions are building or easing, and which line orientations are most exposed (from the electric-field direction). Each item is {priority, action, why, category} with categories drawn from: readiness, operations, reactive-power, equipment, transformers, telemetry, exposure, stand-down, data-quality.

The content follows published reliability-coordinator operating practice (NERC EOP-010-1 GMD operations). It is guidance, not control — apply your own GMD operating procedure. The checklist supersedes the compact one-line alert.recommended_action when both appear in a payload; the one-liner remains what alert emails carry.

suggested_actions also appears on /substation/status (nowcast-scoped) and /substation/forecast (projection-aware).


Credits: 5 | Tier: Builder+

Storm exposure of one transmission line, described by its two endpoints and operating voltage class: the induced (quasi-DC) voltage the current storm impresses on the line (largest when the field runs parallel to the line), and an indicative GIC estimate in amps with NERC per-phase benchmark flags (thermal assessment at 75 A/phase, supplemental at 85 A/phase). GIC uses typical line/station resistances until the owner’s values are provided, and is flagged indicative_only.

Param Type Required Description
lat1,lon1 float yes Line endpoint A
lat2,lon2 float yes Line endpoint B
kv int no Voltage class: 69/138/240/345/500/765 (default 240)
r_ohm_per_km float no Your line’s actual per-phase resistance — replaces the typical value
station_ohm_a, station_ohm_b float no Your station resistance per end (transformer winding + grounding)
series_capacitor bool no true if the line has series compensation — blocks GIC entirely
scenario string no Demo scenario (see above)

Supply all three resistances and the GIC stops being indicative_only — it becomes your line’s number. (The induced voltage is exact physics either way.) This is the self-serve “calibrate it properly” path; the operator data that unlocks the rest of the product (measured kV drops, neutral-GIC logs, transformer construction) is itemized in the data-request document your Pxie contact can share.

{
"line": { "length_km": 99.3, "bearing_deg": 90.0, "kv_class": 240 },
"e_field": { "v_per_km": 1.92, "azimuth_deg": 12.0, "alignment": 0.93 },
"induced_voltage_v": 177.3,
"gic_estimate": {
"neutral_a": 69.1, "per_phase_a": 23.0, "indicative_only": true,
"nerc_benchmark": { "thermal_assessment_a_per_phase": 75, "exceeds_thermal": false }
},
"alert_level": "WARNING",
"calibrated": false
}

Credits: 0 | Tier: Builder+

List the substations registered under your account.


Register your lines once and Pxie connects them to your substations, so /substation/exposure can add up the storm current at each station across its whole network. Up to 100 lines per request and 500 per account.

Credits: 0 | Tier: Builder+

Register (or update) lines. Idempotent per line name. Each end is either one of your substation ids or a raw lat/lon; a raw point within about 1 km of one of your substations connects to it automatically.

Field Type Required Description
name string yes Line name (1–120 chars)
kv_class int no 69/138/240/345/500/765 (default 240)
endpoint_a, endpoint_b object yes {"substation_id": "…"} or {"lat": …, "lon": …}
r_ohm_per_km float no Your per-phase line resistance
station_ohm_a, station_ohm_b float no Your station resistance at each end
series_capacitor bool no true if series-compensated
owner string no Owner label
Terminal window
curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '[{"name":"Line 1","kv_class":240,"endpoint_a":{"substation_id":"a1b2c3…"},"endpoint_b":{"lat":52.3,"lon":-113.8}}]' \
"https://api.pxie.ai/v1/grid/lines"

Credits: 0 — list your lines. Optional substation_id limits the list to lines connected to that substation.

Credits: 0 — remove a line you own.


Credits: 8 | Tier: Builder+

Storm exposure of one registered substation across its connected network: the induced voltage on every connected line and the total GIC at the transformer neutral. Lines through a station partly cancel each other, so the total is solved for the whole network rather than added line by line; the simple sum is included as naive_sum_neutral_a for comparison. Values stay indicative_only until you supply real resistances on lines and substations.

Param Type Required Description
id string yes Registered substation id

Returns substation, connected_lines (each with connected_to_this_substation and other_end), gic_total (with indicative_only, calibrated, naive_sum_neutral_a, assumptions), network (node and line counts), alert_level, b_field_source and coverage.


Credits: 8 | Tier: Builder+

The same network calculation for up to 20 lines in one request, with no registration. Line ends within about 1 km share a node.

Param Type Required Description
lines string yes Semicolon-separated lines: lat1,lon1,lat2,lon2,kv[,r<ohm/km>][,ga<ohm>][,gb<ohm>][,cap] (max 20 lines, 2,000 chars)
scenario string no Demo scenario (see above)
Terminal window
curl -H "X-API-Key: YOUR_KEY" \
"https://api.pxie.ai/v1/grid/network-exposure?lines=53.5,-113.5,52.3,-113.8,240;52.3,-113.8,51.0,-114.1,240"

Returns nodes (per-node neutral GIC and naive_sum_neutral_a), lines (per-line induced voltage), gic (indicative_only, calibrated), network and coverage.


Credits: 1 | Tier: Builder+

256×256 PNG map tile (zoom 2–7) showing regional ground conductivity, the ground model behind the geoelectric field. Blue = conductive ground (smaller storm field), red = resistive (larger field), transparent = no regional data.

Coverage: Canada (Saskatchewan, Ontario, Quebec, Nova Scotia, PEI, plus Alberta survey sites).

Source: Pxie + Natural Resources Canada (Open Government Licence – Canada).

Credits: 0 | Tier: Builder+

Colour swatches and a coverage note for the conductivity layer: {"title", "swatches": [[label, hex], …], …}.


Subscribe a substation to alerts; Pxie evaluates risk every 5 minutes and delivers on escalation through a Watch → Warning → Alert ladder, de-duplicated so you aren’t re-alerted on the same level. Each alert carries a recommended action.

Credits: 0 | Tier: Builder+

Register an email and/or webhook to be notified for one of your substations, at or above a minimum level.

Field Type Required Description
substation_id string yes One of your registered substations
email string one of email/webhook Must be your account’s verified email address; any other address returns 400
webhook_url string one of email/webhook Must be a public https:// URL — internal/private/loopback addresses are rejected
min_phase string no WATCH | WARNING | ALERT (default WARNING)

Limits: up to 20 subscriptions per substation; up to 200 substations per account. Webhook payloads are delivered as JSON POSTs; delivery is best-effort and retried on the next 5-minute sweep.

Terminal window
curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"substation_id":"a1b2c3…","webhook_url":"https://hooks.example.com/gmd","min_phase":"WARNING"}' \
"https://api.pxie.ai/v1/grid/substation/subscriptions"

GET /substation/subscriptions?id={substation_id}

Section titled “GET /substation/subscriptions?id={substation_id}”

Credits: 0 — list the delivery targets for one of your substations.

DELETE /substation/subscriptions/{subscription_id}

Section titled “DELETE /substation/subscriptions/{subscription_id}”

Credits: 0 — remove a delivery target you own.