List the venues
curl --request GET \
--url https://api.dev.leneutre.trade/v1/venuesconst options = {method: 'GET'};
fetch('https://api.dev.leneutre.trade/v1/venues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.dev.leneutre.trade/v1/venues"
response = requests.get(url)
print(response.text){
"network": "mainnet",
"venues": [
{
"id": "hyperliquid",
"name": "Hyperliquid",
"kind": "perp-book",
"chain": "Hyperliquid L1",
"capabilities": {
"history": "venue",
"publicAccount": "full",
"accountFees": "public",
"tradeOnlyKey": "yes",
"withdrawDestination": "any",
"contractAccount": "yes",
"referral": {
"exists": "yes",
"publicRead": "yes",
"window": "undocumented"
}
},
"deposits": [
{
"chainId": 42161,
"chain": "Arbitrum",
"nativeSymbol": "ETH",
"token": "USDC",
"minUsd": 5
}
]
}
]
}{
"error": "Too many requests: wait, then try again."
}Markets and accounts
List the venues
The network the API serves and every venue on it, as its adapter declares it: its id, its name, what kind of venue it is, the chain it settles on, how it takes funds in, and its capabilities. The capabilities say what the venue lets anyone read. Each venue decides who may use it; checking it is your responsibility. Static: it changes with a release.
GET
/
v1
/
venues
List the venues
curl --request GET \
--url https://api.dev.leneutre.trade/v1/venuesconst options = {method: 'GET'};
fetch('https://api.dev.leneutre.trade/v1/venues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.dev.leneutre.trade/v1/venues"
response = requests.get(url)
print(response.text){
"network": "mainnet",
"venues": [
{
"id": "hyperliquid",
"name": "Hyperliquid",
"kind": "perp-book",
"chain": "Hyperliquid L1",
"capabilities": {
"history": "venue",
"publicAccount": "full",
"accountFees": "public",
"tradeOnlyKey": "yes",
"withdrawDestination": "any",
"contractAccount": "yes",
"referral": {
"exists": "yes",
"publicRead": "yes",
"window": "undocumented"
}
},
"deposits": [
{
"chainId": 42161,
"chain": "Arbitrum",
"nativeSymbol": "ETH",
"token": "USDC",
"minUsd": 5
}
]
}
]
}{
"error": "Too many requests: wait, then try again."
}