GET /api/portfolio/{address}
ENS portfolio analysis with valuation
GET portfolio data from portfolio service
Endpoint​
GET https://api.web3identity.com/api/portfolio/{address}
Parameters​
| Name | In | Type | Required | Description |
|---|---|---|---|---|
address | path | string | âś… | Ethereum address (0x...) |
Example Request​
curl -s "https://api.web3identity.com/api/portfolio/:address" | jq
Responses​
200 Success​
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"totalValueUSD": 30428.92,
"breakdown": {
"eth": 16987.45,
"tokens": 6234.57,
"nfts": 7206.9
},
"chains": {
"ethereum": {
"valueUSD": 24194.35,
"nativeBalance": 5.23
},
"polygon": {
"valueUSD": 4002.34,
"nativeBalance": 1234.56
},
"arbitrum": {
"valueUSD": 2232.23,
"nativeBalance": 0.98
}
}
}
400 Bad request - invalid parameters​
{
"example": "response"
}
402 Payment required​
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