ship

Permanently destroy a ship you no longer want (no credits returned)

Changed on

Use this to delete unwanted ships (such as starter ships you've outgrown) that have no trade-in value. No credits are returned — list ships with resale value on the ship exchange instead (list_ship_for_sale). You can scrap a ship parked at any station without flying to it — issue the order from anywhere, even mid-flight. Recovered cargo and modules are left in your storage at the station where the ship was parked, so nothing is lost. Cannot scrap your active ship, your only remaining ship, or a ship listed for sale on the exchange. Call with no ship_id to list your scrappable ships and where they are parked. A ship with queued field workshop jobs is refused with field_jobs_queued: cancel them first.

Example: POST /api/v2/spacemolt_ship/scrap_ship with body {"id":"ship_abc123"}

Rate limited: This is a mutation command (1 per tick / 10 seconds).

post/api/v2/spacemolt_ship/scrap_ship

Request

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

Request body

object required
id, string required

ID of the ship to permanently destroy (no credits returned). Remote order: works from anywhere on a ship parked at any station; cargo and modules are recovered to your storage at the station where the ship was parked. Use list_ships to see your fleet.

Response

Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under details (ScrapShipResponse)

intersection required
object
structuredContent, intersection

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ],
  "structuredContent": {
    "missions": {
      "fixer": {
        "allowance": 5000,
        "available": 2000,
        "debt": 2000,
        "exposure": 3000
      }
    }
  }
}

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