---
title: "Scrap Ship"
method: POST
path: "/my/ships/{shipSymbol}/scrap"
tags: ["Fleet"]
---

# Scrap Ship

`POST /my/ships/{shipSymbol}/scrap`

Scrap a ship, removing it from the game and returning a portion of the ship's value to the agent. The ship must be docked in a waypoint that has the `Shipyard` trait in order to use this function. To preview the amount of value that will be returned, use the Get Ship action.

## Path parameters

- `shipSymbol` string, required

## Response `200`

Ship scrapped successfully.

- object
  - `data` object, required
    - `agent` AgentJson, required — unresolved $ref
    - `transaction` ScrapTransactionJson, required — unresolved $ref

---

[API](https://skmtc.net/spacetradersapi/apis/spacetraders-api.md) · [All operations](https://skmtc.net/spacetradersapi/apis/spacetraders-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacetradersapi/spacetraders-api/revisions/197cf9b9a2b6/schema)
