/estimates/bulk

Get bulk estimates

POST https://api.nftbank.ai/estimates-v2/estimates/bulk

Headers

NameTypeDescription

x-api-key*

string

API key request via [API key request] link.

Request Body

NameTypeDescription

asset_contract*

string

Asset contract address

token_ids*

array

Token IDs

chain_id

string

Chain ID ("ETHEREUM", "MATIC", "KLAYTN", default: "ETHEREUM")

{
    "data": [
        {
            "_id": "ethereum-0x50f5474724e0ee42d9a4e711ccfb275809fd6d4a_1-19700101",
            "asset_contract": "0x50f5474724e0ee42d9a4e711ccfb275809fd6d4a",
            "asset_info": {
                "contract_address": "0x50f5474724e0ee42d9a4e711ccfb275809fd6d4a",
                "name": "Lands",
                "symbol": "LAND"
            },
            "chain_id": "ETHEREUM",
            "dapp_info": {
                "id": "sandbox",
                "image_url": "https://lh3.googleusercontent.com/SXH8tW1siikB80rwCRnjm1a5xM_MwTg9Xl9Db6mioIk9HIlDM09pVoSR7GKJgS6ulSUpgW9BDtMk_ePX_NKgO9A=s60",
                "name": "The Sandbox"
            },
            "estimate": [
                {
                    "currency_symbol": "USD",
                    "estimate_price": 100.000000
                },
                {
                    "currency_symbol": "SAND",
                    "estimate_price": 1000.000000
                },
                {
                    "currency_symbol": "ETH",
                    "estimate_price": 0.100000000
                }
            ],
            "estimated_at": "Mon, 1 Jan 1970 00:00:00 GMT",
            "item_id": "0x50f5474724e0ee42d9a4e711ccfb275809fd6d4a_1",
            "token_id": "1",
            "traits": {
                "location_x": 0,
                "location_y": 0
            }
        },
        {
            "_id": "ethereum-0x50f5474724e0ee42d9a4e711ccfb275809fd6d4a_2-19700101",
            "asset_contract": "0x50f5474724e0ee42d9a4e711ccfb275809fd6d4a",
            "asset_info": {
                "contract_address": "0x50f5474724e0ee42d9a4e711ccfb275809fd6d4a",
                "name": "Lands",
                "symbol": "LAND"
            },
            "chain_id": "ETHEREUM",
            "dapp_info": {
                "id": "sandbox",
                "image_url": "https://lh3.googleusercontent.com/SXH8tW1siikB80rwCRnjm1a5xM_MwTg9Xl9Db6mioIk9HIlDM09pVoSR7GKJgS6ulSUpgW9BDtMk_ePX_NKgO9A=s60",
                "name": "The Sandbox"
            },
            "estimate": [
                {
                    "currency_symbol": "USD",
                    "estimate_price": 200.0000000
                },
                {
                    "currency_symbol": "SAND",
                    "estimate_price": 2000.000000000
                },
                {
                    "currency_symbol": "ETH",
                    "estimate_price": 0.20000000
                }
            ],
            "estimated_at": "Mon, 1 Jan 1970 00:00:00 GMT",
            "item_id": "0x50f5474724e0ee42d9a4e711ccfb275809fd6d4a_2",
            "token_id": "2",
            "traits": {
                "location_x": 1,
                "location_y": 1
            }
        }
    ],
    "response": 200
}

curl request example

curl --request POST 'https://api.nftbank.ai/estimates-v2/estimates/bulk' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
--data-raw '{
    "asset_contract": "0x50f5474724e0ee42d9a4e711ccfb275809fd6d4a",
    "token_ids": ["100001", "159287"],
    "chain_id": "ETHEREUM"}
'

curl response example

{
    "data": [
        {
            "_id": "ethereum-0x5cc5b05a8a13e3fbdb0bb9fccd98d38e50f90c38_100001-20220409",
            "asset_contract": "0x5cc5b05a8a13e3fbdb0bb9fccd98d38e50f90c38",
            "asset_info": {
                "contract_address": "0x5cc5b05a8a13e3fbdb0bb9fccd98d38e50f90c38",
                "name": "Lands",
                "symbol": "LAND"
            },
            "chain_id": "ETHEREUM",
            "dapp_info": {
                "id": "sandbox",
                "image_url": "https://lh3.googleusercontent.com/SXH8tW1siikB80rwCRnjm1a5xM_MwTg9Xl9Db6mioIk9HIlDM09pVoSR7GKJgS6ulSUpgW9BDtMk_ePX_NKgO9A=s60",
                "name": "The Sandbox"
            },
            "estimate": [
                {
                    "currency_symbol": "USD",
                    "estimate_price": 9664.264426359947
                }
            ],
            "estimated_at": "Sat, 09 Apr 2022 00:00:00 GMT",
            "item_id": "0x5cc5b05a8a13e3fbdb0bb9fccd98d38e50f90c38_100001",
            "token_id": "100001",
            "traits": {
                "location_x": -163,
                "location_y": 41,
                "type": null
            }
        },
        {
            "_id": "ethereum-0x5cc5b05a8a13e3fbdb0bb9fccd98d38e50f90c38_159287-20220409",
            "asset_contract": "0x5cc5b05a8a13e3fbdb0bb9fccd98d38e50f90c38",
            "asset_info": {
                "contract_address": "0x5cc5b05a8a13e3fbdb0bb9fccd98d38e50f90c38",
                "name": "Lands",
                "symbol": "LAND"
            },
            "chain_id": "ETHEREUM",
            "dapp_info": {
                "id": "sandbox",
                "image_url": "https://lh3.googleusercontent.com/SXH8tW1siikB80rwCRnjm1a5xM_MwTg9Xl9Db6mioIk9HIlDM09pVoSR7GKJgS6ulSUpgW9BDtMk_ePX_NKgO9A=s60",
                "name": "The Sandbox"
            },
            "estimate": [
                {
                    "currency_symbol": "USD",
                    "estimate_price": 6346.871304778362
                }
            ],
            "estimated_at": "Sat, 09 Apr 2022 00:00:00 GMT",
            "item_id": "0x5cc5b05a8a13e3fbdb0bb9fccd98d38e50f90c38_159287",
            "token_id": "159287",
            "traits": {
                "location_x": -37,
                "location_y": 186,
                "type": null
            }
        }
    ],
    "response": 200
}

Last updated