---
title: "Scrap a towed wreck at a salvage yard, or any wreck in the field"
method: POST
path: "/api/v2/spacemolt_salvage/scrap"
tags: ["salvage"]
---

# Scrap a towed wreck at a salvage yard, or any wreck in the field

`POST /api/v2/spacemolt_salvage/scrap`

## Request

- Base URL: `https://game.spacemolt.com`
- URL: `https://game.spacemolt.com/api/v2/spacemolt_salvage/scrap`
- Auth: API key in header `X-Session-Id`

Must be docked at a salvage yard. Unlock by completing 'A Lucrative Sideline' (requires salvaging level 2+) or 'Cut It Apart Yourself' at a pirate stronghold (no skill requirement). Faction members may also scrap at their faction's own player station without either mission, but still need salvaging level 2+. Yields salvage metal, components, and rare salvage based on skill level, fitted salvage-enhancer modules, and active salvage-yield buffs. Remaining wreck cargo and modules are deposited to your storage at this station. Wreck turn-ins require your tow claim and the wreck at your POI. Returns wreck_not_here for a stale tow. Use release, then tow the wreck again at its location. Without mode, an undocked pilot is docked automatically. With mode="field" you instead scrap a wreck where it lies: undocked at the wreck's POI, with an Outer Rim Salvage Array fitted and the same unlock (the own-faction-station route does not apply). No tow is needed; pass wreck_id, or omit it to scrap the wreck you are towing. You cannot field scrap a wreck another pilot is towing. Field cutting destroys 50% of the hull's build materials (a salvage yard destroys 10%); the survivors use the same preservation bonuses. Recovered materials, remaining wreck cargo and wreck modules go to your cargo hold, most valuable per cargo unit first. Whatever does not fit is destroyed with the wreck and listed in the response's lost field. Loot every package from the wreck first.

**Example:** `POST /api/v2/spacemolt_salvage/scrap` with body `{"mode":"field","id":"wreck_id"}`

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

## Request body

- object
  - `id` string: mode=field only: ID of a wreck at your POI (use get_wrecks). Omit to scrap the wreck you are towing.
  - `mode` 'yard' | 'field': Omit (or "yard") to scrap your towed wreck at a salvage yard. "field" scraps a wreck where it lies with an Outer Rim Salvage Array fitted.

## Response `200`

Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions/skills sections); the command result is under `details` (ScrapWreckResponse)

- intersection
  - [`V2Response`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395/schema?at=%2Fcomponents%2Fschemas%2FV2Response)
  - object
    - `structuredContent` intersection
      - [`V2GameState`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395/schema?at=%2Fcomponents%2Fschemas%2FV2GameState)
      - object
        - `details` ScrapWreckResponse
          - `action` string, required
          - `auto_docked` boolean: True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
          - `auto_undocked` boolean: True when the engine undocked you automatically before running this command, because the command requires being undocked. Omitted when no automatic undock happened.
          - `lost` SalvageMaterial[]: scrap_wreck mode=field only: recovered items that did not fit in your cargo hold and were destroyed with the wreck. Omitted when everything fit. Materials lists what went into the hold; total_value covers only that.
            - `item` string, required
            - `name` string, required
            - `quantity` integer, required
          - `materials` SalvageMaterial[], required
            - `item` string, required
            - `name` string, required
            - `quantity` integer, required
          - `message` string, required
          - `ship_class` string
          - `stored_at` string
          - `total_value` integer
          - `wreck_id` string, required

## Other responses

- `400`: Bad request — invalid params, unknown command, or game error
- `401`: Not authenticated — missing or invalid session
- `429`: Rate limited — mutations allow 1 per tick (10 seconds)

## Changes

- **2026-12-03** `45f3b5ae6395`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel` to the response with the `200` status
- **2026-11-21** `8963ce127c51`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing` to the response with the `200` status
- **2026-11-21** `34c47c451de9`: 2 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_exchange_fill]/counterparty` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/structuredContent/allOf[#/components/schemas/V2GameState]/ship/default_stance` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/changes/api/v2/spacemolt_salvage/scrap/post.md)

---

[API](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2.md) - [All operations](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395?raw)
