---
title: "Get contract"
method: GET
path: "/contracts/{id}"
tags: ["contracts"]
deprecated: true
---

# Get contract

`GET /contracts/{id}`

> **Deprecated.**

Returns the details of a single v1 contract by its file contract ID.

## Path parameters

- `id` string, required

## Response `200`

Contract details.

- Contract — Host contract metadata.

## Other responses

- `404` — Contract not found.

## Changes

> 8 revisions in range; 1 could not be searched.

- **2026-02-28** `087a58eeff36` — 1 info
  - endpoint deprecated
- **2025-10-08** `103993fc0091` — 1 info
  - endpoint reactivated

[Change history](https://skmtc.dev/siafoundation/apis/hostd-api/changes/contracts/:id/get.md)

---

[API](https://skmtc.dev/siafoundation/apis/hostd-api.md) · [All operations](https://skmtc.dev/siafoundation/apis/hostd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siafoundation/hostd-api/revisions/08ff756929fc/schema)
