AgentAPIGate
Back to Catalog
GET /v1/geo/usgs/earthquake_countsPack: intel·MCP Tool: geo_usgs_earthquake_counts

USGS Global Seismic Event Count Aggregator

Count global or regional earthquakes matching magnitude, depth, and time-window thresholds via the USGS FDSN seismic catalog.

API Key Price:$0.0020 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Minimum Richter/moment magnitude threshold (default 4.0)
Optional maximum magnitude ceiling
Optional ISO-8601 start date/time (defaults to USGS 30-day rolling window when omitted)
Optional ISO-8601 end date/time
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-88% tokens
# 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
ParameterTypeReqSample / DefaultDescription
minmagnitudenumberoptional4Minimum Richter/moment magnitude threshold (default 4.0)
maxmagnitudenumberoptional—Optional maximum magnitude ceiling
starttimestringoptional—Optional ISO-8601 start date/time (defaults to USGS 30-day rolling window when omitted)
endtimestringoptional—Optional ISO-8601 end date/time
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0020 / call$0/mo · Balance never expires
Remote MCP Toolgeo_usgs_earthquake_countsOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency2403 ms$0 billed on empty or 4xx/5xx
Token Economy132t → 35t (-88%)Partner credit: eligible
Data AttributionSource: U.S. Geological Survey Earthquake Hazards Program FDSN Event API (earthquake.usgs.gov — US Public Domain)

More geo.usgs Sibling Endpoints

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.