/asset/:asset_contract/:token_id

Get metadata of a NFT token

GET https://api.nftbank.ai/estimates-v2/asset/:asset_contract/:token_id

This endpoint allows you to get NFT metadata

Path Parameters

NameTypeDescription

asset_contract

string

token_id

string

Query Parameters

NameTypeDescription

chain_id*

string

default: ethereum

Headers

NameTypeDescription

x-api-key*

string

API key request via [API key request] link.

{
    "data": [
        {
            "asset_contract": "0xd8b7cc75e22031a72d7b8393113ef2536e17bde6",
            "collection": "gen-art-drop",
            "creator_address": "0xf7d96d2d672af54c661ef5049adc3482a191484d",
            "image_thumbnail_url": "https://lh3.googleusercontent.com/81LnazmH-vqrkbUDddGZq1a7Zz18jqQrZ_mP_7MxzYTmwNt03YkblT5NGRFuupQPLxBcWEh69-uiYZBIl18SyfPML7ox5-qXvhsAYg=s128",
            "image_url": "https://lh3.googleusercontent.com/81LnazmH-vqrkbUDddGZq1a7Zz18jqQrZ_mP_7MxzYTmwNt03YkblT5NGRFuupQPLxBcWEh69-uiYZBIl18SyfPML7ox5-qXvhsAYg",
            "network_id": "ethereum",
            "token_id": "1000100971",
            "token_metadata": "https://api.gen.art/public/attributes/1000100971",
            "traits": [
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "color_family:_souk",
                    "slug": "blom-color-family-souk",
                    "trait_type": "Blóm",
                    "trait_value": "Color Family: Souk"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "particle_count:_many",
                    "slug": "blom-particle-count-many",
                    "trait_type": "Blóm",
                    "trait_value": "Particle Count: many"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "theme:_quilted",
                    "slug": "blom-theme-quilted",
                    "trait_type": "Blóm",
                    "trait_value": "Theme: quilted"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "reversed:_false",
                    "slug": "blom-reversed-false",
                    "trait_type": "Blóm",
                    "trait_value": "Reversed: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "has_skips:_false",
                    "slug": "blom-has-skips-false",
                    "trait_type": "Blóm",
                    "trait_value": "Has Skips: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "plotter:_false",
                    "slug": "blom-plotter-false",
                    "trait_type": "Blóm",
                    "trait_value": "Plotter: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_lines:_false",
                    "slug": "blom-draw-lines-false",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Lines: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_triangles:_1",
                    "slug": "blom-draw-triangles-1",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Triangles: 1"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_squares:_false",
                    "slug": "blom-draw-squares-false",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Squares: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "artist",
                    "normalized_trait_value": "lucastswick",
                    "slug": "artist-lucastswick",
                    "trait_type": "Artist",
                    "trait_value": "lucastswick"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_swirls:_false",
                    "slug": "blom-draw-swirls-false",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Swirls: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "mirrored:_0",
                    "slug": "blom-mirrored-0",
                    "trait_type": "Blóm",
                    "trait_value": "Mirrored: 0"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "name",
                    "normalized_trait_value": "blom",
                    "slug": "name-blom",
                    "trait_type": "Name",
                    "trait_value": "Blóm"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "preset:_blom",
                    "slug": "blom-preset-blom",
                    "trait_type": "Blóm",
                    "trait_value": "Preset: blom"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_normals:_false",
                    "slug": "blom-draw-normals-false",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Normals: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "total_frames:_84",
                    "slug": "blom-total-frames-84",
                    "trait_type": "Blóm",
                    "trait_value": "Total Frames: 84"
                }
            ]
        }
    ],
    "response": 200
}n

curl request example

curl -i -H "x-api-key: YOUR_API_KEY" \
  "https://api.nftbank.ai/estimates-v2/asset/0xd8b7cc75e22031a72d7b8393113ef2536e17bde6/1000100971?chain_id=ETHEREUM"

curl response example

{
    "data": [
        {
            "asset_contract": "0xd8b7cc75e22031a72d7b8393113ef2536e17bde6",
            "collection": "gen-art-drop",
            "creator_address": "0xf7d96d2d672af54c661ef5049adc3482a191484d",
            "image_thumbnail_url": "https://lh3.googleusercontent.com/81LnazmH-vqrkbUDddGZq1a7Zz18jqQrZ_mP_7MxzYTmwNt03YkblT5NGRFuupQPLxBcWEh69-uiYZBIl18SyfPML7ox5-qXvhsAYg=s128",
            "image_url": "https://lh3.googleusercontent.com/81LnazmH-vqrkbUDddGZq1a7Zz18jqQrZ_mP_7MxzYTmwNt03YkblT5NGRFuupQPLxBcWEh69-uiYZBIl18SyfPML7ox5-qXvhsAYg",
            "network_id": "ethereum",
            "token_id": "1000100971",
            "token_metadata": "https://api.gen.art/public/attributes/1000100971",
            "traits": [
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "color_family:_souk",
                    "slug": "blom-color-family-souk",
                    "trait_type": "Blóm",
                    "trait_value": "Color Family: Souk"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "particle_count:_many",
                    "slug": "blom-particle-count-many",
                    "trait_type": "Blóm",
                    "trait_value": "Particle Count: many"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "theme:_quilted",
                    "slug": "blom-theme-quilted",
                    "trait_type": "Blóm",
                    "trait_value": "Theme: quilted"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "reversed:_false",
                    "slug": "blom-reversed-false",
                    "trait_type": "Blóm",
                    "trait_value": "Reversed: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "has_skips:_false",
                    "slug": "blom-has-skips-false",
                    "trait_type": "Blóm",
                    "trait_value": "Has Skips: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "plotter:_false",
                    "slug": "blom-plotter-false",
                    "trait_type": "Blóm",
                    "trait_value": "Plotter: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_lines:_false",
                    "slug": "blom-draw-lines-false",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Lines: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_triangles:_1",
                    "slug": "blom-draw-triangles-1",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Triangles: 1"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_squares:_false",
                    "slug": "blom-draw-squares-false",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Squares: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "artist",
                    "normalized_trait_value": "lucastswick",
                    "slug": "artist-lucastswick",
                    "trait_type": "Artist",
                    "trait_value": "lucastswick"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_swirls:_false",
                    "slug": "blom-draw-swirls-false",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Swirls: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "mirrored:_0",
                    "slug": "blom-mirrored-0",
                    "trait_type": "Blóm",
                    "trait_value": "Mirrored: 0"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "name",
                    "normalized_trait_value": "blom",
                    "slug": "name-blom",
                    "trait_type": "Name",
                    "trait_value": "Blóm"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "preset:_blom",
                    "slug": "blom-preset-blom",
                    "trait_type": "Blóm",
                    "trait_value": "Preset: blom"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "draw_normals:_false",
                    "slug": "blom-draw-normals-false",
                    "trait_type": "Blóm",
                    "trait_value": "Draw Normals: false"
                },
                {
                    "display_type": null,
                    "normalized_trait_type": "blom",
                    "normalized_trait_value": "total_frames:_84",
                    "slug": "blom-total-frames-84",
                    "trait_type": "Blóm",
                    "trait_value": "Total Frames: 84"
                }
            ]
        }
    ],
    "response": 200
}

Last updated