Coinbase Prime API
cURL
curl --request GET \ --url https://api.prime.coinbase.com/v1/portfolios
{ "portfolios": [ { "id": "e8bbed13-fa33-41de-86d5-4335d8f08166", "name": "CryptoBalances", "entity_id": "2c521d6c-1cfb-4371-bf9c-5a42938d3e75", "organization_id": "4c1d4464-e53b-429f-a81d-71ae7e2e687c", "entity_name": "Sample Prime Entity" } ] }
List all portfolios for which the current API key has read access.
PortfoliosService portfoliosService = PrimeServiceFactory.createPortfoliosService(client); ListPortfoliosResponse response = portfoliosService.listPortfolios();
A successful response.
A list of portfolios.
Show child attributes
The unique ID of the portfolio
"e8bbed13-fa33-41de-86d5-4335d8f08166"
The name of the portfolio
"CryptoBalances"
The ID of the entity to which the portfolio is associated
"2c521d6c-1cfb-4371-bf9c-5a42938d3e75"
The ID of the organization to which the portfolio is associated
"4c1d4464-e53b-429f-a81d-71ae7e2e687c"
The name of the entity to which the portfolio is associated
"Sample Prime Entity"
Was this page helpful?