Custom area bounds
GET /api/v1/geo/custom-areas/bounds — Custom area bounds.

GET /api/v1/geo/custom-areas/bounds
Retrieve available GeoJSON features whose bounding boxes intersect a viewport. Choose trails, areas or combined features and adjust geometry detail for your map.
Authentication
No API key is required.
Parameters
Query parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ne_lng | number | Yes | — | Northeast longitude in degrees. |
ne_lat | number | Yes | — | Northeast latitude in degrees. |
sw_lng | number | Yes | — | Southwest longitude in degrees. |
sw_lat | number | Yes | — | Southwest latitude in degrees. |
complexity | number | No | 1 | Geometry detail ratio: 1 preserves original; smaller positive values simplify. Zero falls back to 1. |
Returns GeoJSON directly, without success/data; global hooks can add meta.version. Coordinates use longitude, latitude order. Bounds intersect feature bounding boxes, so geometry can extend beyond the viewport. /bounds and /bounds/trail alias /bounds/trails. Dataset features are not guaranteed to share operational entity IDs. Geographic completeness and crossing-antimeridian handling are not guaranteed. Missing boundary parameters return 400.
Example request
curl 'https://api.icecoast.us/api/v1/geo/custom-areas/bounds?ne_lng=-72&ne_lat=45&sw_lng=-74&sw_lat=43&complexity=1'
const response = await fetch(
'https://api.icecoast.us/api/v1/geo/custom-areas/bounds?ne_lng=-72&ne_lat=45&sw_lng=-74&sw_lat=43&complexity=1'
);
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const result = await response.json();
console.log(result);
import os
import requests
response = requests.get(
'https://api.icecoast.us/api/v1/geo/custom-areas/bounds?ne_lng=-72&ne_lat=45&sw_lng=-74&sw_lat=43&complexity=1',
timeout=30,
)
response.raise_for_status()
print(response.json())
Response
The successful response is a GeoJSON FeatureCollection directly.
The following is a synthetic response excerpt illustrating the verified structure. Names, IDs, counts and dates are examples, not live resort data. Optional fields are omitted.
{
"type": "FeatureCollection",
"features": [],
"meta": {
"version": "v1"
}
}
Resource fields
| Field | Type | Meaning |
|---|---|---|
type | any | See the data model and returned resource. |
features | array | See the data model and returned resource. |
meta | object | Global API metadata. |
Record fields may be missing or null. Treat identifiers as opaque and distinguish unavailable values from confirmed false/zero. See data semantics.
Errors
| HTTP status | Meaning |
|---|---|
| 400 | Invalid request parameters where validated. |
| 500 | The resource could not be read. |
JSON errors may use error or message; the global handler maps validation/runtime errors to success: false, error (name) and message (details). See error handling.
