GET defs/autocomplete
Summary: Autocomplete definitions
Operation ID: getAutocomplete
Auth: unknown
Operation ID: getAutocomplete
Auth: unknown
Description
Quickly retrieve all definitions matching a query. Limited to 100 results.
Parameters (2)
format
(string, query, optional, default: json)
Output format
Constraints: {'enum': ['json', 'csv']}
query
(string, query, required)
Search query string
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Search for sandstone rock type | curl |
https://macrostrat.org/defs/autocomplete?query=sandstone |
|
| Search for Cretaceous geological period | curl |
https://macrostrat.org/defs/autocomplete?query=cretaceous |
|
| Search for granite with explicit JSON format | curl |
https://macrostrat.org/defs/autocomplete?query=granite&format=json |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:21:48.818784 | 404 | 406ms | |
| 2026-03-23 10:12:29.357208 | 404 | 386ms | |
| 2026-03-23 09:11:48.313815 | 404 | 392ms |