Contracts

Get the details of a contract by ID.

get/my/contracts/{contractId}

Request

  • Base URL
    https://api.spacetraders.io/v2
  • URL
    https://api.spacetraders.io/v2/my/contracts/{contractId}
  • Auth
    HTTP bearer

Path parameters

contractIdstring required

The contract ID

Response

Successfully fetched contract.

dataContractJson required(unresolved $ref)

Changes