GET
/
products
/
{product_id}
/
trades
curl --request GET \
  --url https://api.exchange.coinbase.com/products/{product_id}/trades
[
  {
    "time": "2020-03-20T00:36:59.860Z",
    "trade_id": 86327327,
    "price": "6225.32000000",
    "size": "0.06469797",
    "side": "sell"
  }
]

Side

The side of a trade indicates the maker order side. The maker order is the order that was open on the order book.

A buy side indicates a down-tick because the maker was a buy order and their order was removed. A sell side indicates an up-tick.

Pagination

This request is paginated. See Pagination for more information.

Path Parameters

product_id
string
required

list trades for specific product.

Query Parameters

limit
integer
default:1000

Limit on number of results to return.

before
string

Used for pagination. Sets start cursor to before id.

after
string

Used for pagination. Sets end cursor to after id.

Response

200
application/json

The response is of type object[].