Skip to content
GuidesPlaygroundDashboard

Elements

Query features by bounding box or H3 cell
$client->elements->query(?string bbox, ?string cursor, ?string h3, ?int limit, ?string type): FeatureCollection
GET/api/v1/features
Get feature by type and ID
$client->elements->retrieve(int id, string type): GeoJsonFeature
GET/api/v1/features/{type}/{id}
Fetch multiple features by type and ID
$client->elements->batch(list<Element> elements): FeatureCollection
POST/api/v1/features/batch
Find features near a geographic point
$client->elements->nearby(float lat, float lng, ?int limit, ?int radius): FeatureCollection
GET/api/v1/features/nearby
ModelsExpand Collapse
list<Element> elements