---
title: "Get Contract"
method: GET
path: "/my/contracts/{contractId}"
tags: ["Contracts"]
---

# Get Contract

`GET /my/contracts/{contractId}`

Get the details of a contract by ID.

## Path parameters

- `contractId` string, required

## Response `200`

Successfully fetched contract.

- object
  - `data` ContractJson, required — unresolved $ref

## Changes

> 50 revisions in range; 2 not diffed.

- **2025-02-06** `a4500b4e7ef1` — 1 breaking
  - added the new path request parameter `contractId`
- **2023-06-09** `735393b679c5` — 2 info
  - api tag `Contracts` added
  - api tag `contracts` removed
- **2023-05-23** `252df2c2fc84` — 1 info
  - endpoint added
- **2023-05-20** `86f8c56c4690` — 1 warning, 2 info
  - deleted the `path` request parameter `contractId`
  - api tag `contracts` added
  - api tag `Contracts` removed

[Change history](https://skmtc.dev/spacetradersapi/apis/spacetraders-api/changes/my/contracts/:contractId/get.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-service-production.skmtc.workers.dev/v1/apis/spacetradersapi/spacetraders-api/revisions/197cf9b9a2b6/schema)
