Binance · Schema

AggTrade

CryptocurrencyExchangeTradingBlockchainFinanceDeFiMarket Data

Properties

Name Type Description
a integer Aggregate trade ID.
p string Price.
q string Quantity.
f integer First trade ID.
l integer Last trade ID.
T integer Timestamp in milliseconds.
m boolean Was the buyer the maker.
M boolean Was the trade the best price match.
View JSON Schema on GitHub

JSON Schema

binance-aggtrade-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AggTrade",
  "title": "AggTrade",
  "type": "object",
  "properties": {
    "a": {
      "type": "integer",
      "format": "int64",
      "description": "Aggregate trade ID."
    },
    "p": {
      "type": "string",
      "description": "Price."
    },
    "q": {
      "type": "string",
      "description": "Quantity."
    },
    "f": {
      "type": "integer",
      "format": "int64",
      "description": "First trade ID."
    },
    "l": {
      "type": "integer",
      "format": "int64",
      "description": "Last trade ID."
    },
    "T": {
      "type": "integer",
      "format": "int64",
      "description": "Timestamp in milliseconds."
    },
    "m": {
      "type": "boolean",
      "description": "Was the buyer the maker."
    },
    "M": {
      "type": "boolean",
      "description": "Was the trade the best price match."
    }
  }
}