USGS earthquakes near the Philippines
get_usgs_earthquakes_phRetrieve Philippine earthquake data from USGS with PHIVOLCS cross-reference. Filter by date, magnitude, or location to get event details and distances.
Instructions
Philippine-region earthquakes from USGS, cross-reference to PHIVOLCS.
Returns events inside the PH bounding box (lat 4..22, lng 115..130) that USGS catalogs, including international-standard Mww/Mwc magnitudes and depth solutions. Complements PHIVOLCS with global-network analysis. Give center_lat, center_lon, and radius_km together to filter to one place, and each matched event then carries a distance_km field. Give all three together, or leave out all three. Examples:
get_usgs_earthquakes_ph() last 30 days, magnitude 4.0+ get_usgs_earthquakes_ph(start_date="2026-08-01", end_date="2026-08-31") get_usgs_earthquakes_ph(center_lat=14.5995, center_lon=120.9842, radius_km=50) near Manila
On failure: an invalid trio, an out-of-range radius_km, center_lat, or center_lon gives validation_error true and data_status "invalid_request". The same happens for a start_date or end_date that is not YYYY-MM-DD. An unreachable USGS API, or a payload that is not a GeoJSON FeatureCollection, gives upstream_error true and data_status "unavailable". A nonempty features list where every feature fails to parse gives upstream_error true and data_status "indeterminate", and is never cached. All three return results: [] with the real error in caveats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max events to return (default 50, USGS hard-caps at 20000). | |
| end_date | No | ISO date (YYYY-MM-DD). Defaults to today. | |
| radius_km | No | Keep only events within this distance of (center_lat, center_lon). Give all three of center_lat, center_lon, and radius_km together, or none of them. Each returned event then carries a distance_km field. | |
| center_lat | No | Latitude of a search point. Give with center_lon and radius_km to filter to events near one place instead of the whole PH bbox. | |
| center_lon | No | Longitude of a search point. Give with center_lat and radius_km. | |
| start_date | No | ISO date (YYYY-MM-DD). Defaults to 30 days ago. | |
| min_magnitude | No | Minimum magnitude (default 4.0 to keep noise low). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |