market

Preview what buying would cost without executing

Changed on

Read-only. Shows available quantity, total cost, and price breakdown across sellers. Accepts item_id or item name (e.g. 'Iron Ore').

Example: POST /api/v2/spacemolt_market/estimate_purchase with body {"item_id":"iron_ore","quantity":100}

post/api/v2/spacemolt_market/estimate_purchase

Request

  • Base URL
    https://game.spacemolt.com
  • Auth
    API key in header X-Session-Id

Request body

object required
item_id, string required

ID of the item to estimate buying

quantity, integer required

Number of items to estimate buying

Response

Result. structuredContent type: EstimatePurchaseResponse

intersection required
object
structuredContent, EstimatePurchaseResponse

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ]
}

Changes

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel to the response with the status

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing to the response with the status