API documentation for calculating dynamic risk scores for stablecoins based on peg deviation, liquidity, volume, collateral quality, and other adjustable risk factors.
The Stablecoin Stress Test API dynamically calculates risk scores for major stablecoins based on real-time (or simulated) data and customizable risk factor weights.
Use this API to monitor stablecoin stability, detect emerging risks, and fine-tune assessment models based on your own risk preferences.
Each stablecoin risk score is calculated from the following factors:
Factor | Description |
---|---|
Peg Deviation | Magnitude and frequency of price drifting from $1.00 |
Volume Volatility | Variance in trading volume over time |
Liquidity Change | TVL shifts across key pools and chains |
Collateral Quality | Risk level of the assets backing the stablecoin |
Sentiment Analysis | Social/media signals about stability or risk events |
Each factor can be individually weighted, and total weighting must equal 100%.
/stress-test/scores
/stress-test/weights
Payload Example:
Risk Score Ranges:
Price Source:
Collateral Data:
Refresh Interval: