Integration
Connect Warnely to USGS Earthquake Hazards Program
When something happens in Warnely, your agent does the next thing in USGS Earthquake Hazards Program. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Warnely and USGS Earthquake Hazards Program to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with Warnely and USGS Earthquake Hazards Program
Triggers and actions 2 triggers ยท 6 actions
Trigger
New incidentFires when a new incident appears on the Warnely wire (polling). Endpoint: GET /incidents/recent.
Action
Get countryReturns the full risk snapshot for one country by ISO code. Endpoint: GET /countries/{iso}.
Action
Get methodologyReturns the composite risk-score formula and data sources Warnely uses. Endpoint: GET /methodology.
Action
List countriesReturns all 180 countries tracked by Warnely with their current risk data. Endpoint: GET /countries.
Action
List recent incidentsReturns recent incidents from the Warnely wire. Endpoint: GET /incidents/recent.
Trigger
New earthquakePolling trigger over the real-time GeoJSON feed (e.g. https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/{significant|4.5|2.5|1.0|all}_hour.geojson, configurable magnitude threshold/window) or the FDSN query endpoint ordered by time-desc. Fires once per new event id (dedup on feature.id), delivering magnitude, place, time, coordinates, depth.
Action
Find earthquakes by magnitudeSearch earthquake events via GET https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson with filters (starttime, endtime, minmagnitude, maxmagnitude, mindepth, maxdepth, latitude, longitude, maxradiuskm, alertlevel, eventtype, orderby, limit). Returns a GeoJSON FeatureCollection of matching events.
Action
Get earthquakeFetch a single earthquake event's detail via GET https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&eventid={eventid}. Returns the full GeoJSON Feature including magnitude, place, time, coordinates and depth.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.