curl --request GET \
--url https://api.allium.so/api/v1/developer/nfts/contracts/{chain}/{contract_address}/{token_id} \
--header 'X-API-KEY: <api-key>'{
"data": {
"address": "<string>",
"token_id": "<string>",
"token_standard": "NFT",
"name": "<string>",
"description": "<string>",
"metadata": {
"image_original": "<string>",
"media_original": "<string>",
"image_mime_type": "<string>",
"token_uri": "<string>"
},
"image_url": "<string>",
"media_url": "<string>",
"external_url": "<string>",
"attributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"token_account_address": "<string>",
"creators": [
{
"address": "<string>",
"share": 123,
"verified": 123
}
],
"collection_name": "<string>",
"collection_symbol": "<string>",
"collection_count": 123,
"collection_image_url": "<string>",
"onchain_collection_address": "<string>",
"floor_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"last_sale_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"highest_bid_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"rarity": {
"ranking": {
"source": "magic_eden_instant",
"value": 123
},
"metadata": {
"magic_eden_instant": {
"rank": 123
},
"howrare": {
"rank": 123
},
"moonrank": {
"rank": 123
}
}
}
},
"error": "<string>"
}This API returns NFT token metadata by contract and token ID. For Solana, pass in a token ID of 0.
curl --request GET \
--url https://api.allium.so/api/v1/developer/nfts/contracts/{chain}/{contract_address}/{token_id} \
--header 'X-API-KEY: <api-key>'{
"data": {
"address": "<string>",
"token_id": "<string>",
"token_standard": "NFT",
"name": "<string>",
"description": "<string>",
"metadata": {
"image_original": "<string>",
"media_original": "<string>",
"image_mime_type": "<string>",
"token_uri": "<string>"
},
"image_url": "<string>",
"media_url": "<string>",
"external_url": "<string>",
"attributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"token_account_address": "<string>",
"creators": [
{
"address": "<string>",
"share": 123,
"verified": 123
}
],
"collection_name": "<string>",
"collection_symbol": "<string>",
"collection_count": 123,
"collection_image_url": "<string>",
"onchain_collection_address": "<string>",
"floor_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"last_sale_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"highest_bid_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"rarity": {
"ranking": {
"source": "magic_eden_instant",
"value": 123
},
"metadata": {
"magic_eden_instant": {
"rank": 123
},
"howrare": {
"rank": 123
},
"moonrank": {
"rank": 123
}
}
}
},
"error": "<string>"
}ethereum, abstract, apechain, arbitrum, arbitrum-nova, avalanche, base, optimism, polygon, shape, soneium, xai, zero, zora, solana Token ID for EVM chain NFTs. Pass in 0 for solana.
Successful Response
Show child attributes
NFT, FUNGIBLE, SEMI_FUNGIBLE, COMPRESSED_NFT, PROGRAMMABLE_NFT, UNKNOWN Show child attributes
Show child attributes
native, evm_erc20, evm_erc721, evm_erc1155, sol_spl, sol_nft, btc_inscription, btc_brc20, btc_rune, sui_token Show child attributes
Show child attributes
native, evm_erc20, evm_erc721, evm_erc1155, sol_spl, sol_nft, btc_inscription, btc_brc20, btc_rune, sui_token Show child attributes
Show child attributes
native, evm_erc20, evm_erc721, evm_erc1155, sol_spl, sol_nft, btc_inscription, btc_brc20, btc_rune, sui_token Show child attributes
Show child attributes
Was this page helpful?