- REST reference
- Model outputs
- Risk
Get asset risk
GET/public/v1/risk/{symbol}
The asset’s risk entry and the market risk environment from the latest run.
Model output · reference only. This route returns TradeEasy model scores, probabilities or levels. Its fields are documented by name and type; the docs show no sample values. Educational research, not investment advice.
Request
curl "https://api.tradeeasyai.net/public/v1/risk/XAUUSD" \
-H "X-API-Key: $TRADEEASY_API_KEY"Response shape · reference only
Field names and types; no sample values.
{
"success": true,
"data": {
"asset_risk": { … },
"market_risk_environment": { … }
},
"meta": { "timestamp": "<string>", "request_id": "<string>" }
}Parameters#
- symbolstringpathRequired
TradeEasy symbol, for example XAUUSD or EURUSD. Up to 32 characters.
Response fields#
- asset_riskobject
The asset’s entry.
- market_risk_environmentobject
The market-wide environment.
Errors#
- 400INVALID_SYMBOL
The symbol is empty or longer than 32 characters.
- 401detail
Missing, invalid or revoked key, or a locked account. FastAPI {"detail": …} body, not the envelope.
- 403detail
The plan does not include the REST API, or the subscription is not active.
- 404SYMBOL_NOT_FOUND
The asset is not in the latest run.
- 429RATE_LIMIT_EXCEEDED
Per-key minute or day bucket spent. Honour Retry-After.
- 503DATA_UNAVAILABLE
Risk data is unavailable. Retry.
