List market trades
curl --request GET \
--url https://api.unitedmarket.ai/markets/{id}/tradesconst options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/markets/{id}/trades', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/markets/{id}/trades"
response = requests.get(url)
print(response.text){
"fills": [
{
"orderHash": "<string>",
"tokenId": "<string>",
"maker": "<string>",
"taker": "<string>",
"makerAmountFilled": "<string>",
"takerAmountFilled": "<string>",
"txHash": "<string>"
}
]
}Markets
List market trades
Returns recent fills for a market as { fills }, not a bare array.
GET
https://api.unitedmarket.ai
/
markets
/
{id}
/
trades
List market trades
curl --request GET \
--url https://api.unitedmarket.ai/markets/{id}/tradesconst options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/markets/{id}/trades', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/markets/{id}/trades"
response = requests.get(url)
print(response.text){
"fills": [
{
"orderHash": "<string>",
"tokenId": "<string>",
"maker": "<string>",
"taker": "<string>",
"makerAmountFilled": "<string>",
"takerAmountFilled": "<string>",
"txHash": "<string>"
}
]
}Path Parameters
Market id.
Query Parameters
Page size. Markets and similar list endpoints clamp instead of 400: default 60, maximum 250, non-numeric values fall back to 60, and values below 1 become 1. Order list endpoints validate strictly and do return 400. The response pagination object uses page / pageSize.
Required range:
1 <= x <= 250Number of items to skip.
Required range:
x >= 0Response
200 - application/json
Trades returned.
Show child attributes
Show child attributes
