Skip to main content

Intraday Trades

取得股票成交明細(依代碼查詢)

GET /intraday/trades/{symbol}

Parameters

NameTypeDescription
symbol*string股票代碼
typestringTicker 類型,可選 oddlot 盤中零股
offsetnumber偏移量
limitnumber限制量
sortstring時間排序,預設為 desc 降冪,可選 asc 升冪
isTrialboolean查詢試撮明細: true

Response

NameTypeDescription
date*string日期
type*stringTicker 類型
exchange*string交易所
marketstring市場別
symbol*string股票代號
data*object[]成交明細
data[0].bidnumber成交買價
data[0].asknumber成交賣價
data[0].pricenumber成交價格
data[0].sizenumber成交單量
data[0].volumenumber成交總量
data[0].timenumber成交時間
data[0].serialnumber流水號

Example

curl -X 'GET' \
'https://api.fugle.tw/marketdata/v1.0/stock/intraday/trades/0050' \
-H 'X-API-KEY: <YOUR_API_KEY>'

Response Body:

{
"date": "2023-05-29",
"type": "EQUITY",
"exchange": "TWSE",
"market": "TSE",
"symbol": "2330",
"data": [
{
"price": 568,
"size": 32,
"time": 1685341800000000,
"serial": 99999999
},
{
"bid": 567,
"ask": 568,
"price": 568,
"size": 4778,
"volume": 54538,
"time": 1685338200000000,
"serial": 6652422
},
{
"bid": 565,
"ask": 566,
"price": 566,
"size": 1,
"volume": 49760,
"time": 1685337899721587,
"serial": 6622549
},
......
]
}