import requests
url = "https://api.itick.io/future/quotes?region=US&codes=NQ,ES"
headers = {
"accept": "application/json"
"token": "Your Token"
}
response = requests.get(url, headers=headers)
print(response.text)
{
"code": 0,
"msg": null,
"data": {
"NQ": {
"s": "NQ",
"ld": 25213.5,
"o": 25674,
"h": 25703.75,
"l": 25118,
"t": 1765576802621,
"v": 736750,
"tu": 18670551589,
"ch": -500,
"chp": -1.94,
"ts": 0
},
"ES": {
"s": "ES",
"ld": 6830.75,
"o": 6904.25,
"h": 6913,
"l": 6805,
"t": 1765579830530,
"v": 2464264,
"tu": 16874645961.25,
"ch": -76.5,
"chp": -1.11,
"ts": 0
}
}
}