Overview
The v3 RWA Risk endpoints give you a Webacy-native structural risk score for stablecoins and real-world asset tokens. Unlike the Depeg Monitor — which tracks real-time price deviation — v3 RWA Risk evaluates the structural health of a token: collateral quality, smart contract governance, liquidity depth, exploit history, and more. Scores are updated on a 24-hour cadence and computed against a versioned grading scheme you can pin for consistency.Endpoints
Token Detail
GET /api/v3/rwa/{address} — Full structural risk decomposition: composite grade, seven weighted categories, criterion-level pass/warn/fail status, and coverage metadata.Batch Structural Health
POST /api/v3/rwa/batch/structural-health — Check up to 100 tokens in one call. Moody’s-inspired 24h cadence. Always returns 200 with per-token results.GET /api/v3/rwa/{address} requires a chain query parameter (for example eth); grading_scheme is optional and defaults to v1. The batch endpoint takes { address, chain } pairs in the request body.
Key Concepts
Score Polarity
Composite Grade
Each token receives a composite score derived from seven weighted risk categories. The weights below apply to thev1 stablecoin grading scheme:
| Category | Weight | Description |
|---|---|---|
asset_collateral | 30% | Collateral quality, reserve transparency, and backing type |
market_liquidity | 20% | On-chain liquidity depth and DEX/CEX accessibility |
smart_contract | 20% | Audit history, contract ownership model, and timelock presence |
operational_governance | 15% | Multisig controls, admin key practices, and operational hygiene |
hack_exploit_history | 15% | Known exploits or security incidents |
counterparty | 0% | (Reserved — weights may shift in future scheme versions) |
chain_infrastructure | 0% | (Reserved — weights may shift in future scheme versions) |
upstream_risk and clamped_by_upstream. When a token’s composite score is raised by risk inherited from an upstream dependency, upstream_risk carries that contributing score and clamped_by_upstream is true; when no upstream adjustment applies — as in the example below — they are null and false.
Letter Grades and Stars
| Grade | Stars | Score Range | Interpretation |
|---|---|---|---|
| A+ | ★★★★★ | 0–9 | Excellent structural health |
| A | ★★★★★ | 10–19 | Strong — minor concerns only |
| B | ★★★★☆ | 20–34 | Good — a few watchpoints |
| C | ★★★☆☆ | 35–49 | Moderate risk — review recommended |
| D | ★★☆☆☆ | 50–69 | Elevated risk — close monitoring needed |
| F | ★☆☆☆☆ | 70–100 | High structural risk |
Criterion Status
Each criterion in a category has one of three statuses:| Status | Meaning |
|---|---|
pass | Criterion is satisfied — no risk contribution |
warn | Criterion is partially met or data quality is limited |
fail | Criterion is not met — contributes to category score |
large_holder_concentration — Herfindahl Grading
The large_holder_concentration criterion is graded on the Herfindahl Concentration Index (HCI) computed across the top-10 holders:
| HCI Range | Status |
|---|---|
hci_10 < 0.20 | pass — broadly distributed |
0.20 ≤ hci_10 < 0.40 | warn — moderate concentration |
hci_10 ≥ 0.40 | fail — highly concentrated |
null (data unavailable) | warn |
Data Quality
Every criterion carries adata_quality block:
confidence is "high", "medium", or "low". Use last_observed_at to surface data staleness to your users.
Coverage — Live vs. Roadmap
The v3 framework defines more criteria than are currently live. Thecoverage block in every detail response tells you exactly which criteria are active today vs. pending producer data.
| Criterion | Category | Live? |
|---|---|---|
audited | smart_contract | Yes |
mint_cap_present | smart_contract | Yes |
owner_is_multisig | smart_contract | Yes |
timelock_present | smart_contract | Yes |
share_price_stable | asset_collateral | Yes |
mint_burn_anomaly | market_liquidity | Yes |
large_holder_concentration | market_liquidity | Yes |
no_exploit_history | hack_exploit_history | Yes |
supply_reserves_reconciliation | asset_collateral | Roadmap |
large_transaction_alerts | market_liquidity | Roadmap |
admin_key_changes | operational_governance | Roadmap |
timelock_changes | operational_governance | Roadmap |
Grading Scheme Versioning
Use?grading_scheme=v1 to pin the scheme for your integration. The scheme version is reflected in:
- The
composite.grading_schemefield in the response body - The
Webacy-Grading-Schemeresponse header
v1 is frozen: no weight re-tunes, no new criteria added. When Webacy ships improvements they will be published as v2 with a minimum 9-month deprecation window before v1 is retired.
The batch endpoint (
POST /api/v3/rwa/batch/structural-health) emits raw criterion data only — no composite score, no grading scheme parameter. It is always scheme-neutral. Today it evaluates two live criteria — mint_burn_anomaly and large_holder_concentration; additional structural criteria will be added as their producer data goes live.Authentication
All v3 RWA endpoints require anx-api-key header. Requests without a valid key return 403.
Response Headers
Every response (including 4xx errors) includes:| Header | Example | Description |
|---|---|---|
Webacy-Api-Version | 3.0 | API version |
Webacy-Framework-Version | v1 | Scoring framework version |
Webacy-Grading-Scheme | v1 | Grading scheme applied |
Batch Partial-Success Semantics
The request is validated first. A malformed batch returns400 Bad Request and no tokens are evaluated:
- empty
tokensarray - more than 100 tokens
- unknown or unexpected properties in the body
ok field:
ok: true— criterion data is presentok: false— token could not be evaluated; readerror_code
error_code | Meaning |
|---|---|
NOT_FOUND | Token address/chain not in Webacy universe |
INVALID_ADDRESS | Address string is not a valid contract address |
UNSUPPORTED_CHAIN | Chain identifier is not supported |
Code Examples
Example: Token Detail Response
Example: Batch Response (partial success)
Related Resources
Depeg Monitor
Real-time price-deviation risk for stablecoins — pairs well with v3 structural scores
Holder Concentration Index
Deeper HCI data and historical concentration trends
Scoring Methodology
How Webacy computes risk scores across all product lines
API Authentication
How to obtain and use your
x-api-key