GET /markets/{market_id}/risk-params
Get market risk parameters
Get market risk parameters.
operationId: fetchMarketRiskParams
Not reachable through CCXT. Nexus risk parameters and per-market halt state. CCXT carries neither in its unified market shape.
Authentication: none — this operation is public.
Returns per-market risk parameters including margin requirements and maximum leverage. Populated by the indexer's market_params_poller from the engine's market registry.
Parameters
market_id
path
string
Yes
—
Market identifier (e.g. BTC-USDX-PERP, ETH-USDX-PERP). Uppercase ASCII alphanumeric segments joined by single hyphens, at most 64 characters. A value outside that set is rejected with 400 (INVALID_MARKET_ID) before any store is read — it cannot name a market, so an empty result would assert that nothing traded rather than that the question was malformed. A well-formed identifier that names no listed market is a 404, not a 400.
Responses
400
— (no schema declared)
—
404
— (no schema declared)
Market not found
429
— (no schema declared)
—
Example
curl -X GET 'https://exchange.nexus.xyz/api/exchange/markets/BTC-USDX-PERP/risk-params'import requests
response = requests.get("https://exchange.nexus.xyz/api/exchange/markets/BTC-USDX-PERP/risk-params")
response.raise_for_status()
print(response.json())const response = await fetch("https://exchange.nexus.xyz/api/exchange/markets/BTC-USDX-PERP/risk-params", {
method: "GET",
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
console.log(await response.json());Generated from eng/apps/exchange/api/openapi.json (spec 0.9.36). Do not edit by hand — regenerate with python3 product/docs/tools/api-reference/generate.py. Hand-authored context lives in the Guides pages.
Last updated

