Get market fee rate
curl --request GET \
--url https://api.unitedmarket.ai/markets/{id}/feeconst options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/markets/{id}/fee', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/markets/{id}/fee"
response = requests.get(url)
print(response.text){
"feeRateBps": 100,
"feeRateBpsOverride": null
}{
"message": "<string>",
"error": "Unauthorized",
"statusCode": 401
}Fees
Get market fee rate
Returns the effective trading fee rate (in basis points) for a market. Sign this exact value into the order’s feeRateBps before submitting. The effective rate resolves the most specific override first: per-market, then per-tag, then the global default. Read it right before signing, since rates can change.
GET
https://api.unitedmarket.ai
/
markets
/
{id}
/
fee
Get market fee rate
curl --request GET \
--url https://api.unitedmarket.ai/markets/{id}/feeconst options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/markets/{id}/fee', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/markets/{id}/fee"
response = requests.get(url)
print(response.text){
"feeRateBps": 100,
"feeRateBpsOverride": null
}{
"message": "<string>",
"error": "Unauthorized",
"statusCode": 401
}