import requests
url = "https://api.itick.io/fund/quotes?region=US&codes=QQQ,IEF"
headers = {
"accept": "application/json"
"token": "Your Token"
}
response = requests.get(url, headers=headers)
print(response.text)
{
"code": 0,
"msg": null,
"data": {
"QQQ": {
"s": "QQQ",
"ld": 613.7,
"o": 622.08,
"h": 623.54,
"l": 611.36,
"t": 1765573199000,
"v": 71141919,
"tu": 43822640541.4171,
"ch": -11.88,
"chp": -1.9,
"ts": 0
},
"IEF": {
"s": "IEF",
"ld": 96.19,
"o": 96.19,
"h": 96.2726,
"l": 96.17,
"t": 1765573199000,
"v": 7414510,
"tu": 713319664.251565,
"ch": -0.26,
"chp": -0.27,
"ts": 0
}
}
}