USGS Global Seismic Event Count Aggregator
Count global or regional earthquakes matching magnitude, depth, and time-window thresholds via the USGS FDSN seismic catalog.
curl -sG "https://api.agentapigate.ai/v1/geo/usgs/earthquake_counts" \ --data-urlencode "minmagnitude=4" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# USGS Global Seismic Event Count Aggregator (`geo.usgs.earthquake_counts`) **count**: 937 · **maxAllowed**: 20000 · **minmagnitude**: 4
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:geo.usgs.earthquake_counts · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| minmagnitude | number | optional | 4 | Minimum Richter/moment magnitude threshold (default 4.0) |
| maxmagnitude | number | optional | — | Optional maximum magnitude ceiling |
| starttime | string | optional | — | Optional ISO-8601 start date/time (defaults to USGS 30-day rolling window when omitted) |
| endtime | string | optional | — | Optional ISO-8601 end date/time |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0020 / call | $0/mo · Balance never expires |
| Remote MCP Tool | geo_usgs_earthquake_counts | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 2403 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 132t → 35t (-88%) | Partner credit: eligible |
| Data Attribution | Source: U.S. Geological Survey Earthquake Hazards Program FDSN Event API (earthquake.usgs.gov — US Public Domain) | |
More geo.usgs Sibling Endpoints
Retrieve real-time global seismic events from official USGS Earthquake Hazards GeoJSON feed with magnitude, depth_km, coordinates, tsunami flag, and PAGER alert level.
Retrieve real-time instantaneous river discharge (ft3/s) and gage height observations from USGS National Water Information System stations.
Frequently Asked Questions
How do I call USGS Global Seismic Event Count Aggregator (geo.usgs.earthquake_counts) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/geo/usgs/earthquake_counts with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool geo_usgs_earthquake_counts on https://mcp.agentapigate.ai/mcp.
What does geo.usgs.earthquake_counts cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.002 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on geo.usgs.earthquake_counts?
Passing ?format=md transforms the response into normalized Markdown (~35 tokens vs ~132 raw tokens, saving 88% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only intel endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["geo.usgs.earthquake_counts"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.