Get user PnL history
curl --request GET \
--url https://api.unitedmarket.ai/pnl/history/{user}const options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/pnl/history/{user}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/pnl/history/{user}"
response = requests.get(url)
print(response.text)[
{}
]Social
Get user PnL history
Returns historical PnL data for a user.
GET
https://api.unitedmarket.ai
/
pnl
/
history
/
{user}
Get user PnL history
curl --request GET \
--url https://api.unitedmarket.ai/pnl/history/{user}const options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/pnl/history/{user}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/pnl/history/{user}"
response = requests.get(url)
print(response.text)[
{}
]Path Parameters
User wallet address or id.
Response
200 - application/json
PnL history returned.
