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

# Ship Refine

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

Attempt to refine the raw materials on your ship. The request will only succeed if your ship is capable of refining at the time of the request. In order to be able to refine, a ship must have goods that can be refined and have installed a `Refinery` module that can refine it.

When refining, 100 basic goods will be converted into 10 processed goods.

## Path parameters

- `shipSymbol` string, required

## Request body

- object
  - `produce` 'IRON' | 'COPPER' | 'SILVER' | 'GOLD' | 'ALUMINUM' | 'PLATINUM' | 'URANITE' | 'MERITIUM' | 'FUEL', required — The type of good to produce out of the refining process.

## Response `201`

The ship has successfully refined goods.

- object
  - `data` object, required
    - `cargo` ShipCargoJson, required — unresolved $ref
    - `cooldown` CooldownJson, required — unresolved $ref
    - `produced` object[], required — Goods that were produced by this refining process.
      - `tradeSymbol` string, required — Symbol of the good.
      - `units` integer, required — Amount of units of the good.
    - `consumed` object[], required — Goods that were consumed during this refining process.
      - `tradeSymbol` string, required — Symbol of the good.
      - `units` integer, required — Amount of units of the good.

---

[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)
