---
title: "Get NFT metadata"
method: GET
path: "/v1/nft/metadata"
tags: ["NFT Metadata"]
---

# Get NFT metadata

`GET /v1/nft/metadata`

Get the metadata associated with the specified NFT.

## Query parameters

- `chain_id` string, required — chain network id, see [list of details](/platform/features/api/web3-api)
- `contract_address` string, required — The address of the NFT contract
- `token_id` string, required — NFT token id in hex or num string

## Headers

- `x-api-key` string, required

## Response `200`

Successful Response

- ResponseGetNFTMetadata
  - `code` integer
  - `message` string
  - `data` NFTAsset
    - `blockchain` string, required — The blockchain name.
    - `contract_address` string, required — The contract address.
    - `token_id` string, required — The token ID number.
    - `erc_type` string, required — ERC standard related to the contract.
    - `name` string, required — The name of the NFT contract.
    - `owner` string, required — The address who owns the token_id now
    - `symbol` string, required — The symbol of the NFT contract.
    - `image_uri` string, required — The image of the NFT assets.
    - `mint_time` integer, required — The ms timestamp when the token was minted.
    - `mint_transaction_hash` string, required — The transaction hash when the token was minted.
    - `token_uri` string, required — The token URI of the NFT assets.
    - `metadata` unknown
    - `traits` unknown
    - `rarity_score` number — The rarity score of the NFT assets.
    - `rarity_rank` integer — The rarity rank of the NFT assets.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/chainbase/apis/data-cloud-task-api.md) · [All operations](https://skmtc.dev/chainbase/apis/data-cloud-task-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chainbase/data-cloud-task-api/revisions/4013781aa422/schema)
