Documentation menu
GET/v1/events
Access and price
| Auth | An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. A browser (maps) key may call it. |
|---|---|
| Price | 1 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
curl -fsS -X GET "https://api.mapmap.ai/v1/events" \
-H "Authorization: Bearer $MAPMAP_KEY"Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| types | query | string | no | Comma list of quake, volcano, fire. Default all three. Anything else is 400 invalid-types |
| bbox | query | string | no | west,south,east,north in WGS84 degrees, west < east, south < north. A box across the antimeridian is 400 invalid-bbox. Default: the whole world |
| min_magnitude | query | number | no | Quakes only. 2.5 to 9.0, default 2.5. Otherwise 400 invalid-magnitude |
| limit | query | integer | no | Features 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
| Field | Type | Required | Description |
|---|---|---|---|
| acknowledgment | string | yes | The NASA FIRMS acknowledgment, verbatim. |
| attribution | EventsAttribution | yes | The credit for each feed, verbatim. |
| count | integer | yes | Features in this answer. |
| coverage | string | yes | What the feeds cover and what they do not. |
| disclaimer | string | yes | The NASA "as is" disclaimer, verbatim. |
| endorsement | string | yes | No endorsement by or affiliation with USGS, NOAA or NASA is implied. |
| features | EventFeature[] | yes | The events: newest quakes, then volcano alerts by time sent, then fire cells by detection count. |
| feeds | EventsFeeds | yes | Freshness of each requested feed. Read it before drawing events as current. |
| generated_at | string | yes | When this answer was assembled (RFC 3339). |
| label | string | yes | Reported events for display; not a warning service. |
| truncated | boolean | yes | True when more features matched than limit. |
| type | string | yes | Always FeatureCollection. |
Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call
{
"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"
}invalid-types, invalid-bbox, invalid-magnitude or invalid-limit. Not billedapplication/problem+json · Problem
unauthorized); the body carries signup, docs and a one-call hint for a free keyapplication/problem+json · Problem
X-PAYMENT). Not problem+jsonapplication/json · X402PaymentRequired
scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)application/problem+json · Problem
rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)application/problem+json · Problem
SN_LIVE_DIR unset). Not billedapplication/problem+json · Problem
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