import requests
url = "https://api.itick.io/forex/quotes?region=GB&codes=EURUSD,GBPUSD"
headers = {
"accept": "application/json"
"token": "Your Token"
}
response = requests.get(url, headers=headers)
print(response.text)
{
"code": 0,
"msg": null,
"data": {
"EURUSD": {
"s": "EURUSD",
"ld": 1.17376,
"o": 1.1741,
"h": 1.17497,
"l": 1.17194,
"t": 1765576744049,
"v": 1193417.3,
"tu": 1400561.87122,
"ch": 0.00001,
"chp": 0.02,
"ts": 0
},
"GBPUSD": {
"s": "GBPUSD",
"ld": 1.33643,
"o": 1.3393,
"h": 1.33998,
"l": 1.33422,
"t": 1765576736076,
"v": 1561368.1,
"tu": 2088514.87546,
"ch": -0.0019,
"chp": -0.14,
"ts": 0
}
}
}