---
title: "Get StackerDB chunk (latest version)"
method: GET
path: "/v2/stackerdb/{principal}/{contract_name}/{slot_id}"
tags: ["StackerDB"]
---

# Get StackerDB chunk (latest version)

`GET /v2/stackerdb/{principal}/{contract_name}/{slot_id}`

## Request

- Base URL: `http://localhost:20443`
- URL: `http://localhost:20443/v2/stackerdb/{principal}/{contract_name}/{slot_id}`
- Auth: none required

Get the latest version of a chunk of data from a StackerDB instance.

## Path parameters

- `slot_id` integer, required

## Parameters

- `./components/parameters/standard-principal.yaml` (unresolved $ref)
- `./components/parameters/contract-name.yaml` (unresolved $ref)

## Response `200`

StackerDB chunk data

## Other responses

- `400`: Bad request
- `404`: Not found
- `500`: Internal Server Error

## Changes

> 55 revisions in range; 3 not diffed.

- **2026-01-28** `30468ca2533f`: 1 warning, 1 info
  - for the `path` request parameter `slot_id`, the max was set to `4294967295.00`
  - added the non-success response with the status `400`
- **2026-01-14** `f7f733b4a1fc`: 1 info
  - removed the non-success response with the status `400`
- **2026-01-14** `eb2153a4a3ad`: 1 warning, 1 info
  - for the `path` request parameter `slot_id`, the max was set to `4294967295.00`
  - added the non-success response with the status `400`
- **2025-12-18** `97e7080a8130`: 1 warning, 1 info
  - for the `path` request parameter `slot_id`, the max was set to `4294967295.00`
  - added the non-success response with the status `400`
- **2025-12-17** `db8094c96a6e`: 1 info
  - removed the non-success response with the status `400`

[Operation history](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/changes/v2/stackerdb/:principal/:contract_name/:slot_id/get.md)

---

[API](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api.md) - [All operations](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/revisions/ec15793050b9?raw)
