GET
/
v1
/
portfolios
/
{portfolio_id}
curl --request GET \
  --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}
{
  "portfolio": {
    "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"
  }
}

Use the Prime SDK or CLI to test this endpoint by following the quickstart guide and running with the following examples

PortfoliosService portfoliosService = PrimeServiceFactory.createPortfoliosService(client);

GetPortfolioByIdRequest request = new GetPortfolioByIdRequest.Builder().portfolioId("PORTFOLIO_ID_HERE").build();

GetPortfolioByIdResponse response = portfoliosService.getPortfolioById(request);

For more information, please visit the Prime Java SDK.

Path Parameters

portfolio_id
string
required

The portfolio ID

Response

200
application/json

A successful response.

The response is of type object.