---
title: "Reads an asset from the blockchain using its primary key."
method: POST
path: "/{channelName}/{chaincodeName}/query/readAsset"
tags: ["Select Channel and Chaincode"]
---

# Reads an asset from the blockchain using its primary key.

`POST /{channelName}/{chaincodeName}/query/readAsset`

## Path parameters

- `channelName` string, required
- `chaincodeName` string, required

## Request body

- object
  - `key` object

## Response `200`

OK

## Other responses

- `404` — Asset not found
- `5XX` — Internal error

---

[API](https://skmtc.dev/hyperledger/apis/cc-tools-demo.md) · [All operations](https://skmtc.dev/hyperledger/apis/cc-tools-demo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hyperledger/cc-tools-demo/revisions/8f40458d8fdf/schema)
