Wallet API
NFT
Get NFT Metadata by ID

Get NFT Metadata by Id - Wallet & Data API

Get NFT Metadata by Id - Fetches detailed information about a specific NFT by its unique identifier.

Get NFT Metadata by Id - [Value: 14796CU]
Fetches detailed information about a specific NFT by its unique identifier
GET https://lb.drpc.live/{chain}/{key}/lambda/v1/contract-address/{contract}/nfts/{nft_id}
Use cases

Use cases

  • Fetch metadata for a specific NFT
  • Display detailed NFT information in portfolio dashboards
Constraints

Constraints

  • Requires valid contract address and token ID
  • Only NFTs on supported chains are returned
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request GET \
  --url https://lb.drpc.live/{chain}/{key}/lambda/v1/contract-address/{contract}/nfts/{nft_id} \
  --header 'accept: application/json'
Copy
Response
200
{
  "data": {
    "type": "nfts",
    "id": "arbitrum:0xc5295c6a183f29b7c962df076819d44e0076860e:10",
    "chain_id": "arbitrum",
    "chain_id_numeric": 42161,
    "chain_name": "Arbitrum",
    "price": 1.90573,
    "attributes": {
      "token_id": "10",
      "contract_address": "0xc5295c6a183f29b7c962df076819d44e0076860e",
      "name": "Rainbow Treasure",
      "interface": "ERC1155",
      "image_url": "https://lh3.googleusercontent.com/1YGMrTrpMkI9Ch7ZvDxkGzCyuUznBESmWwmSuHxSZx3iqczOEi1MZE9lXrC-xYVrq5mFnu8y9WB5MZSbacKvcms-tXOtfg_-ow=s250",
      "marketplace_urls": [],
      "collection": {
        "id": "1130824",
        "name": "Smol Treasures",
        "description": "Smols and Swols are currently farming Smol treasures on the moon.",
        "icon_url": "https://lh3.googleusercontent.com/mnPPP7C3XTYy6VF5tXYzk44zLQOknF0AP2c-bP2haeokr63GjqP-48fHdMpDhTGDkoXwouuDOn8pBEEO21mJ0uKU-LSZaHbTeFo",
        "banner_url": "https://lh3.googleusercontent.com/zcM24EwwI476WSxWMeeLghnH4RQUzSIdsldXfuw-6kN9iNd_P_8z4jt_fNlnnKO02PUlX7CW8tVPi53Scd_0_b7-c9Qy-RfGb0w=w2500",
        "number_of_assets": 10000,
        "number_of_owners": 5000,
        "marketplace_urls": []
      }
    },
    "traits": {
      "Background": "sunrise",
      "Race": "pink",
      "Eyes": "classic"
    },
    "owner_address": "0xd1D6bF2b014f0f2c53a54515D11e2D72D89B61b4"
  }
} }
}
Copy

Path params

Parameters
chainstring
[Required] Chain name (e.g. ethereum, polygon)
keystring
[Required] Your dRPC API key
contract_addressstring
[Required] NFT contract address
nft_idstring
[Required] NFT token ID

Query params

ParametersThis method does not accept any parameters.

Request params

ParametersThis method does not accept any parameters.

Response

200

Response params

object
dataobject
[Required] NFT Details
object
typestring
[Required] Type of the item
idstring
[Required] Internal ID of the item
chain_idstring
[Required] Chain ID of the item
chain_id_numericinteger
Numeric chain ID of the item
chain_namestring
[Required] Chain name of the item
pricenumber
Price of the NFT
attributesobject
[Required] NFT details
object
token_idstring
[Required] ID of the token
contract_addressstring
[Required] NFT address
namestring
[Required] NFT name
interfacestring
[Required] NFT interface
image_urlstring
[Required] URL of image content, if any
preview_urlstring
[Required] URL of preview image content, if any
video_urlstring
[Required] URL of video content, if any
audio_urlstring
[Required] URL of audio content, if any
last_update_timestring
Time of the last NFT update
collectionobject
[Required] NFT collection info
object
idstring
[Required] NFT collection ID
namestring
[Required] NFT collection name
descriptionstring
[Required] NFT collection description
icon_urlstring
NFT collection icon URL, if any
banner_urlstring
NFT collection banner URL, if any
number_of_assetsinteger
Total number of NFTs in the collection, if known
number_of_ownersinteger
Number of unique owners in the collection, if known
marketplace_urlsarray
Marketplace URLs for the collection, if any
marketplace_urlsarray
Marketplace URLs for the NFT
traitsobject
NFT traits dictionary
object
spamobject
Spam classification result
object
scoreinteger
Spam/risk score from 0 (safe) to 100 (very risky)
levelstring
Risk level based on score: 'LOW', 'MEDIUM', or 'HIGH'
reasonsobject
Tagged explanations of why the NFT is considered risky
owner_addressstring
Address of the NFT owner
creator_addressstring
Address of the NFT creator
raw_metadataobject
Raw metadata as returned by the NFT's tokenURI
object
token_uristring
Token URI from the smart contract
metadataobject
Unmodified metadata JSON from tokenURI