- Metadata
- Get token metadata
Token metadata returns the associated metadata for a non-fungible (ERC721) or semi-fungible (ERC1155) token on the Ethereum or Polygon blockchains.
GET
/v1/tokens/{coinType}/{chainId}/{contractAddress}/{tokenId}
contractAddress*
tokenId*
chainId*
coinType*
curl --request GET \
--url https://api.bitski.com/v1/tokens/{coinType}/{chainId}/{contractAddress}/{tokenId} \
--header 'Content-Type: application/json' \
--data '{
"error":
}'
curl --request GET \
--url https://api.bitski.com/v1/tokens/{coinType}/{chainId}/{contractAddress}/{tokenId} \
--header 'Content-Type: application/json' \
--data '{
"error":
}'
Path Params
contractAddressRequired
string
The contract address to get data done.
tokenIdRequired
string
The token id, in decimal or hex format, to fetch.
chainIdRequired
string
Set the network to get data from. For EVM chains, see a list of available chains here.
coinTypeRequired
string
Set the blockchain to get data from. Right now, only EVM based blockchains are supported.
Query Params
forceRefreshRequired
string
The contract address to get data from.
Response
token
object
errorRequired
object
curl --request GET \
--url https://api.bitski.com/v1/tokens/{coinType}/{chainId}/{contractAddress}/{tokenId} \
--header 'Content-Type: application/json' \
--data '{
"error":
}'
curl --request GET \
--url https://api.bitski.com/v1/tokens/{coinType}/{chainId}/{contractAddress}/{tokenId} \
--header 'Content-Type: application/json' \
--data '{
"error":
}'