Skip to main content

GET /api/chains/{chain}/balance/{address}

Address balance

List supported blockchain networks

Endpoint​

GET https://api.web3identity.com/api/chains/{chain}/balance/{address}

Parameters​

NameInTypeRequiredDescription
chainpathstringâś…Blockchain network (ethereum, base, polygon, etc)
addresspathstringâś…Ethereum address (0x format)

Example Request​

curl -s "https://api.web3identity.com/api/chains/:chain/balance/:address" | jq

Responses​

200 Balance​

{
"chain": "ethereum",
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"balance": {
"wei": "5234567890123456789",
"eth": "5.234567890123456789",
"usd": 16987.45
}
}

400 Bad request - invalid parameters​

{
"example": "response"
}

402 Payment required - free tier exhausted​

{
"example": "response"
}

404 Resource not found​

{
"example": "response"
}

429 Rate Limited​

{
"example": "response"
}

500 Internal Server Error - Something went wrong on our end​

{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}

Auto-generated from OpenAPI spec