跳转到主要内容
GET
/
v1
/
market
/
trades
Recent Trades
curl --request GET \
  --url https://api.tickdb.ai/v1/market/trades \
  --header 'X-API-Key: <api-key>'
{
  "code": 0,
  "message": "success",
  "data": [
    {
      "id": "12345678",
      "price": "43150.00",
      "quantity": "0.025",
      "side": "buy",
      "timestamp": 1703123456789
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.tickdb.ai/llms.txt

Use this file to discover all available pages before exploring further.

注意事项

  • side:买入(buy)/ 卖出(sell)
  • 时间戳单位为毫秒(UTC)

支持的市场

美股港股加密货币 示例:
  • 美股:AAPL.US、TSLA.US、MSFT.US
  • 港股:700.HK、9988.HK、3690.HK
  • 加密货币:BTCUSDT、ETHUSDT、ADAUSDT

请求参数

参数名是否必须描述
symbol交易产品代码
limit返回成交记录数,默认50,最大200

返回字段说明

字段说明
id成交ID
price成交价格
quantity成交数量
side成交方向(买入/卖出)
timestamp成交时间(毫秒时间戳,UTC)

授权

X-API-Key
string
header
必填

查询参数

symbol
string
默认值:700.HK
必填

Trading symbol

示例:

"700.HK"

limit
integer

Number of trades (default 50, max 200)

必填范围: 1 <= x <= 200
示例:

100

响应

200 - application/json

Successful response

code
integer
示例:

0

message
string
示例:

"success"

data
object[]