Get trading snapshot
curl --request GET \
--url https://api.unitedmarket.ai/markets/{id}/tradingconst options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/markets/{id}/trading', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/markets/{id}/trading"
response = requests.get(url)
print(response.text){}Markets
Get trading snapshot
Returns the market, orderbook, and trading data needed to render a market trading page.
GET
https://api.unitedmarket.ai
/
markets
/
{id}
/
trading
Get trading snapshot
curl --request GET \
--url https://api.unitedmarket.ai/markets/{id}/tradingconst options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/markets/{id}/trading', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/markets/{id}/trading"
response = requests.get(url)
print(response.text){}Path Parameters
Market id.
Response
200 - application/json
Trading snapshot returned.
The response is of type object.
