import requests
url = "https://api.itick.org/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.16431,
"o": 1.1684,
"h": 1.16877,
"l": 1.16107,
"t": 1754584046202,
"v": 933266.1684,
"tu": 1086861.853425,
"ts": 0
},
"GBPUSD": {
"s": "GBPUSD",
"ld": 1.34291,
"o": 1.33708,
"h": 1.34364,
"l": 1.33648,
"t": 1754584046140,
"v": 1017433.83708,
"tu": 1364163.268162,
"ts": 0
}
}
}