Logo
Covalent API Documentation

getTokenIdsForContractWithMetadata

GET https://api.covalenthq.com/v1/:chainName/nft/:contractAddress/metadata/?no-metadata=&page-size=&page-number=&traits-filter=&values-filter=&with-uncached=

Returns: NftMetadataResponse

{
  "updated_at" : "{{DATETIME}}",
  "items" : [ {
    "contract_name" : "{{STRING}}",
    "contract_ticker_symbol" : "{{STRING}}",
    "contract_address" : "{{STRING}}",
    "is_spam" : "{{BOOLEAN}}",
    "type" : "{{STRING}}",
    "nft_data" : {
      "token_id" : "{{STRING}}",
      "token_url" : "{{STRING}}",
      "original_owner" : "{{STRING}}",
      "external_data" : {
        "name" : "{{STRING}}",
        "description" : "{{STRING}}",
        "asset_url" : "{{STRING}}",
        "asset_file_extension" : "{{STRING}}",
        "asset_mime_type" : "{{STRING}}",
        "asset_size_bytes" : "{{STRING}}",
        "image" : "{{STRING}}",
        "image256" : "{{STRING}}",
        "image512" : "{{STRING}}",
        "image1024" : "{{STRING}}",
        "animation_url" : "{{STRING}}",
        "external_url" : "{{STRING}}",
        "attributes" : [ {
          "trait_type" : "{{STRING}}",
          "value" : "{{STRING}}"
        } ]
      },
      "asset_cached" : "{{BOOLEAN}}",
      "image_cached" : "{{BOOLEAN}}"
    }
  } ],
  "pagination" : {
    "has_more" : "{{BOOLEAN}}",
    "page_number" : "{{INTEGER}}",
    "page_size" : "{{INTEGER}}",
    "total_count" : "{{INTEGER}}"
  }
}

 

Body PARAM

Key Datatype Required Description 
no-metadata
null
page-size
null
page-number
null
traits-filter
null
values-filter
null
with-uncached
null



H

Curl
curl -X GET 'https://api.covalenthq.com/v1/:chainName/nft/:contractAddress/metadata/?no-metadata=&page-size=&page-number=&traits-filter=&values-filter=&with-uncached=?no-metadata=&page-size=&page-number=&traits-filter=&values-filter=&with-uncached=' -H 'Content-Type: application/json'

ENDPOINTS