---
updatedAt: 2026-08-19T09:49:50.000Z
agentTools:
  projectIndex: https://apidocs.bct.host/llms.txt
---

# Get Exchange Trade List

Get the list of recent trades on the exchange. Default time slot is 1 hour.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "rest-v4",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "https://trade-hk.oslsandbox.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "api-key"
      },
      "sec1": {
        "type": "apiKey",
        "in": "header",
        "name": "api-signature"
      },
      "sec2": {
        "type": "apiKey",
        "in": "header",
        "name": "api-expires"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": [],
      "sec2": []
    }
  ],
  "paths": {
    "/api/v4/trade": {
      "get": {
        "summary": "Get Exchange Trade List",
        "description": "Get the list of recent trades on the exchange",
        "operationId": "get-exchange-trade-list",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "description": "Currency-pair. If empty, all currency-pairs are returned.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reverse",
            "in": "query",
            "description": "TRUE - Reverse chronological order. FALSE - chronological order.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "startTime",
            "in": "query",
            "description": "Filter results based on the start date and time. The timestamp must be ISO-8601 format (YYYY-MM-DDTHH:mm:ss.sssZ) and be in the UTC timezone. e.g. \"2023-12-31T23:59:59.999Z\".",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "endTime",
            "in": "query",
            "description": "Filter results based on the end date and time. The timestamp must be ISO-8601 format (YYYY-MM-DDTHH:mm:ss.sssZ) and be in the UTC timezone. e.g. \"2023-12-31T23:59:59.999Z\".",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "in": "query",
            "name": "lastHour",
            "schema": {
              "type": "string",
              "default": "false"
            },
            "description": "Override startTime and endTime if True. True: Return trade with endTime is last trade time. False: Return trades with endTime is now time."
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n    {\n        \"trdMatchID\": \"87ZPV\",\n        \"symbol\": \"BTCUSD\",\n        \"side\": \"Sell\",\n        \"size\": \"0.60000000\",\n        \"price\": \"27592.00000000\",\n        \"grossValue\": \"16555.20000000\",\n        \"transactTime\": \"2023-10-10T00:06:04.000Z\"\n    },\n    {\n        \"trdMatchID\": \"87ZPR\",\n        \"symbol\": \"ETHUSD\",\n        \"side\": \"Sell\",\n        \"size\": \"6.33200000\",\n        \"price\": \"1579.20000000\",\n        \"grossValue\": \"9999.49440000\",\n        \"transactTime\": \"2023-10-10T00:05:35.000Z\"\n    },\n    {\n        \"trdMatchID\": \"87ZPT\",\n        \"symbol\": \"ETHUSD\",\n        \"side\": \"Sell\",\n        \"size\": \"1.26600000\",\n        \"price\": \"1579.20000000\",\n        \"grossValue\": \"1999.26720000\",\n        \"transactTime\": \"2023-10-10T00:05:35.000Z\"\n    },\n    {\n        \"trdMatchID\": \"87ZPP\",\n        \"symbol\": \"BTCUSD\",\n        \"side\": \"Buy\",\n        \"size\": \"0.00070000\",\n        \"price\": \"27591.00000000\",\n        \"grossValue\": \"19.31370000\",\n        \"transactTime\": \"2023-10-10T00:04:21.000Z\"\n    },\n    {\n        \"trdMatchID\": \"87ZPM\",\n        \"symbol\": \"BTCUSD\",\n        \"side\": \"Sell\",\n        \"size\": \"0.60000000\",\n        \"price\": \"27595.00000000\",\n        \"grossValue\": \"16557.00000000\",\n        \"transactTime\": \"2023-10-10T00:04:16.000Z\"\n    },\n    {\n        \"trdMatchID\": \"87ZPK\",\n        \"symbol\": \"BTCUSD\",\n        \"side\": \"Sell\",\n        \"size\": \"0.60000000\",\n        \"price\": \"27600.00000000\",\n        \"grossValue\": \"16560.00000000\",\n        \"transactTime\": \"2023-10-10T00:03:50.000Z\"\n    },\n    {\n        \"trdMatchID\": \"87ZPH\",\n        \"symbol\": \"BTCUSD\",\n        \"side\": \"Sell\",\n        \"size\": \"0.60000000\",\n        \"price\": \"27611.00000000\",\n        \"grossValue\": \"16566.60000000\",\n        \"transactTime\": \"2023-10-10T00:03:37.000Z\"\n    },\n    {\n        \"trdMatchID\": \"87ZPF\",\n        \"symbol\": \"BTCUSD\",\n        \"side\": \"Sell\",\n        \"size\": \"0.60000000\",\n        \"price\": \"27591.00000000\",\n        \"grossValue\": \"16554.60000000\",\n        \"transactTime\": \"2023-10-10T00:00:35.000Z\"\n    }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "trdMatchID": {
                        "type": "string",
                        "example": "87ZPV"
                      },
                      "symbol": {
                        "type": "string",
                        "example": "BTCUSD"
                      },
                      "side": {
                        "type": "string",
                        "example": "Sell"
                      },
                      "size": {
                        "type": "string",
                        "example": "0.60000000"
                      },
                      "price": {
                        "type": "string",
                        "example": "27592.00000000"
                      },
                      "grossValue": {
                        "type": "string",
                        "example": "16555.20000000"
                      },
                      "transactTime": {
                        "type": "string",
                        "example": "2023-10-10T00:06:04.000Z"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n   \"error\":{\n      \"message\":\"invalid currency\",\n      \"name\":\"INVALID_CURRENCY\"\n   }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "invalid currency"
                        },
                        "name": {
                          "type": "string",
                          "example": "INVALID_CURRENCY"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n   \"error\":{\n      \"message\":\"unable to auth with auth service\",\n      \"name\":\"AUTH_SERVICE_UNABLE_TO_AUTH\"\n   }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "unable to auth with auth service"
                        },
                        "name": {
                          "type": "string",
                          "example": "AUTH_SERVICE_UNABLE_TO_AUTH"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": {\n    \"message\": \"Not found\",\n    \"name\": \"NOT_FOUND\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "Not found"
                        },
                        "name": {
                          "type": "string",
                          "example": "NOT_FOUND"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": {\n    \"message\": \"internal server error\",\n    \"name\": \"INTERNAL_SERVER_ERROR\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "internal server error"
                        },
                        "name": {
                          "type": "string",
                          "example": "INTERNAL_SERVER_ERROR"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```