# risk.yo.xyz Node Risk Grade Lookup

> risk.yo.xyz 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-10-30).

Fetches properties and risk grade (tier A–F with breakdown) for a single DeFi node (pool, asset, protocol, or chain) by its stable node ID

## Facts

- Endpoint: GET https://risk.yo.xyz/api/v1/agent/node/:nodeId?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/risk-yo-xyz-node-risk-grade-lookup-30e8ec6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LY-IH-6U2xYwu5NzAma4O

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-node-risk-grade-lookup-30e8ec6e
```

Example prompt: What's the risk grade and breakdown for the Ethereum Uniswap USDC/ETH pool — give me the risk tier and any properties like TVL from risk.yo.xyz using node ID pool:ethereum:0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640.

## When to prefer this

Use this endpoint when you need risk grade and properties for a single, known DeFi node (pool, asset, protocol, or chain) and already have its stable nodeId from a prior search. Prefer this over the dependencies endpoint when you don't need the neighborhood graph — it's faster and cheaper. Use the /search endpoint first if you don't yet have the nodeId.

## Known failure modes

- Invalid or malformed nodeId returns a 404 or empty result
- nodeId not found in the graph returns an error or null response
- Payment failure (x402) if USDC payment of $0.05 is not properly attached
- Stale data if the node has not been recently indexed (check lastUpdatedAt)
- Rate limiting if too many requests are sent in quick succession

## How this service works

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

## Output

Returns a JSON object with the stable node ID, an array of Neo4j PascalCase labels (e.g. Pool, Asset, Protocol, Chain), and a property bag including: `_riskTier` (letter grade A–F), `riskBreakdown` (array of {question, answer} objects explaining the grade in plain language), `tvlUsd` (total value locked in USD), and metadata fields. No neighborhood or dependency graph is included — just the single node.

## 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-node-risk-grade-lookup-30e8ec6e/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)
