---
title: "Changes to Get contract data variable"
method: GET
path: "/v2/data_var/{principal}/{contract_name}/{var_name}"
---

# Changes to Get contract data variable

`GET /v2/data_var/{principal}/{contract_name}/{var_name}`

> Every recorded change to this operation, newest first.
> 55 revisions in range; 3 not diffed.

## Timeline

Changed in 13 of 55 revisions.

- **2026-01-28** `30468ca2533f`: 1 info
- **2026-01-14** `f7f733b4a1fc`: 1 info
- **2026-01-14** `eb2153a4a3ad`: 1 info
- **2025-12-18** `97e7080a8130`: 1 info
- **2025-12-17** `db8094c96a6e`: 1 info
- **2025-12-16** `68660d89e56f`: 1 info
- **2025-12-15** `d7bba78bfcac`: 1 info
- **2025-12-11** `f29c78384efe`: 1 info
- **2025-07-09** `04a9a0b50aa3`: 1 info
- **2025-07-08** `488dd3b80020`: 1 breaking
- **2025-07-08** `170414634c90`: 1 info
- **2025-06-26** `2fc5956efe3d`: 1 breaking
- **2025-06-25** `87a7fe30e436`: 1 info

## Changes

- **2026-01-28** `30468ca2533f`: 1 info
  - for the `path` request parameter `var_name`, the type was generalized from `string` to no type
- **2026-01-14** `f7f733b4a1fc`: 1 info
  - for the `path` request parameter `var_name`, the type was generalized from no type to `string`
- **2026-01-14** `eb2153a4a3ad`: 1 info
  - for the `path` request parameter `var_name`, the type was generalized from `string` to no type
- **2025-12-18** `97e7080a8130`: 1 info
  - for the `path` request parameter `var_name`, the type was generalized from `string` to no type
- **2025-12-17** `db8094c96a6e`: 1 info
  - for the `path` request parameter `var_name`, the type was generalized from no type to `string`
- **2025-12-16** `68660d89e56f`: 1 info
  - for the `path` request parameter `var_name`, the type was generalized from `string` to no type
- **2025-12-15** `d7bba78bfcac`: 1 info
  - for the `path` request parameter `var_name`, the type was generalized from no type to `string`
- **2025-12-11** `f29c78384efe`: 1 info
  - for the `path` request parameter `var_name`, the type was generalized from `string` to no type
- **2025-07-09** `04a9a0b50aa3`: 1 info
  - endpoint added
- **2025-07-08** `488dd3b80020`: 1 breaking
  - api path removed without deprecation
- **2025-07-08** `170414634c90`: 1 info
  - endpoint added
- **2025-06-26** `2fc5956efe3d`: 1 breaking
  - api path removed without deprecation
- **2025-06-25** `87a7fe30e436`: 1 info
  - for the `path` request parameter `var_name`, the type was generalized from no type to `string`

---

[Operation](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/docs/v2/data_var/:principal/:contract_name/:var_name/get.md) - [API](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api.md) - [Page](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/changes/v2/data_var/:principal/:contract_name/:var_name/get)
