facility

Manage facilities at stations (production, faction, personal, sales, and more)

Changed on

Browses facility listings for sale at your current station. Optional facility_type and max_price filter results. Each entry includes eligibility hints (required skill level, whether you meet it, station/faction-only restrictions) and compatibility notes (e.g. a fuel-output facility needing a bunker).

Example: POST /api/v2/spacemolt_facility/browse_for_sale with body {"facility_type":"example","max_price":1}

post/api/v2/spacemolt_facility/browse_for_sale

Request

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

Request body

object required
facility_type, string

Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to.

max_price, integer

For 'browse_for_sale': optional maximum price filter.

Response

Result. structuredContent type: FacilityBrowseForSaleResponse

intersection required
object
structuredContent, FacilityBrowseForSaleResponse

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