天天
净值估算:
https://fundgz.1234567.com.cn/js/161725.js?rt=1734661096155
jsonpgz({"fundcode":"161725","name":"招商中证白酒指数(LOF)A","jzrq":"2024-12-19","dwjz":"0.8296","gsz":"0.8303","gszzl":"0.09","gztime":"2024-12-20 10:17"});
净值历史:
https://api.fund.eastmoney.com/f10/lsjz?callback=jQuery1830466270568207352_1734661378924&fundCode=161725&pageIndex=3&pageSize=20&startDate=&endDate=&_=1734661765601
调用时header加三项即可:
headers = { "Host":"api.fund.eastmoney.com", # 防盗链 确定访问来路是否非法 "Referer":"http://fundf10.eastmoney.com/", # 身份验证,模拟浏览器发出 "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.76" }