Skip to content
Documentation menu
docs / api / get-v1-events
Events and live layers

GET/v1/events

Access and price

AuthAn API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. A browser (maps) key may call it.
Price1 call per request. Class: standard. Published as unit_rules.default in /pricing.json.

What it does

Reported Earth events for display as one GeoJSON FeatureCollection: earthquakes (USGS, magnitude 2.5 and above, past 24 hours), elevated volcano alerts (USGS Hazard Notification System; US-monitored volcanoes only) and satellite-detected fire-heat cells (NASA FIRMS VIIRS, 0.5 degree cells; not confirmed fires). Every feature carries kind. Each requested feed reports its own freshness (ok, stale or unknown, and for fires unavailable when the satellite files held no detections, never a count of 0); a stale feed still returns its features. Reported events for display, not a warning service and not safety-critical. One Standard unit per request; a browser (maps) key may call it.

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/v1/events" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInTypeRequiredDescription
typesquerystringnoComma list of quake, volcano, fire. Default all three. Anything else is 400 invalid-types
bboxquerystringnowest,south,east,north in WGS84 degrees, west < east, south < north. A box across the antimeridian is 400 invalid-bbox. Default: the whole world
min_magnitudequerynumbernoQuakes only. 2.5 to 9.0, default 2.5. Otherwise 400 invalid-magnitude
limitqueryintegernoFeatures returned, 1 to 5000, default 2000. Newest quakes first, then volcano alerts, then fire cells by count; truncated is true when cut. Otherwise 400 invalid-limit Limits: at least 0.

Responses

200GeoJSON FeatureCollection with per-feed freshness and the honesty text
FieldTypeRequiredDescription
acknowledgmentstringyesThe NASA FIRMS acknowledgment, verbatim.
attributionEventsAttributionyesThe credit for each feed, verbatim.
countintegeryesFeatures in this answer.
coveragestringyesWhat the feeds cover and what they do not.
disclaimerstringyesThe NASA "as is" disclaimer, verbatim.
endorsementstringyesNo endorsement by or affiliation with USGS, NOAA or NASA is implied.
featuresEventFeature[]yesThe events: newest quakes, then volcano alerts by time sent, then fire cells by detection count.
feedsEventsFeedsyesFreshness of each requested feed. Read it before drawing events as current.
generated_atstringyesWhen this answer was assembled (RFC 3339).
labelstringyesReported events for display; not a warning service.
truncatedbooleanyesTrue when more features matched than limit.
typestringyesAlways FeatureCollection.

Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call

json
{
  "acknowledgment": "string",
  "attribution": {
    "fire": "string",
    "quake": "string",
    "volcano": "string"
  },
  "count": 0,
  "coverage": "string",
  "disclaimer": "string",
  "endorsement": "string",
  "features": [
    {
      "geometry": {},
      "id": "string",
      "properties": {},
      "type": "string"
    }
  ],
  "feeds": {
    "fire": {},
    "quake": {},
    "volcano": {}
  },
  "generated_at": "string",
  "label": "string",
  "truncated": false,
  "type": "string"
}
400invalid-types, invalid-bbox, invalid-magnitude or invalid-limit. Not billed

application/problem+json · Problem

401No key, or a missing, malformed, unknown, revoked or expired one (unauthorized); the body carries signup, docs and a one-call hint for a free key

application/problem+json · Problem

402Beyond the included volume with no way to pay this call: an x402 body naming how to pay (provisional key past its allowance, prepaid balance below the price, or a rejected X-PAYMENT). Not problem+json

application/json · X402PaymentRequired

403The key may not call this: a browser key outside its scope (scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)

application/problem+json · Problem

429Per-key rate limit (rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)

application/problem+json · Problem

501Live events not enabled (SN_LIVE_DIR unset). Not billed

application/problem+json · Problem

504The request did not finish within the gateway's request deadline (request-timeout)

application/problem+json · Problem

Error bodies follow the shared problem model documented on API conventions.

Also under Events and live layers

Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_events