<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [WarehouseAPI](./bitburner.warehouseapi.md) &gt; [getPurchaseWarehouseCost](./bitburner.warehouseapi.getpurchasewarehousecost.md)

## WarehouseAPI.getPurchaseWarehouseCost() method

Gets the cost to purchase a warehouse

<b>Signature:</b>

```typescript
getPurchaseWarehouseCost(): number;
```
<b>Returns:</b>

number

cost