GET defs/environments
Summary: Get environment definitions
Operation ID: getEnvironments
Auth: unknown
Operation ID: getEnvironments
Auth: unknown
Description
Returns environment definitions used to classify geologic units.
Parameters (6)
all
(boolean, query, optional)
Return all results
environ
(string, query, optional)
Specific environment name
environ_class
(string, query, optional)
General environments
environ_id
(integer, query, optional)
Specific environment ID from /defs/environments
environ_type
(string, query, optional)
Groups of environments
format
(string, query, optional)
Desired output format (json, csv, geojson, geojson_bare, topojson, topojson_bare)
Constraints: {'enum': ['json', 'csv', 'geojson', 'geojson_bare', 'topojson', 'topojson_bare']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Get all environment definitions | curl |
https://macrostrat.org/defs/environments?all=true |
|
| Filter environments by class | curl |
https://macrostrat.org/defs/environments?environ_class=marine |
|
| Filter environments by type | curl |
https://macrostrat.org/defs/environments?environ_type=carbonate |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:30:50.442988 | 404 | 383ms | |
| 2026-03-23 10:22:50.860989 | 404 | 390ms | |
| 2026-03-23 09:20:44.544218 | 404 | 412ms |