---
updatedAt: 2026-04-27T06:02:12.000Z
agentTools:
  projectIndex: https://apidocs.bct.host/llms.txt
---

# Get Settlement Client Exchange Trades Report

Get client's exchange trades (fills) report in CSV or JSON format. The report supports two data coverage options based on the client's input: 1 hour or 24 hours. <br> The Client Exchange Trades Report provides a detailed overview of all trades executed on the exchange. This report is useful for clients and platform administrators to monitor trading activity, reconcile accounts, and evaluate trading performance.

## Sample Settlement Exchange Trades Report (CSV )

| Field Name               | Description                                                                 | Type      | Example                              |
| :----------------------- | :-------------------------------------------------------------------------- | :-------- | :----------------------------------- |
| Exchange Trade Date Time | The date and time that the trade was executed on the exchange               | Timestamp | 2023-03-22T04:00:21.000Z             |
| User UUID                | A unique identifier assigned to the user who executed the trade             | String    | 29ffc2ce-9936-4f9b-9b56-c1e1d22906e1 |
| User                     | The name or username associated with the user who executed the trade        | String    | <tester1@osl.com>                    |
| Account Group            | The name of the group of accounts associated with the trade                 | String    | Default                              |
| Account Group UUID       | A unique identifier assigned to the account group associated with the trade | String    | 29ffc2ce-9936-4f9b-9b56-c1e1d22906e1 |
| Site Group               | The group or team associated with the user who executed the trade           | String    | OSLLC\_GROUP                         |
| Proxy User               | A user who has been authorized to execute trades on behalf of another user  | String    | <tester1@osl.com>                    |
| Trade Reference          | A reference number or identifier associated with the trade                  | String    | CNUAZR                               |
| Buy/Sell                 | Indicates whether the trade was a `Buy` or `Sell`                           | String    | Sell                                 |
| Traded Currency          | The currency in which the trade was executed                                | String    | ETH                                  |
| Traded Amount            | The quantity or value of assets involved in the trade                       | Numeric   | 0.2                                  |
| Executed Price           | The price at which the trade was executed                                   | Numeric   | 1,120.00                             |
| Fee                      | The fee charged for executing the trade                                     | Numeric   | 0.784                                |
| Settlement Currency      | The currency in which the trade was settled                                 | String    | USD                                  |
| Settlement Amount        | The quantity or value of assets settled for the trade                       | Numeric   | 223.216                              |
| Tag                      | A label or category assigned to the trade                                   | String    |                                      |
| Id                       | A unique identifier assigned to the trade                                   | String    | a794fbef-aa56-498c-88c0-69cbca22d866 |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "rest-v3",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "https://trade-hk.oslsandbox.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Rest-Key",
        "x-default": ""
      },
      "sec1": {
        "type": "apiKey",
        "in": "header",
        "name": "Rest-Sign"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": []
    }
  ],
  "paths": {
    "/api/3/settlement/fills": {
      "post": {
        "summary": "Get Settlement Client Exchange Trades Report",
        "description": "Get client's exchange trades (fills) report in CSV or JSON format. The report supports two data coverage options based on the client's input: 1 hour or 24 hours. <br> The Client Exchange Trades Report provides a detailed overview of all trades executed on the exchange. This report is useful for clients and platform administrators to monitor trading activity, reconcile accounts, and evaluate trading performance.",
        "operationId": "get-settlement-fill-report",
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "description": "The format of report to return. Default to`application/json` <br>**Valid values**:`application/json`:  return report in JSON format. <br>`text/csv`: return report in CSV format.",
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "tonce"
                ],
                "properties": {
                  "tonce": {
                    "type": "integer",
                    "description": "The current <<glossary:Unix time>> in microseconds.",
                    "format": "int64"
                  },
                  "report_period": {
                    "type": "string",
                    "description": "Specify the period for data inclusion in the report. Default to `daily`. <br>**Valid values**:`daily`: include data for the last 24h, e.g. running 'daily' report  at 11:15AM would return data from 11:00AM the day before untill 11:00AM of the current day. <br>`hourly` : include data for the past hour, e.g. running 'hourly' report at 11:15AM would return data from 10:00AM to 11:00AM of the current day.",
                    "default": "daily"
                  },
                  "start_datetime": {
                    "type": "string",
                    "description": "Specify adhoc report starting time in UTC in format: YYYY-MM-dd hh:mm:ssZ (e.g. 2023-01-30 23:59:59Z ). Value gets ignored if report_period is set. Default to 24h prior to the current hour. e.g. if current time is 11:15AM, the default start_datetime would be 11:00AM the previous day <br> Use this to generate report with non standard period of data coverage.",
                    "format": "date"
                  },
                  "end_datetime": {
                    "type": "string",
                    "description": "Specify adhoc report end time in UTC in format: YYYY-MM-dd hh:mm:ssZ (e.g. 2023-01-31 11:59:59Z ). Value gets ignored if report_period is set. Default to the current hour. e.g. if current time is 11:15AM, the default end_datetime would be 11:00AM the current day <br> Use this to generate report with non standard period of data coverage.",
                    "format": "date"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Exchange Trade Date Time,User UUID,User,Account Group,Account Group UUID,Site Group,Proxy User,Trade Reference,Buy/Sell,Traded Currency,Traded Amount,Executed Price,Fee,Settlement Currency,Settlement Amount,Tag,Id\n2023-07-28T01:47:12.000Z,fdf7b767-7421-4303-ae7e-3f21cbe8a742,sandbox+osl_demo@osl.com,Default,fdf7b767-7421-4303-ae7e-3f21cbe8a742,OSLLC_GROUP,sandbox+osl_demo@osl.com,CPH6WH,Sell,BTC,0.00100,\"30,137.00000\",0.10547,USD,30.03153,,9ff11ee1-878d-4910-87bd-f52240809f08\n"
                  }
                }
              },
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n    {\n        \"Exchange Trade Date Time\": \"2023-07-28T01:47:12.000Z\",\n        \"User UUID\": \"fdf7b767-7421-4303-ae7e-3f21cbe8a742\",\n        \"User\": \"sandbox+osl_demo@osl.com\",\n        \"Account Group\": \"Default\",\n        \"Account Group UUID\": \"fdf7b767-7421-4303-ae7e-3f21cbe8a742\",\n        \"Site Group\": \"OSLLC_GROUP\",\n        \"Proxy User\": \"sandbox+osl_demo@osl.com\",\n        \"Trade Reference\": \"CPH6WH\",\n        \"Buy/Sell\": \"Sell\",\n        \"Traded Currency\": \"BTC\",\n        \"Traded Amount\": \"0.00100\",\n        \"Executed Price\": \"30,137.00000\",\n        \"Fee\": \"0.10547\",\n        \"Settlement Currency\": \"USD\",\n        \"Settlement Amount\": \"30.03153\",\n        \"Tag\": \"\",\n        \"Id\": \"9ff11ee1-878d-4910-87bd-f52240809f08\"\n    }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "Exchange Trade Date Time": {
                        "type": "string",
                        "example": "2023-07-28T01:47:12.000Z"
                      },
                      "User UUID": {
                        "type": "string",
                        "example": "fdf7b767-7421-4303-ae7e-3f21cbe8a742"
                      },
                      "User": {
                        "type": "string",
                        "example": "sandbox+osl_demo@osl.com"
                      },
                      "Account Group": {
                        "type": "string",
                        "example": "Default"
                      },
                      "Account Group UUID": {
                        "type": "string",
                        "example": "fdf7b767-7421-4303-ae7e-3f21cbe8a742"
                      },
                      "Site Group": {
                        "type": "string",
                        "example": "OSLLC_GROUP"
                      },
                      "Proxy User": {
                        "type": "string",
                        "example": "sandbox+osl_demo@osl.com"
                      },
                      "Trade Reference": {
                        "type": "string",
                        "example": "CPH6WH"
                      },
                      "Buy/Sell": {
                        "type": "string",
                        "example": "Sell"
                      },
                      "Traded Currency": {
                        "type": "string",
                        "example": "BTC"
                      },
                      "Traded Amount": {
                        "type": "string",
                        "example": "0.00100"
                      },
                      "Executed Price": {
                        "type": "string",
                        "example": "30,137.00000"
                      },
                      "Fee": {
                        "type": "string",
                        "example": "0.10547"
                      },
                      "Settlement Currency": {
                        "type": "string",
                        "example": "USD"
                      },
                      "Settlement Amount": {
                        "type": "string",
                        "example": "30.03153"
                      },
                      "Tag": {
                        "type": "string",
                        "example": ""
                      },
                      "Id": {
                        "type": "string",
                        "example": "9ff11ee1-878d-4910-87bd-f52240809f08"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"detail\": \"Missing required headers\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "detail": {
                      "type": "string",
                      "example": "Missing required headers"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"detail\": \"Unauthorized\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "detail": {
                      "type": "string",
                      "example": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "Internal Server Error"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```