A股分红送股历史数据查询Web API使用方法
例如,要查询长城汽车(601633)在2015年的分红送股,发送请求
http://shuorel.com/ws/share/dividend/v1/601633?year=2015
返回结果
{"data":[{"date":"2015-05-26","cash":8.0,"transfer_issue":0,"bonus_issue":0,"register_date":"2015-05-25"},{"date":"2015-10-13","cash":2.5,"transfer_issue":10,"bonus_issue":10,"register_date":"2015-10-12"}],"status":"done"}
说明长城汽车在2015年分红送股两次,除权日分别是2015-05-26和2015-10-13,第一次每十股现金分红8元;第二次每十股分红2.5元,转增10股并且送送股10股。
如果要查询长城汽车所有年份的分红送股数据,发送请求
http://shuorel.com/ws/share/dividend/v1/601633?year=all
得到结果
{"data":[{"date":"2012-05-21","cash":3.0,"transfer_issue":0,"bonus_issue":0,"register_date":"2012-05-18"},{"date":"2013-05-24","cash":5.7,"transfer_issue":0,"bonus_issue":0,"register_date":"2013-05-23"},{"date":"2014-05-23","cash":8.2,"transfer_issue":0,"bonus_issue":0,"register_date":"2014-05-22"},{"date":"2015-05-26","cash":8.0,"transfer_issue":0,"bonus_issue":0,"register_date":"2015-05-25"},{"date":"2015-10-13","cash":2.5,"transfer_issue":10,"bonus_issue":10,"register_date":"2015-10-12"}],"status":"done"}