Search
⌘K
Portfolio API
API version: v5.0
Introduction
Quickstart guide
Migration
Migration from v4 to v5.0
Methods
Check if portfolio service is available GET
Check if historical data is available GET
Get supported chains GET
Get supported protocols GET
Get current portfolio value breakdown GET
General profit and loss GET
General value chart GET
Overview report GET
Transaction history GET
History transaction types GET
Get protocols snapshot GET
Get protocols metrics GET
Get additional info for chosen token for given timerange, e.g. average buy price, inflow/outflow, pnl etc GET
Get chart for chosen token value and price with in/out transfers info for given timerange GET
Get paginated transactions info for chosen token GET
Get tokens snapshot GET
Get tokens metrics GET
Docs·APIs·Portfolio API·Methods·v5.0·Get current portfolio value breakdown

Get current portfolio value breakdown

Get current portfolio value breakdown: by address, by category, by protocol group, by chain

GEThttps://api.1inch.com/portfolio/portfolio/v5.0/general/current_value
Supported on:
ArbitrumAvalancheBaseBNB ChainZKsyncEthereumGnosisOptimismPolygonLineaSolanaSonicUnichain

Parameters

addresses
* array query
chain_id
any query
use_cache
boolean query

Request Body

This request doesn’t have any request body.

1

Returns

200
422
ResponseEnvelope_CurrentValueResponse_ object
result
*CurrentValueResponse object
total
* number
by_address
* array
items
AddressValue object
value_usd
* number
address
* string
by_category
* array
items
CategoryValue object
value_usd
* number
category_id
* string
category_name
* string
by_protocol_group
* array
items
ProtocolGroupValue object
value_usd
* number
protocol_group_id
* string
protocol_group_name
* string
by_chain
* array
items
ChainValue object
value_usd
* number
chain_id
* integer
chain_name
* string
meta
any
anyOf[0]
ResponseMeta object
cached_at
any
anyOf[0]
integer
anyOf[1]
null
system
any
anyOf[0]
ProcessingInfo object
click_time
number
node_time
number
microservices_time
number
redis_time
number
total_time
number
anyOf[1]
null
anyOf[1]
null
JSON
1

Did you find what you need?