## Look up elevation at one or more points `client.elevation.lookup(ElevationLookupParamsquery?, RequestOptionsoptions?): ElevationLookupResult` **get** `/api/v1/elevation` Look up elevation at one or more points ### Parameters - `query: ElevationLookupParams` - `lat?: number` Latitude (single point) - `lng?: number` Longitude (single point) - `locations?: string` Pipe-separated lng,lat pairs (batch) ### Returns - `ElevationLookupResult` GeoJSON Point Feature with 3D coordinate [lng, lat, elevation] (RFC 7946 ยง3.1.1) - `geometry: GeoJsonGeometry` - `coordinates: Array | Array> | Array>> | Array>>>` GeoJSON coordinates array (nesting depth varies by geometry type) - `Array` - `Array>` - `Array>>` - `Array>>>` - `type: "Point" | "LineString" | "Polygon" | 3 more` - `"Point"` - `"LineString"` - `"Polygon"` - `"MultiPoint"` - `"MultiLineString"` - `"MultiPolygon"` - `properties: Properties` - `elevation_m?: number` Elevation in meters above mean sea level - `type: "Feature"` - `"Feature"` ### Example ```typescript import Plaza from '@plazafyi/sdk'; const client = new Plaza({ apiKey: process.env['PLAZA_API_KEY'], // This is the default and can be omitted }); const elevationLookupResult = await client.elevation.lookup(); console.log(elevationLookupResult.geometry); ```