# Base DeFi Opportunity Risk Score Detail

> Base DeFi Opportunity Risk Score Detail is a paid API for AI agents from intel.fintechhodl.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Returns a full scoring breakdown for a single Base DeFi yield opportunity, including total risk score, eight risk dimensions, sustainability, liquidity, slippage, position size, and confidence metrics.

## Facts

- Endpoint: GET https://intel.fintechhodl.com/api/v1/opportunity-score/:id?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-defi-opportunity-risk-score-detail-be795558
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aoq23UVU_gh2vizfOxkhG

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 base-defi-opportunity-risk-score-detail-be795558
```

Example prompt: Pull the full risk score breakdown for Base DeFi opportunity e0672197-9f3e-4414-bca5-e6b4c90aa469, assuming I'm putting in $25,000 for 180 days — I want to see all eight risk dimensions, slippage, sustainability, and the confidence level.

## When to prefer this

Use this endpoint when you need a detailed, auditable breakdown of a specific Base DeFi opportunity's risk profile — including all eight risk dimensions and their individual factors — rather than just a summary score. Prefer this over the list endpoint (/api/v1/opportunities) when you already have an opportunity id and need to explain, audit, or compare risk at a granular level. Choose this over the history endpoint when you need the current snapshot rather than time-series data.

## Known failure modes

- 404 Not Found — the provided opportunity id does not exist in the tracked set; retrieve valid ids from /api/v1/opportunities first
- 400 Bad Request — invalid id format (must match ^[A-Za-z0-9:._#+-]{1,120}$), capital out of range (must be 1–1,000,000,000), or duration out of range (must be 1–1,825 days)
- 503 Service Unavailable — scoring data is currently refreshing; retry after a short delay
- Payment not charged on non-200 responses; charged $0.01 USDC only on successful 200 response

## How this service works

Scoring breakdown for one opportunity: total risk, the eight risk dimensions with every factor and its input, sustainability, liquidity, slippage, position size and confidence. Useful for auditing or explaining a risk score. The id comes from the free /api/v1/opportunities. Unknown ids answer 404 and invalid arguments 400 before any payment; 503 while data refreshes; charged only for a 200.

## Output

A JSON object containing: the opportunity ID, timestamp (as_of), model version, total risk score (0-100), opportunity score (0-100), APY, sustainable APY, entry and exit slippage in basis points, confidence score, data age in minutes, a disclaimer, and a nested 'dimensions' object with scores and underlying factors for each of eight risk dimensions (protocol, smart_contract, asset, stablecoin, liquidity, oracle, governance, yield). When capital and duration are provided, expected-return figures are also included.

## 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": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "pattern": "^[A-Za-z0-9:._#+-]{1,120}$",
       "examples": [
        "e0672197-9f3e-4414-bca5-e6b4c90aa469"
       ],
       "description": "Opportunity id, as returned by the free /api/v1/opportunities route."
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "capital": {
       "type": "number",
       "maximum": 1000000000,
       "minimum": 1,
       "examples": [
        10000
       ],
       "description": "Capital in USD for the expected-return figures (default 10000)."
      },
      "duration": {
       "type": "integer",
       "maximum": 1825,
       "minimum": 1,
       "examples": [
        365
       ],
       "description": "Holding period in days for the expected-return figures (default 365)."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "as_of",
      "model_version",
      "id",
      "risk_score",
      "dimensions"
     ],
     "properties": {
      "id": {
       "type": "string"
      },
      "apy": {
       "type": "number"
      },
      "type": {
       "type": "string"
      },
      "as_of": {
       "type": "string",
       "description": "Hour the data describes (ISO 8601, UTC)."
      },
      "market": {
       "type": "string"
      },
      "protocol": {
       "type": "string"
      },
      "confidence": {
       "type": "number"
      },
      "dimensions": {
       "type": "object",
       "description": "protocol, smart_contract, asset, stablecoin, liquidity, oracle, governance and yield dimensions, each with its score and factors."
      },
      "disclaimer": {
       "type": "string"
      },
      "risk_score": {
       "type": "number",
       "maximum": 100,
       "minimum"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-defi-opportunity-risk-score-detail-be795558/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.fintechhodl.com](https://www.zero.xyz/host/intel.fintechhodl.com/llms.txt)
