- Use Our Data
- Integrations
- Guidewire
Power Outage Data in Guidewire
To get power outage data into Guidewire ClaimCenter, have your claims integration call the PowerOutage.us v2 REST API with the loss location and loss time, and store the answer on the claim: whether that location was inside an outage the utility reported at that moment, with the utility's outage record. Point history covers March 2025 onward. At first notice of loss, a live check adds whether the location is still out and when the utility expects power back, and county outage counts estimate how many policyholders a storm has left without power. Guidewire's integration documentation is behind a customer login, so this guide makes the PowerOutage.us side concrete and runnable, and lists what to agree with your Guidewire team for the ClaimCenter side.
What you'll have
- A yes or no for each claim: was the loss location inside a utility-reported outage at the loss time, with the outage record that covered it.
- At first notice of loss, whether the location is out right now, the restoration estimate, and whether a no is conclusive.
- A backlog review that checks claims from March 2025 onward at one a second, within the rate limit.
- A county list of estimated policyholders without power, from your policy counts and live outage shares, for catastrophe staffing.
What you need
An API key (request one with the form below) and these endpoints.
| Endpoint | Method | Used for | Package |
|---|---|---|---|
/geojson/at-point/history | GET | Whether one location was inside a utility-reported outage at one moment, with the outage records that covered it and the window each was current. March 2025 onward. | Enterprise |
/geojson/at-point | POST | Optional live check at first notice of loss: whether the location is inside an outage now, the restoration estimate, and whether its utilities publish outage areas. | Standard + Locations |
/outages/counties | GET | Customers out and customers tracked per county, with FIPS codes, to estimate how many policyholders are without power. | Core |
Step 1: Know what point history answers
Point history is in the Enterprise package. It answers one question: was this point inside an outage area that the utility reported at this moment? It reflects what the utility published for the surrounding area, not a meter reading at the insured property. Each request checks one point at one moment, from March 2025 onward. An outage counts for the whole interval between two reads of the utility, and validFrom and validTo give the window each version of the record was current. A utility that publishes counts by area but no outage areas can never match, so a no from such a utility proves nothing. The live check is in the Standard + Locations package and county counts are in Core.
Step 2: Agree where ClaimCenter calls it
Guidewire's integration guides need a customer login, so confirm the ClaimCenter side with your Guidewire team rather than copying class or field names from elsewhere. Guidewire's public overview of its Integration Framework names the pieces that fit: App Events, which can deliver claim events such as a new claim to a webhook endpoint without code; Integration Gateway, where integration apps built on Apache Camel run outside InsuranceSuite; and Cloud API, the REST API your integration uses to write results back to the claim. A common shape is an App Events subscription that calls a small service when a claim is opened; the service runs the check below and writes the result back through Cloud API. Teams that call out from ClaimCenter itself can use Guidewire's REST API Client, which generates client code from an OpenAPI document; ours is at https://poweroutage.us/api/v2/doc. Point history isn't in that document yet, so add its one GET (/geojson/at-point/history with lat, lon and at) to the client by hand. Agree four things: which event starts the check, where the loss location's latitude and longitude come from (a geocoded point, not an address string), which time zone the loss date is in, and where the result is stored. Whatever calls the API needs outbound HTTPS to poweroutage.us and the key from your secret store.
Step 3: Send one request per loss
This is the whole exchange, in any language. Convert the loss time to UTC and send the coordinates in decimal degrees. In this real response, a point in Tennessee was inside one outage during January 2026's winter storm; the record was current from validFrom to validTo. An empty cause or a null customersOut means the utility didn't report one. A 401 means the key isn't enabled for point history, and a 422 means a parameter is out of range, such as an at in the future.
GET https://poweroutage.us/api/v2/geojson/at-point/history?lat=36.2&lon=-86.7&at=2026-01-26T15:00:00Z
Authorization: Bearer <key from your secret store>
200 OK
{
"data": {
"lat": 36.2,
"lon": -86.7,
"at": "2026-01-26T15:00:00.000Z",
"outageAtPoint": true,
"outages": [
{
"id": 29774391,
"utilityId": 5483,
"outageId": "1997878",
"customersOut": 260,
"cause": "",
"startedAt": "2026-01-25T17:03:24.000Z",
"estimatedRestorationAt": null,
"validFrom": "2026-01-25T21:30:52.769Z",
"validTo": "2026-01-27T22:58:03.794Z",
"geometrySource": "circle"
}
]
},
"meta": {"generatedAt": "2026-12-03T18:41:02.114Z"}
} Step 4: Run the check from your integration
This module uses only the Python standard library, so your integration service can import it or port its two calls. outage_at_loss refuses a loss time without a time zone, skips the request for losses before March 2025, and waits the Retry-After seconds after a 429, three tries at most. outage_now is the live check for new claims; it does nothing unless POWEROUTAGE_LIVE_CHECK=1 is set, so leave that unset if your key doesn't have Standard + Locations. Run as a script, it checks a CSV backlog one claim a second and prints one JSON line per claim. It stops on a 401 or a repeated 429. Any other refusal, and any row with a loss time missing its UTC offset or a coordinate that isn't a number, is recorded against the claim as an error, and the run carries on.
"""Was a loss location inside a utility-reported outage at the loss time?
Batch use: python3 poweroutage_claims.py claims.csv > results.jsonl
claims.csv columns: claim,lat,lon,loss_time (ISO 8601 with a UTC offset, e.g. 2026-01-26T09:00:00-06:00)
"""
import csv
import json
import os
import sys
import time
import urllib.error
import urllib.parse
import urllib.request
from datetime import datetime, timezone
API_KEY = os.environ['POWEROUTAGE_API_KEY']
LIVE_CHECK = os.environ.get('POWEROUTAGE_LIVE_CHECK') == '1' # set only with Standard + Locations
HISTORY_START = datetime(2025, 3, 1, tzinfo=timezone.utc)
def call(request):
"""Send a request to PowerOutage.us, waiting out a 429 for as long as Retry-After says."""
request.add_header('Authorization', f'Bearer {API_KEY}')
for attempt in range(3):
try:
with urllib.request.urlopen(request, timeout=30) as response:
return json.load(response)
except urllib.error.HTTPError as err:
if err.code != 429 or attempt == 2:
raise
time.sleep(int(err.headers.get('Retry-After', '10')))
def outage_at_loss(lat, lon, loss_time):
"""Point history: one location at one moment. Needs the Enterprise package."""
if loss_time.tzinfo is None:
raise ValueError('loss_time needs a time zone')
at = loss_time.astimezone(timezone.utc)
if at < HISTORY_START:
return {'result': 'not covered', 'reason': 'point history starts on 2025-03-01'}
query = urllib.parse.urlencode({'lat': lat, 'lon': lon, 'at': at.strftime('%Y-%m-%dT%H:%M:%SZ')})
body = call(urllib.request.Request(f'https://poweroutage.us/api/v2/geojson/at-point/history?{query}'))
data = body['data']
return {
'result': 'outage' if data['outageAtPoint'] else 'no outage reported',
'lossTimeUtc': data['at'],
'checkedAt': body['meta']['generatedAt'],
'outages': [
{
'outageKey': f"poweroutage:{o['utilityId']}:{o['outageId']}",
'utilityId': o['utilityId'],
'customersOut': o['customersOut'],
'cause': o['cause'] or None,
'startedAt': o['startedAt'],
'reportedFrom': o['validFrom'],
'reportedTo': o['validTo'],
}
for o in data['outages']
],
}
def outage_now(lat, lon):
"""Live check at first notice of loss. None unless POWEROUTAGE_LIVE_CHECK=1."""
if not LIVE_CHECK:
return None
request = urllib.request.Request(
'https://poweroutage.us/api/v2/geojson/at-point',
data=json.dumps({'points': [{'lat': lat, 'lon': lon}]}).encode(),
headers={'Content-Type': 'application/json'},
)
point = call(request)['data']['points'][0]
utilities = point['utilities']
return {
'outageNow': point['outageAtPoint'],
'estimatedRestorationAt': sorted(
o['estimatedRestorationAt'] for o in point['outages'] if o['estimatedRestorationAt']
),
# False when a utility serving the point doesn't publish outage areas, so "no outage" is unproven.
'conclusive': point['outageAtPoint']
or (bool(utilities) and all(u['providesGeospatialData'] for u in utilities)),
}
if __name__ == '__main__':
with open(sys.argv[1], newline='') as file:
for row in csv.DictReader(file):
try:
loss_time = datetime.fromisoformat(row['loss_time'].replace('Z', '+00:00'))
record = outage_at_loss(float(row['lat']), float(row['lon']), loss_time)
except ValueError as err: # no UTC offset, or a malformed time or coordinate
record = {'result': 'error', 'detail': str(err)}
except urllib.error.HTTPError as err:
if err.code in (401, 429):
raise # key not enabled for point history, or still rate limited: stop
record = {'result': 'error', 'status': err.code, 'detail': err.read()[:200].decode(errors='replace')}
print(json.dumps({'claim': row['claim'], **record}))
time.sleep(1) # one claim a second keeps a backlog under 10 requests per 10 seconds Step 5: Store the result on the claim
These are the fields the module returns. Decide with your Guidewire team which go into fields on the claim, which into a note, and whether a match opens an activity for the adjuster. Store outageKey as text, keep checkedAt with the result so a later re-check can be told apart, and record not covered rather than no outage for losses before March 2025. Utility names come from /outages/utilities by utilityId.
result field from the API meaning
result data.outageAtPoint outage, no outage reported, or not covered
(before March 2025)
lossTimeUtc data.at the moment that was checked, in UTC
checkedAt meta.generatedAt when the check ran
outages[].outageKey utilityId + outageId poweroutage:<utilityId>:<outageId>
outages[].utilityId utilityId utility id; names from /outages/utilities
outages[].customersOut customersOut customers out in that outage record, or null
outages[].cause cause as the utility reported it, or null
outages[].startedAt startedAt when the utility says the outage began
outages[].reportedFrom validFrom when this version of the record appeared
outages[].reportedTo validTo when it was replaced or cleared; null if current
At first notice of loss, with POWEROUTAGE_LIVE_CHECK=1 (outage_now):
outageNow data.points[0].outageAtPoint the location is inside an outage right now
estimatedRestorationAt outages[].estimatedRestorationAt the utility's restoration estimates, UTC
conclusive utilities[].providesGeospatialData false when a "no outage" can't be trusted Step 6: Estimate catastrophe volume by county
During a storm, county counts show where claims will come from before they arrive. This script reads your policies in force by 5-digit county FIPS code, fetches the counties with outages in the states you write in, and estimates policies without power as policies times the county's share of customers out. It joins on FIPS codes, not county names, because names repeat across states. The estimate assumes your policyholders lose power at the same rate as the utility's customers; apply your own claim rate on top. During an event, every 15 minutes is enough; the data updates every minute, so run it every 1 or 2 minutes if you want the latest counts.
import csv
import json
import os
import time
import urllib.error
import urllib.request
API_KEY = os.environ['POWEROUTAGE_API_KEY']
# policies.csv: fips,policies (5-digit county FIPS code, policies in force in that county)
with open('policies.csv', newline='') as file:
POLICIES = {row['fips'].zfill(5): int(row['policies']) for row in csv.DictReader(file)}
# 44 is Florida and 45 is Georgia; list state ids with GET /outages/states.
request = urllib.request.Request(
'https://poweroutage.us/api/v2/outages/counties?stateId=44,45&minCustomersOut=1&include=fips',
headers={'Authorization': f'Bearer {API_KEY}'},
)
for attempt in range(3):
try:
with urllib.request.urlopen(request, timeout=30) as response:
body = json.load(response)
break
except urllib.error.HTTPError as err:
if err.code != 429 or attempt == 2:
raise
time.sleep(int(err.headers.get('Retry-After', '10')))
rows = []
for county in body['data']:
fips = (county['fips'] or {}).get('full') # the Unknown row has no FIPS code
if fips not in POLICIES or not county['customersTracked']:
continue
share_out = county['customersOut'] / county['customersTracked']
rows.append((round(POLICIES[fips] * share_out), fips, county['name'], county['customersOut'],
share_out, county['lastUpdatedAt']))
print(f"Counties with outages as of {body['meta']['generatedAt']}")
print('policies without power fips county customers out share out last updated')
for estimate, fips, name, out, share, updated in sorted(rows, reverse=True)[:25]:
print(f'{estimate:>22,} {fips} {name} {out:,} {share:.2%} {updated}') Tips for Guidewire
- Geocode loss locations to the property, not a ZIP code or city centroid. An outage area can cover one side of a ZIP code and not the other.
- Reported loss times are often approximate. If the claim gives a window, check its start, middle and end; each is one request, and storing all three shows the adjuster when the location was covered.
- A no outage reported answer is strongest when the live check said
conclusive: trueat first notice of loss. For an older claim, a live check of the same point today shows whether its utilities publish outage areas now, which is usually, but not certainly, how they reported at the loss time. - Use a separate key for the claims integration, restricted to the states you write in. One key allows 10 requests per 10 seconds, shared by every worker that uses it.
- Compare
lastUpdatedAtwithmeta.generatedAtin the county script. Records are not zeroed when a utility stops reporting, so an old timestamp means that county may be out of date.
Used by
Related integrations
FAQ
Here are some commonly asked questions
Request API access
Tell us what you're building and we'll set you up with a trial key.