例如,要查询长城汽车(601633)最近的财报摘要,发送请求
http://shuorel.com/ws/share/finance/v1/601633
返回结果
{"data":[{"code":"601633","date":"2016-03-31","asset_per_share":4.4661,"earning_per_share":0.2625,"cash_per_share":-0.0182,"spare_asset_per_share":0.1546,"asset":70393200000,"liability":1744530000,"income":20879700000,"profit":2396100000}],"status":"done"}
说明最新财报是2016年一季度。
如果要查询长城汽车2014年的财报摘要,发送请求http://shuorel.com/ws/share/finance/v1/601633?year=2014
得到结果
{"data":[{"code":"601633","date":"2014-03-31","asset_per_share":9.8606,"earning_per_share":0.6592,"cash_per_share":0.5188,"spare_asset_per_share":1.4639,"asset":51441000000,"liability":1739410000,"income":14735100000,"profit":2005420000},{"code":"601633","date":"2014-06-30","asset_per_share":9.6826,"earning_per_share":1.2997,"cash_per_share":1.6969,"spare_asset_per_share":1.4639,"asset":50928600000,"liability":1721550000,"income":28527400000,"profit":3954310000},{"code":"601633","date":"2014-09-30","asset_per_share":10.2112,"earning_per_share":1.8361,"cash_per_share":2.1708,"spare_asset_per_share":1.4639,"asset":54305500000,"liability":1708900000,"income":42586600000,"profit":5586250000},{"code":"601633","date":"2014-12-31","asset_per_share":10.9951,"earning_per_share":2.6431,"cash_per_share":2.0036,"spare_asset_per_share":1.4639,"asset":61345300000,"liability":1682110000,"income":62599100000,"profit":8041540000}],"status":"done"}
包括四个季度的数据。
如果要查询2014年第1季度的数据,发送请求http://shuorel.com/ws/share/finance/v1/601633?year=2014&quarter=1
得到结果
{"data":[{"code":"601633","date":"2014-03-31","asset_per_share":9.8606,"earning_per_share":0.6592,"cash_per_share":0.5188,"spare_asset_per_share":1.4639,"asset":51441000000,"liability":1739410000,"income":14735100000,"profit":2005420000}],"status":"done"}