Get information including name, owner, and rarity ranking of a specific token id.
GET
/open/v1/{network_id}/contracts/{address}/{token_id}
curl \
-X GET https://api.dewapi.com/open/v1/137/contracts/0xa131b877B12B0Ae8BB7da7229b8a1095881497A6/1 \
-H "X-API-Key: $API_KEY"
Response examples (200)
{
"code": 0,
"data": {
"owner": "0x40415c1c0e7a8ff3e184b51a94a2fc5b92df9434",
"contract": "0xa131b877B12B0Ae8BB7da7229b8a1095881497A6",
"token_id": "1",
"name": "BAYC #1",
"rank": 1,
"status": 0
}
}
Response examples (400)
{
"code": 3000,
"error": "this is an error message",
"errors": [
{
"field": [
"error message"
]
}
]
}