GET /defs/environments

macrostrat.org:macrostrat-api

Summary: Get environment definitions
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)

TitleTypeURLAction
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

Latency

Status Codes

TimeStatusLatencySize
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