API

Capacity records for nearby feeders and substations, ready for use in your own analysis workflow.

curl "https://utility-capacity.onrender.com/v1/substations/nearby?lat=41.0000&lng=-74.0000&radius_miles=1" -H "X-API-Key: YOUR_KEY"

# illustrative response: the utility, circuit and values are synthetic
{
  "query": { "lat": 41.0, "lng": -74.0, "radius_miles": 1.0 },
  "count": 1,
  "results": [{
    "available_capacity_mw": 12.5,
    "circuit_code": "EXAMPLE_SUB_BANK_2",
    "utility_slug": "example_utility",
    "utility_name": "Example Utility",
    "snapshot_date": "2026-04-01",
    "season": "summer",
    "distance_miles": 0.4,
    "capacity_metric_type": "load_serving_headroom",
    "data_quality_tier": "A",
    "is_feeder_derived": false,
    "raw_context": { "raw_context_type": "example_utility", "headroom_mw": 12.5 }
  }]
}

Field guide

FieldMeaning
available_capacity_mwPublished or derived available capacity, where the source supplies an MW value.
capacity_metric_typeThe type of figure: load_serving_headroom, ev_hosting_capacity, electrification_headroom, not_capacity_data, or unconfirmed. Not every utility field is load-serving headroom.
voltage_kvNominal voltage in kV as reported by the utility. It is null when the utility did not report a voltage in its latest refresh; null does not mean zero.
is_feeder_derivedTrue when the substation value is a sum of feeder values.
raw_contextSource-specific context retained with the record.

Coverage and freshness

Sources are checked weekly. A source's own data can lag or stay unchanged.

Access

Keys are issued on request. Send your key in the X-API-Key header. The limit is 60 requests per minute. The first request after idle can take 30 to 60 seconds. Request a key.