Get Trades
HTTP request Retrieve trade data
- GET /api/v2/market/fills
Weight(IP): 5
Request parameters
| Parameter | Parameter type | Required? | Description | 
|---|---|---|---|
| symbol | String | Yes | Trading pair ID | 
| limit | String | No | Default: 100, max: 1,000 | 
Request example
curl "https://api-spot.weex.com/api/v2/market/fills?symbol=BTCUSDT_SPBL&limit=1"
Response parameters
| Field Name | Type | Field Description | 
|---|---|---|
| symbol | String | Trading pair symbol | 
| tradeId | String | Trade order ID | 
| fillTime | long | Trade execution timestamp | 
| fillPrice | String | Execution price | 
| fillQuantity | String | Executed quantity | 
| tradeValue | String | Total trade value (price × quantity) | 
| bestMatch | boolean | Whether fully matched | 
| buyerMaker | boolean | Whether buyer was the maker | 
Response example
{
    "code": "00000",
    "msg": "success",
    "requestTime": 1743668717640,
    "data": [
        {
            "symbol": "BTCUSDT_SPBL",
            "tradeId": "778a5376-a0b6-4c8f-ab64-dd6ea40f896e",
            "fillTime": 1743668713364,
            "fillPrice": "83609.7",
            "fillQuantity": "0.00011400",
            "tradeValue": "9.531505800",
            "bestMatch": true,
            "buyerMaker": true
        }
    ]
}