Skip to main content

Snapshot Quotes

info

屬於 開發者進階用戶 方案的專屬功能!

取得股票行情快照(依市場別)

GET /snapshot/quotes/{market}

Parameters

NameTypeDescription
market*string市場別,可選 TSE 上市;OTC 上櫃;ESB 興櫃一般板;TIB 臺灣創新板;PSB 興櫃戰略新板

Response

NameTypeDescription
date*string日期
time*string時間
market*string市場別
data*object[]快照資料
data[0].typestringTicker 類型
data[0].symbolstring股票代碼
data[0].namestring股票簡稱
data[0].openPricenumber開盤價
data[0].highPricenumber最高價
data[0].lowPricenumber最低價
data[0].closePricenumber收盤價
data[0].changenumber漲跌
data[0].changePercentnumber漲跌幅
data[0].tradeVolumenumber成交量
data[0].tradeValuenumber成交金額
data[0].lastUpdatednumber快照時間

Example

curl -X 'GET' \
'https://api.fugle.tw/marketdata/v1.0/stock/snapshot/quotes/TSE' \
-H 'X-API-KEY: <YOUR_API_KEY>'

Response Body:

{
"date": "2023-05-29",
"time": "133500",
"market": "TSE",
"data": [
{
"type": "EQUITY",
"symbol": "0050",
"name": "元大台灣50",
"openPrice": 127.45,
"highPrice": 127.55,
"lowPrice": 126.5,
"closePrice": 126.75,
"change": 0.8,
"changePercent": 0.64,
"tradeVolume": 14444,
"tradeValue": 1832941850,
"lastUpdated": 1685338200000000
},
{
"type": "EQUITY",
"symbol": "0051",
"name": "元大中型100",
"openPrice": 61,
"highPrice": 62.2,
"lowPrice": 61,
"closePrice": 62,
"change": 1.3,
"changePercent": 2.14,
"tradeVolume": 191,
"tradeValue": 11816050,
"lastUpdated": 1685338200000000
},
{
"type": "EQUITY",
"symbol": "0052",
"name": "富邦科技",
"openPrice": 111.8,
"highPrice": 112.1,
"lowPrice": 111.1,
"closePrice": 111.7,
"change": 1.2,
"changePercent": 1.09,
"tradeVolume": 565,
"tradeValue": 63088400,
"lastUpdated": 1685338200000000
},
......
]
}