get https://api.openpool.co/metadata/contract/
This endpoint allows you to query our database of 20K+ smart contracts to get the tags and labels associated with a smart contract address.
Successful Query Example
curl --request GET \
--url 'https://api.openpool.co/metadata/contract/?address=0xd4dbf96db2fdf8ed40296d8d104b371adf7dee12' \
--header 'X-API-KEY: <insert_api_key>' \
--header 'accept: application/json'
Successful Response Example
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "contract_22KH27n8udJdFhKig6fte3",
"address": "0xd4dbf96db2fdf8ed40296d8d104b371adf7dee12",
"name": "Balancer: ETH/BTC++ 20/80 #2",
"tags": "balancer",
"blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
}
]
}