buy
Buy items at market price from the station exchange (Instant fills pay no listing fee, but the empire's sales tax, if any, is added to each unit's price. Items delivered to cargo (or storage if cargo full). Use deliver_to=storage to send directly to storage. Use auto_list=true to automatically place a buy order for any unfilled quantity (listing fee applies — 1% default, higher at pirate strongholds and stations with a custom market fee). Accepts item_id or item name (e.g. 'Iron Ore').)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ID of the item to buy (e.g., iron_ore, steel_plate) | |
| quantity | Yes | Quantity to buy | |
| auto_list | No | If true, automatically place a buy order for any quantity not filled immediately (1% listing fee applies). | |
| deliver_to | No | Where to deliver purchased items: 'cargo' (default) or 'storage' (station storage, useful when cargo is full). | |
| session_id | Yes | Your session ID from login/register |