coinbase-btc-usd-spot
market from our /timeseries/market-trades
API endpoint is provided below. market
: The id of the market. Market ids use the following naming convention: exchangeName-baseAsset-quoteAsset-spot
for spot markets, exchangeName-futuresSymbol-future
for futures markets, and exchangeName-optionsSymbol-option
for options markets.
time
: The exchange-reported time in ISO 8601 date-time format. Always with nanoseconds precision.
coin_metrics_id
: Identifier of a trade that is unique per exchange. We use the exchange-reported value if exchange reports a numeric trade ID, otherwise we convert to numeric using bijective mapping from exchange-reported trade ID’s string.
amount
: The amount of the base asset traded for spot markets or the number of contracts of a financial derivative.
price
: The price of the base asset quoted in the quote asset that the trade was executed at for spot markets or the price of one contract for derivatives markets.
side
: The market order side. "buy" means that an ask was removed from the book by an incoming buy order, "sell" means that a bid was removed from the book by an incoming sell order.
database_time
: The time when we saved the data in the database. The time is in ISO 8601 date-time format. Always with nanoseconds precision.coin_metrics_id
field?coin_metrics_id
field ensures that all of our observations are unique. Even if two adjacent trades have identical time
, price
, amount
and side
fields, they are two distinct trades if they have unique coin_metrics_id
and do not represent duplicate trades. markets
parameter will accept wildcards like exchange-*
or exchange-*-spot
or *USDT-future
. The wildcards will match any market which fits this pattern so users do not need to specify every individual market when querying data for multiple markets. The markets
parameter will also accept a comma-separated string of individual markets. /catalog/markets
or /catalog-all/markets
API endpoints. Alternatively, you can query our /catalog/exchanges
or /catalog-all/exchanges
API endpoints which contain the same information but organized by exchange.