Connect your systems to MantaRisk
Programmatic access to portfolio analytics, optimisation, and risk management — from any platform.

REST API
Integrate risk intelligence into any workflow
Build portfolio analytics directly into your systems. The MantaRisk API gives you programmatic access to the same institutional-grade risk engine behind MantaWealth and MantaTrade — optimisation, stress testing, factor analysis, and attribution — all via standard REST calls with JSON responses.
Request
GET /v1/portfolio/analytics
?client_reference=MY_PORTFOLIO
token: {{api_key}}Response
{
"risk_analytics": {
"month": {
"cvar": { "0.95": { "total": -0.03568 } },
"var": { "0.95": { "total": -0.02609 } },
"volatility": { "total": 0.02139 }
}
},
"diversification_ratio": 1.0817,
"r_squared": 0.6528
}Request
GET /v1/portfolio/rebalance
?client_reference=MY_PORTFOLIO
&strategy_id=243
token: {{api_key}}Response
{
"orders": [
{ "direction": "Long", "size": 123,
"level": 269.05, "notional": "33,093.15",
"instrument_code": "AAPL_XNGS" },
{ "direction": "Long", "size": 71,
"level": 468.37, "notional": "33,254.27",
"instrument_code": "TSLA_XNGS" }
]
}Request
POST /v1/stress/hypothetical
?client_reference=MY_PORTFOLIO
&scenario_name=Tech+Selloff
&horizon=month
token: {{api_key}}Response
{
"hypothetical_return": 0.07057,
"original_return": 0.06358,
"instruments": [
{ "instrument_key": "FANG_XNGS_8",
"impact": -0.01111 }
]
}Request
GET /v1/index/attribution
?client_reference=MY_PORTFOLIO
&instrument_code=CSSMI_XSWX
&model=BrinsonFachlerEquityAttribution
&horizon=year
token: {{api_key}}Response
{
"allocation_effect": 0.031,
"selection_effect": 0.058,
"interaction_effect": 0.012,
"benchmark_return": 0.091
}Portfolio Mass Rebalancing
Historical Stress Testing
Hypothetical Stress Testing
Factor Analysis
Performance Attribution
Cashflow Forecasting
Capabilities
Full platform access
The API exposes the full MantaRisk analytics suite — the same engine used in MantaWealth and MantaTrade, available programmatically. Run optimisations, stress tests, factor analysis, and performance attribution from any system.
Integration
Built for your stack
Connect MantaRisk to portfolio management systems, risk dashboards, reporting tools, or custom applications. Standard REST with JSON — works with any language or platform.
Systems
Portfolio Management
Risk Dashboards
Excel & Reporting Tools
Languages
Java
C#
Python
TypeScript
cURL / REST
and more
Architecture
How the MantaRisk API works
A simple four-step flow connects your systems to institutional-grade portfolio risk intelligence.
Your System
Send a request from any platform, language, or tool via our OpenAPI compliant REST interface.
MantaRisk API
The API authenticates using a bearer token in the request header, validates the query, and routes the request to the risk engine.
Risk Intelligence Engine
Institutional-grade analytics are run in real time. No need to wait for the next batch window as with other solutions.
Structured Results
JSON results returned directly to your system — ready to display, store, or act on.
