Query market statistics by contract address.
GET
/open/v1/{network_id}/market_statistics
curl \
-X GET https://api.dewapi.com/open/v1/137/market_statistics?contract=0xa131b877B12B0Ae8BB7da7229b8a1095881497A6 \
-H "X-API-Key: $API_KEY"
Response examples (200)
{
"data": {
"volume": 100.0,
"new_listings": 100,
"sales": 100,
"transactions": 100
}
}
Response examples (400)
{
"code": 3000,
"error": "this is an error message",
"errors": [
{
"field": [
"error message"
]
}
]
}