The list of price changes by periods (15 min, 1 hour, 1 day, 1 week, 1 month) by jetton addresses
💼 Available in paid plans only
curl --request POST \
--url https://api.dyor.io/v1/jettons/price/change \
--header 'Content-Type: application/json' \
--data '{
"address": [
"<string>"
],
"currency": "ton"
}'
{
"items": [
{
"address": "<string>",
"changes": {
"min15": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"hour": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"hour6": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"hour12": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"day": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"week": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"month": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
}
}
}
],
"addressBook": {}
}
A successful response.
The response is of type object
.
curl --request POST \
--url https://api.dyor.io/v1/jettons/price/change \
--header 'Content-Type: application/json' \
--data '{
"address": [
"<string>"
],
"currency": "ton"
}'
{
"items": [
{
"address": "<string>",
"changes": {
"min15": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"hour": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"hour6": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"hour12": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"day": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"week": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
},
"month": {
"changePercent": 146.1,
"previous": {
"value": "1000500000",
"decimals": 9
},
"current": {
"value": "1000500000",
"decimals": 9
},
"calculatedAt": "2023-11-07T05:31:56Z"
}
}
}
],
"addressBook": {}
}