> For the complete documentation index, see [llms.txt](https://docs-swft.en.swft.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-swft.en.swft.pro/trade-api/latest-transaction-information.md).

# Latest transaction information

**1. Request Url**

`https://{host}/marketApi/history/detail`

**2. Request Param**

| Parameter name | Is it necessary | description                                                                       |
| -------------- | --------------- | --------------------------------------------------------------------------------- |
| channelId      | yes             | Channel number                                                                    |
| timestamp      | yes             | Millisecond timestamp（UTC+8）                                                      |
| sign           | yes             | See "[Signature Generation](/trade-api/generate-signature.md#generate-signature)" |
| symbol         | yes             | symbol                                                                            |

**3.Request Example**

```
 {
     "channelId":"swft-channel",
     "sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
     "timestamp":"1557653925555",
     "symbol":"BTC/USDT"
 }
```

**4.Response Data**

```
{
    "data":{
        "amount":"19607",
        "close":"64816.58",
        "direction":"sell",
        "high":"66961.43",
        "latestAmount":"0.001731",
        "latestPrice":"64812.59",
        "latestPriceRMB":"414800.57",
        "latestPriceUSDT":"64812.59",
        "low":"63679.00",
        "open":"63780.05",
        "percentage":"+1.59%",
        "ts":1634796068,
        "type":"up",
        "vol":"1281488695"
    },
    "resCode":"800",
    "resMsg":"success",
    "resMsgEn":""
}
```

**5.Response Data Explanation**

<table><thead><tr><th width="276">Description</th><th>Is Array</th><th>Parameter name</th><th>Data type</th></tr></thead><tbody><tr><td>amount</td><td>Y</td><td>amount</td><td>String</td></tr><tr><td>close</td><td>Y</td><td>close</td><td>String</td></tr><tr><td>direction</td><td>Y</td><td>direction</td><td>String</td></tr><tr><td>high</td><td>Y</td><td>high</td><td>String</td></tr><tr><td>latestAmount</td><td>Y</td><td>latestAmount</td><td>String</td></tr><tr><td>latestPrice</td><td>Y</td><td>latestPrice</td><td>String</td></tr><tr><td>latestPriceRMB</td><td>Y</td><td>latestPriceRMB</td><td>String</td></tr><tr><td>latestPriceUSDT</td><td>Y</td><td>latestPriceUSDT</td><td>String</td></tr><tr><td>low</td><td>Y</td><td>low</td><td>String</td></tr><tr><td>open</td><td>Y</td><td>open</td><td>String</td></tr><tr><td>percentage</td><td>Y</td><td>percentage</td><td>String</td></tr><tr><td>ts</td><td>Y</td><td>ts</td><td>String</td></tr><tr><td>type</td><td>Y</td><td>type</td><td>String</td></tr><tr><td>vol</td><td>Y</td><td>vol</td><td>String</td></tr></tbody></table>
