← clify home · catalogue · Weather and location data APIs for AI agents
earthquake-usgs API for agents (unofficial) — JSON over curl
USGS Earthquake Hazards Program (Latest Earthquakes map). This CLI queries real-time earthquake feeds, the ComCat FDSN event search and count APIs, event details with products such as PAGER, ShakeMap and aftershock forecasts, geoserve nearby-place and region lookups, and catalog/contributor metadata.
Host: earthquake.usgs.gov. Call these verified read commands with plain curl; no install, key, or account. Use the public JSON API with plain curl. No install, key, account, or browser is needed. Start with San Francisco and U.S. agent tasks: events, startup jobs, BART and Muni departures, Craigslist listings, local news, public datasets and prediction markets. Example: curl 'https://clify-dev.netlify.app/search?q=SF+tech+events'. Responses are one JSON object. The hosted MCP and GitHub repo are also available.
Machine-readable command schema · Source website
Commands
get-feed
Get a real-time earthquake summary feed (GeoJSON) for a magnitude threshold and time window, e.g. M2.5+ past day or significant past month Params: magnitude, period Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/get-feed?magnitude=2.5&period=day'
search-earthquakes
Search the ComCat earthquake catalog (FDSN) by time range, magnitude, bounding box or radius, depth, PAGER alert level and event type, with sorting and paging Params: starttime, endtime, minmagnitude, maxmagnitude, minlatitude, maxlatitude, minlongitude, maxlongitude, latitude, longitude, maxradiuskm, mindepth, maxdepth, alertlevel, eventtype, catalog, producttype, orderby, api_limit, offset Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/search-earthquakes?starttime=2026-10-01&endtime=2026-10-18&minmagnitude=5&orderby=magnitude&api_limit=20'
count-earthquakes
Count catalog events that match search filters (time, magnitude, location radius or bbox, depth, event type) without downloading them Params: starttime, endtime, minmagnitude, maxmagnitude, latitude, longitude, maxradiuskm, minlatitude, maxlatitude, minlongitude, maxlongitude, mindepth, maxdepth, alertlevel, eventtype Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/count-earthquakes?starttime=2026-10-01&minmagnitude=4&latitude=7.5868&longitude=-80.769&maxradiuskm=400'
get-event
Get full detail for one earthquake event by id, including all products (origin, shakemap, losspager, dyfi, moment-tensor, oaf) and their content file URLs Params: eventid* Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/get-event?eventid=us6000u18k'
get-aftershock-forecast
Get the aftershock forecast (oaf product forecast.json: observed counts, model parameters, probabilities) for an event's oaf product Params: productId* Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/get-aftershock-forecast?productId=urn%3Ausgs-product%3Aus%3Aoaf%3Aus6000u18k%3A1792252672761'
get-shakemap-contours
Get ShakeMap intensity (MMI) contour lines as GeoJSON for an event's shakemap product Params: productId* Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/get-shakemap-contours?productId=urn%3Ausgs-product%3Aus%3Ashakemap%3Aus6000u2mq%3A1792208324795'
find-nearby-places
Find populated places (GeoNames) near a latitude/longitude within a radius, optionally filtered by minimum population Params: latitude*, longitude*, maxradiuskm, minpopulation, api_limit Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/find-nearby-places?latitude=34.05&longitude=-118.25&maxradiuskm=50&minpopulation=10000'
get-event-places
Get the 5 reference places the event page lists near an epicenter (distance and azimuth), as used in event titles Params: latitude*, longitude* Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/get-event-places?latitude=7.5868&longitude=-80.769'
get-regions
Get regional info for a lat/lon: admin region/country, Flinn-Engdahl region, authoritative network, NEIC catalog/response regions, offshore and tectonic summary Params: latitude*, longitude* Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/get-regions?latitude=7.5868&longitude=-80.769'
List the allowed values for FDSN search filters: catalogs, contributors, product types, event types and magnitude types Params: none Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/get-catalog-metadata'
list-contributors
List ComCat contributing seismic networks with id, full name, aliases and info URL Params: none Read-only
curl 'https://clify-dev.netlify.app/earthquake-usgs/list-contributors'
Related task guides and sites
Continue with Weather and location data APIs for AI agents or explore related sources:
weather.gov
National Weather Service (weather.gov / api.weather.gov): look up US forecasts by lat/lon or NWS grid point, active alerts, weather stations and their latest observations, forecast-office text products (e.g. Area Forecast Discussions), zone boundary KML, DWML forecast export, and weather glossary terms.
Machine-readable commands · 11 verified commands
open-meteo.com
Open-Meteo: free, keyless weather APIs. The CLI provides forecasts, historical reanalysis, archived and previous model runs, ensembles, seasonal and climate projections, marine, air quality, satellite radiation, flood, elevation, geocoding and CSV export.
Machine-readable commands · 16 verified commands
yr.no
yr.no (Norwegian Meteorological Institute / NRK weather service): search places and get forecasts, current weather, nowcasts, long-range, coastal/tide/water-level, air quality, aurora, sun/moon, observation history, warnings, mountain pass conditions and meteorologist posts via yr.no's public /api/v0 JSON API.
Machine-readable commands · 24 verified commands