List matched markets
curl --request GET \
--url https://api.leneutre.trade/v1/marketsconst options = {method: 'GET'};
fetch('https://api.leneutre.trade/v1/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.leneutre.trade/v1/markets"
response = requests.get(url)
print(response.text){
"groups": [
{
"key": "<string>",
"medianUnitPrice": 123,
"markets": [
{
"venue": "<string>",
"market": "<string>",
"symbol": "<string>",
"quoteAsset": "<string>",
"url": "<string>",
"asset": "<string>",
"key": "<string>",
"listedKey": "<string>",
"proxyName": "<string>",
"unitsPerContract": 123,
"listedUnitsPerContract": 123,
"markPrice": 123,
"priceAt": "2023-11-07T05:31:56Z",
"unitPrice": 123,
"deviation": 123,
"status": "active",
"signedDeviation": 123,
"suggestedUnitsPerContract": 123
}
],
"flagged": [
{
"venue": "<string>",
"market": "<string>",
"symbol": "<string>",
"quoteAsset": "<string>",
"url": "<string>",
"asset": "<string>",
"key": "<string>",
"listedKey": "<string>",
"proxyName": "<string>",
"unitsPerContract": 123,
"listedUnitsPerContract": 123,
"markPrice": 123,
"priceAt": "2023-11-07T05:31:56Z",
"unitPrice": 123,
"deviation": 123,
"status": "active",
"signedDeviation": 123,
"suggestedUnitsPerContract": 123
}
]
}
],
"excluded": [
{}
]
}{
"error": "Too many requests: wait, then try again."
}{
"error": "<string>",
"detail": "<string>"
}Markets and accounts
List matched markets
How every venue’s markets pair up by asset. Each venue’s name for an underlying matches under one key (Aster’s XAU and Polymarket’s GOLD are both GOLD). A market whose price per unit stands more than 5% from its group’s median is held back (flagged): usually another token with the same ticker, or a contract size the venue doesn’t declare, which suggestedUnitsPerContract then proposes (KPEPE, a thousand PEPE, gets 1,000). Prices older than five minutes are left out of that check.
GET
/
v1
/
markets
List matched markets
curl --request GET \
--url https://api.leneutre.trade/v1/marketsconst options = {method: 'GET'};
fetch('https://api.leneutre.trade/v1/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.leneutre.trade/v1/markets"
response = requests.get(url)
print(response.text){
"groups": [
{
"key": "<string>",
"medianUnitPrice": 123,
"markets": [
{
"venue": "<string>",
"market": "<string>",
"symbol": "<string>",
"quoteAsset": "<string>",
"url": "<string>",
"asset": "<string>",
"key": "<string>",
"listedKey": "<string>",
"proxyName": "<string>",
"unitsPerContract": 123,
"listedUnitsPerContract": 123,
"markPrice": 123,
"priceAt": "2023-11-07T05:31:56Z",
"unitPrice": 123,
"deviation": 123,
"status": "active",
"signedDeviation": 123,
"suggestedUnitsPerContract": 123
}
],
"flagged": [
{
"venue": "<string>",
"market": "<string>",
"symbol": "<string>",
"quoteAsset": "<string>",
"url": "<string>",
"asset": "<string>",
"key": "<string>",
"listedKey": "<string>",
"proxyName": "<string>",
"unitsPerContract": 123,
"listedUnitsPerContract": 123,
"markPrice": 123,
"priceAt": "2023-11-07T05:31:56Z",
"unitPrice": 123,
"deviation": 123,
"status": "active",
"signedDeviation": 123,
"suggestedUnitsPerContract": 123
}
]
}
],
"excluded": [
{}
]
}{
"error": "Too many requests: wait, then try again."
}{
"error": "<string>",
"detail": "<string>"
}