Actions51
- Accounts Actions
- Products Actions
- Orders Actions
- Portfolio Actions
- List Portfolios
- Create Portfolio
- Move Portfolio Funds
- Get Portfolio Breakdown
- Delete Portfolio
- Edit Portfolio
- Get Futures Balance Summary
- Get Intraday Margin Setting
- Set Intraday Margin Setting
- Get Current Margin Window
- List Futures Positions
- Get Futures Position
- Schedule Futures Sweep
- List Futures Sweeps
- Cancel Pending Futures Sweep
- Allocate Portfolio
- Get Perpetuals Portfolio Summary
- List Perpetuals Positions
- Get Perpetuals Position
- Get Portfolios Balances
- Opt Inor Outof Multi Asset Collateral
- Fees Actions
- Converts Actions
- Public Actions
- Payment Methods Actions
- Data Actions
Products → Get Market Trades
AI-generatedSummary
Retrieve market trades for specified products from the Coinbase CDP API.
Inputs
- limit — Specify the maximum number of trades to retrieve.
- requestOptions — Collection of options for the request, including batching, SSL ignoring, proxy, and timeout.
Output shape
a list of market trades
The output includes details of the trades retrieved. The 'limit' parameter controls how many trades are returned, while the 'requestOptions' allow for configuration such as batching and timeouts.
Examples
Example 1: Get the latest market trades with a limit of 10.
Set 'limit' to '10' to control the number of trades returned.