Coinbase Prime API
cURL
curl --request GET \ --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/products
{ "products": [ { "id": "BTC-USD", "base_increment": "1", "quote_increment": "1", "base_min_size": "100", "quote_min_size": "100", "base_max_size": "1000", "quote_max_size": "1000", "permissions": "PRODUCT_PERMISSION_READ", "price_increment": "0.01" } ] }
List tradable products for a given portfolio.
ProductsService productsService = PrimeServiceFactory.createProductsService(client); ListPortfolioProductsRequest request = new ListPortfolioProductsRequest.Builder() .portfolioId("PORTFOLIO_ID_HERE") .build(); ListPortfolioProductsResponse response = productsService.listPortfolioProducts(request);
The portfolio ID
Cursor used for pagination (last consumed record)
Number of items to retrieve
Sorting order
DESC
ASC
A successful response.
Show child attributes
The product ID, written as BASE-QUOTE
BASE-QUOTE
"BTC-USD"
The smallest permitted unit of denomination for the base asset (varies by product)
"1"
The smallest permitted unit of denomination for the quote asset (varies by product)
The minimum size (in base asset units) for which an order can be placed
"100"
The minimum size (in quote asset units) for which an order can be placed
The maximum size (in base asset units) for which an order can be placed
"1000"
The maximum size (in quote asset units) for which an order can be placed
Permissions given to the user for a product
PRODUCT_PERMISSION_READ
PRODUCT_PERMISSION_TRADE
PRODUCT_PERMISSION_LENDING
"PRODUCT_PERMISSION_READ"
The smallest permitted price increment for the product
"0.01"
Whether the product is tradable via RFQ
Deprecated: Value will be an empty string
Minimum base size for RFQ
Maximum base size for RFQ
Minimum quote size for RFQ
Maximum quote size for RFQ
Cursor to navigate to next page
A boolean value indicating whether there are more items to paginate through
Was this page helpful?