{
  "x402Version": 2,
  "id": 38523,
  "slug": "38523",
  "resource": "https://risk-oracle-api.rohan-rajnikanth.workers.dev/v1/risk-check",
  "description": "Deterministic reserve-condition risk assessment for native USDC on Aave V3 Base",
  "type": "http",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4453fdec07a4a4dafe3399d942c6827ec1d28cfd",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "assessment_id": {
            "format": "uuid",
            "type": "string"
          },
          "asset": {
            "const": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "type": "string"
          },
          "block_number": {
            "pattern": "^(0|[1-9][0-9]{0,77})$",
            "type": "string"
          },
          "calculated_at": {
            "format": "date-time",
            "type": "string"
          },
          "chain": {
            "const": "base",
            "type": "string"
          },
          "confidence": {
            "maximum": 1,
            "minimum": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "factors": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "explanation": {
                  "type": "string"
                },
                "factor": {
                  "enum": [
                    "oracle_risk",
                    "liquidity_utilization_risk",
                    "collateral_configuration_risk",
                    "operational_restriction_risk"
                  ],
                  "type": "string"
                },
                "rule_id": {
                  "type": "string"
                },
                "score": {
                  "maximum": 100,
                  "minimum": 0,
                  "type": "number"
                },
                "status": {
                  "const": "evaluated",
                  "type": "string"
                }
              },
              "required": [
                "factor",
                "status",
                "score",
                "explanation",
                "rule_id"
              ],
              "type": "object"
            },
            "maxItems": 4,
            "minItems": 4,
            "type": "array"
          },
          "fresh_until": {
            "format": "date-time",
            "type": "string"
          },
          "freshness_status": {
            "enum": [
              "fresh",
              "degraded"
            ],
            "type": "string"
          },
          "methodology_version": {
            "const": "v0.1",
            "type": "string"
          },
          "protocol": {
            "const": "aave-v3",
            "type": "string"
          },
          "reason": {
            "type": "null"
          },
          "risk_level": {
            "enum": [
              "low",
              "moderate",
              "high",
              "critical"
            ],
            "type": "string"
          },
          "score": {
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "status": {
            "enum": [
              "OK",
              "DEGRADED"
            ],
            "type": "string"
          },
          "unknown_after": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "assessment_id",
          "chain",
          "protocol",
          "asset",
          "methodology_version",
          "score",
          "risk_level",
          "confidence",
          "status",
          "freshness_status",
          "reason",
          "block_number",
          "calculated_at",
          "fresh_until",
          "expires_at",
          "unknown_after",
          "factors"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "chain": "base",
            "protocol": "aave-v3"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "assessment_id": "00000000-0000-4000-8000-000000000001",
            "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "block_number": "35000000",
            "calculated_at": "2026-01-01T00:00:00.000Z",
            "chain": "base",
            "confidence": 0.95,
            "expires_at": "2026-01-01T00:10:00.000Z",
            "factors": [
              {
                "explanation": "Example oracle-risk factor result.",
                "factor": "oracle_risk",
                "rule_id": "example-oracle-rule",
                "score": 50,
                "status": "evaluated"
              },
              {
                "explanation": "Example liquidity and utilization factor result.",
                "factor": "liquidity_utilization_risk",
                "rule_id": "example-liquidity-rule",
                "score": 50,
                "status": "evaluated"
              },
              {
                "explanation": "Example collateral-configuration factor result.",
                "factor": "collateral_configuration_risk",
                "rule_id": "example-collateral-rule",
                "score": 50,
                "status": "evaluated"
              },
              {
                "explanation": "Example operational-restriction factor result.",
                "factor": "operational_restriction_risk",
                "rule_id": "example-operational-rule",
                "score": 50,
                "status": "evaluated"
              }
            ],
            "fresh_until": "2026-01-01T00:05:00.000Z",
            "freshness_status": "fresh",
            "methodology_version": "v0.1",
            "protocol": "aave-v3",
            "reason": null,
            "risk_level": "moderate",
            "score": 50,
            "status": "OK",
            "unknown_after": null
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "asset": {
                    "const": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                    "description": "Native USDC contract address on Base.",
                    "type": "string"
                  },
                  "chain": {
                    "const": "base",
                    "description": "Blockchain network. Risk API v0.1 currently supports Base only.",
                    "type": "string"
                  },
                  "protocol": {
                    "const": "aave-v3",
                    "description": "Protocol. Risk API v0.1 currently supports Aave V3 only.",
                    "type": "string"
                  }
                },
                "required": [
                  "chain",
                  "protocol",
                  "asset"
                ],
                "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": {
                "additionalProperties": false,
                "properties": {
                  "assessment_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "asset": {
                    "const": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                    "type": "string"
                  },
                  "block_number": {
                    "pattern": "^(0|[1-9][0-9]{0,77})$",
                    "type": "string"
                  },
                  "calculated_at": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "chain": {
                    "const": "base",
                    "type": "string"
                  },
                  "confidence": {
                    "maximum": 1,
                    "minimum": 0,
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "expires_at": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "factors": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "explanation": {
                          "type": "string"
                        },
                        "factor": {
                          "enum": [
                            "oracle_risk",
                            "liquidity_utilization_risk",
                            "collateral_configuration_risk",
                            "operational_restriction_risk"
                          ],
                          "type": "string"
                        },
                        "rule_id": {
                          "type": "string"
                        },
                        "score": {
                          "maximum": 100,
                          "minimum": 0,
                          "type": "number"
                        },
                        "status": {
                          "const": "evaluated",
                          "type": "string"
                        }
                      },
                      "required": [
                        "factor",
                        "status",
                        "score",
                        "explanation",
                        "rule_id"
                      ],
                      "type": "object"
                    },
                    "maxItems": 4,
                    "minItems": 4,
                    "type": "array"
                  },
                  "fresh_until": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "freshness_status": {
                    "enum": [
                      "fresh",
                      "degraded"
                    ],
                    "type": "string"
                  },
                  "methodology_version": {
                    "const": "v0.1",
                    "type": "string"
                  },
                  "protocol": {
                    "const": "aave-v3",
                    "type": "string"
                  },
                  "reason": {
                    "type": "null"
                  },
                  "risk_level": {
                    "enum": [
                      "low",
                      "moderate",
                      "high",
                      "critical"
                    ],
                    "type": "string"
                  },
                  "score": {
                    "maximum": 100,
                    "minimum": 0,
                    "type": "number"
                  },
                  "status": {
                    "enum": [
                      "OK",
                      "DEGRADED"
                    ],
                    "type": "string"
                  },
                  "unknown_after": {
                    "format": "date-time",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "assessment_id",
                  "chain",
                  "protocol",
                  "asset",
                  "methodology_version",
                  "score",
                  "risk_level",
                  "confidence",
                  "status",
                  "freshness_status",
                  "reason",
                  "block_number",
                  "calculated_at",
                  "fresh_until",
                  "expires_at",
                  "unknown_after",
                  "factors"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "risk-oracle-api.rohan-rajnikanth.workers.dev",
  "lastUpdated": "2026-10-08T06:26:18.51Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-10-08T06:26:18.159Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "chain": "base",
              "protocol": "aave-v3"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "assessment_id": "00000000-0000-4000-8000-000000000001",
              "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "block_number": "35000000",
              "calculated_at": "2026-01-01T00:00:00.000Z",
              "chain": "base",
              "confidence": 0.95,
              "expires_at": "2026-01-01T00:10:00.000Z",
              "factors": [
                {
                  "explanation": "Example oracle-risk factor result.",
                  "factor": "oracle_risk",
                  "rule_id": "example-oracle-rule",
                  "score": 50,
                  "status": "evaluated"
                },
                {
                  "explanation": "Example liquidity and utilization factor result.",
                  "factor": "liquidity_utilization_risk",
                  "rule_id": "example-liquidity-rule",
                  "score": 50,
                  "status": "evaluated"
                },
                {
                  "explanation": "Example collateral-configuration factor result.",
                  "factor": "collateral_configuration_risk",
                  "rule_id": "example-collateral-rule",
                  "score": 50,
                  "status": "evaluated"
                },
                {
                  "explanation": "Example operational-restriction factor result.",
                  "factor": "operational_restriction_risk",
                  "rule_id": "example-operational-rule",
                  "score": 50,
                  "status": "evaluated"
                }
              ],
              "fresh_until": "2026-01-01T00:05:00.000Z",
              "freshness_status": "fresh",
              "methodology_version": "v0.1",
              "protocol": "aave-v3",
              "reason": null,
              "risk_level": "moderate",
              "score": 50,
              "status": "OK",
              "unknown_after": null
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "asset": {
                      "const": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                      "description": "Native USDC contract address on Base.",
                      "type": "string"
                    },
                    "chain": {
                      "const": "base",
                      "description": "Blockchain network. Risk API v0.1 currently supports Base only.",
                      "type": "string"
                    },
                    "protocol": {
                      "const": "aave-v3",
                      "description": "Protocol. Risk API v0.1 currently supports Aave V3 only.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "chain",
                    "protocol",
                    "asset"
                  ],
                  "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": {
                  "additionalProperties": false,
                  "properties": {
                    "assessment_id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "asset": {
                      "const": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                      "type": "string"
                    },
                    "block_number": {
                      "pattern": "^(0|[1-9][0-9]{0,77})$",
                      "type": "string"
                    },
                    "calculated_at": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "chain": {
                      "const": "base",
                      "type": "string"
                    },
                    "confidence": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "expires_at": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "factors": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "explanation": {
                            "type": "string"
                          },
                          "factor": {
                            "enum": [
                              "oracle_risk",
                              "liquidity_utilization_risk",
                              "collateral_configuration_risk",
                              "operational_restriction_risk"
                            ],
                            "type": "string"
                          },
                          "rule_id": {
                            "type": "string"
                          },
                          "score": {
                            "maximum": 100,
                            "minimum": 0,
                            "type": "number"
                          },
                          "status": {
                            "const": "evaluated",
                            "type": "string"
                          }
                        },
                        "required": [
                          "factor",
                          "status",
                          "score",
                          "explanation",
                          "rule_id"
                        ],
                        "type": "object"
                      },
                      "maxItems": 4,
                      "minItems": 4,
                      "type": "array"
                    },
                    "fresh_until": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "freshness_status": {
                      "enum": [
                        "fresh",
                        "degraded"
                      ],
                      "type": "string"
                    },
                    "methodology_version": {
                      "const": "v0.1",
                      "type": "string"
                    },
                    "protocol": {
                      "const": "aave-v3",
                      "type": "string"
                    },
                    "reason": {
                      "type": "null"
                    },
                    "risk_level": {
                      "enum": [
                        "low",
                        "moderate",
                        "high",
                        "critical"
                      ],
                      "type": "string"
                    },
                    "score": {
                      "maximum": 100,
                      "minimum": 0,
                      "type": "number"
                    },
                    "status": {
                      "enum": [
                        "OK",
                        "DEGRADED"
                      ],
                      "type": "string"
                    },
                    "unknown_after": {
                      "format": "date-time",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "assessment_id",
                    "chain",
                    "protocol",
                    "asset",
                    "methodology_version",
                    "score",
                    "risk_level",
                    "confidence",
                    "status",
                    "freshness_status",
                    "reason",
                    "block_number",
                    "calculated_at",
                    "fresh_until",
                    "expires_at",
                    "unknown_after",
                    "factors"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "risk-oracle-api.rohan-rajnikanth.workers.dev",
    "manifest_name": "risk-oracle-api.rohan-rajnikanth.workers.dev",
    "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": {
      "assessment_id": "string",
      "asset": "string",
      "block_number": "string",
      "calculated_at": "2026-01-01T00:00:00Z",
      "chain": "string",
      "confidence": 0,
      "expires_at": "2026-01-01T00:00:00Z",
      "factors": [
        {
          "explanation": "string",
          "factor": "oracle_risk",
          "rule_id": "string",
          "score": 0,
          "status": "string"
        }
      ],
      "fresh_until": "2026-01-01T00:00:00Z",
      "freshness_status": "fresh",
      "methodology_version": "string",
      "protocol": "string",
      "reason": null,
      "risk_level": "low",
      "score": 0,
      "status": "OK",
      "unknown_after": "2026-01-01T00:00:00Z"
    },
    "type": "string"
  }
}