> For AI agents: the complete documentation index is available at /core-sdk/map/web/llms.txt, the full documentation bundle is available at /core-sdk/map/web/llms-full.txt.

# Search by Building ID(s)

```js
// Sample Usage
const service = new MapxusMap.BuildingsService();
const ids = ['elements_hk_dc005f', 'k11_hk_59f074']; // or 'elements_hk_dc005f'
service.searchByIds(ids);
```

**Parameters**

| Parameter | Type                | Description         |
| --------- | ------------------- | ------------------- |
| ids       | string or string\[] | id\[s] of buildings |

> **Special Note:** The number of IDs cannot exceed **10**. If you need to request more than 10 buildings, please make multiple requests.

**Returns** `TPromiseBuildings`
IBuilding:

- address
- bbox
- city?
- country
- description
- labelCenter
- name
- region
- type
- buildingId
- buildingName
- buildingOutlineId
- defaultFloor?
- floors
- groundFloor
- isPrivate
- organization
- venueId
- venueName

Sample web page:

<iframe src="https://map-service.mapxus.com/bssww/buildingSearchByIds" width="100%" height="550px"></iframe>
