# risk.yo.xyz DeFi Node Risk Grade Lookup

> risk.yo.xyz DeFi Node Risk Grade Lookup is a paid API for AI agents from risk.yo.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns properties and risk grade (tier A–F) for a single DeFi node (pool, asset, protocol, or chain) identified by its stable node ID, without neighborhood/dependency data

## Facts

- Endpoint: GET https://risk.yo.xyz/api/v1/agent/node/pool%3Aethereum%3A0xab04bdfbeef6de62e3020d44710d6461eccfb901b9659f866844805fca115f2f
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/risk-yo-xyz-defi-node-risk-grade-lookup-ad4eae5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kLNwtj1rt-iJ_fSJgzkNK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability risk-yo-xyz-defi-node-risk-grade-lookup-ad4eae5f
```

Example prompt: What's the risk grade and properties for the Ethereum pool at address 0xab04bdfbeef6de62e3020d44710d6461eccfb901b9659f866844805fca115f2f — give me the A–F risk tier and any breakdown of why it got that grade.

## When to prefer this

Use this endpoint when you already have the stable nodeId (e.g. from /search) for a specific DeFi pool, asset, protocol, or chain and want its risk grade and properties without fetching full neighborhood/dependency graphs. Prefer this over broader endpoints when you need a lightweight, single-node risk lookup.

## Known failure modes

- Invalid or unknown nodeId returns a not-found error
- Malformed pool address in nodeId path param causes a 400 bad request
- Stale or unindexed node may return empty properties or outdated riskTier
- Payment failure (x402) returns 402 with payment requirements
- Rate limiting may return 429 if called excessively

## How this service works

Single node — properties + risk grade only (no neighborhood)

## Output

A JSON object containing the node's stable ID, its PascalCase labels (e.g. Pool, Asset, Protocol, Chain), and a property bag including _riskTier (letter grade A–F), tvlUsd (TVL in dollars), and riskBreakdown (an array of {question, answer} pairs explaining the risk grade without raw numbers).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "nodeId": "pool:ethereum:0xab04bdfbeef6de62e3020d44710d6461eccfb901b9659f866844805fca115f2f"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "nodeId"
     ],
     "properties": {
      "nodeId": {
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "nodeId"
     ],
     "properties": {
      "nodeId": {
       "type": "string",
       "description": "Stable node id from /search — e.g. \"pool:ethereum:0x…\"."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "id",
      "labels",
      "properties"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Stable node identifier — `nodeId` everywhere else in the API."
      },
      "labels": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "PascalCase Neo4j labels (e.g. \"Pool\", \"Asset\", \"Protocol\", \"Chain\")."
      },
      "properties": {
       "type": "object",
       "description": "Per-label property bag — see /agent/schema for the canonical keys. Risk is exposed as `_riskTier` (A–F) only. May also carry `tvlUsd` (canonical $ size), `riskBreakdown` (on /node — an array of {question, answer} explaining the grade, no numbers), and `lastUpdatedAt` (on /dependencies — ISO-8601 freshness).",
       "additionalProperties": true
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/risk-yo-xyz-defi-node-risk-grade-lookup-ad4eae5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from risk.yo.xyz](https://www.zero.xyz/host/risk.yo.xyz/llms.txt)
