import requests
url = "https://api.itick.org/indices/tick?region=GB&code=SPX"
headers = {
"accept": "application/json"
"token": "Your Token"
}
response = requests.get(url, headers=headers)
print(response.text)
{
"code": 0,
"msg": null,
"data": {
"s": "SPX",
"ld": 6334.38,
"t": 1754581840476,
"v": 1000000
}
}