{
  "x402Version": 2,
  "id": 27646,
  "slug": "27646",
  "resource": "https://mcp.yield.xyz/x402/yields_get_risk",
  "description": "Get the risk profile for a yield — ratings and scores from independent risk providers (Credora, Staking Rewards) so agents and users can weigh safety before depositing.",
  "type": "http",
  "serviceName": "Yield.xyz MCP",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783617879/bazaar-icons/f5a3c426421c583b.png",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xD433f056270912659f073D5FFE7Ae247e39235A5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "description": "Core fields shown; the response carries additional fields depending on the yield/protocol (intentionally non-exhaustive).",
        "properties": {
          "credora": {
            "properties": {
              "psl": {
                "description": "Probability of Significant Loss (annualized)",
                "type": [
                  "number",
                  "null"
                ]
              },
              "rating": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score": {
                "description": "1-5",
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "stakingRewards": {
            "properties": {
              "potentialRating": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "potentialScore": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "rating": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score": {
                "description": "1-5",
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "updatedAt": {
            "description": "When the risk data was last computed (ISO 8601)",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "yieldId": "base-usdc-aave-v3-lending"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "credora": {
              "psl": 0.012,
              "rating": "AA",
              "score": 4
            },
            "updatedAt": "2026-07-01T00:00:00.000Z"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "yieldId": {
                    "description": "Yield ID from yields_get_all",
                    "type": "string"
                  }
                },
                "required": [
                  "yieldId"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "description": "Core fields shown; the response carries additional fields depending on the yield/protocol (intentionally non-exhaustive).",
                "properties": {
                  "credora": {
                    "properties": {
                      "psl": {
                        "description": "Probability of Significant Loss (annualized)",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "rating": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "score": {
                        "description": "1-5",
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "stakingRewards": {
                    "properties": {
                      "potentialRating": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "potentialScore": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "rating": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "score": {
                        "description": "1-5",
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "updatedAt": {
                    "description": "When the risk data was last computed (ISO 8601)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "defi risk",
    "risk score",
    "smart contract risk",
    "protocol safety",
    "due diligence",
    "bazaar"
  ],
  "sourceHost": "mcp.yield.xyz",
  "lastUpdated": "2026-10-11T08:40:22.442Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-11T08:40:22.315Z"
  },
  "metadata": {
    "serviceName": "Yield.xyz MCP",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783617879/bazaar-icons/f5a3c426421c583b.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "yieldId": "base-usdc-aave-v3-lending"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "credora": {
                "psl": 0.012,
                "rating": "AA",
                "score": 4
              },
              "updatedAt": "2026-07-01T00:00:00.000Z"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "yieldId": {
                      "description": "Yield ID from yields_get_all",
                      "type": "string"
                    }
                  },
                  "required": [
                    "yieldId"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "description": "Core fields shown; the response carries additional fields depending on the yield/protocol (intentionally non-exhaustive).",
                  "properties": {
                    "credora": {
                      "properties": {
                        "psl": {
                          "description": "Probability of Significant Loss (annualized)",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "rating": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "score": {
                          "description": "1-5",
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "stakingRewards": {
                      "properties": {
                        "potentialRating": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "potentialScore": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "rating": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "score": {
                          "description": "1-5",
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "updatedAt": {
                      "description": "When the risk data was last computed (ISO 8601)",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mcp.yield.xyz",
    "manifest_name": "mcp.yield.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "credora": {
        "psl": 0,
        "rating": "string",
        "score": 0
      },
      "stakingRewards": {
        "potentialRating": "string",
        "potentialScore": 0,
        "rating": "string",
        "score": 0
      },
      "updatedAt": "string"
    },
    "type": "string"
  }
}