---
title: "Purchase Ship"
method: POST
path: "/my/ships"
tags: ["fleet"]
---

# Purchase Ship

`POST /my/ships`

Purchase a ship

## Request body

- object
  - `shipType` ShipTypeJson, required — unresolved $ref
  - `waypointSymbol` string, required — The symbol of the waypoint you want to purchase the ship at.

## Response `201`

Created

- object
  - `data` object, required
    - `agent` AgentJson, required — unresolved $ref
    - `ship` ShipJson, required — unresolved $ref
    - `transaction` ShipyardTransactionJson, required — unresolved $ref

## Changes

> 11 revisions in range; 1 not diffed.

- **2023-05-23** `252df2c2fc84` — 1 info
  - endpoint added
- **2023-05-20** `86f8c56c4690` — 2 info
  - api tag `fleet` added
  - api tag `Fleet` removed

[Change history](https://skmtc.dev/spacetradersapi/apis/spacetraders-api/changes/my/ships/post.md)

---

[API](https://skmtc.dev/spacetradersapi/apis/spacetraders-api.md) · [All operations](https://skmtc.dev/spacetradersapi/apis/spacetraders-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacetradersapi/apis/spacetraders-api/revisions/c33f7c19259f?raw)
