import requests
url = "https://api.itick.io/stock/quotes?region=HK&codes=700,9988"
headers = {
"accept": "application/json"
"token": "Your Token"
}
response = requests.get(url, headers=headers)
print(response.text)
{
"code": 0,
"msg": null,
"data": {
"700": {
"s": "700",
"ld": 616,
"o": 608,
"h": 616,
"l": 601.5,
"t": 1765526889000,
"v": 17825495,
"tu": 10871536434.36,
"ts": 0,
"ch": 8,
"chp": 1.32
},
"9988": {
"s": "9988",
"ld": 154.1,
"o": 152.7,
"h": 154.1,
"l": 150.8,
"t": 1765526889000,
"v": 88532981,
"tu": 13539596437.06,
"ts": 0,
"ch": 1.4,
"chp": 0.92
}
}
}