---
title: "Changes to Get contract by id"
method: GET
path: "/api/v1/contracts/{contractIdOrAddress}"
---

# Changes to Get contract by id

`GET /api/v1/contracts/{contractIdOrAddress}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 53 revisions.

- **2025-08-08** (v1) `db389f03b097` — 19 breaking

## Changes

- **2025-08-08** (v1) `db389f03b097` — 19 breaking
  - the response property `_status/messages/items/data` became nullable for the status `400`
  - the response property `_status/messages/items/data` became nullable for the status `404`
  - the response property `_status/messages/items/detail` became nullable for the status `400`
  - the response property `_status/messages/items/detail` became nullable for the status `404`
  - the response property `allOf[#/components/schemas/Contract]/admin_key` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/auto_renew_account` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/auto_renew_period` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/contract_id` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/created_timestamp` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/expiration_timestamp` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/file_id` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/max_automatic_token_associations` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/nonce` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/obtainer_id` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/permanent_removal` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/proxy_account_id` became nullable for the status `200`
  - the response property `allOf[#/components/schemas/Contract]/timestamp/to/allOf[#/components/schemas/TimestampNullable]/` became nullable for the status `200`
  - the response property `allOf[subschema #2]/bytecode` became nullable for the status `200`
  - the response property `allOf[subschema #2]/runtime_bytecode` became nullable for the status `200`

---

[Operation](https://skmtc.dev/hiero-ledger/apis/mirror-node-rest-api/docs/api/v1/contracts/:contractIdOrAddress/get.md) · [API](https://skmtc.dev/hiero-ledger/apis/mirror-node-rest-api.md) · [Page](https://skmtc.dev/hiero-ledger/apis/mirror-node-rest-api/changes/api/v1/contracts/:contractIdOrAddress/get)
