openapi: 3.1.0 info: title: Coinbase Advanced Trade Accounts Assets API description: The Coinbase Advanced Trade API provides programmatic access to advanced trading features on the Coinbase platform. Developers can automate market, limit, and stop-limit orders, manage portfolios, retrieve real-time and historical market data, and monitor fees. The REST API is available at api.coinbase.com/api/v3/brokerage and supports authenticated access using API keys with HMAC SHA-256 signatures. Public market data endpoints do not require authentication. version: '3.0' contact: name: Coinbase Developer Support url: https://help.coinbase.com termsOfService: https://www.coinbase.com/legal/user-agreement servers: - url: https://api.coinbase.com/api/v3/brokerage description: Production Server security: - apiKeyAuth: [] tags: - name: Assets description: Retrieve information about supported assets and products. paths: /portfolios/{portfolio_id}/products: get: operationId: listProducts summary: List products description: Retrieves the list of tradeable products available in the portfolio. tags: - Assets parameters: - $ref: '#/components/parameters/PortfolioIdParam' - $ref: '#/components/parameters/CursorParam' - $ref: '#/components/parameters/LimitParam' responses: '200': description: Successfully retrieved products content: application/json: schema: type: object properties: products: type: array items: $ref: '#/components/schemas/Product' pagination: $ref: '#/components/schemas/Pagination' components: schemas: Product: type: object description: A tradeable product properties: id: type: string description: Product identifier base_currency: type: string description: Base currency quote_currency: type: string description: Quote currency base_min_quantity: type: string description: Minimum base quantity base_max_quantity: type: string description: Maximum base quantity base_quantity_increment: type: string description: Base quantity increment quote_increment: type: string description: Quote price increment Pagination: type: object description: Pagination information for list responses properties: next_cursor: type: string description: Cursor for the next page sort_direction: type: string description: Sort direction has_next: type: boolean description: Whether there are more results parameters: CursorParam: name: cursor in: query description: Cursor for pagination schema: type: string PortfolioIdParam: name: portfolio_id in: path required: true description: Portfolio identifier schema: type: string LimitParam: name: limit in: query description: Maximum number of results to return schema: type: integer minimum: 1 maximum: 3000 default: 100 securitySchemes: apiKeyAuth: type: apiKey in: header name: CB-ACCESS-KEY description: Coinbase API key authentication using HMAC SHA-256 signatures. Requires CB-ACCESS-KEY, CB-ACCESS-SIGN, and CB-ACCESS-TIMESTAMP headers. externalDocs: description: Coinbase Advanced Trade API Documentation url: https://docs.cdp.coinbase.com/coinbase-app/advanced-trade-apis/rest-api