Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Public → Get Public Market Trades

AI-generated

Summary

Retrieve public market trades for a specified product from Coinbase API.

Inputs

  • product_id (required) — The ID of the product.
  • limit — Maximum number of trades to return.
  • start — Start date for trades to be fetched.
  • end — End date for trades to be fetched.
  • requestOptions — Options to customize the request, including batching and timeout settings.

Output shape

a list of market trades

Returned data may include details such as price, size, and time of each trade. Pagination may be required if the limit is exceeded.

Discussion