Staking Data
Ratings APIDeFi

List DeFi Alerts

Returns a paginated list of on-chain DeFi rating alerts across all tracked protocols, ordered by the time the incident occurred on-chain (most recent first). Supports filtering by protocol, product, contract address, severity, and chain.

GET
/ratings/defi/alerts
X-API-KEY<token>

In: header

Query Parameters

protocol?string

Filter by protocol (case-insensitive).

product?string

Filter by reward option slug (case-insensitive).

contract_address?string

Filter by on-chain contract address (case-insensitive).

severity?string

Filter by alert severity (case-insensitive).

Value in"CRITICAL" | "ERROR" | "WARNING" | "INFO"
incident_type?string

Filter by incident type. Matches alerts where any bundled incident in the alert is of this type. Case-sensitive.

Value in"ContractUpgrade" | "TimelockChange" | "AdminChange" | "MultisigChange" | "RoleChange" | "ProtocolParameterChange" | "EmergencyAction"
chain_id?integer

Filter by EVM chain ID.

limit?integer

Maximum number of results to return.

Default10
offset?integer

Number of results to skip for pagination.

Default0

Response Body

application/json

curl -X GET "https://api.stakingrewards.com/ratings/defi/alerts"
{
  "data": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "incident_type": "GovernanceProposalExecuted",
      "severity": "CRITICAL",
      "message": "Large withdrawal detected on lending pool.",
      "contract_address": "0x123",
      "chain_id": 1,
      "tx_hash": "0xabc",
      "block_number": 21000000,
      "protocol": "aave",
      "product": "aave-v3",
      "summary": "string",
      "extra": "string",
      "occurred_at": "2026-06-09T12:00:00Z",
      "created_at": "2026-06-09T12:00:05Z"
    }
  ],
  "pagination": {
    "total_count": 142,
    "limit": 20,
    "offset": 0
  }
}
Empty
Empty