Product Trades
product_tradesCoinbase Exchange, recent trade tape for a crypto pair (e.g. 'BTC-USD'): trade ID, price, size, side, and timestamp. Supports limit and before/after cursor pagination.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_id": "BTC-USD"
},
"name": "product_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| limit | No | ||
| before | No | ||
| product_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of items returned. | |
| items | Yes | Recent trades |