Get Ticker
curl --request GET \
--url https://app.digitalsurge.com.au/api/public/broker/ticker/import requests
url = "https://app.digitalsurge.com.au/api/public/broker/ticker/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.digitalsurge.com.au/api/public/broker/ticker/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"results": [
{
"BTC": {
"buy": "<string>",
"sell": "<string>",
"last": "<string>",
"24h_ago": "<string>",
"name": "<string>",
"tradeable": true
}
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Public
Get Ticker
Current buy and sell prices for every tradeable asset.
The returned price is indicative — the final executed price may differ based on the order amount and market conditions. For a binding price, request a quote via the swap estimate endpoint before submitting an order.
GET
/
api
/
public
/
broker
/
ticker
/
Get Ticker
curl --request GET \
--url https://app.digitalsurge.com.au/api/public/broker/ticker/import requests
url = "https://app.digitalsurge.com.au/api/public/broker/ticker/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.digitalsurge.com.au/api/public/broker/ticker/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"results": [
{
"BTC": {
"buy": "<string>",
"sell": "<string>",
"last": "<string>",
"24h_ago": "<string>",
"name": "<string>",
"tradeable": true
}
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Query Parameters
Comma-separated asset codes to filter by
Max number of assets to return
Ordering: "gain" for top gainers first
A page number within the paginated result set.
Number of results to return per page.