## Get feature by type and ID `$client->elements->lookup(): GeoJsonFeature` **post** `/api/v1/features/lookup` Get feature by type and ID ### Returns - `GeoJsonFeature` - `GeoJsonGeometry geometry` GeoJSON Geometry object per RFC 7946. Coordinates use [longitude, latitude] order. 3D coordinates [lng, lat, elevation] are used for elevation endpoints. - `array properties` OSM tags flattened as key-value pairs, plus `@type` (node/way/relation) and `@id` (OSM ID) metadata fields. May include `distance_m` for proximity queries. - `Type type` Always `Feature` - `?string id` Compound identifier in `type/osm_id` format ### Example ```php elements->lookup(); var_dump($geoJsonFeature); ``` #### Response ```json { "geometry": { "coordinates": [ 2.3522, 48.8566 ], "type": "Point" }, "properties": { "@id": "bar", "@type": "bar", "amenity": "bar", "cuisine": "bar", "name": "bar" }, "type": "Feature", "id": "node/21154906" } ```