<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [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