---
title: "Negotiate Contract"
method: POST
path: "/my/ships/{shipSymbol}/negotiate/contract"
tags: ["Fleet"]
---

# Negotiate Contract

`POST /my/ships/{shipSymbol}/negotiate/contract`

## Request

- Base URL: `https://api.spacetraders.io/v2`
- URL: `https://api.spacetraders.io/v2/my/ships/{shipSymbol}/negotiate/contract`
- Auth: HTTP bearer

Negotiate a new contract with the HQ.

In order to negotiate a new contract, an agent must not have ongoing or offered contracts over the allowed maximum amount. Currently the maximum contracts an agent can have at a time is 1.

Once a contract is negotiated, it is added to the list of contracts offered to the agent, which the agent can then accept. 

The ship must be present at any waypoint with a faction present to negotiate a contract with that faction.

## Path parameters

- `shipSymbol` string, required

## Response `201`

Successfully negotiated a new contract.

- object
  - `data` object, required
    - `contract` ContractJson, required (unresolved $ref)

## Changes

> 50 revisions in range; 2 not diffed.

- **2025-02-06** `a4500b4e7ef1`: 1 breaking
  - added the new path request parameter `shipSymbol`
- **2023-06-10** `dd5f7f0adc1c`: 1 breaking
  - removed the request body
- **2023-06-09** `735393b679c5`: 2 info
  - api tag `Fleet` added
  - api tag `fleet` removed
- **2023-05-23** `252df2c2fc84`: 1 info
  - endpoint added
- **2023-05-20** `86f8c56c4690`: 1 warning, 3 info
  - deleted the `path` request parameter `shipSymbol`
  - api tag `fleet` added
  - api tag `Fleet` removed
  - added optional request body

[Operation history](https://skmtc.dev/spacetradersapi/apis/spacetraders-api/changes/my/ships/:shipSymbol/negotiate/contract/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/197cf9b9a2b6?raw)
