股票實時資料介面 香港股市詳細查詢
阿新 • • 發佈:2018-12-31
股票實時資料介面呼叫程式碼返回示例,實現股票編號、股票名稱、今日開盤價、前收盤價、最高價、最低價、最新價、漲跌、漲跌幅、買入價、賣出價、成交額、成交量、市盈率等等查詢。
介面平臺:api
介面地址:http://web.juhe.cn:8080/finance/stock/hk
支援格式:JSON
請求方式:GET
請求示例:http://web.juhe.cn:8080/finance/stock/hk?num=00001&key=您申請的APPKEY
股票實時資料介面呼叫程式碼JSON返回示例:
倫理片http://www.dotdy.com/
Html程式碼
- {
- "resultcode":"200",/*返回碼,200:正常*/
- "reason":"SUCCESSED!",
- "result":[
- {
- "data":{
- "gid":"hk00001", /*股票編號*/
- "ename":"CHEUNG KONG", /*股票英文簡稱*/
- "name":"長江實業", /*股票名稱*/
- "openpri":"119.600", /*今日開盤價*/
- "formpri":"119.200", /*前收盤價*/
- "maxpri":"120.600", /*最高價*/
- "minpri":"119.600", /*最低價*/
- "lastestpri":"119.800", /*最新價*/
- "uppic":"0.600", /*漲跌*/
- "limit":"0.503", /*漲跌幅%*/
- "inpic":"119.700", /*買入價*/
- "outpic":"119.900", /*賣出價*/
- "traAmount":"121700502", /*成交額(元)*/
- "traNumber":"1014242", /*成交量(股)*/
- "priearn":"6.025", /*市盈率*/
- "max52":"132.700", /*52周最高*/
- "min52":"86.000", /*52周最低*/
- "date":"2013/03/12", /*日期*/
- "time":"11:19:12" /*更新時間*/
- },
- "gopicture":{
- "minurl":"http://image.sinajs.cn/newchart/hk_stock/min/00001.gif",/*分時K線*/
- "dayurl":"http://image.sinajs.cn/newchart/hk_stock/daily/00001.gif",/*日K線圖*/
- "weekurl":"http://image.sinajs.cn/newchart/hk_stock/weekly/00001.gif",/*周K線圖*/
- "monthurl":"http://image.sinajs.cn/newchart/hk_stock/monthly/00001.gif"/*月K線圖*/
- },
- "hengsheng_data": {/*恆生指數*/
- "date":"2014/05/12",//日期
- "formpri":"21862.99",//前收盤價
- "lastestpri":"22220.65",//最新價
- "limit":"1.64",//漲跌幅%
- "max52":"24111.55",//52周最高
- "maxpri":"22250.28",//最高價
- "min52":"0.00",//52周最低
- "minpri":"21796.90",//最低價
- "openpri":"21921.59",//開盤價
- "time":"11:44:00",//時間
- "traAmount":"31524616000",//成交額
- "uppic":"357.66"//漲跌額
- }
- }]
- }
影音先鋒電影http://www.iskdy.com/