import requests
url = "https://api.itick.org/forex/depth?region=GB&code=EURUSD"
headers = {
"accept": "application/json"
"token": "Your Token"
}
response = requests.get(url, headers=headers)
print(response.text)
{
"code": 0,
"msg": null,
"data": {
"s": "EURUSD",
"a": [
{
"po": 1,
"p": 1.16423,
"v": 0,
"o": 1
}
],
"b": [
{
"po": 1,
"p": 1.16421,
"v": 0,
"o": 1
}
]
}
}