Skip to content
GuidesPlaygroundDashboard

Elements

Query features by bounding box or H3 cell
elements.query(ElementQueryParams**kwargs) -> FeatureCollection
GET/api/v1/features
Get feature by type and ID
elements.retrieve(intid, ElementRetrieveParams**kwargs) -> GeoJsonFeature
GET/api/v1/features/{type}/{id}
Fetch multiple features by type and ID
elements.batch(ElementBatchParams**kwargs) -> FeatureCollection
POST/api/v1/features/batch
Find features near a geographic point
elements.nearby(ElementNearbyParams**kwargs) -> FeatureCollection
GET/api/v1/features/nearby
ModelsExpand Collapse
class BatchRequest:
elements: List[Element]
id: int
type: Literal["node", "way", "relation"]
One of the following:
"node"
"way"
"relation"