Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Public → List Public Products

AI-generated

Summary

List public products from the Coinbase CDP API.

Inputs

  • limit — Specify the maximum number of results to return.
  • offset — Use to paginate through results.
  • product_type — Filter products by type.
  • contract_expiry_type — Filter products based on the type of contract expiry.
  • expiring_contract_status — Filter products based on their expiring contract status.
  • get_all_products — Set to retrieve all available products.
  • requestOptions — Advanced request options including batching, SSL settings, proxy, and timeout.

Output shape

a list of public products

Results may be paginated based on the 'limit' and 'offset' parameters.

Examples

Example 1: List the first 10 public products

Set 'limit' to 10 and leave other filters empty.

Example 2: Retrieve all products

Set 'get_all_products' to true.

Discussion